@charset "utf-8";
/* ==========================================================================
   Home page — hero, flip-card news board, introduction.

   Loaded only by views/pages/home.php. Everything here is namespaced under
   .main_visual / .news_board / .aca_intro so it cannot reach the other pages
   that share all_page_style.css.

   The news board replaces the old Swiper column layout (.news .cards_wrap).
   Those rules are still in all_page_style.css because /news and /newsletter
   reuse .grid_contents.news; the home markup simply no longer matches them.
   ========================================================================== */

/* ==========================================================================
   1. Hero
   ========================================================================== */

/* The slide images sit at z-index:-1, so the veil only has to clear the
   normal-flow content — hence z-index:0 here and :1 on the text. */
.main_visual .hero_veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(5, 20, 38, .62) 0%, rgba(5, 20, 38, .18) 34%, rgba(5, 20, 38, .30) 62%, rgba(5, 20, 38, .72) 100%),
        radial-gradient(120% 90% at 50% 45%, rgba(5, 20, 38, 0) 35%, rgba(5, 20, 38, .45) 100%);
}

.main_visual .center_inner {
    position: relative;
    z-index: 1;
}

/* Slow push-in on the active slide. Reads as "alive" without competing with
   the headline, and stops entirely under prefers-reduced-motion (§6). */
.main_visual .bg_img_wrap .swiper-slide {
    transform: scale(1.06);
    transition: transform 7s linear;
}

.main_visual .bg_img_wrap .swiper-slide-active {
    transform: scale(1);
}

.main_visual .hero_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .22em;
    color: #9fd3f7;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.main_visual .hero_eyebrow::before,
.main_visual .hero_eyebrow::after {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
    opacity: .7;
}

.main_visual .text_wrap {
    flex-direction: column;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.main_visual .text_wrap p {
    max-width: 920px;
    line-height: 1.45;
    text-wrap: balance;
}

/* The five shortcut buttons: give them a hit area and a hover state. */
.main_visual .highlight_btn_wrap {
    backdrop-filter: blur(3px);
    background-color: rgba(14, 105, 171, .72);
}

.main_visual .highlight_btn_wrap ul li a {
    padding: 8px 14px;
    border-radius: 12px;
    transition: background-color .22s ease, transform .22s ease;
    white-space: nowrap;
}

.main_visual .highlight_btn_wrap ul li a img {
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.main_visual .highlight_btn_wrap ul li a:hover {
    background-color: rgba(255, 255, 255, .16);
    color: #fff;
    transform: translateY(-2px);
}

.main_visual .highlight_btn_wrap ul li a:hover img {
    transform: scale(1.1) rotate(-4deg);
}

/* ==========================================================================
   2. News board — shell
   ========================================================================== */

.news_board {
    --nb-ink: #121826;
    --nb-soft: #5c6675;
    --nb-line: #e6e9ef;
    --nb-brand: #0e69ab;

    display: flex;
    justify-content: center;
    padding: clamp(48px, 5vw, 92px) 0 clamp(44px, 4vw, 76px);
    background:
        radial-gradient(1100px 440px at 10% -12%, rgba(14, 105, 171, .085), transparent 70%),
        radial-gradient(900px 400px at 100% 4%, rgba(124, 58, 237, .06), transparent 66%),
        #fff;
}

/* all_page_style.css makes every <section> a flex row, so .center_inner is a
   flex item and inherits min-width:auto — it then refuses to shrink below the
   min-content width of the no-wrap chip row and pushes the whole document
   sideways on a phone. These three cut that chain. */
.news_board > .center_inner,
.aca_intro > .center_inner {
    min-width: 0;
}

.news_board__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    min-width: 0;
    margin-bottom: 30px;
}

.news_board__head > div {
    min-width: 0;
}

.news_board__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--nb-brand);
}

.news_board__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.news_board h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--nb-ink);
    margin: 12px 0 8px;
    line-height: 1.15;
}

.news_board__sub {
    font-size: 16px;
    font-weight: 400;
    color: var(--nb-soft);
}

.news_board__tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

/* Filter chips ----------------------------------------------------------- */

.nb_chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border: 1px solid var(--nb-line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--nb-soft);
    line-height: 1;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.nb_chip b {
    font-size: 12px;
    font-weight: 700;
    color: #a3abb8;
}

.nb_chip:hover {
    border-color: #c6d0e0;
    color: var(--nb-ink);
    transform: translateY(-1px);
}

.nb_chip.is-active {
    background: var(--accent, var(--nb-ink));
    border-color: var(--accent, var(--nb-ink));
    color: #fff;
}

.nb_chip.is-active b {
    color: rgba(255, 255, 255, .7);
}

/* "Flip all" toggle ------------------------------------------------------ */

.nb_flipall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border: 1px dashed #c6d0e0;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: var(--nb-brand);
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.nb_flipall svg {
    width: 16px;
    height: 16px;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.nb_flipall:hover {
    border-style: solid;
    border-color: var(--nb-brand);
    background: rgba(14, 105, 171, .07);
    color: var(--nb-brand);
}

.nb_flipall[aria-pressed="true"] {
    background: var(--nb-brand);
    border-color: var(--nb-brand);
    border-style: solid;
    color: #fff;
}

.nb_flipall[aria-pressed="true"] svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   3. News board — grid
   ========================================================================== */

.nb_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 252px;
    gap: 22px;
}

.nb_empty {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    color: #99a1ad;
    border: 1px dashed var(--nb-line);
    border-radius: 18px;
}

/* ==========================================================================
   4. News board — the flip card
   ========================================================================== */

.fcard {
    position: relative;
    perspective: 1600px;
}

/*
 * The staggered deal-in is opt-in, not opt-out. The hidden state is applied by
 * script (.js-armed, set inline next to the grid so it lands before first
 * paint) and the reveal by the IntersectionObserver in home.js. With no
 * JavaScript — or if home.js never arrives — the cards are simply there.
 * News must not be invisible because an animation did not run.
 */
.nb_grid.js-armed .fcard {
    opacity: 0;
    transform: translateY(26px);
}

.nb_grid.js-armed.is-dealt .fcard {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--i, 0) * 70ms);
}

.fcard__link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    outline: none;
}

.fcard__inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .72s cubic-bezier(.2, .72, .18, 1);
}

.fcard__face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 2px 4px rgba(16, 28, 48, .05), 0 14px 34px rgba(16, 28, 48, .10);
    transition: box-shadow .3s ease;
}

.fcard__front {
    border: 1px solid var(--nb-line);
}

.fcard__back {
    transform: rotateY(180deg);
    border: 1px solid transparent;
    color: #fff;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--accent) 100%, #000 0%) 0%,
                                color-mix(in srgb, var(--accent) 78%, #0b1220 22%) 100%);
}

/* color-mix is unsupported on older Safari/Edge; this flat accent is the
   fallback that wins there and is overridden by the rule above elsewhere. */
@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .fcard__back { background: var(--accent); }
}

/* Flip triggers: pointer hover, keyboard focus, and the JS-driven classes
   used by the auto-flip cycle, the "flip all" toggle and the ⇄ button. */
.fcard.is-flipped .fcard__inner,
.fcard__link:focus-visible .fcard__inner {
    transform: rotateY(180deg);
}

@media (hover: hover) and (pointer: fine) {
    .fcard:hover .fcard__inner {
        transform: rotateY(180deg);
    }

    .fcard:hover .fcard__face {
        box-shadow: 0 6px 10px rgba(16, 28, 48, .07), 0 22px 48px rgba(16, 28, 48, .18);
    }
}

.fcard__link:focus-visible {
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent);
}

/* Front — media ---------------------------------------------------------- */

.fcard__media {
    position: relative;
    /* Deliberately under half the tile: the body below has to fit a tag, two
       lines of title and a date at every breakpoint without clipping. */
    flex: 0 0 40%;
    background-position: center;
    background-size: cover;
    background-color: #eef1f6;
    overflow: hidden;
}

.fcard__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 18, 32, 0) 55%, rgba(10, 18, 32, .22) 100%);
}

/* Most posts (newsletters, notices) carry no image. Rather than leave a grey
   hole, the media area becomes a tinted plate with the issue number or year
   set in it, so every card still has a focal point.

   Four patterns are cycled by position (.is-p1 … .is-p4). On the live content
   seven of the nine tiles are newsletters, which all share one accent — the
   pattern is what gives the board texture instead of one wall of lavender. */
.fcard__media.is-plate {
    --plate-a: color-mix(in srgb, var(--accent) 13%, #fff 87%);
    --plate-b: color-mix(in srgb, var(--accent) 32%, #fff 68%);
    --plate-ink: color-mix(in srgb, var(--accent) 34%, #fff 66%);

    background-color: transparent;
    background-image: linear-gradient(135deg, var(--plate-a) 0%, var(--plate-b) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .fcard__media.is-plate {
        background-color: #eef2f8;
        background-image: none;
    }
}

.fcard__media.is-plate::after {
    background: none;
}

/* p1 — dot grid */
.fcard__media.is-p1 {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .55) 1px, transparent 0),
        linear-gradient(135deg, var(--plate-a) 0%, var(--plate-b) 100%);
    background-size: 14px 14px, 100% 100%;
}

/* p2 — diagonal rule */
.fcard__media.is-p2 {
    background-image:
        repeating-linear-gradient(135deg, rgba(255, 255, 255, .5) 0 2px, transparent 2px 11px),
        linear-gradient(135deg, var(--plate-a) 0%, var(--plate-b) 100%);
}

/* p3 — concentric arcs, anchored off the corner */
.fcard__media.is-p3 {
    background-image:
        repeating-radial-gradient(circle at 12% 112%, rgba(255, 255, 255, .55) 0 2px, transparent 2px 22px),
        linear-gradient(135deg, var(--plate-a) 0%, var(--plate-b) 100%);
}

/* p4 — graph paper */
.fcard__media.is-p4 {
    background-image:
        linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px),
        linear-gradient(135deg, var(--plate-a) 0%, var(--plate-b) 100%);
    background-size: 16px 16px, 16px 16px, 100% 100%;
}

.fcard__motif {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: 54px;
    line-height: 1;
    color: var(--accent);
    opacity: .5;
}

.fcard__motif small {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .14em;
    opacity: .8;
}

/* Front — body ----------------------------------------------------------- */

.fcard__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 14px 18px 16px;
    min-height: 0;
}

.fcard__tag {
    align-self: flex-start;
    padding: 4px 11px;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.4;
}

/* Two lines, not three: the body is only as tall as the tile leaves it, and a
   third line would be sliced in half rather than ellipsised. */
.fcard__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.33;
    letter-spacing: -.01em;
    color: var(--nb-ink);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.fcard__date {
    margin-top: auto;
    font-size: 13px;
    font-weight: 500;
    color: #8b94a2;
    font-variant-numeric: tabular-nums;
}

/* Back ------------------------------------------------------------------- */

.fcard__back_in {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 20px 18px;
    gap: 12px;
}

/* Oversized category word, bled off the corner — the back half of the flip
   needs to look like a different object, not a recolour of the front. */
.fcard__ghost {
    position: absolute;
    right: -8px;
    bottom: -18px;
    font-size: 58px;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    color: rgba(255, 255, 255, .11);
    pointer-events: none;
    white-space: nowrap;
}

.fcard__kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
}

.fcard__summary {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, .93);
    word-break: keep-all;
}

.fcard__meta {
    position: relative;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.fcard__meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

.fcard__meta dt {
    font-weight: 500;
    color: rgba(255, 255, 255, .66);
    letter-spacing: .02em;
}

.fcard__meta dd {
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.fcard__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 2px;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: gap .25s ease;
}

.fcard__cta svg {
    width: 14px;
    height: 14px;
}

.fcard:hover .fcard__cta,
.fcard.is-flipped .fcard__cta {
    gap: 13px;
}

/* ⇄ button — the flip affordance for touch and keyboard, where :hover never
   fires. It is a sibling of the link, not a child, so the card keeps exactly
   one link target. */
.fcard__flip {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #3b4454;
    box-shadow: 0 2px 10px rgba(16, 28, 48, .22);
    transition: background-color .2s ease, color .2s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
}

.fcard__flip svg {
    width: 16px;
    height: 16px;
}

.fcard__flip:hover {
    background: #fff;
    color: var(--accent);
}

.fcard__flip[aria-pressed="true"] {
    transform: rotate(180deg);
    background: #fff;
    color: var(--accent);
}

.fcard__flip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ==========================================================================
   5. Featured card (latest event / news item)
   ========================================================================== */

.fcard--feature {
    grid-column: span 2;
    grid-row: span 2;
}

.fcard--feature .fcard__media {
    flex: 1 1 auto;
}

/* The featured front is a single image plate with the text laid over it, so
   it reads as the anchor of the board rather than a larger sibling.

   Event artwork is almost always a poster — wide or portrait, never the shape
   of the card. `cover` crops the conference title straight out of it, so the
   artwork is *contained* in ::after and a blurred, darkened copy of itself
   fills the frame behind it in ::before. Both pick the URL up from the inline
   background-image on .fcard__media via `inherit`. */
.fcard--feature .fcard__media:not(.is-plate)::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(30px) saturate(1.25) brightness(.6);
}

.fcard--feature .fcard__media:not(.is-plate)::after {
    background-image: inherit;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 36%;
}

/* With ::after holding the artwork, the scrim the title needs moves onto the
   text block itself. */
.fcard--feature .fcard__body {
    background: linear-gradient(180deg, rgba(8, 16, 30, 0) 0%, rgba(8, 16, 30, .70) 34%, rgba(8, 16, 30, .94) 100%);
    padding-top: 76px;
}

.fcard--feature .fcard__body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    gap: 12px;
    padding: 26px 28px;
}

.fcard--feature .fcard__title {
    -webkit-line-clamp: 2;
    font-size: clamp(22px, 2.1vw, 29px);
    line-height: 1.22;
    color: #fff;
}

.fcard--feature .fcard__date {
    color: rgba(255, 255, 255, .78);
}

/* A feature with no image gets a dark accent plate rather than the light one
   the tiles use — the overlaid title and countdown are white. */
.fcard--feature .fcard__media.is-plate {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 0),
        linear-gradient(140deg,
            color-mix(in srgb, var(--accent) 88%, #0b1220 12%) 0%,
            color-mix(in srgb, var(--accent) 40%, #0b1220 60%) 100%);
    background-size: 18px 18px, 100% 100%;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px 32px;
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
    .fcard--feature .fcard__media.is-plate { background-color: var(--accent); }
}

.fcard--feature .fcard__motif {
    font-size: 96px;
    color: #fff;
    opacity: .34;
}

.fcard--feature .fcard__back_in {
    padding: 30px 30px 26px;
    gap: 14px;
}

.fcard--feature .fcard__ghost {
    font-size: 104px;
}

.fcard--feature .fcard__summary {
    -webkit-line-clamp: 6;
    font-size: 16px;
}

.fcard--feature .fcard__meta div {
    font-size: 15px;
}

.fcard--feature .fcard__cta {
    padding: 12px 22px;
    font-size: 15px;
}

/* Countdown -------------------------------------------------------------- */

.nb_count {
    display: flex;
    gap: 8px;
    margin-top: 2px;
}

.nb_count .cu {
    min-width: 62px;
    padding: 8px 6px 7px;
    border-radius: 11px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .26);
    backdrop-filter: blur(6px);
}

.nb_count strong {
    display: block;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.nb_count i {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .7);
}

/* Shown instead of the counter once the date has passed. */
.nb_count.is-past {
    display: none;
}

.nb_dday {
    display: none;
    align-self: flex-start;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.nb_dday.is-on {
    display: inline-flex;
}

/* ==========================================================================
   6. Footer of the board
   ========================================================================== */

.news_board__foot {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 34px;
}

.nb_more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 999px;
    border: 1px solid var(--nb-ink);
    background: var(--nb-ink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: gap .25s ease, background-color .2s ease, color .2s ease;
}

.news_board .nb_more:hover {
    background: var(--nb-brand);
    border-color: var(--nb-brand);
    color: #fff;
    gap: 16px;
}

.nb_more svg {
    width: 15px;
    height: 15px;
}

/* ==========================================================================
   7. Introduction
   ========================================================================== */

.aca_intro {
    background-image: linear-gradient(180deg, rgba(4, 16, 34, .82), rgba(4, 16, 34, .88)), url(../../images/introduction_bg.png);
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: clamp(52px, 5vw, 92px) 0;
}

.aca_intro__head {
    max-width: 820px;
    margin-bottom: 32px;
}

.aca_intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: #8ecbf5;
}

.aca_intro__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.aca_intro h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 14px 0 10px;
}

.aca_intro__lead {
    font-size: clamp(16px, 1.5vw, 19px);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, .86);
    word-break: keep-all;
}

/* Facts strip — each figure is stated in the body copy below it. */
.aca_intro__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.aca_intro__facts li {
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}

.aca_intro__facts strong {
    display: block;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 800;
    letter-spacing: -.02em;
    color: #9fd3f7;
    line-height: 1.1;
}

.aca_intro__facts span {
    display: block;
    margin-top: 7px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, .78);
    word-break: keep-all;
}

/* The full history runs to nine paragraphs; it is collapsed by default and
   expanded by the button below rather than dropped. */
.aca_intro__body {
    position: relative;
    max-width: 1000px;
    max-height: 290px;
    overflow: hidden;
    transition: max-height .5s cubic-bezier(.3, .7, .3, 1);
}

.aca_intro__body::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(4, 16, 34, 0), rgba(4, 16, 34, .95) 78%);
    pointer-events: none;
    transition: opacity .35s ease;
}

.aca_intro__body.is-open::after {
    opacity: 0;
}

.aca_intro__body p {
    font-weight: 300;
    line-height: 1.72;
    color: rgba(255, 255, 255, .84);
    margin-bottom: 1.15em;
    word-break: keep-all;
    overflow-wrap: break-word;
}

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

.aca_intro__toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    transition: background-color .2s ease, border-color .2s ease;
}

.aca_intro__toggle:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
}

.aca_intro__toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .3s ease;
}

.aca_intro__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ==========================================================================
   8. Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .nb_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 246px;
    }

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

@media (max-width: 900px) {
    .news_board__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .nb_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 242px;
        gap: 16px;
    }

    .fcard--feature {
        grid-column: span 2;
        grid-row: span 2;
    }

    .main_visual .highlight_btn_wrap ul {
        gap: 18px;
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .news_board {
        padding: 44px 0 38px;
    }

    /* The chip row scrolls sideways instead of wrapping into three lines. */
    .news_board__tools {
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .news_board__tools::-webkit-scrollbar {
        display: none;
    }

    .nb_chip,
    .nb_flipall {
        flex: 0 0 auto;
    }

    .nb_grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 248px;
        gap: 14px;
    }

    .fcard--feature {
        grid-column: span 1;
        grid-row: span 2;
    }

    .fcard__flip {
        width: 38px;
        height: 38px;
    }

    .fcard--feature .fcard__body {
        padding: 20px 20px 20px;
    }

    .nb_count div {
        min-width: 54px;
    }

    .nb_count strong {
        font-size: 18px;
    }

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

    .aca_intro__facts li {
        padding: 16px;
    }

    .main_visual .hero_eyebrow {
        font-size: 12px;
        letter-spacing: .16em;
        margin-bottom: 14px;
    }

    .main_visual .hero_eyebrow::before,
    .main_visual .hero_eyebrow::after {
        width: 18px;
    }
}

/* ==========================================================================
   8b. Hero on phones — stop the headline overlapping the shortcut buttons.

   The inherited layout fixes the hero at a single height (420-500px) and pins
   the shortcut bar to the bottom with position:absolute, while the headline is
   centred in the same box. On a phone the bar stacks into five rows and the
   centred headline lands straight on top of it — the two were occupying the
   same space, just on different z-layers.

   The fix is to stop fixing the height and let the hero be an ordinary vertical
   stack: headline first, shortcut bar under it, the section growing to fit.
   The bar is taken out of absolute flow and its items become a compact
   wrapping row (icon over label) instead of five full-width lines.
   ========================================================================== */
@media (max-width: 820px) {
    section.main_visual {
        height: auto;
        min-height: 60vh;
        flex-direction: column;
        justify-content: center;
        padding: 96px 0 0;          /* clears the fixed site header */
        /* Backstop: the background slide is scaled to 1.06 and would otherwise
           push a horizontal scrollbar on a phone. Nothing in the hero needs to
           bleed past its own edge. */
        overflow: hidden;
    }

    /* Headline above the shortcut bar, both in normal flow. The bar is first in
       source order, so order: puts it back underneath. Width is padding-based
       with border-box so the text can never be wider than the screen. */
    .main_visual > .center_inner {
        order: 1;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        margin: 0;
    }
    .main_visual .highlight_btn_wrap { order: 2; }

    .main_visual .text_wrap {
        width: 100%;
        height: auto;
        padding: 10px 0 30px;
    }

    .main_visual .text_wrap p {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        text-wrap: pretty;
    }

    /* The eyebrow is one long line now; let it wrap and centre instead of
       forcing the hero wider than the screen. */
    .main_visual .hero_eyebrow {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 2px;
    }

    /* Out of the absolute bottom-pin and into the flow, as a tidy strip whose
       width is the screen, so its items wrap instead of running off the edge. */
    .main_visual .highlight_btn_wrap {
        position: static;
        padding: 12px 0;
    }
    .main_visual .highlight_btn_wrap .center_inner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 12px;
    }

    /* Five compact tiles that wrap, not five stacked full-width rows. */
    .main_visual .highlight_btn_wrap ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 14px;
    }

    .main_visual .highlight_btn_wrap ul li a {
        width: auto;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
        white-space: normal;        /* let a long label wrap, not overflow */
    }

    .main_visual .highlight_btn_wrap ul li a img {
        width: 32px;
        margin: 0;
    }
}

/* ==========================================================================
   9. Reduced motion — no 3D, no drift, no auto-flip.
      The back face is still reachable by the ⇄ button; it just cross-fades.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .main_visual .bg_img_wrap .swiper-slide,
    .main_visual .bg_img_wrap .swiper-slide-active {
        transform: none;
        transition: none;
    }

    .nb_grid.js-armed .fcard {
        opacity: 1;
        transform: none;
    }

    .nb_grid.js-armed.is-dealt .fcard {
        transition: none;
        transition-delay: 0s;
    }

    .fcard__inner {
        transition: none;
    }

    .fcard.is-flipped .fcard__inner,
    .fcard:hover .fcard__inner,
    .fcard__link:focus-visible .fcard__inner {
        transform: none;
    }

    .fcard__back {
        transform: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease;
    }

    .fcard.is-flipped .fcard__back,
    .fcard__link:focus-visible .fcard__back {
        opacity: 1;
        visibility: visible;
    }

    .aca_intro__body {
        transition: none;
    }
}

/* ==========================================================================
   10. Shared furniture for the sections added below the news board
   ========================================================================== */

.home_tc,
.home_conf,
.home_join {
    --nb-ink: #121826;
    --nb-soft: #5c6675;
    --nb-line: #e6e9ef;
    --nb-brand: #0e69ab;

    display: flex;
    justify-content: center;
    padding: clamp(48px, 4.6vw, 86px) 0;
}

.home_tc > .center_inner,
.home_conf > .center_inner,
.home_join > .center_inner {
    min-width: 0;   /* see §2 — <section> is a flex row site-wide */
}

.home_sec_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    min-width: 0;
    margin-bottom: 28px;
}

.home_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--nb-brand);
}

.home_eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.home_eyebrow--light {
    color: #8ecbf5;
}

.home_tc h2,
.home_conf h2,
.home_join h2 {
    font-size: clamp(24px, 2.7vw, 33px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.16;
    margin: 12px 0 8px;
    color: var(--nb-ink);
}

.home_sub {
    font-size: 16px;
    font-weight: 400;
    color: var(--nb-soft);
    max-width: 62ch;
    word-break: keep-all;
}

.home_sub--light {
    color: rgba(255, 255, 255, .78);
}

.home_seeall {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 11px 20px;
    border: 1px solid var(--nb-line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--nb-ink);
    transition: gap .25s ease, border-color .2s ease, background-color .2s ease;
}

.home_seeall svg {
    width: 14px;
    height: 14px;
}

.home_tc .home_seeall:hover,
.home_conf .home_seeall:hover {
    gap: 14px;
    border-color: var(--nb-brand);
    background: rgba(14, 105, 171, .07);
    color: var(--nb-brand);
}

.home_seeall--light {
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
}

.home_conf .home_seeall--light:hover {
    background: rgba(255, 255, 255, .14);
    border-color: #fff;
    color: #fff;
}

/* ==========================================================================
   11. Technical committees
   ========================================================================== */

.home_tc {
    background:
        radial-gradient(900px 400px at 92% -10%, rgba(13, 148, 136, .07), transparent 70%),
        #f7f9fc;
}

/* Six tiles - five committees and the door to the rest - so the column count
   is pinned rather than left to auto-fit, which orphaned the sixth onto a row
   of its own at desktop widths. */
.tc_grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.tc_card {
    display: flex;
    opacity: 0;
    transform: translateY(18px);
    animation: tcIn .5s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 60ms);
}

@keyframes tcIn {
    to { opacity: 1; transform: none; }
}

.tc_card > a {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 18px 16px 16px;
    border: 1px solid var(--nb-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 28, 48, .04), 0 10px 26px rgba(16, 28, 48, .06);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .2s ease;
}

.home_tc .tc_card > a:hover {
    transform: translateY(-4px);
    border-color: #cfdae8;
    box-shadow: 0 4px 8px rgba(16, 28, 48, .06), 0 20px 44px rgba(16, 28, 48, .14);
    color: var(--nb-ink);
}

.tc_card_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.tc_face {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    /* Portraits are head-and-shoulders scans; crop to the top so a circle does
       not cut the face off at the chin. */
    object-position: center top;
    background: #eef2f7;
    flex: 0 0 auto;
}

/* No chair photograph on file — initials rather than an empty ring. */
.tc_face.is-plate {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .02em;
    color: #0d9488;
    background: linear-gradient(140deg, #e3f3f1, #cfe9e5);
}

.tc_badge {
    flex: 0 0 auto;
    padding: 5px 11px;
    border-radius: 999px;
    background: #0d9488;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.4;
}

.tc_kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9aa3b0;
    margin-bottom: 4px;
}

.tc_title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--nb-ink);
    word-break: keep-all;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}

.tc_chair {
    font-size: 13px;
    line-height: 1.45;
    color: var(--nb-soft);
}

.tc_chair span {
    display: inline-block;
    margin-right: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #a9b2bf;
}

.tc_chair em {
    font-style: normal;
    color: #8b94a2;
}

.tc_count {
    margin-top: auto;
    padding-top: 14px;
    font-size: 13px;
    color: var(--nb-soft);
}

.tc_count strong {
    font-size: 17px;
    font-weight: 800;
    color: #0d9488;
    font-variant-numeric: tabular-nums;
}

/* The "all committees" tile reads as a door, not as a sixth committee. */
.tc_card--all > a {
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    border-style: dashed;
    border-color: #c6d4e4;
    background: transparent;
    box-shadow: none;
}

.home_tc .tc_card--all > a:hover {
    background: #fff;
    border-style: solid;
}

.tc_all_n {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--nb-brand);
}

.tc_all_t {
    font-size: 14px;
    color: var(--nb-soft);
    margin-bottom: 12px;
}

.tc_all_c {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--nb-brand);
}

.tc_all_c svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   12. Conference timeline
   ========================================================================== */

.home_conf {
    background:
        linear-gradient(180deg, rgba(4, 16, 34, .88), rgba(4, 16, 34, .94)),
        url(../../images/introduction_bg.png) center / cover;
    color: #fff;
}

.home_conf h2 {
    color: #fff;
}

/* The fade marks the rail as scrollable. pointer-events:none so it never
   swallows a drag on the chips underneath. */
.conf_rail_wrap {
    position: relative;
}

.conf_rail_wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 16px;
    width: 72px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 18, 36, 0), rgba(5, 18, 36, .92));
}

/* A rail, because the sequence is the content. It scrolls rather than
   wrapping, so the chronology never breaks across lines. */
.conf_rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x proximity;
    list-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

.conf_rail:focus-visible {
    outline: 2px solid #8ecbf5;
    outline-offset: 4px;
    border-radius: 8px;
}

.conf_rail::-webkit-scrollbar {
    height: 6px;
}

.conf_rail::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .3);
    border-radius: 99px;
}

.conf_chip {
    flex: 0 0 138px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 16px 14px 14px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .06);
    border-top: 3px solid rgba(255, 255, 255, .28);
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.conf_chip:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-3px);
}

.conf_year {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.conf_city {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, .92);
    word-break: keep-all;
}

.conf_country {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}

.conf_chip.is-latest {
    background: rgba(142, 203, 245, .17);
    border-color: rgba(142, 203, 245, .5);
    border-top-color: #8ecbf5;
}

.conf_tag {
    margin-top: 10px;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: #8ecbf5;
    color: #06243d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ==========================================================================
   13. Join / membership
   ========================================================================== */

.home_join {
    background: #fff;
    padding-top: clamp(40px, 3.6vw, 64px);
}

.join_card {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) 1.15fr;
    gap: clamp(26px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 3.4vw, 46px);
    border-radius: 22px;
    border: 1px solid #dbe6f2;
    background:
        radial-gradient(760px 320px at 0% 0%, rgba(14, 105, 171, .10), transparent 70%),
        linear-gradient(135deg, #f4f8fd, #eef4fb);
}

.join_fee {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 18px;
}

.join_fee_n {
    font-size: clamp(42px, 5.4vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--nb-brand);
}

.join_fee_l {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--nb-soft);
}

.join_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 24px;
}

.join_list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 16px;
    line-height: 1.45;
    color: #2b3442;
    word-break: keep-all;
}

.join_list svg {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 3px;
    color: #0d9488;
}

.join_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.join_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid var(--nb-ink);
    background: var(--nb-ink);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    transition: gap .25s ease, background-color .2s ease, border-color .2s ease;
}

.join_btn svg {
    width: 15px;
    height: 15px;
}

.home_join .join_btn:hover {
    gap: 15px;
    background: var(--nb-brand);
    border-color: var(--nb-brand);
    color: #fff;
}

.join_btn--ghost {
    background: transparent;
    color: var(--nb-ink);
    border-color: #c6d4e4;
}

.home_join .join_btn--ghost:hover {
    background: #fff;
    border-color: var(--nb-ink);
    color: var(--nb-ink);
}

.join_note {
    font-size: 14px;
    color: var(--nb-soft);
}

.home_join .join_note a {
    color: var(--nb-brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   14. Responsive + reduced motion for §10-13
   ========================================================================== */

@media (max-width: 1180px) {
    .tc_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 900px) {
    .home_sec_head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .join_card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .home_tc,
    .home_conf,
    .home_join {
        padding: 44px 0;
    }

    .tc_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .conf_chip {
        flex-basis: 124px;
    }

    .join_actions .join_btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc_card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .home_tc .tc_card > a:hover,
    .conf_chip:hover {
        transform: none;
    }

    .conf_rail {
        scroll-snap-type: none;
    }
}
