/* ŚDMP / WDOY Gdańsk 2027 */

@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --accent: #2456B8;
  --accent-dark: #163A80;
  --ink: #0E1B33;
  --text: #3D4A63;
  --muted: #4A5670;
  --line: #E1E9F8;
  --soft: #F1F5FD;
  --soft-2: #EEF3FB;
  --tint: #E9F0FD;
  --navy: #0E1B33;
  --sky: #9DBDF4;
  --radius-l: 28px;
  --radius-m: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(44px, 6vw, 72px);
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; }
p, li { text-wrap: pretty; }
figcaption { text-wrap: balance; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid #F2A900; outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #FFFFFF; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #FFFFFF; }

.container { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--soft { background: var(--soft-2); }
.section-title { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 28px; }
.lead-note { margin: -16px 0 24px; color: var(--muted); font-size: 15px; }

.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.icon-box { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.btn--primary { background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 26px rgba(36,86,184,0.4); }
.btn--primary:hover { background: var(--accent-dark); color: #FFFFFF; }
.btn--glass { color: #FFFFFF; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.4); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); }
.btn--glass:hover { background: rgba(255,255,255,0.24); color: #FFFFFF; }
.btn--light { background: #FFFFFF; color: var(--ink); font-weight: 700; }
.btn--light:hover { background: #E9F0FD; color: var(--ink); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* ---------- Navigation ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; height: 0; }
.site-nav__inner { max-width: 1120px; margin: 0 auto; padding: 12px clamp(12px, 3vw, 24px) 0; }
.site-nav__bar { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border: 1px solid rgba(255,255,255,0.9); box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 8px 30px rgba(14,27,51,0.16); }
.brand { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 37px; flex: 0 0 auto; }
.brand span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--display); font-weight: 800; font-size: 15px; }
.nav-link { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav-link:hover { background: rgba(14,27,51,0.06); color: var(--ink); }
.lang-switch { flex: 0 0 auto; display: flex; padding: 3px; border-radius: 999px; background: rgba(14,27,51,0.07); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 38px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 2px 8px rgba(14,27,51,0.15); }
.nav-cta { flex: 0 0 auto; min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 560px) {
  .nav-link { display: none; }
  .brand span { font-size: 14px; }
  .nav-cta { padding: 0 14px; }
}
@media (max-width: 360px) { .brand span { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 740px; display: flex; align-items: flex-end; background: var(--navy); color: #FFFFFF; overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,18,40,0.35) 0%, rgba(8,18,40,0.6) 45%, rgba(8,18,40,0.94) 100%); }
.hero__content { position: relative; width: 100%; padding-top: 132px; padding-bottom: clamp(40px, 7vw, 80px); }
.hero__logo { width: clamp(84px, 12vw, 116px); height: auto; margin-bottom: 24px; }
.hero__eyebrow { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #DCE7FB; }
.hero h1 { font-size: clamp(38px, 6.6vw, 82px); line-height: 1.03; letter-spacing: -0.025em; max-width: 15ch; }
.hero__sub { margin: 18px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(19px, 2.4vw, 26px); color: #B9D0F8; }
.hero__tagline { margin: 14px 0 0; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; color: #E6EDFA; max-width: 42ch; }
.hero__facts { display: inline-flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 14px 22px; border-radius: 22px; background: var(--glass); border: 1px solid rgba(255,255,255,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 10px 30px rgba(6,14,34,0.25); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); list-style: none; }
.hero__facts li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { min-height: 54px; padding: 0 30px; }
@media (max-width: 560px) { .hero { min-height: 680px; } }

.blessing { background: var(--soft); border-bottom: 1px solid var(--line); }
.blessing .container { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 22px; }
.blessing__row { display: flex; gap: 14px; align-items: center; }
.blessing__logo { flex: 0 0 auto; width: 40px; height: 40px; }
.blessing__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #FFFFFF; color: var(--accent); }
.blessing p { margin: 0; font-size: 15px; line-height: 1.5; color: #1E3460; font-weight: 500; }

/* ---------- History ---------- */
.cards-2 { display: flex; flex-wrap: wrap; gap: 20px; }
.card-soft { flex: 1 1 340px; min-width: 0; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--radius-l); background: var(--soft); border: 1px solid var(--line); }
.card-soft h3 { font-size: 24px; line-height: 1.2; margin-bottom: 12px; }
.card-soft p { margin: 0 0 12px; color: var(--text); font-size: 16px; }
.card-soft p:last-child { margin-bottom: 0; }

/* ---------- Patron ---------- */
.patron { position: relative; background: var(--navy); color: #FFFFFF; overflow: hidden; }
.patron__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.patron__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,44,0.8) 0%, rgba(10,20,44,0.89) 40%, rgba(10,20,44,0.95) 100%); }
.patron .container { position: relative; }
.patron__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.patron__icon { flex: 0 1 230px; min-width: 0; max-width: 230px; margin: 0 auto; }
.patron__icon img { width: 100%; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 24px 60px rgba(0,0,0,0.45); }
.patron__icon figcaption { margin-top: 12px; text-align: center; font-size: 14px; color: #C3D1EA; }
.patron__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.patron__text p { margin: 0; }
.patron__lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #EEF3FC; }
.patron__more { font-size: 16px; color: #C3D1EA; }
.glass-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 40px; padding: clamp(22px, 4vw, 36px); border-radius: 30px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.24); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 16px 40px rgba(0,0,0,0.25); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
.glass-card > div { flex: 1 1 380px; min-width: 0; }
.glass-card__eyebrow { margin: 0 0 6px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); }
.glass-card h3 { font-size: clamp(22px, 3vw, 30px); line-height: 1.2; margin-bottom: 10px; }
.glass-card p:last-child { margin: 0; color: #DCE6F7; font-size: 16px; }
.facts { display: flex; gap: 12px; margin: 20px 0 0; padding: 0 0 4px; list-style: none; }
.facts li { flex: 1 1 200px; min-width: 0; padding: 20px 22px; border-radius: 22px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); }
.facts__year { display: block; margin-bottom: 6px; font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--sky); }
.facts__text { display: block; font-size: 15px; color: #E2EAF8; line-height: 1.45; }

/* ---------- Programme ---------- */
.tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 5px; border-radius: 26px; background: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.95); box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 28px rgba(20,40,90,0.1); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); }
.tabs[hidden] { display: none; }
.tab { min-height: 58px; padding: 8px 4px; border: 0; border-radius: 21px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; color: var(--ink); font: inherit; }
.tab:hover { background: rgba(36,86,184,0.08); }
.tab[aria-selected="true"] { background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 6px 16px rgba(36,86,184,0.35); }
.tab__day { font-size: 14px; font-weight: 600; line-height: 1.2; }
.tab__date { font-family: var(--display); font-size: 17px; font-weight: 800; line-height: 1.2; }
.day { margin-top: 16px; padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-l); background: #FFFFFF; box-shadow: 0 1px 0 rgba(20,40,90,0.04), 0 12px 32px rgba(20,40,90,0.07); }
.day[hidden] { display: none; }
.day__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.tag--ext { background: #FFF1DE; color: #7A4300; }
.tag--main { background: #E4EDFC; color: #1E3F86; }
.tag--note { background: #EEF1F5; color: #2B3850; }
.day h3 { margin: 12px 0 4px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.day__date { margin: 0 0 20px; color: var(--muted); font-size: 15px; font-weight: 500; }
.day__patron { display: flex; gap: 14px; align-items: center; margin: 0 0 20px; padding: 14px 18px; border-radius: 20px; background: var(--tint); border: 1px solid #D3E1FA; }
.day__patron img { flex: 0 0 auto; width: 30px; height: 32px; }
.day__patron p { margin: 0; font-size: 15px; color: #1E3460; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid #E6ECF6; }
.timeline time, .timeline .t { flex: 0 0 58px; font-family: var(--display); font-weight: 800; font-size: 17px; color: var(--accent); }
.timeline span:last-child { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 500; }

/* ---------- Gallery ---------- */
.gallery-intro { margin: -12px 0 28px; color: var(--text); max-width: 60ch; }
.editions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; }
.editions__past { flex: 1 1 260px; min-width: 0; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius-l); border: 1px solid var(--line); }
.editions__past h3 { margin: 0 0 8px; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.editions__past ul { list-style: none; margin: 0; padding: 0; }
.editions__past li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid #E6ECF6; font-weight: 600; font-size: 17px; }
.editions__past li:last-child { border-bottom: 0; padding-bottom: 0; }
.editions__past b { flex: 0 0 52px; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--accent); }
.editions__now { flex: 1.6 1 320px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-l); background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 16px 40px rgba(36,86,184,0.28); }
.editions__now p { margin: 0; }
.editions__label { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #DCE7FB; }
.editions__big { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 9vw, 112px); line-height: 0.92; letter-spacing: -0.03em; }
.editions__meta { font-size: 16px; color: #E7EEFC; }

.hscroll { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.gallery { justify-content: center; gap: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 24px); margin-top: 32px; padding: 8px 8px 16px; }
.polaroid { flex: 1 1 200px; min-width: 0; max-width: 240px; margin: 0; }
.polaroid figure { margin: 0; padding: 10px 10px 14px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 14px 36px rgba(14,27,51,0.16); }
.polaroid:nth-child(odd) figure { transform: rotate(-2deg); }
.polaroid:nth-child(even) figure { transform: rotate(2deg); margin-top: 28px; }
.polaroid:nth-child(4n+3) figure { transform: rotate(-1.5deg); }
.polaroid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.polaroid figcaption { margin-top: 12px; padding: 0 4px; text-align: center; font-family: var(--display); font-weight: 800; font-size: 15px; line-height: 1.3; color: var(--ink); }
@media (max-width: 700px) {
  .hscroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .hscroll > * { flex: 0 0 72% !important; max-width: none !important; scroll-snap-align: center; }
  .facts { padding-bottom: 8px; }
  .gallery { padding: 8px 14% 20px; scroll-padding: 0 14%; }
}
.scroll-hint { display: none; margin: 8px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
@media (max-width: 700px) { .scroll-hint { display: block; } }
.patron .scroll-hint { color: #C3D1EA; }

/* ---------- Practical ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.stat { padding: 24px; border-radius: 26px; background: #FFFFFF; box-shadow: 0 10px 28px rgba(20,40,90,0.06); }
.stat p { margin: 0; }
.stat__label { font-size: 14px; color: var(--muted); }
.stat__value { margin: 4px 0 6px !important; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.05; color: var(--accent); }
.stat__note { font-size: 15px; color: var(--muted); }
.stat--accent { background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 12px 30px rgba(36,86,184,0.25); }
.stat--accent .stat__label { color: #DCE7FB; }
.stat--accent .stat__value { color: #FFFFFF; }
.stat--accent .stat__note { color: #E7EEFC; }
.panel { margin-top: 12px; padding: clamp(22px, 3.5vw, 32px); border-radius: 26px; background: #FFFFFF; box-shadow: 0 10px 28px rgba(20,40,90,0.06); }
.panel h3 { margin: 0 0 18px; font-size: 22px; }
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 28px; }
.included li { display: flex; gap: 14px; align-items: flex-start; }
.included b { display: block; font-weight: 700; }
.included span span { display: block; font-size: 15px; color: var(--muted); }
.panels-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
.panels-3 .panel { margin-top: 0; }
.info-list { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.info-list dt { font-size: 14px; color: var(--muted); }
.info-list dd { margin: 2px 0 0; font-weight: 700; }
.info-list dd small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.route { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; }
.route .icon { color: var(--accent); margin-top: 2px; }
.route p { margin: 0; font-size: 15px; color: var(--muted); }
.route b { display: block; color: var(--ink); font-size: 17px; }
.times { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--soft); font-size: 15px; color: #1E3460; }
.bring { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text); }

/* ---------- Apply ---------- */
.apply { position: relative; overflow: hidden; background: var(--accent-dark); color: #FFFFFF; }
.apply__bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; }
.apply__shade { position: absolute; inset: 0; background: rgba(18,44,104,0.78); }
.apply .container { position: relative; }
.apply__card { padding: clamp(28px, 5vw, 52px); border-radius: 36px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 20px 50px rgba(6,14,34,0.35); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); }
.apply__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
.apply__top > div { flex: 1 1 380px; min-width: 0; }
.apply h2 { font-size: clamp(32px, 5.5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.apply__who { margin: 0 0 6px; font-size: 18px; color: #EEF3FC; max-width: 48ch; }
.apply__deadline { margin: 0; font-size: 15px; color: #D3DFF5; }
.steps { list-style: none; margin: 32px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,0.22); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px 28px; counter-reset: step; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #EEF3FC; }
.steps li::before { counter-increment: step; content: counter(step); flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #FFFFFF; color: var(--accent-dark); font-family: var(--display); font-weight: 800; }
.steps b { display: block; color: #FFFFFF; }
.bank { margin-top: 28px; padding: clamp(18px, 3vw, 24px); border-radius: var(--radius-m); background: rgba(6,14,34,0.32); border: 1px solid rgba(255,255,255,0.16); }
.bank h3 { margin: 0 0 14px; font-family: var(--body); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #D3DFF5; }
.bank dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 14px 24px; margin: 0; }
.bank dt { font-size: 14px; color: #D3DFF5; }
.bank dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.bank__note { margin: 14px 0 0; font-size: 14px; color: #D3DFF5; }

/* ---------- Contact ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.contact { display: flex; align-items: center; gap: 16px; height: 100%; padding: 18px 20px; border-radius: var(--radius-m); background: var(--soft); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.contact:hover { border-color: #B9C8E4; color: var(--ink); }
.contact .icon-box { width: 46px; height: 46px; border-radius: 15px; background: #FFFFFF; }
.contact__text { min-width: 0; }
.contact__label { display: block; font-size: 14px; color: var(--muted); }
.contact__value { display: block; font-weight: 700; font-size: 16px; overflow-wrap: break-word; }
.contact__extra { display: block; font-weight: 500; font-size: 15px; }

.about-row { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.about-row--center { align-items: center; gap: 28px 48px; }
.about-row__logo { flex: 0 0 auto; display: block; width: 112px; height: 112px; border-radius: 50%; }
.about-row__logo img { width: 112px; height: 112px; }
.about-row__text { flex: 1 1 320px; min-width: 0; }
.about-row__eyebrow { margin: 0 0 2px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.about-row h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; }
.about-row p { margin: 0 0 10px; color: var(--text); font-size: 16px; max-width: 72ch; }
.about-row p:last-child { margin-bottom: 0; }

.video { flex: 1.2 1 380px; min-width: 0; position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-m); overflow: hidden; background: var(--navy); box-shadow: 0 14px 36px rgba(14,27,51,0.18); }
.video__poster { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; color: #FFFFFF; text-decoration: none; text-align: center; }
.video__poster:hover { color: #FFFFFF; }
.video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.video__play { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 10px 30px rgba(0,0,0,0.3); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.video__poster:hover .video__play { background: rgba(255,255,255,0.3); }
.video__label { position: relative; font-weight: 600; font-size: 15px; }
.video__privacy { position: relative; font-size: 14px; color: #DCE6F7; max-width: 36ch; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }

.ext::after { content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.3em; background: currentColor; -webkit-mask: url("../img/external.svg") no-repeat center / contain; mask: url("../img/external.svg") no-repeat center / contain; vertical-align: 0.05em; }

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .site-nav__bar, .tabs { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #B9C8E4; }
  .hero__facts, .btn--glass, .apply__card, .glass-card, .video__play { background: #0E1B33; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .apply__card { background: var(--accent-dark); }
}
@media (prefers-contrast: more) {
  .hero__shade, .patron__shade, .apply__shade { background: rgba(6,12,28,0.94); }
  .contact, .card-soft, .panel, .stat, .editions__past { border: 2px solid var(--ink); }
}
@media (forced-colors: active) {
  .btn, .tab, .lang-switch a, .contact { border: 1px solid ButtonText; }
  .tab[aria-selected="true"], .lang-switch a[aria-current="page"] { outline: 2px solid Highlight; }
}
@media print {
  .site-nav, .hero__bg, .hero__shade, .patron__bg, .patron__shade, .apply__bg, .apply__shade, .video, .tabs, .skip-link { display: none !important; }
  .hero, .patron, .apply { color: #000; background: #fff; min-height: 0; }
  .day[hidden] { display: block !important; }
}
.patron .facts { margin-top: 20px; }

/* Editions list (5 equal tiles, current edition highlighted) */
.editions-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.editions-list li { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 22px; border: 1px solid var(--line); background: #FFFFFF; }
.editions-list b { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.2; color: var(--accent); }
.editions-list li > span:not(.visually-hidden) { font-weight: 600; font-size: 17px; }
.editions-list .is-current { background: var(--accent); border-color: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 26px rgba(36,86,184,0.28); }
.editions-list .is-current b { color: #FFFFFF; }
@media (max-width: 700px) {
  .editions-list { grid-template-columns: 1fr; gap: 8px; }
  .editions-list li { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 18px; }
  .editions-list b { flex: 0 0 56px; font-size: 20px; }
}

/* Unified item lists in the practical panels */
.included--stack { grid-template-columns: 1fr; gap: 18px; }
.included a { font-weight: 600; }

.icon-box--img img { width: 38px; height: auto; }

.about-row__logo--arms { width: 112px; height: auto; border-radius: 0; display: flex; justify-content: center; }
.about-row__logo--arms img { width: 72px; height: auto; }
.video--wide { flex: none; width: 100%; max-width: 960px; margin: 32px auto 0; }

/* Mobile carousels run edge to edge, with room for the card shadows */
@media (max-width: 700px) {
  .hscroll { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .gallery { padding: 20px 14% 40px; scroll-padding: 0 14%; }
  .patron .facts { padding: 4px var(--gutter) 12px; scroll-padding: 0 var(--gutter); }
  .patron .facts > li { scroll-snap-align: start; }
}

.included li.is-highlight { margin: -6px -10px; padding: 12px 14px 12px 12px; border-radius: 18px; background: var(--accent); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 20px rgba(36,86,184,0.25); }
.included li.is-highlight .icon-box { background: rgba(255,255,255,0.16); color: #FFFFFF; }
.included li.is-highlight span span { color: #E3ECFC; }

/* Organiser and Church as cards */
.about-row { margin-top: 20px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--soft); }
.contacts + .about-row { margin-top: 40px; }
.video--wide { margin-top: 8px; box-shadow: 0 10px 28px rgba(14,27,51,0.14); }
@media (max-width: 700px) {
  .about-row { flex-direction: column; align-items: center; gap: 18px; }
  .about-row__text { flex: 1 1 auto; width: 100%; }
  .about-row__eyebrow, .about-row h3 { text-align: center; }
  .about-row__logo--arms img { width: 64px; }
}

.h1-line { display: block; }
.hero h1 { max-width: none; }
@media (min-width: 701px) { .h1-line { white-space: nowrap; } }
.about-row { background: #FFFFFF; box-shadow: 0 10px 28px rgba(20,40,90,0.06); }
