/* ==========================================================================
   TLBF — Turkish–Latin Business Forum
   Pure CSS, mobile-first, no frameworks.
   ========================================================================== */

:root {
    --navy: #0B3C5D;
    --navy-900: #072A42;
    --navy-700: #124C74;
    --coral: #F26B38;
    --coral-dark: #C94A1F;
    --coral-darker: #B23F17;
    --coral-soft: #FDE7DE;
    --coral-light: #FF8E63;
    --cream: #F7F5F2;
    --white: #FFFFFF;
    --ink: #1E1E1E;
    --muted: #5B6672;
    --line: rgba(11, 60, 93, 0.14);
    --line-strong: rgba(11, 60, 93, 0.28);
    --success: #1E7A52;
    --danger: #B42318;
    --serif: Georgia, "Times New Roman", "Playfair Display", serif;
    --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container: 1180px;
    --hdr: 78px;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 16px rgba(7, 42, 66, 0.06);
    --shadow: 0 16px 44px rgba(7, 42, 66, 0.12);
    --shadow-lg: 0 30px 80px rgba(7, 42, 66, 0.18);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

a {
    color: var(--navy);
    text-decoration-color: rgba(11, 60, 93, 0.28);
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

a:hover {
    color: var(--coral);
    text-decoration-color: currentColor;
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.7rem;
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: var(--navy);
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.7rem);
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

h4 {
    font-size: 1.05rem;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

::selection {
    background: var(--coral);
    color: var(--white);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 3px;
}

.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.section {
    padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section--tint {
    background: var(--cream);
}

.section--navy {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.82);
}

.section--navy h2,
.section--navy h3 {
    color: var(--white);
}

.section--tight {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.grid {
    display: grid;
    gap: 1.4rem;
}

.grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    color: var(--coral-dark);
    font-family: var(--sans);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: currentColor;
}

.section--navy .eyebrow {
    color: var(--coral);
}

.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: var(--muted);
}

.muted {
    color: var(--muted);
}

.text-center {
    text-align: center;
}

.icon {
    width: 1.35em;
    height: 1.35em;
    flex: none;
    vertical-align: -0.18em;
}

.icon--sm {
    width: 1.05em;
    height: 1.05em;
}

.icon--xs {
    width: 0.95em;
    height: 0.95em;
}

.flag {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(8, 36, 55, 0.14);
    flex: none;
}

.sr-only {
    position: absolute;
    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: 1rem;
    top: -100px;
    z-index: 200;
    padding: 0.75rem 1.1rem;
    border-radius: 0 0 10px 10px;
    background: var(--coral);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    color: var(--white);
}

[hidden] {
    display: none !important;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.78rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn--primary {
    background: var(--coral-dark);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(242, 107, 56, 0.28);
}

.btn--primary:hover {
    background: var(--coral-darker);
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.btn--outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--navy);
}

.btn--outline:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.btn--light {
    background: var(--white);
    color: var(--navy);
}

.btn--light:hover {
    background: var(--cream);
    color: var(--navy);
}

.btn--sm {
    min-height: 40px;
    padding: 0.55rem 1.05rem;
    font-size: 0.85rem;
}

.btn--block {
    width: 100%;
}

/* Header & navigation ------------------------------------------------------ */
.topbar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 34px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.topbar__item .icon {
    color: var(--coral);
}

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

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
    text-decoration: none;
}

.brand img {
    width: 196px;
    height: auto;
}

.brand--footer img {
    width: 210px;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(0.7rem, 1.4vw, 1.35rem);
}

.primary-nav__list a {
    display: inline-block;
    padding: 0.45rem 0;
    color: var(--navy);
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.primary-nav__list a:hover,
.primary-nav__list a.is-active {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: none;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.18rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.lang-switch a {
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
}

.lang-switch a:hover {
    color: var(--navy);
}

.lang-switch a.is-active {
    background: var(--navy);
    color: var(--white);
}

.primary-nav__mobile {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
}

.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--navy);
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

body.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero --------------------------------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(135deg, var(--navy-900), var(--navy) 58%, #155b7f);
    color: var(--white);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--navy-900);
    background-image:
        linear-gradient(90deg, rgba(7, 42, 66, 0.94) 0%, rgba(7, 42, 66, 0.8) 38%, rgba(7, 42, 66, 0.4) 72%, rgba(7, 42, 66, 0.22) 100%),
        var(--hero-img, none);
    background-size: cover;
    background-position: center 40%;
    animation: hero-settle 2.6s var(--ease) both;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(7, 42, 66, 0.7) 0%, rgba(7, 42, 66, 0) 24%, rgba(7, 42, 66, 0) 66%, rgba(7, 42, 66, 0.8) 100%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: 7.5rem;
    padding-bottom: 5.5rem;
}

.hero .eyebrow {
    color: var(--coral-light);
}

.hero h1 {
    max-width: 15ch;
    color: var(--white);
    font-size: clamp(2.3rem, min(5.4vw, 9vh), 4.6rem);
    line-height: 1.04;
    text-shadow: 0 2px 28px rgba(7, 42, 66, 0.35);
}

.hero__lead {
    max-width: 54ch;
    margin: 1.2rem 0 1.4rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    margin: 0 0 1.8rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
}

.hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__meta .icon {
    color: var(--coral-light);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.hero__note {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
}

/* Right-hand glass panel: countdown + key facts */
.hero__panel {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(7, 42, 66, 0.46);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 24px 60px rgba(3, 20, 33, 0.35);
}

.countdown {
    padding: 1.3rem 1.5rem 1.2rem;
}

.countdown__label {
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 600;
}

.countdown__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.countdown__unit {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.countdown__unit span {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.countdown__unit small {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.74rem;
}

.countdown.is-live .countdown__grid {
    opacity: 0.35;
}

.hero__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__fact {
    padding: 1rem 1.5rem;
}

.hero__fact:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__fact:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__fact strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.1;
    color: var(--coral-light);
}

.hero__fact span {
    display: block;
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
    line-height: 1.35;
}

/* "Scroll down" cue */
.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.scroll-cue:hover {
    color: var(--white);
}

.scroll-cue__mouse {
    position: relative;
    width: 26px;
    height: 42px;
    border: 2px solid currentColor;
    border-radius: 14px;
}

.scroll-cue__mouse::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 7px;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: var(--coral-light);
    animation: cue-wheel 1.8s ease-in-out infinite;
}

/* Hero entrance: one orchestrated moment */
.hero__copy > *,
.hero__panel {
    animation: hero-rise 0.9s var(--ease) both;
}

.hero__copy > :nth-child(1) { animation-delay: 0.15s; }
.hero__copy > :nth-child(2) { animation-delay: 0.25s; }
.hero__copy > :nth-child(3) { animation-delay: 0.35s; }
.hero__copy > :nth-child(4) { animation-delay: 0.45s; }
.hero__copy > :nth-child(5) { animation-delay: 0.55s; }
.hero__copy > :nth-child(6) { animation-delay: 0.65s; }
.hero__panel { animation-delay: 0.5s; }

@keyframes hero-settle {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

@keyframes cue-wheel {
    0% { opacity: 0; transform: translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* Section headings & quick facts ------------------------------------------ */
.section-heading {
    max-width: 760px;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading--center .eyebrow {
    justify-content: center;
}

.section-heading__intro {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.quick-facts {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    background: var(--navy);
    color: var(--white);
}

.quick-facts__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.quick-fact {
    padding: 1.5rem 1.2rem;
    background: var(--navy);
    text-align: center;
}

.quick-fact strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1;
    color: var(--coral);
}

.quick-fact span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Page hero ---------------------------------------------------------------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(242, 107, 56, 0.22), transparent 34%),
        linear-gradient(135deg, var(--navy-900), var(--navy) 65%, #155b7f);
    color: var(--white);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -60% 45%;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: rotate(-12deg);
    pointer-events: none;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.page-hero h1 {
    color: var(--white);
    max-width: 18ch;
}

.page-hero__intro {
    max-width: 680px;
    margin: 0.9rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* Cards -------------------------------------------------------------------- */
.card {
    padding: clamp(1.35rem, 2.6vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 15px;
    background: var(--coral-soft);
    color: var(--coral);
}

.card__icon .icon {
    width: 26px;
    height: 26px;
}

.card h3 {
    margin-bottom: 0.45rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.card--navy {
    background: var(--navy);
    border-color: transparent;
    color: rgba(255, 255, 255, 0.8);
}

.card--navy h3 {
    color: var(--white);
}

.card--navy .card__icon {
    background: rgba(242, 107, 56, 0.18);
}

.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--cream);
    transition: transform 0.3s var(--ease);
}

.feature-card:hover::after {
    transform: scale(1.2);
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

/* Programme tabs ----------------------------------------------------------- */
.tabs__list {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
}

.tabs__tab {
    flex: none;
    min-width: 150px;
    padding: 0.95rem 1.1rem;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.tabs__tab small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.73rem;
    font-weight: 500;
    color: var(--muted);
}

.tabs__tab:hover {
    color: var(--navy);
    background: var(--cream);
}

.tabs__tab.is-active {
    color: var(--coral);
    border-bottom-color: var(--coral);
}

.tabs__tab.is-active small {
    color: var(--coral);
}

.tabs__panel {
    padding-top: 1.8rem;
}

.day-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1rem;
}

.day-head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
}

.day-head p {
    margin: 0;
    color: var(--muted);
}

.session-list {
    border-top: 1px solid var(--line);
}

.session {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 1.2rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}

.session__time {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.session__body h3 {
    margin: 0 0 0.35rem;
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy);
}

.session__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.2rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.83rem;
}

.session__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.note {
    margin-top: 1.6rem;
    padding: 0.9rem 1.1rem;
    border-left: 3px solid var(--coral);
    background: var(--cream);
    color: var(--muted);
    font-size: 0.88rem;
}

/* Speakers ----------------------------------------------------------------- */
.speaker-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.speaker-card__avatar {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--navy), var(--navy-700));
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--serif);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.speaker-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.2rem 1.25rem 1.35rem;
}

.speaker-card__body h3 {
    margin-bottom: 0.3rem;
    font-size: 1.15rem;
}

.speaker-card__role {
    margin: 0 0 0.7rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.speaker-card__country {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: auto 0 0;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 600;
}

.speaker-card__country .flag {
    width: 22px;
    height: 15px;
}

/* Sponsors ----------------------------------------------------------------- */
.sponsor-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--line);
}

.sponsor-slot {
    display: grid;
    place-items: center;
    min-height: 104px;
    padding: 1rem;
    background: var(--white);
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

.sponsor-slot--accent {
    background: var(--cream);
    color: var(--coral-dark);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.package-card {
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.package-card--featured {
    border-color: var(--coral);
    box-shadow: 0 16px 45px rgba(242, 107, 56, 0.16);
    transform: translateY(-6px);
}

.package-card__name {
    margin: 0 0 0.35rem;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--navy);
}

.package-card__price {
    margin: 0 0 1rem;
    color: var(--coral-dark);
    font-weight: 700;
}

.package-card ul {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 0.88rem;
}

.package-card li {
    display: flex;
    gap: 0.5rem;
}

.package-card li .icon {
    margin-top: 0.2rem;
    color: var(--coral);
}

.package-card .btn {
    margin-top: auto;
}

/* Countries / participants / timeline ------------------------------------- */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}

.country-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 600;
}

.country-card .flag {
    width: 28px;
    height: 18px;
}

.timeline {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.timeline__item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.4rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--line);
}

.timeline__date {
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline__body h3 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.timeline__body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Forms & alerts ----------------------------------------------------------- */
.form-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.form-card {
    padding: clamp(1.3rem, 3vw, 2.2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-head {
    margin-bottom: 1.5rem;
}

.form-head h2 {
    margin-bottom: 0.35rem;
}

.form-head p {
    margin: 0;
    color: var(--muted);
}

.form-head__note {
    margin-top: 0.5rem !important;
    font-size: 0.8rem;
}

.field {
    margin-bottom: 1.05rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 700;
}

.field__optional {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 400;
}

.req {
    color: var(--coral-dark);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--coral);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 107, 56, 0.18);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.field__error {
    margin: 0.35rem 0 0;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
}

.field__help {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.field--check {
    margin-top: 1.1rem;
}

.field--check .check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 400;
    cursor: pointer;
}

.field--check .check input {
    width: 18px;
    height: 18px;
    margin-top: 0.18rem;
    flex: none;
    accent-color: var(--coral);
}

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    margin-top: 1.4rem;
}

.form-actions__privacy {
    flex: 1;
    min-width: 220px;
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.alert {
    display: flex;
    gap: 0.8rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    margin-bottom: 1.3rem;
    font-size: 0.9rem;
}

.alert .icon {
    margin-top: 0.15rem;
}

.alert p {
    margin: 0;
}

.alert--success {
    border-color: #b7e2cb;
    background: #EAF7F0;
    color: #145C3C;
}

.alert--error {
    border-color: #F3C2BD;
    background: #FDECEA;
    color: #8A1C12;
}

.alert__list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    list-style: disc;
    font-size: 0.82rem;
}

/* CTA / venue / info ------------------------------------------------------- */
.cta-block {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    overflow: hidden;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, #155b7f);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
}

.cta-block::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.cta-block > * {
    position: relative;
    z-index: 1;
}

.cta-block h2 {
    color: var(--white);
    max-width: 22ch;
}

.cta-block p {
    max-width: 620px;
    margin: 0;
}

.cta-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}

.media-frame {
    min-height: clamp(280px, 40vw, 430px);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, rgba(7, 42, 66, 0.1), rgba(7, 42, 66, 0.35)),
        url("../img/hero.jpg") center / cover no-repeat,
        linear-gradient(135deg, var(--navy), #155b7f);
    box-shadow: var(--shadow);
}

.check-list {
    display: grid;
    gap: 0.7rem;
    margin: 1.2rem 0 1.5rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--muted);
}

.check-list .icon {
    margin-top: 0.2rem;
    color: var(--coral);
}

.info-list {
    display: grid;
    gap: 0.9rem;
}

.info-item {
    display: flex;
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.info-item .icon {
    margin-top: 0.18rem;
    color: var(--coral);
}

.info-item strong {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--navy);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.info-item p,
.info-item a {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    word-break: break-word;
}

.info-item a {
    text-decoration: none;
}

.info-item a:hover {
    color: var(--coral);
}

/* Tables / travel ---------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.data-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
}

.data-table th {
    padding: 0.85rem 1rem;
    background: var(--cream);
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.data-table td {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    vertical-align: top;
}

.data-table strong {
    color: var(--navy);
}

.hotel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hotel-card {
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.hotel-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.hotel-card dl {
    display: grid;
    gap: 0.4rem;
    margin: 0;
}

.hotel-card dt {
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hotel-card dd {
    margin: 0 0 0.25rem;
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
}

.map-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: clamp(320px, 45vw, 460px);
    border: 0;
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
    padding-top: clamp(2.8rem, 6vw, 4.5rem);
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.68);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr 1.2fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-bottom: 2.5rem;
}

.footer__brand p {
    max-width: 360px;
    margin: 1rem 0 0;
    font-size: 0.9rem;
}

.footer__tagline {
    color: var(--coral) !important;
    font-family: var(--serif);
    font-size: 1.05rem !important;
    line-height: 1.35;
}

.footer__organizer {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 0.8rem !important;
}

.footer__organizer span {
    color: var(--coral);
    font-weight: 700;
}

.footer__col h2 {
    margin: 0 0 0.9rem;
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer__col ul {
    display: grid;
    gap: 0.45rem;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
    text-decoration: none;
}

.footer__col a:hover {
    color: var(--coral);
}

.footer__contact address p {
    display: flex;
    gap: 0.55rem;
    margin: 0 0 0.55rem;
    font-size: 0.86rem;
}

.footer__contact .icon {
    margin-top: 0.25rem;
    color: var(--coral);
}

.footer__contact a {
    overflow-wrap: anywhere;
}

.social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.social-list a {
    padding: 0.32rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.74rem;
}

.social-list a:hover {
    border-color: var(--coral);
}

.card .social-list a {
    border-color: var(--line-strong);
    color: var(--navy);
}

.card .social-list a:hover {
    border-color: var(--coral-dark);
    color: var(--coral-dark);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem 1.5rem;
    padding: 1.15rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
}

.footer__bottom p {
    margin: 0;
}

.footer__disclaimer {
    color: rgba(255, 255, 255, 0.48);
}

.lang-switch--footer {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.lang-switch--footer a {
    color: rgba(255, 255, 255, 0.6);
}

.lang-switch--footer a.is-active {
    background: var(--coral);
    color: var(--white);
}

/* Reveal on scroll (progressive enhancement) ------------------------------- */
body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Admin -------------------------------------------------------------------- */
.admin-body {
    background: var(--cream);
}

.admin-shell {
    display: grid;
    grid-template-columns: 268px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 1.4rem 1rem;
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.72);
}

.admin-sidebar__brand {
    display: block;
    padding: 0.4rem 0.6rem 1.2rem;
}

.admin-sidebar__brand img {
    width: 180px;
    height: auto;
}

.admin-sidebar__nav {
    display: grid;
    gap: 0.2rem;
}

.admin-sidebar__nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-sidebar__nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.admin-sidebar__nav a.is-active {
    background: var(--coral-dark);
    color: var(--white);
}

.admin-sidebar__foot {
    margin-top: auto;
    padding: 1rem 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
}

.admin-sidebar__foot a {
    color: rgba(255, 255, 255, 0.65);
}

.admin-main {
    min-width: 0;
}

.admin-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.admin-topbar h1 {
    margin: 0;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 700;
}

.admin-topbar__meta {
    color: var(--muted);
    font-size: 0.8rem;
}

.admin-content {
    padding: clamp(1.2rem, 3vw, 2rem);
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-card {
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.admin-card strong {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    line-height: 1;
    color: var(--navy);
}

.admin-card span {
    display: block;
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-panel {
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.admin-panel h2 {
    margin-bottom: 0.35rem;
    font-size: 1.3rem;
}

.admin-panel__intro {
    margin: 0 0 1.3rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}

.admin-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 1rem;
}

.admin-code {
    width: 100%;
    min-height: 360px;
    padding: 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #0f2636;
    color: #e8f2f8;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    tab-size: 2;
}

.admin-note {
    padding: 0.8rem 1rem;
    border-left: 3px solid var(--coral);
    background: var(--cream);
    color: var(--muted);
    font-size: 0.84rem;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.admin-tabs a {
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.admin-tabs a.is-active {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.admin-table th,
.admin-table td {
    padding: 0.7rem 0.65rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--navy);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted);
}

.admin-table strong {
    color: var(--navy);
}

.admin-empty {
    padding: 2rem 1rem;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.admin-login {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 80% 20%, rgba(242, 107, 56, 0.2), transparent 35%),
        linear-gradient(135deg, var(--navy-900), var(--navy));
}

.admin-login__card {
    width: min(100%, 420px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.admin-login__card h1 {
    font-size: 1.8rem;
}

.admin-login__card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-login__brand {
    margin-bottom: 1.2rem;
}

.admin-login__brand img {
    width: 190px;
}

.admin-sidebar__toggle {
    display: none;
}

/* Small utilities ---------------------------------------------------------- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    text-decoration: none;
}

.link-arrow:hover {
    gap: 0.6rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--cream);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge--coral {
    background: var(--coral-soft);
    color: var(--coral-dark);
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 1.2rem !important; }
.mt-3 { margin-top: 1.8rem !important; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
    .grid--4,
    .package-grid,
    .hotel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .primary-nav {
        position: fixed;
        inset: 112px 0 0;
        z-index: 90;
        display: none;
        overflow-y: auto;
        padding: 0.6rem 1.25rem 2.5rem;
        border-top: 1px solid var(--line);
        background: var(--white);
    }

    body.nav-open .primary-nav {
        display: block;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav__list a {
        display: block;
        padding: 0.9rem 0.2rem;
        border-bottom: 1px solid var(--line);
        font-size: 1rem;
    }

    .primary-nav__list a.is-active {
        border-bottom-color: var(--line);
        color: var(--coral);
    }

    .primary-nav__mobile {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
        padding-top: 1.3rem;
    }

    .nav-toggle {
        display: block;
        margin-left: auto;
    }

    .header__actions .lang-switch {
        display: none;
    }

    .header__inner {
        gap: 0.8rem;
    }

    .split,
    .form-shell {
        grid-template-columns: 1fr;
    }

    .form-shell .form-aside {
        order: -1;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
        padding: 0.9rem 1rem;
    }

    .admin-sidebar__brand {
        padding: 0 0.4rem 0.8rem;
    }

    .admin-sidebar__brand img {
        width: 150px;
    }

    .admin-sidebar__nav {
        display: flex;
        gap: 0.35rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .admin-sidebar__nav a {
        flex: none;
        padding: 0.5rem 0.7rem;
        background: rgba(255, 255, 255, 0.06);
        white-space: nowrap;
    }

    .admin-sidebar__foot {
        display: none;
    }
}

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

    .quick-facts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sponsor-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .package-grid {
        grid-template-columns: 1fr;
    }

    .package-card--featured {
        transform: none;
    }

    .session {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .timeline__item {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .cta-block {
        align-items: flex-start;
    }

    .admin-grid-2,
    .admin-grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.6rem, var(--container));
    }

    .topbar__item--org {
        display: none;
    }

    .topbar__inner {
        justify-content: center;
    }

    .header__inner {
        min-height: 68px;
    }

    .brand img {
        width: 168px;
    }

    .primary-nav {
        inset: 102px 0 0;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__meta {
        gap: 0.55rem 1rem;
        font-size: 0.84rem;
    }

    .countdown__unit span {
        font-size: 1.55rem;
    }

    .status-bar {
        flex-direction: column;
    }

    .quick-facts__grid {
        grid-template-columns: 1fr;
    }

    .sponsor-strip {
        grid-template-columns: 1fr;
    }

    .hotel-grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-cards {
        grid-template-columns: 1fr;
    }

    .admin-content {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    body.reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* Form layout helpers ------------------------------------------------------ */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
}

.form-aside .card h3 {
    font-size: 1.15rem;
}

.steps-list {
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.steps-list__num {
    display: grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--coral-soft);
    color: var(--coral-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.steps-list h3 {
    margin-bottom: 0.15rem;
    font-family: var(--sans);
    font-size: 0.95rem;
}

.steps-list p {
    color: var(--muted);
    font-size: 0.84rem;
}

.type-list {
    display: grid;
    gap: 1rem;
}

.type-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.type-list .card__icon {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 12px;
}

.type-list .card__icon .icon {
    width: 20px;
    height: 20px;
}

.type-list h3 {
    margin-bottom: 0.15rem;
    font-family: var(--sans);
    font-size: 0.95rem;
}

.type-list p {
    color: var(--muted);
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Design refinements (v2)
   ========================================================================== */

/* Calmer surfaces: fewer shadows, coral reserved for actions */
h1, h2, h3 {
    text-wrap: balance;
}

.eyebrow {
    letter-spacing: 0.12em;
}

.btn--primary {
    box-shadow: 0 8px 22px rgba(201, 74, 31, 0.22);
}

.card,
.speaker-card,
.package-card,
.form-card {
    box-shadow: none;
}

.card:hover,
.speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.card__icon {
    background: rgba(11, 60, 93, 0.07);
    color: var(--navy);
}

.card--navy .card__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.feature-card::after {
    display: none;
}

.site-header {
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.brand .brand__logo--light {
    display: none;
}

/* Reveal: restore normal hover speed once an item has appeared */
body.reveal-ready [data-reveal].is-settled {
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* Home: transparent header floating over the hero photo --------------------- */
body[data-page="home"] .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

body[data-page="home"] .topbar {
    max-height: 40px;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s var(--ease);
}

body[data-page="home"].is-scrolled .topbar {
    max-height: 0;
    opacity: 0;
}

body[data-page="home"].is-scrolled .site-header {
    box-shadow: 0 8px 28px rgba(7, 42, 66, 0.1);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .site-header {
    border-bottom-color: transparent;
    background: linear-gradient(180deg, rgba(7, 42, 66, 0.72), rgba(7, 42, 66, 0));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .topbar {
    background: rgba(7, 42, 66, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .brand__logo--dark {
    display: none;
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .brand__logo--light {
    display: block;
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .primary-nav__list a {
    color: rgba(255, 255, 255, 0.9);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .primary-nav__list a:hover,
body[data-page="home"]:not(.is-scrolled):not(.nav-open) .primary-nav__list a.is-active {
    color: var(--white);
    border-bottom-color: var(--coral);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .site-header .lang-switch {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .site-header .lang-switch a {
    color: rgba(255, 255, 255, 0.78);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .site-header .lang-switch a:hover {
    color: var(--white);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .site-header .lang-switch a.is-active {
    background: var(--white);
    color: var(--navy);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .nav-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .nav-toggle__bar {
    background: var(--white);
}

/* Home: full-screen sections -------------------------------------------------- */
.snap-section {
    position: relative;
}

.snap-wrap--cta {
    background-color: var(--navy-900);
    background-size: cover;
    background-position: center;
}

.snap-wrap--cta .cta-block {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-next,
.snap-dots {
    display: none;
}

@media (min-width: 981px) and (min-height: 620px) {
    .snap-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        min-height: 100svh;
    }

    .section.snap-section {
        padding: calc(var(--hdr) + 1.25rem) 0 2.75rem;
    }

    .snap-section .section-heading {
        margin-bottom: clamp(1.2rem, 3.2vh, 2.4rem);
    }

    .snap-section .speaker-card__avatar {
        aspect-ratio: 16 / 10;
    }

    .snap-wrap--cta {
        padding: calc(var(--hdr) + 1rem) 0 2.5rem;
    }

    html.snap-on {
        scroll-behavior: auto;
    }

    html.snap-on .section-next {
        position: absolute;
        left: 50%;
        bottom: 0.9rem;
        z-index: 2;
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        padding: 0;
        transform: translateX(-50%);
        border: 1px solid var(--line-strong);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.85);
        color: var(--navy);
        cursor: pointer;
        animation: cue-nudge 2.4s ease-in-out infinite;
        transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
    }

    html.snap-on .section-next:hover {
        background: var(--coral-dark);
        border-color: var(--coral-dark);
        color: var(--white);
    }

    html.snap-on .section-next .icon {
        width: 18px;
        height: 18px;
    }

    html.snap-on .snap-wrap--cta .section-next {
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.08);
        color: var(--white);
    }

    html.snap-on .snap-dots {
        position: fixed;
        right: 0.6rem;
        top: 50%;
        z-index: 80;
        display: flex;
        flex-direction: column;
        gap: 0.7rem;
        transform: translateY(-50%);
    }

    .snap-dots button {
        position: relative;
        width: 10px;
        height: 10px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(11, 60, 93, 0.4);
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
        cursor: pointer;
        transition: transform 0.25s var(--ease), background 0.25s var(--ease);
    }

    .snap-dots button::before {
        content: "";
        position: absolute;
        inset: -8px;
    }

    .snap-dots button.is-active {
        background: var(--coral);
        transform: scale(1.35);
    }

    .snap-dots button span {
        position: absolute;
        right: 22px;
        top: 50%;
        padding: 0.28rem 0.65rem;
        transform: translateY(-50%) scale(0.9);
        transform-origin: right center;
        border-radius: 6px;
        background: var(--navy-900);
        color: var(--white);
        font-size: 0.74rem;
        line-height: 1.2;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .snap-dots button:hover span,
    .snap-dots button:focus-visible span {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

@keyframes cue-nudge {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 5px); }
}

/* Compact hero on short desktop screens */
@media (min-width: 981px) and (max-height: 780px) {
    .hero__grid {
        padding-top: 6.5rem;
        padding-bottom: 4.5rem;
    }

    .hero__lead {
        margin: 0.9rem 0 1rem;
    }

    .hero__meta {
        margin-bottom: 1.2rem;
    }

    .countdown {
        padding: 1rem 1.3rem 0.9rem;
    }

    .hero__fact {
        padding: 0.75rem 1.3rem;
    }
}

/* Tablet & mobile hero */
@media (max-width: 980px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        padding-top: 7.5rem;
        padding-bottom: 3rem;
    }

    .hero__panel {
        max-width: 560px;
    }

    .scroll-cue {
        display: none;
    }

    body[data-page="home"].is-scrolled .primary-nav {
        inset: 78px 0 0;
    }
}

@media (max-width: 640px) {
    .hero__grid {
        padding-top: 6.8rem;
    }

    .hero__fact {
        padding: 0.85rem 1rem;
    }

    .countdown {
        padding: 1rem;
    }

    body[data-page="home"].is-scrolled .primary-nav {
        inset: 68px 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__bg,
    .hero__copy > *,
    .hero__panel,
    .scroll-cue__mouse::after,
    .section-next {
        animation: none !important;
    }
}


/* --------------------------------------------------------------------------
   Homepage visual refresh — editorial hero, section rhythm and scroll cues
   -------------------------------------------------------------------------- */
html {
    scroll-padding-top: 82px;
    scroll-snap-type: y proximity;
}
.snap-section {
    scroll-snap-align: start;
    scroll-margin-top: 78px;
}
.hero {
    min-height: calc(100svh - 78px);
    min-height: max(680px, calc(100svh - 78px));
    justify-content: center;
    padding: clamp(4rem, 8vh, 7rem) 0 6rem;
    background: #06263b;
}
.hero__bg {
    z-index: -3;
    background-size: cover !important;
    background-position: center 42%;
    transform: scale(1.015);
    animation: hero-image-in 1.5s ease-out both;
}
.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(90deg, rgba(3,24,39,.94) 0%, rgba(3,24,39,.82) 38%, rgba(3,24,39,.35) 75%, rgba(3,24,39,.2) 100%),
      linear-gradient(0deg, rgba(3,24,39,.65), transparent 45%);
}
.hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
    position: relative;
    z-index: 1;
}
.hero__copy { max-width: 780px; }
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.35rem;
    color: #ff9a72;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.hero__kicker::before {
    content: "";
    width: 38px;
    height: 2px;
    background: currentColor;
}
.hero h1 {
    max-width: 13ch;
    margin: 0 0 1.25rem;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(3rem, 6.4vw, 6.2rem);
    line-height: .99;
    letter-spacing: -.045em;
    text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero__lead {
    max-width: 58ch;
    margin: 0 0 1.8rem;
    color: rgba(255,255,255,.88);
    font-size: clamp(1.05rem, 1.5vw, 1.24rem);
    line-height: 1.75;
}
.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1.6rem;
    margin: 0 0 2rem;
    color: rgba(255,255,255,.88);
    font-size: .9rem;
}
.hero__meta li { display: inline-flex; align-items: center; gap: .55rem; }
.hero__meta .icon { color: #ff9a72; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin: 0 0 1.1rem; }
.hero__actions .btn { min-height: 52px; padding-inline: 1.65rem; }
.btn--glass {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: .78rem 1.4rem; border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px; color: #fff; background: rgba(255,255,255,.08);
    font-weight: 700; text-decoration: none; backdrop-filter: blur(8px);
    transition: background .2s ease, transform .2s ease;
}
.btn--glass:hover { color: #fff; background: rgba(255,255,255,.18); transform: translateY(-2px); }
.hero__note { color: rgba(255,255,255,.65); font-size: .82rem; }
.hero__side {
    align-self: center;
    padding: 1.6rem 1.55rem 1.35rem;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 18px;
    background: rgba(5,34,53,.58);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    backdrop-filter: blur(18px);
}
.hero__side-top { display:flex; align-items:center; gap:1rem; margin-bottom:1.4rem; }
.hero__side-label { color:rgba(255,255,255,.82); font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.hero__side-line { height:1px; flex:1; background:rgba(255,255,255,.2); }
.hero__side .countdown { padding:0; }
.hero__side .countdown__grid { gap:.55rem; }
.hero__side .countdown__unit {
    min-width:0; padding:.9rem .35rem; border-radius:10px;
    background:rgba(255,255,255,.08); text-align:center; align-items:center;
}
.hero__side .countdown__unit span { font-family:var(--sans); font-size:clamp(1.55rem,2.7vw,2.2rem); font-weight:750; }
.hero__side .countdown__unit small { color:rgba(255,255,255,.7); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; }
.hero__side-bottom { margin-top:1.3rem; padding-top:1rem; border-top:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.7); font-size:.82rem; }
.scroll-cue {
    bottom:1.15rem; gap:.3rem; color:rgba(255,255,255,.82);
    font-size:.65rem; font-weight:800; letter-spacing:.18em;
}
.scroll-cue__mouse { width:23px; height:35px; border-width:1.5px; }
.scroll-cue__mouse::after { top:6px; }
.scroll-cue__arrow { color:#ff9a72; font-size:1.1rem; animation: cue-arrow 1.5s ease-in-out infinite; }
.quick-facts { box-shadow:0 12px 30px rgba(7,42,66,.08); }
.quick-fact { padding:1.8rem 1.2rem; }
.section { position:relative; }
.section-heading { margin-bottom:clamp(2rem,4vw,3.4rem); }
.card, .speaker-card, .sponsor-slot { transition:transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.card { border-radius:18px; }
.feature-card { min-height:250px; }
.media-frame { min-height:clamp(320px,42vw,520px); }
@keyframes hero-image-in { from { opacity:.65; transform:scale(1.07); } to { opacity:1; transform:scale(1.015); } }
@keyframes cue-arrow { 0%,100% { transform:translateY(0); opacity:.65; } 50% { transform:translateY(5px); opacity:1; } }

@media (max-width: 980px) {
    .hero { min-height:calc(100svh - 68px); padding:5rem 0 6rem; }
    .hero__layout { grid-template-columns:minmax(0,1fr) minmax(250px,.72fr); gap:2rem; }
    .hero h1 { font-size:clamp(2.8rem,7vw,5rem); }
}
@media (max-width: 760px) {
    html { scroll-snap-type:y proximity; }
    .hero { min-height:auto; padding:5rem 0 6rem; }
    .hero__layout { grid-template-columns:1fr; gap:2rem; }
    .hero__copy { max-width:100%; }
    .hero h1 { max-width:12ch; font-size:clamp(2.7rem,12vw,4.4rem); }
    .hero__side { max-width:480px; width:100%; }
    .hero__meta { display:grid; gap:.65rem; }
    .hero__actions { flex-direction:row; }
    .hero__actions .btn { width:auto; }
    .scroll-cue { bottom:.8rem; }
    .quick-facts__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .quick-fact { padding:1.2rem .7rem; }
}
@media (max-width: 480px) {
    .hero { padding-top:4rem; }
    .hero__actions { flex-direction:column; align-items:stretch; }
    .hero__actions .btn { width:100%; }
    .hero__side { padding:1.2rem .9rem; }
    .hero__side .countdown__grid { gap:.35rem; }
    .hero__side .countdown__unit { padding:.8rem .15rem; }
    .hero__side .countdown__unit span { font-size:1.45rem; }
    .quick-facts__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .quick-fact span { font-size:.65rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-snap-type:none; }
    .hero__bg, .scroll-cue__arrow { animation:none !important; }
}

/* ==========================================================================
   TLBF integration refinements
   ========================================================================== */

/* Anchors clear the fixed/sticky header. */
html {
    scroll-padding-top: 120px;
    scroll-snap-type: none;
}

.scroll-cue {
    text-transform: uppercase;
}

/* Full-screen editorial rhythm only on tall desktop screens. */
@media (min-width: 981px) and (min-height: 620px) {
    .hero {
        min-height: max(680px, 100svh);
    }

    .snap-section {
        min-height: min(100svh, 920px);
    }

    .section.snap-section {
        padding-top: calc(var(--hdr) + 1.25rem);
    }
}

/* The new hero uses its own shade layer; drop the legacy overlay. */
.hero::before {
    display: none;
}

/* Desktop hero content clears the fixed header. */
@media (min-width: 981px) {
    .hero {
        padding-top: calc(var(--hdr) + 34px + 2rem);
    }
}

@media (max-width: 900px) {
    .hero__layout {
        grid-template-columns: 1fr;
    }

    .hero__side {
        max-width: 560px;
    }
}

/* Mobile/tablet hero must start below the fixed header. */
@media (max-width: 980px) {
    .hero {
        padding: calc(var(--hdr) + 34px + 1.5rem) 0 4.5rem;
    }

    .hero__layout {
        gap: 1.6rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: calc(68px + 34px + 1.25rem) 0 3.6rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn,
    .hero__actions .btn--glass {
        width: 100%;
    }

    .hero__side {
        padding: 1.1rem 0.9rem;
    }

    .scroll-cue {
        display: none;
    }
}

/* Keep the quick-facts strip compact and crisp. */
.quick-facts {
    box-shadow: 0 12px 30px rgba(7, 42, 66, 0.08);
}

.quick-fact strong {
    letter-spacing: -0.02em;
}

/* Header logo switching: only one mark visible at a time. */
.brand .brand__logo {
    transition: opacity 0.25s var(--ease);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .brand .brand__logo--dark {
    display: none;
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .brand .brand__logo--light {
    display: block;
}

body[data-page="home"].is-scrolled .brand .brand__logo--light,
body[data-page="home"].nav-open .brand .brand__logo--light {
    display: none;
}

/* Let the countdown panel join the hero entrance. */
.hero__side {
    animation: hero-rise 0.9s var(--ease) both;
    animation-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
    .hero__side {
        animation: none !important;
    }
}

/* Readability on dark surfaces. */
.quick-fact strong {
    color: var(--coral-light);
}

.footer__tagline {
    color: var(--coral-light) !important;
}

.footer__organizer span {
    color: var(--coral-light);
}

.lang-switch--footer a.is-active {
    background: var(--coral-dark);
}

/* Hero fit: the official English title is long, so keep it to a controlled
   four lines and reserve visible space for the scroll cue. */
@media (min-width: 981px) {
    .hero {
        padding-top: calc(var(--hdr) + 34px + 1rem);
        padding-bottom: 8rem;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 0.9rem;
        font-size: clamp(2.5rem, 4.6vw, 4rem);
        line-height: 1.02;
        text-wrap: initial;
    }

    .hero__kicker {
        margin-bottom: 0.9rem;
    }

    .hero__lead {
        max-width: 62ch;
        margin: 0 0 1.2rem;
        font-size: clamp(1.02rem, 1.35vw, 1.18rem);
        line-height: 1.6;
    }

    .hero__meta {
        margin-bottom: 1.2rem;
    }

    .hero__actions {
        margin-bottom: 0.7rem;
    }

    .scroll-cue {
        bottom: 2.5rem;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 4.8vw, 3.6rem);
        text-wrap: initial;
    }
}

@media (max-width: 760px) {
    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.4rem, 6vw, 3.6rem);
        text-wrap: initial;
    }
}

@media (min-width: 981px) and (max-height: 820px) {
    .hero h1 {
        font-size: clamp(2.3rem, 4vw, 3.6rem);
    }
}

/* Short desktop screens: tighten further so the cue stays above the fold. */
@media (min-width: 981px) and (max-height: 760px) {
    .hero {
        padding-top: calc(var(--hdr) + 34px + 0.75rem);
        padding-bottom: 5rem;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 4vw, 3.6rem);
    }

    .hero__lead {
        margin-bottom: 1rem;
    }

    .hero__meta {
        margin-bottom: 1rem;
    }

    .hero__actions {
        margin-bottom: 0.5rem;
    }

    .scroll-cue {
        bottom: 1.5rem;
    }
}

@media (min-width: 981px) and (max-height: 680px) {
    .scroll-cue {
        display: none;
    }
}

/* Social icon links (topbar, footer, contact, mobile menu) ---------------- */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-icons li {
    margin: 0;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--navy);
    text-decoration: none;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.social-icons a:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.social-icons .icon {
    width: 16px;
    height: 16px;
}

.topbar__social {
    margin-left: auto;
}

.social-icons--top {
    gap: 0.25rem;
}

.social-icons--top a {
    width: 24px;
    height: 24px;
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.88);
}

.social-icons--top a:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--white);
}

.social-icons--top .icon {
    width: 13px;
    height: 13px;
}

.social-icons--footer {
    margin-top: 0.9rem;
}

.footer__col ul.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.social-icons--footer a {
    width: 34px;
    height: 34px;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.72);
}

.social-icons--footer a:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    color: var(--white);
}

.site-footer .social-icons--footer a {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .social-icons--footer a:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    color: var(--white);
}

.social-icons--contact,
.social-icons--mobile {
    margin-top: 0.9rem;
}

.social-icons--mobile a {
    width: 34px;
    height: 34px;
}

@media (max-width: 480px) {
    .topbar__item {
        display: none;
    }

    .topbar__social {
        display: flex;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .social-icons a {
        transition: none;
    }
}

/* Section navigation circle (home) ---------------------------------------- */
.section-nav {
    position: fixed;
    right: clamp(1rem, 2vw, 1.75rem);
    bottom: clamp(1rem, 2vw, 1.75rem);
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.section-nav__toggle {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--coral-dark);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(7, 42, 66, 0.24);
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.section-nav__toggle:hover {
    background: var(--coral-darker);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(7, 42, 66, 0.28);
}

.section-nav:not([hidden]) .section-nav__toggle {
    animation: section-nav-in 0.35s var(--ease);
}

@keyframes section-nav-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.section-nav__toggle .icon {
    width: 22px;
    height: 22px;
}

.section-nav__icon {
    display: inline-flex;
}

.section-nav__icon--close {
    display: none;
}

.section-nav.is-open .section-nav__icon--menu {
    display: none;
}

.section-nav.is-open .section-nav__icon--close {
    display: inline-flex;
}

.section-nav__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    width: min(230px, calc(100vw - 2rem));
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
}

.section-nav.is-open .section-nav__panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.section-nav__panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: 8px;
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
}

.section-nav__panel a:hover,
.section-nav__panel a.is-active {
    background: var(--cream);
    color: var(--coral-dark);
}

.section-nav__panel a.section-nav__cta {
    margin-top: 0.35rem;
    background: var(--navy);
    color: var(--white);
    justify-content: center;
}

.section-nav__panel a.section-nav__cta:hover {
    background: var(--coral-dark);
    color: var(--white);
}

body.nav-open .section-nav {
    display: none;
}

@media (max-width: 640px) {
    .section-nav {
        right: 1rem;
        bottom: 1rem;
    }

    .section-nav__toggle {
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-nav__toggle,
    .section-nav__panel {
        transition: none;
    }

    .section-nav__toggle {
        animation: none !important;
    }
}

/* Admin text editor ------------------------------------------------------- */
.text-editor-list {
    display: grid;
    gap: 1rem;
}

.text-editor-field label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.4rem;
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 700;
}

.text-editor-field label code {
    padding: 0.15rem 0.4rem;
    border-radius: 5px;
    background: var(--cream);
    color: var(--navy);
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.76rem;
    font-weight: 500;
}

.text-editor-field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.55;
    resize: vertical;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.text-editor-field textarea:focus {
    border-color: var(--coral);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 107, 56, 0.16);
}

.text-editor-field textarea.text-editor-json {
    background: #0f2636;
    color: #e8f2f8;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.8rem;
    line-height: 1.55;
    tab-size: 2;
}

.text-editor-field.has-error textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.text-editor-field .field__error {
    margin: 0.35rem 0 0;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
}

@media (min-width: 1100px) {
    .text-editor-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .text-editor-list .text-editor-field:has(textarea.text-editor-json) {
        grid-column: 1 / -1;
    }
}

@supports not (selector(:has(*))) {
    .text-editor-field {
        grid-column: 1 / -1;
    }
}

.section.section--why {
    min-height: 0;
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section--why .section-heading {
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

html.snap-on {
    scroll-padding-top: 78px;
}

@media (max-width: 640px) {
    html.snap-on {
        scroll-padding-top: 68px;
    }
}

.snap-section {
    scroll-margin-top: 0;
}

.section--why {
    scroll-margin-top: 0;
}

@media (min-width: 981px) and (min-height: 620px) {
    html.snap-on {
        scroll-snap-type: y proximity;
    }
}

html.snap-on .snap-section,
html.snap-on .section--why,
html.snap-on #highlights,
html.snap-on #sponsors-overview {
    scroll-snap-align: start;
    scroll-margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    html.snap-on {
        scroll-snap-type: none;
    }
}

/* Subpage heroes: compact banner, content starts sooner ------------------ */
.page-hero {
    padding: clamp(1.75rem, 3.2vw, 2.5rem) 0 clamp(1.25rem, 2.2vw, 1.9rem);
}

.page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.06;
    text-wrap: initial;
}

.page-hero__intro {
    max-width: 720px;
    margin-top: 0.6rem;
    font-size: clamp(0.96rem, 1.3vw, 1.08rem);
    line-height: 1.6;
}

.page-hero + .section {
    padding-top: clamp(1.75rem, 3.2vw, 2.5rem);
}

@media (max-width: 640px) {
    .page-hero {
        padding: 1.6rem 0 1.2rem;
    }

    .page-hero + .section {
        padding-top: 1.75rem;
    }
}

.back-to-top {
    position: fixed;
    right: clamp(1rem, 2vw, 1.75rem);
    bottom: clamp(1rem, 2vw, 1.75rem);
    z-index: 95;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(7, 42, 66, 0.24);
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.back-to-top:hover {
    background: var(--coral-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(7, 42, 66, 0.28);
}

.back-to-top .icon {
    width: 22px;
    height: 22px;
}

.back-to-top:not([hidden]) {
    animation: section-nav-in 0.35s var(--ease);
}

body.nav-open .back-to-top {
    display: none;
}

@media (max-width: 640px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 50px;
        height: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: none;
        animation: none !important;
    }
}




/* Topbar contact links + theme switch ------------------------------------- */
.topbar__right {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-left: auto;
}

.topbar__contact {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

.topbar__contact:hover {
    color: var(--white);
}

.topbar__contact .icon {
    color: var(--coral);
}

.topbar__right .topbar__social {
    margin: 0;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    color: var(--navy);
    cursor: pointer;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-1px);
}

.theme-toggle .icon {
    width: 18px;
    height: 18px;
}

.theme-toggle__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle__icon--sun {
    display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
    display: inline-flex;
}

html[data-theme="dark"] .theme-toggle__icon--moon {
    display: none;
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .theme-toggle {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

body[data-page="home"]:not(.is-scrolled):not(.nav-open) .theme-toggle:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

@media (max-width: 1100px) {
    .topbar__item--org {
        display: none;
    }
}

@media (max-width: 900px) {
    .topbar__contact-label {
        display: none;
    }

    .topbar__contact {
        justify-content: center;
        width: 24px;
    }
}

@media (max-width: 640px) {
    .header__actions {
        gap: 0.35rem;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .topbar__inner {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .topbar__item {
        display: none;
    }

    .topbar__contact {
        display: inline-flex;
    }

    .topbar__right {
        margin: 0 auto;
        gap: 0.5rem;
    }

    .topbar__right .topbar__social {
        display: flex;
        margin: 0;
    }
}


/* ==========================================================================
   Dark theme
   ========================================================================== */
html {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --cream: #102330;
    --ink: #e7eef4;
    --muted: #a7b8c5;
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.26);
    --coral-soft: rgba(242, 107, 56, 0.2);
    --success: #7bd8a8;
    --danger: #ff9b91;
    --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.22);
    --shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] body {
    background: #07141e;
    color: var(--ink);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4 {
    color: #f2f7fa;
}

html[data-theme="dark"] a {
    color: #9ed8f0;
    text-decoration-color: rgba(158, 216, 240, 0.4);
}

html[data-theme="dark"] a:hover {
    color: var(--coral-light);
}

html[data-theme="dark"] .eyebrow {
    color: var(--coral-light);
}

html[data-theme="dark"] .site-header {
    background: rgba(7, 20, 30, 0.95);
    border-bottom-color: var(--line);
}

html[data-theme="dark"] .topbar {
    background: #04111a;
}

html[data-theme="dark"] .topbar__contact {
    color: rgba(255, 255, 255, 0.82);
}

html[data-theme="dark"] .topbar__contact:hover {
    color: var(--white);
}

html[data-theme="dark"] .brand .brand__logo--dark {
    display: none !important;
}

html[data-theme="dark"] .brand .brand__logo--light {
    display: block !important;
}

html[data-theme="dark"] .primary-nav__list a {
    color: #dce8f0;
}

html[data-theme="dark"] .primary-nav__list a:hover,
html[data-theme="dark"] .primary-nav__list a.is-active {
    color: var(--coral-light);
}

@media (max-width: 980px) {
    html[data-theme="dark"] .primary-nav {
        background: #0b1c27;
        border-color: var(--line);
    }
}

html[data-theme="dark"] .nav-toggle {
    border-color: var(--line);
    background: #102330;
}

html[data-theme="dark"] .nav-toggle__bar {
    background: #e7eef4;
}

html[data-theme="dark"] .lang-switch {
    border-color: var(--line);
    background: #0c1e2a;
}

html[data-theme="dark"] .lang-switch a {
    color: var(--muted);
}

html[data-theme="dark"] .lang-switch a:hover {
    color: var(--white);
}

html[data-theme="dark"] .lang-switch a.is-active {
    background: var(--coral-dark);
    color: var(--white);
}

html[data-theme="dark"] .theme-toggle {
    border-color: var(--line-strong);
    background: #102330;
    color: #e7eef4;
}

html[data-theme="dark"] .theme-toggle:hover {
    border-color: var(--coral-light);
    color: var(--coral-light);
}

html[data-theme="dark"] .btn--outline {
    border-color: var(--line-strong);
    color: #dce8f0;
}

html[data-theme="dark"] .btn--outline:hover {
    border-color: var(--coral-light);
    color: var(--coral-light);
}

html[data-theme="dark"] .btn--light:hover {
    background: #e9eff3;
    color: var(--navy);
}


/* Dark surfaces */
html[data-theme="dark"] .section--tint {
    background: #0c1d28;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .speaker-card,
html[data-theme="dark"] .sponsor-slot,
html[data-theme="dark"] .package-card,
html[data-theme="dark"] .country-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .info-item,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .hotel-card {
    background: #102330;
    border-color: var(--line);
}

html[data-theme="dark"] .card--navy {
    background: var(--navy);
    border-color: transparent;
}

html[data-theme="dark"] .card--navy h3 {
    color: var(--white);
}

html[data-theme="dark"] .card--navy .card__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

html[data-theme="dark"] .card__icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--coral-light);
}

html[data-theme="dark"] .card--navy .card__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

html[data-theme="dark"] .sponsor-slot--accent {
    background: #132a3a;
    color: var(--coral-light);
}

html[data-theme="dark"] .note {
    background: #102330;
    color: var(--muted);
}

html[data-theme="dark"] .data-table th {
    background: #132a3a;
    color: #e7eef4;
}

html[data-theme="dark"] .data-table td {
    color: var(--muted);
}

html[data-theme="dark"] .data-table strong,
html[data-theme="dark"] .info-item strong,
html[data-theme="dark"] .hotel-card dd,
html[data-theme="dark"] .country-card,
html[data-theme="dark"] .speaker-card__country,
html[data-theme="dark"] .package-card__name,
html[data-theme="dark"] .session__time,
html[data-theme="dark"] .session__body h3 {
    color: #e7eef4;
}

html[data-theme="dark"] .package-card__price,
html[data-theme="dark"] .timeline__date,
html[data-theme="dark"] .req,
html[data-theme="dark"] .badge--coral,
html[data-theme="dark"] .steps-list__num {
    color: var(--coral-light);
}

html[data-theme="dark"] .badge {
    background: #132a3a;
    color: #e7eef4;
}

html[data-theme="dark"] .badge--coral {
    background: var(--coral-soft);
}

html[data-theme="dark"] .tabs__tab {
    color: var(--muted);
}

html[data-theme="dark"] .tabs__tab:hover {
    background: #102330;
    color: #f2f7fa;
}

html[data-theme="dark"] .tabs__tab.is-active,
html[data-theme="dark"] .tabs__tab.is-active small {
    color: var(--coral-light);
}

html[data-theme="dark"] .form-head p,
html[data-theme="dark"] .field__help,
html[data-theme="dark"] .field__optional,
html[data-theme="dark"] .field--check .check {
    color: var(--muted);
}

html[data-theme="dark"] .field label {
    color: #e7eef4;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
    border-color: var(--line-strong);
    background: #0b1b26;
    color: #e7eef4;
}

html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder {
    color: #8fa3b2;
}


html[data-theme="dark"] .alert--success {
    border-color: #1e5e45;
    background: #0f2f24;
    color: #9be3bd;
}

html[data-theme="dark"] .alert--error {
    border-color: #7a2e28;
    background: #3a1a18;
    color: #ffb4ad;
}

html[data-theme="dark"] .site-footer {
    background: #04111a;
}

html[data-theme="dark"] .social-icons a {
    border-color: var(--line-strong);
    color: #dce8f0;
}

html[data-theme="dark"] .social-icons a:hover {
    border-color: var(--coral);
    background: var(--coral-dark);
    color: var(--white);
}

html[data-theme="dark"] .social-icons--top a {
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.88);
}

html[data-theme="dark"] .card .social-list a {
    border-color: var(--line-strong);
    color: #dce8f0;
}

html[data-theme="dark"] .card .social-list a:hover {
    border-color: var(--coral-light);
    color: var(--coral-light);
}

html[data-theme="dark"] .back-to-top {
    background: var(--coral-dark);
}

html[data-theme="dark"] .back-to-top:hover {
    background: var(--coral);
}

html[data-theme="dark"] .section-nav__panel {
    border-color: var(--line);
    background: #102330;
}

html[data-theme="dark"] .section-nav__panel a {
    color: #dce8f0;
}

html[data-theme="dark"] .section-nav__panel a:hover,
html[data-theme="dark"] .section-nav__panel a.is-active {
    background: #132a3a;
    color: var(--coral-light);
}

html[data-theme="dark"] .map-frame,
html[data-theme="dark"] .feature-card::after {
    background: #102330;
}

html[data-theme="dark"] .media-frame {
    box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
    .theme-toggle {
        transition: none;
    }
}


/* Mobile navigation: full-height panel, independent scrolling --------------
   The header uses backdrop-filter, which can create a containing block for
   fixed descendants. Disable it on mobile so the navigation panel is sized
   against the viewport, not the short header bar. */
@media (max-width: 980px) {
    .site-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .primary-nav {
        top: 112px;
        right: 0;
        bottom: auto;
        left: 0;
        height: calc(100vh - 112px);
        height: calc(100dvh - 112px);
        max-height: none;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
    }

    body[data-page="home"].is-scrolled .primary-nav {
        top: 78px;
        height: calc(100vh - 78px);
        height: calc(100dvh - 78px);
    }
}

@media (max-width: 640px) {
    .primary-nav {
        top: 102px;
        height: calc(100vh - 102px);
        height: calc(100dvh - 102px);
    }

    body[data-page="home"].is-scrolled .primary-nav {
        top: 68px;
        height: calc(100vh - 68px);
        height: calc(100dvh - 68px);
    }
}


/* Compact mobile hero: keep the "Hosted by" line in the first viewport ----- */
@media (max-width: 980px) {
    .hero {
        padding-top: calc(112px + 1rem);
        padding-bottom: 3rem;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: auto;
        justify-content: flex-start;
        padding: calc(112px + 0.9rem) 0 2.25rem;
    }

    .hero__kicker {
        gap: 0.5rem;
        margin-bottom: 0.7rem;
        font-size: 0.68rem;
    }

    .hero__kicker::before {
        width: 26px;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 0.75rem;
        font-size: clamp(2rem, 8.5vw, 3rem);
        line-height: 1.03;
        letter-spacing: -0.03em;
    }

    .hero__lead {
        margin: 0 0 0.9rem;
        font-size: clamp(0.94rem, 2.2vw, 1.02rem);
        line-height: 1.55;
    }

    .hero__meta {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.85rem;
        margin: 0 0 0.95rem;
        font-size: 0.82rem;
    }

    .hero__meta li:last-child {
        display: none;
    }

    .hero__actions {
        flex-direction: row;
        gap: 0.5rem;
        margin: 0 0 0.7rem;
    }

    .hero__actions .btn {
        flex: 1 1 0;
        width: auto;
        min-height: 46px;
        padding: 0.55rem 0.65rem;
        font-size: 0.82rem;
    }

    .hero__note {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .hero__side {
        margin-top: 0.25rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: calc(102px + 0.85rem);
    }
}


@media (max-width: 480px) {
    .hero {
        padding-top: calc(102px + 0.8rem);
        padding-bottom: 1.8rem;
    }

    .hero__actions {
        flex-direction: row;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: auto;
        flex: 1 1 0;
    }
}

@media (max-width: 760px) {
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .hero__layout {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: 1.25rem;
    }

    .hero__copy {
        width: 100%;
    }

    .hero__kicker {
        font-size: 0.7rem;
    }

    .hero__lead {
        margin-bottom: 1rem;
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero__meta {
        margin-bottom: 1rem;
        font-size: 0.84rem;
    }

    .hero__actions {
        margin-bottom: 0.8rem;
    }

    .hero__actions .btn {
        min-height: 48px;
        font-size: 0.84rem;
    }

    .hero__note {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .hero__side {
        align-self: stretch;
        max-width: 100%;
        margin-top: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .hero__side-top,
    .hero__side-bottom {
        display: none;
    }

    .hero__side .countdown {
        padding: 0;
    }

    .hero__side .countdown__grid {
        gap: 0.45rem;
    }

    .hero__side .countdown__unit {
        background: rgba(255, 255, 255, 0.13);
    }

    .hero__side .countdown__unit span {
        font-size: 1.55rem;
    }

    .hero__side .countdown__unit small {
        font-size: 0.7rem;
    }
}

@media (max-width: 760px) and (max-height: 640px) {
    .hero {
        padding-top: calc(112px + 0.25rem);
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    .hero__layout {
        gap: 0.5rem;
    }

    .hero__meta {
        display: none;
    }

    .hero__lead {
        margin-bottom: 0.6rem;
        font-size: 0.96rem;
        line-height: 1.5;
    }

    .hero__actions {
        margin-bottom: 0.55rem;
    }

    .hero__note {
        font-size: 0.78rem;
    }
}





/* Mobile language switch in the top bar ----------------------------------- */
.topbar__lang {
    display: none;
}

@media (max-width: 980px) {
    .topbar__lang {
        display: inline-flex;
        flex: none;
        padding: 0.12rem;
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.08);
        font-size: 0.66rem;
    }

    .topbar__lang a {
        padding: 0.2rem 0.42rem;
        color: rgba(255, 255, 255, 0.78);
    }

    .topbar__lang a:hover {
        color: var(--white);
    }

    .topbar__lang a.is-active {
        background: var(--white);
        color: var(--navy);
    }
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 760px) {
    body[data-page] {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 97;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.15rem;
        padding: 0.4rem 0.4rem calc(0.4rem + env(safe-area-inset-bottom));
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(7, 20, 30, 0.97);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .mobile-bottom-nav__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        min-width: 0;
        min-height: 52px;
        padding: 4px 2px;
        border-radius: 10px;
        color: rgba(255, 255, 255, 0.66);
        font-size: 0.56rem;
        font-weight: 700;
        line-height: 1.1;
        text-align: center;
        text-decoration: none;
        transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
    }

    .mobile-bottom-nav__item:active {
        transform: scale(0.97);
    }

    .mobile-bottom-nav__item:hover,
    .mobile-bottom-nav__item.is-active {
        color: var(--coral-light);
        background: rgba(242, 107, 56, 0.13);
    }

    .mobile-bottom-nav__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-bottom-nav__icon .icon {
        width: 20px;
        height: 20px;
    }

    .mobile-bottom-nav__label {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.nav-open .mobile-bottom-nav {
        display: none;
    }

    body[data-page="home"] .back-to-top {
        bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .scroll-cue {
        display: none;
    }
}

/* Homepage: right-hand section dots --------------------------------------- */
.section-dots {
    display: none;
}

@media (min-width: 981px) {
    .section-dots {
        position: fixed;
        top: 50%;
        right: clamp(0.8rem, 1.6vw, 1.4rem);
        z-index: 92;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.7rem;
        padding: 1.2rem 0.32rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(7, 20, 30, 0.16);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        transform: translateY(-50%);
        pointer-events: none;
    }

    .section-dots::before {
        content: "";
        position: absolute;
        top: 0.8rem;
        bottom: 0.8rem;
        left: 50%;
        width: 1px;
        background: rgba(255, 255, 255, 0.22);
        transform: translateX(-50%);
        pointer-events: none;
    }

    .section-dots__link {
        position: relative;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        text-decoration: none;
        pointer-events: auto;
    }

    .section-dots__dot {
        display: block;
        width: 8px;
        height: 8px;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.82);
        transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    }

    .section-dots__link:hover .section-dots__dot,
    .section-dots__link:focus-visible .section-dots__dot {
        background: var(--coral-light);
        border-color: var(--coral-light);
        transform: scale(1.35);
    }

    .section-dots__link.is-active .section-dots__dot {
        background: var(--coral);
        border-color: var(--coral);
        box-shadow: 0 0 0 3px rgba(242, 107, 56, 0.24);
    }

    .section-dots__label {
        position: absolute;
        top: 50%;
        right: calc(100% + 0.6rem);
        padding: 0.35rem 0.6rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 7px;
        background: rgba(7, 20, 30, 0.96);
        color: var(--white);
        font-size: 0.72rem;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transform: translate(6px, -50%);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease), transform 0.2s var(--ease);
        pointer-events: none;
    }

    .section-dots__link:hover .section-dots__label,
    .section-dots__link:focus-visible .section-dots__label {
        opacity: 1;
        visibility: visible;
        transform: translate(0, -50%);
    }

    body.nav-open .section-dots {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section-dots__dot,
    .section-dots__label {
        transition: none;
    }
}


