:root {
    --navy: #082641;
    --blue: #075d9b;
    --ink: #102c47;
    --surface: #f1f6fa;
    --directions-background: #f7fafc;
    --rule: #d6e2ed;
    --light-ink: #cfdfed;
    --sand: #f8eedc;
    --radius: 8px;
    --serif: var(--sans);
    --section-title-size: clamp(1.5rem, 2.4vw, 2rem);
}
.site-header { background: #05243c; color: var(--paper); }
.site-header .masthead {
    display: flex; flex-wrap: wrap; align-items: center;
    min-height: 68px; gap: clamp(.7rem, 1.5vw, 1.25rem); padding-block: .35rem;
}
.masthead-identity { display: flex; align-items: center; gap: clamp(.7rem, 1.5vw, 1.2rem); min-width: 0; margin-inline-end: auto; }
.site-header :is(.brand, .masthead-label, .nav-links a, .menu-toggle) { color: var(--paper); }
.site-header .brand { flex: none; }
.site-header .brand strong { font-size: 1.25rem; }
.site-header .masthead-label { max-width: 216px; border-color: #ffffff65; font-size: .74rem; line-height: 1.35; }
.site-header .site-nav { order: 1; border: 0; margin: 0; min-width: 0; }
.site-header .nav-links { flex-wrap: wrap; gap: 0 clamp(.6rem, 1.2vw, 1.35rem); }
.site-header .nav-links a { font-size: .8rem; white-space: nowrap; }
.site-header .header-action { order: 2; flex: none; margin-left: 0; white-space: nowrap; min-height: 44px; }
.site-header .menu-toggle { order: 3; }
.header-overlay .site-header { position: absolute; z-index: 5; inset: 0 0 auto; background: transparent; }
.header-overlay :is(.conference-hero, .registration-hero) { padding-top: var(--masthead-overlay-height, 68px); }
.site-header.is-compact .masthead { padding-block: .55rem; }
.site-header.is-compact .header-action { order: 0; margin-left: auto; }
.site-header.is-compact .menu-toggle { order: 0; margin-left: 0; }
.site-header.is-compact .site-nav { order: 4; flex-basis: 100%; border-top: 1px solid #ffffff40; }
.site-header.is-compact .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: .3rem; }
.site-header.is-compact ~ main .hero-flight-panel { display: none; }
.site-header .header-action, .program-action { background: transparent; border-color: #d6e6f4; color: white; }
.site-header .header-action:hover, .program-action:hover { background: #ffffff20; }
.site-header :focus-visible, .site-footer :focus-visible, .dates-section :focus-visible { outline-color: var(--sand); }

.conference-intro {
    position: relative; isolation: isolate;
    background: linear-gradient(155deg, #05243c 12%, #0a3455 60%, #286789);
}
.conference-intro::after {
    content: ""; position: absolute; z-index: -1; inset: auto 0 0;
    height: clamp(135px, 14vw, 180px);
    background: linear-gradient(
        transparent,
        color-mix(in srgb, var(--directions-background) 12%, transparent) 22%,
        color-mix(in srgb, var(--directions-background) 68%, transparent) 68%,
        var(--directions-background)
    );
}
.conference-hero { background: transparent; }
.conference-hero .hero-inner { position: static; display: block; min-height: 0; }
.conference-hero .hero-copy {
    position: relative; z-index: 1; max-width: min(60%, 650px);
    padding: clamp(2rem, 3vw, 3.1rem) 0 0;
}
.conference-hero .hero-title-prefix {
    position: static; width: auto; height: auto; margin: 0 0 .85rem; overflow: visible;
    display: flex; align-items: center; gap: .55rem;
    clip-path: none; white-space: normal; color: var(--paper);
    font: 500 clamp(.7rem, 1vw, .92rem)/1.35 var(--sans);
}
.conference-hero .hero-title-prefix::before {
    content: ""; flex: 0 0 31px; height: 2px; background: #1dc8e8;
}
.hero-aircraft { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.hero-aircraft img {
    display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.hero-aircraft canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-aircraft .hero-objects { position: absolute; inset: 0; }
.hero-flight-panel { position: absolute; pointer-events: none; }
.hero-aircraft::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, #05243ce0, transparent 24%),
        radial-gradient(ellipse 75% 85% at left top, #05243ce0 20%, #05243c9c 58%, transparent);
}
.conference-hero .hero-copy h1 {
    max-width: 100%; font: 500 clamp(1.8rem, 2.85vw, 2.5rem)/1.12 var(--sans);
    letter-spacing: -.024em; text-wrap: initial;
}
.conference-hero .hero-actions { margin-top: clamp(1.15rem, 2vw, 1.8rem); }
.conference-hero .hero-facts {
    position: relative;
    background: transparent; grid-template-columns: auto minmax(0, 1fr);
    max-width: 820px; margin-top: clamp(1.25rem, 2.4vw, 2rem); padding-bottom: 3.6rem; border-top: 0;
}
.conference-hero .hero-facts::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 3.6rem;
    background: #05243cd9; border: 1px solid #bbddf233; border-radius: 8px;
}
.conference-hero .hero-facts > div { padding: .8rem 1rem; }
.conference-hero .hero-facts > div + div { border-inline-start: 1px solid #bbddf233; }
.conference-hero .hero-facts dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.conference-hero .hero-facts .conference-icon { width: 17px; height: 17px; color: white; }
.conference-hero .hero-facts dd { display: flex; align-items: flex-start; gap: .55rem; margin: 0; font-size: .92rem; }
.conference-hero .hero-address { display: inline; color: inherit; font-size: inherit; }
.conference-hero .hero-facts :is(dt, dd) { text-shadow: 0 1px 2px #031a2d; }

.about-section { position: relative; margin-top: -3rem; padding-block: 0 clamp(.6rem, 1.3vw, 1rem); }
.conference-details { display: flow-root; background: var(--directions-background); }
.conference-details .about-details { margin-top: 0; }
.about-card {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: stretch;
    overflow: hidden; border: 2px solid var(--paper); border-radius: 16px;
    background: #f5faff; box-shadow: 0 8px 24px #092c4b16;
}
.about-aircraft {
    position: relative; min-height: clamp(105px, 10vw, 145px); background: #286995;
    clip-path: polygon(0 0, 100% 0, 89% 100%, 0 100%);
}
.about-aircraft img {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.about-card .about-intro {
    position: relative; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: .4rem;
    padding: clamp(.9rem, 1.7vw, 1.5rem) clamp(1rem, 2vw, 1.75rem) clamp(.9rem, 1.7vw, 1.5rem) .6rem;
    background: linear-gradient(155deg, #fff, #f1f7fc);
}
.about-intro::before {
    content: ""; position: absolute; z-index: -1; inset: 0; opacity: .32;
    background: url('/assets/images/about-flow-lines.svg') right bottom / min(47%, 320px) auto no-repeat;
}
.section .about-card h2 { color: var(--navy); font: 600 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--sans); letter-spacing: -.02em; text-transform: none; }
.about-card .about-theme { border: 0; padding: 0; font-size: clamp(.82rem, 1.15vw, .95rem); line-height: 1.4; }
.section h2, .standalone h1 {
    font: 540 clamp(1.65rem, 2.65vw, 2.55rem)/1.08 var(--sans); letter-spacing: -.03em;
}
.section h2 { font-size: var(--section-title-size); line-height: 1.14; }
.directions-section { background: var(--directions-background); padding-block: clamp(1.3rem, 2.4vw, 2.25rem); }
.directions-section .section-grid { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
:is(.directions-intro h2, .formats-section h2, .organizers-section h2)::before {
    content: ""; display: block; width: 33px; height: 2px; margin: .55rem 0 .9rem; background: var(--blue);
}
.directions-intro { margin-bottom: .7rem; }
.directions-intro h2 { max-width: none; }
.directions-intro p { max-width: 68ch; margin: .65rem 0 0; color: var(--muted-on-surface); font-size: .9rem; line-height: 1.4; }
.directions-section .section-body { max-width: none; }
.directions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4.5vw, 3.5rem);
}
.directions li, .directions li + li {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center;
    gap: clamp(.9rem, 2vw, 1.6rem); padding: 1rem 0;
    border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; background: transparent;
}
.directions li:nth-last-child(-n+2) { border-bottom: 0; }
.direction-symbol { display: flex; align-items: center; justify-content: flex-start; border-inline-end: 1px solid #8fc8ea; }
.direction-symbol img { display: block; width: 40px; height: 40px; }
.directions h3 { font-size: clamp(.9rem, 1.2vw, 1rem); line-height: 1.28; font-weight: 650; hyphens: manual; }
.directions p { margin-top: .3rem; color: var(--muted-on-surface); font-size: .9rem; line-height: 1.35; }
.conference-icon { flex: none; color: var(--blue); }

.dates-section {
    padding-block: clamp(1.9rem, 3.2vw, 3rem); border: 0; background:
        linear-gradient(90deg, #08264150, #082641 59%),
        url('/assets/images/conference-aircraft-wide.webp') left bottom / cover no-repeat;
    color: white;
}
.dates-card { display: block; overflow: visible; background: transparent; text-align: center; }
.dates-visual { min-height: 0; padding: 0; }
.dates-visual::after { content: none; }
.dates-visual h2 { color: white; }
.timeline {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 1.9rem 0 0;
    padding: 0; border: 0;
}
.timeline li, .timeline li + li {
    display: grid; grid-template-rows: auto 1fr; align-content: start; justify-content: stretch;
    gap: .45rem; border: 0; padding: 1.35rem .55rem 0; text-align: center; min-width: 0;
}
.timeline li::before { top: 0; left: calc(50% - .225rem); }
.timeline li:not(:last-child)::after { inset: .19rem -50% auto 50%; width: auto; height: 1px; }
.timeline li > :is(span, time) { font-size: .91rem; }
.timeline :is(strong, span, time) { min-width: 0; overflow-wrap: anywhere; }
.dates-section.is-compact .timeline { display: block; padding-inline-start: 1.4rem; }
.dates-section.is-compact .timeline li,
.dates-section.is-compact .timeline li + li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: .5rem 1rem; text-align: left; padding: .8rem 0; }
.dates-section.is-compact .timeline li + li { border-top: 1px solid #ffffff38; }
.dates-section.is-compact .timeline li::before { top: 1.3rem; left: -1.35rem; }
.dates-section.is-compact .timeline li:not(:last-child)::after { inset: 1.45rem auto -1.2rem -1.14rem; width: 1px; height: auto; }
.timeline li.timeline-event::before {
    animation: conference-beacon 2.6s ease-in-out infinite;
    animation-play-state: paused;
}
.dates-section.is-in-view .timeline li.timeline-event::before { animation-play-state: running; }
@keyframes conference-beacon {
    0%, 100% {
        opacity: .72; transform: scale(1);
        box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--gold), 0 0 2px 0 #e4c58000;
    }
    50% {
        opacity: 1; transform: scale(1.16);
        box-shadow: 0 0 0 2px var(--navy), 0 0 0 3px var(--gold), 0 0 12px 4px #e4c58080;
    }
}
@media (prefers-reduced-motion: reduce) {
    .timeline li.timeline-event::before { animation-name: conference-beacon-soft; animation-duration: 5s; }
}
@keyframes conference-beacon-soft {
    0%, 100% { opacity: .8; }
    50% { opacity: 1; }
}
.formats-section, .organizers-section { padding-block: clamp(1.35rem, 2.4vw, 2.25rem); }
.formats-section { background: #fff; padding-block: clamp(1.75rem, 3.5vw, 3.25rem); }
.formats-layout {
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
    overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: #f8fbfe;
}
.formats-intro {
    display: flex; flex-direction: column; align-items: flex-start;
    padding: clamp(1.4rem, 3vw, 2.75rem); color: white;
    background:
        linear-gradient(180deg, #082641f5 8%, #082641cf 48%, #08264152),
        url('/assets/images/program-hall.webp') center 65% / cover no-repeat;
}
.formats-intro h2 { color: white; }
.formats-intro h2::before { margin-top: 0; background: #30c5ee; }
.formats-intro > p { max-width: 28ch; margin-top: 1rem; color: #d5e8f5; font-size: .95rem; line-height: 1.5; }
.formats-link {
    display: inline-flex; align-items: center; gap: .65rem;
    margin-top: auto; padding-top: 2rem; min-height: 44px; color: white; font-size: .9rem; font-weight: 600;
}
.formats-link:hover { color: var(--sand); }
.formats-link:focus-visible { outline-color: var(--sand); }
.formats-link svg { flex: none; }
.formats-section .format-grid { display: block; padding: .25rem clamp(1.25rem, 3vw, 2.5rem); }
.formats-section .format {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: clamp(1rem, 2vw, 1.75rem);
    min-height: 88px; padding: .7rem 0; border: 0; text-align: start;
}
.formats-section .format + .format { border-top: 1px solid var(--rule); }
.format-illustration { display: block; width: 64px; height: 64px; }
.formats-section .format h3 { margin: 0; font-size: clamp(.98rem, 1.4vw, 1.13rem); line-height: 1.3; font-weight: 600; }
.formats-section .format p { font-size: .875rem; line-height: 1.4; }

.organizers-section {
    background:
        url('/assets/images/organizer-waves.svg') left bottom / clamp(230px, 36vw, 470px) auto no-repeat,
        linear-gradient(130deg, #fafcfe, var(--surface));
}
.organizer-content {
    display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
    gap: clamp(1rem, 3.2vw, 2.75rem);
}
.organizer-intro { border-inline-end: 1px solid var(--rule); padding-inline-end: 1rem; }
.organizer-intro p { max-width: 21ch; margin-top: .85rem; color: var(--muted-on-surface); font-size: .95rem; line-height: 1.4; }
.organizer-list { display: block; margin: 0; padding: 0; border: 0; }
.organizer-list li { padding: .65rem 0; }
.organizer-list li + li { padding-inline: 0; border: 0; border-top: 1px solid var(--rule); }
.organizer-list li:first-child { padding-top: 0; }
.organizer-list li:last-child { padding-bottom: 0; }
.organizer-with-logo { grid-template-columns: 60px minmax(0, 1fr); align-items: center; gap: clamp(1rem, 2.25vw, 2rem); }
.organizer-with-logo img { width: 56px; height: 60px; object-position: center; justify-self: center; mix-blend-mode: multiply; }
.organizer-name { display: grid; gap: .2rem; line-height: 1.28; }
.organizer-name strong { font-size: clamp(.9rem, 1.3vw, 1.05rem); font-weight: 680; }
.organizer-name span { color: var(--muted-on-surface); font-size: clamp(.85rem, 1.15vw, .96rem); }
.program-banner {
    min-height: 150px; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    padding: clamp(1.3rem, 3vw, 2.6rem); gap: .75rem 1.3rem; color: white;
    background: linear-gradient(90deg, #082641f5 0%, #082641ad 45%, #08264148 78%, #082641bb 100%),
        url('/assets/images/aviation-wing.webp') center 48% / cover no-repeat;
}
.program-summary { display: block; padding: 0; }
.program-summary h2 { color: white; }
.program-summary p { max-width: none; margin-top: .55rem; }
.program-action { justify-self: start; }
.site-footer { background: #07253f; border: 0; color: white; }
.site-footer :is(a,p) { color: var(--light-ink); }
.footer-event-title { color: white; font-size: .95rem; font-weight: 500; line-height: 1.5; }
.footer-venue { max-width: 38ch; }
.footer-policy { display: inline-block; margin-top: .65rem; }
.footer-contacts-title { font-size: 1rem; }

.registration-hero {
    background:
        linear-gradient(180deg, #05243c, transparent 45%),
        linear-gradient(90deg, #082641 18%, #082641ec 53%, #082641a8),
        url('/assets/images/aviation-wing.webp') center 48% / cover no-repeat;
}
.registration-heading h1 { font: 610 clamp(2.1rem, 4.2vw, 3.5rem)/1.08 var(--sans); letter-spacing: -.03em; }
.registration-event { margin-top: 1rem; max-width: 70ch; color: #e3eef7; font-size: .95rem; line-height: 1.5; }
.registration-event-meta { color: var(--sand); font-size: .9rem; line-height: 1.5; }
.registration-panel h2 { font: 630 clamp(1.5rem, 3vw, 2.05rem)/1.13 var(--sans); }
.participant-group { min-width: 0; margin: 1.5rem 0 0; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--rule); }
.participant-group legend { padding: 0 .5rem 0 0; font-weight: 650; font-size: 1rem; color: var(--navy); }
.participant-group .form-grid { gap: .5rem 1rem; }
.participant-group .field { margin-block: .3rem; }

@media (min-width: 961px) {
    .wrap { width: min(1200px, 86.5%); }
    .site-header .brand strong { font-size: clamp(1.05rem, 1.65vw, 1.45rem); }
    .site-header .brand span { font-size: clamp(.55rem, .85vw, .7rem); }
    .site-header .masthead-label { max-width: 200px; font-size: clamp(.65rem, .95vw, .8rem); }
    .site-header .nav-links { gap: 0 clamp(.95rem, 2.05vw, 1.55rem); }
    .site-header .nav-links a { font-size: clamp(.64rem, .96vw, .82rem); }
    .site-header .header-action {
        min-height: 44px; gap: .45rem; padding: .35rem .8rem;
        border-radius: 6px; font-size: clamp(.63rem, .97vw, .82rem);
    }
    .site-header .header-action svg { width: 14px; height: 14px; }
}

@media (max-width: 960px) {
    .conference-intro { background: linear-gradient(180deg, #05243c, #0a3455 65%, #125477); }
    .hero-aircraft::after {
        background:
            linear-gradient(180deg, #05243c, transparent 25%),
            linear-gradient(90deg, #05243ce8, #05243c80 55%, transparent);
    }
    .site-header .masthead { display: flex; flex-wrap: wrap; padding-block: .55rem; }
    .site-header .masthead-label { max-width: 210px; }
    .site-header .header-action { order: 0; margin-left: auto; }
    .site-header .menu-toggle { margin-left: 0; }
    .site-header .site-nav { order: 2; flex-basis: 100%; margin: 0; border-top: 1px solid #ffffff40; }
    .site-header .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: .3rem; }
}
@media (max-width: 700px) {
    .conference-intro::after { height: 220px; }
    .hero-aircraft img { object-position: 89% center; }
    .hero-aircraft::after {
        background:
            linear-gradient(180deg, #05243c, #05243c8c 24%, #05243cb3 60%, transparent 96%),
            linear-gradient(90deg, #05243ce0, #05243c55 62%, transparent);
    }
    .wrap { width: calc(100% - 32px); }
    .conference-hero .hero-copy { max-width: 100%; }
    .conference-hero .hero-copy h1 { font-size: clamp(1.85rem, 6.1vw, 2.55rem); }
    .conference-hero .hero-facts { grid-template-columns: 1fr; padding-bottom: 2.4rem; }
    .conference-hero .hero-facts::before { bottom: 2.4rem; }
    .conference-hero .hero-facts > div + div { border-inline-start: 0; border-top: 1px solid #bbddf233; }
    .about-section { margin-top: -1.2rem; }
    .about-card { grid-template-columns: 1fr; }
    .about-aircraft { min-height: 0; height: 90px; clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
    .about-card .about-intro { padding: 1rem; }
    .about-intro::before { background-size: min(42%, 170px) auto; }
    .directions { grid-template-columns: 1fr; }
    .directions li, .directions li + li { grid-template-columns: 45px minmax(0, 1fr); gap: 1rem; padding: .95rem 0; }
    .direction-symbol img { width: 32px; height: 32px; }
    .directions li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
    .timeline { display: block; padding-inline-start: 1.4rem; }
    .timeline li, .timeline li + li { display: flex; align-items: flex-start; text-align: left; padding: .65rem 0; }
    .timeline li + li { border-top: 1px solid #ffffff38; }
    .timeline li::before { top: 1.15rem; left: -1.35rem; }
    .timeline li:not(:last-child)::after { inset: 1.3rem auto -1.2rem -1.14rem; width: 1px; height: auto; }
    .formats-layout { grid-template-columns: 1fr; }
    .formats-intro { min-height: 215px; background-position: center 60%; }
    .formats-link { padding-top: 1.25rem; }
    .formats-section .format-grid { padding-inline: 1rem; }
    .formats-section .format { grid-template-columns: 52px minmax(0, 1fr); min-height: 80px; gap: 1rem; }
    .format-illustration { width: 52px; height: 52px; }
    .organizers-section { background: linear-gradient(130deg, #fafcfe, var(--surface)); }
    .organizer-content { grid-template-columns: 1fr; }
    .organizer-intro {
        border: 0; padding: 0 0 .7rem;
        background: url('/assets/images/organizer-waves.svg') right bottom / min(39%, 175px) auto no-repeat;
    }
    .organizer-with-logo { grid-template-columns: 46px minmax(0, 1fr); gap: .75rem; }
    .organizer-with-logo img { width: 44px; height: 52px; }
    .program-banner { grid-template-columns: 1fr; min-height: 165px; }
}
@media (max-width: 860px) {
    .registration-aside { order: -1; padding-top: 0; }
    .registration-aside .descriptions { margin-top: .5rem; }
}
@media (max-width: 480px) {
    .dates-section.is-compact .timeline li,
    .dates-section.is-compact .timeline li + li { grid-template-columns: 1fr; gap: .25rem; }
}
@media (max-width: 390px) {
    .site-header .masthead { gap: .45rem; }
    .site-header .header-action { padding-inline: .6rem; }
}
