/* Explore programmes section - standalone CSS */
@font-face { font-family: 'Outfit'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/outfit-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 100 1000; src: url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2-variations'), url('../fonts/dm-sans-latin-wght-normal.woff2') format('woff2'); }
:root {
  --ae-brand: #164e63;
  --ae-brand-700: #103d4e;
  --ae-brand-900: #0b2a36;
  --ae-brand-50: #eaf2f4;
  --ae-brand-100: #d5e5ea;
  --ae-gold: #cd9a32;
  --ae-gold-ink: #94681a;
  --ae-gold-50: #fbf3e2;
  --ae-ink: #10232c;
  --ae-text: #3c4f58;
  --ae-mute: #5d717b;
  --ae-line: #e4e1da;
  --ae-line-2: #d4d0c7;
  --ae-stone: #f6f3ee;
  --ae-paper: #fbfaf7;
  --ae-white: #fff;

  --ae-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ae-display: 'Outfit', 'DM Sans', system-ui, sans-serif;

  --ae-r-xl: 22px;
  --ae-r-lg: 16px;
  --ae-r-md: 12px;
  --ae-r-sm: 8px;
  --ae-shadow-sm: 0 1px 2px rgba(16, 35, 44, .05), 0 2px 10px -4px rgba(16, 35, 44, .08);
  --ae-shadow: 0 1px 2px rgba(16, 35, 44, .04), 0 16px 40px -20px rgba(16, 35, 44, .22);
  --ae-shadow-lg: 0 30px 70px -32px rgba(11, 42, 54, .38);
  --ae-gutter: clamp(18px, 4vw, 40px);
  --ae-sec: clamp(72px, 9vw, 128px);
  --ae-ease: cubic-bezier(.22, .61, .2, 1);
  --ae-ease-out: cubic-bezier(.16, 1, .3, 1);

}
/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ae-sans);
  font-size: 16px; line-height: 1.65;
  color: var(--ae-text); background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea, .ax-btn, .ax-menu a, .ax-eyebrow, .ax-sec h2, .ax-phero h1 { font-family: var(--ae-sans); }
button { font: inherit; }
::selection { background: var(--ae-gold-50); color: var(--ae-ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--ae-brand); outline-offset: 3px; border-radius: 6px; }
.ae-sr, .ae-hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ae-wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--ae-gutter); }
.ae-anchor { position: relative; top: -96px; display: block; height: 0; }
.ax-i { flex: none; }
[class^="ae-"][hidden], [class*=" ae-"][hidden] { display: none !important; }
.ae-label, .ae-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ae-brand);
}
.ae-label::before, .ae-eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--ae-gold); border-radius: 2px; transform: rotate(45deg); }
.ae-eyebrow--gold { color: var(--ae-gold-ink); }
.ae-h2 {
  font-weight: 700; color: var(--ae-ink);
  font-size: clamp(1.9rem, 1.15rem + 2.6vw, 3.15rem);
  line-height: 1.08; letter-spacing: -.035em;
  text-wrap: balance; max-width: 20ch;
}
.ae-btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  font: 700 .95rem/1.1 var(--ae-sans);
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: color .35s var(--ae-ease), border-color .35s, background .35s, box-shadow .35s;
}
.ae-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ae-ease-out); }
.ae-btn:hover::before { transform: none; }
.ae-btn .ax-i { transition: transform .35s var(--ae-ease-out); }
.ae-btn:hover .ax-i { transform: translateX(3px); }
.ae-btn--primary { background: var(--ae-brand); color: #fff; }
.ae-btn--primary::before { background: var(--ae-brand-900); }
.ae-btn--primary:hover { color: #fff; }
.ae-btn--outline { background: transparent; color: var(--ae-ink); border-color: var(--ae-line-2); }
.ae-btn--outline::before { background: var(--ae-ink); }
.ae-btn--outline:hover { color: #fff; border-color: var(--ae-ink); }
.ae-btn--light { background: #fff; color: var(--ae-ink); }
.ae-btn--light::before { background: var(--ae-gold); }
.ae-btn--light:hover { color: var(--ae-ink); }
.ae-btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.ae-btn--sm { min-height: 44px; padding: 10px 18px; font-size: .88rem; }
.ae-btn--block { width: 100%; }
.ae-btn[disabled] { opacity: .65; cursor: progress; }
.ae-textlink, .ae-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .95rem; color: var(--ae-ink);
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .45s var(--ae-ease-out), color .25s;
}
.ae-textlink:hover, .ae-link:hover { background-size: 100% 1.5px; color: var(--ae-brand); }
.ae-textlink .ax-i, .ae-link .ax-i { transition: transform .35s var(--ae-ease-out); }
.ae-textlink:hover .ax-i, .ae-link:hover .ax-i { transform: translateX(3px); }
.ae-textlink--mute { color: var(--ae-mute); font-weight: 600; }
.ae-head { display: flex; flex-direction: column; gap: 16px; padding-bottom: clamp(36px, 4vw, 56px); }
.ae-head > p:not(.ae-label) { max-width: 58ch; color: var(--ae-mute); font-size: 1.04rem; }
.ae-head--center { align-items: center; text-align: center; }
.ae-head--center .ae-h2, .ae-head--center .ae-h3 { max-width: 26ch; }
.ae-head--row, .ae-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.ae-head--row > div, .ae-head--split > div { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }
.ae-head--row > p, .ae-head--split > p { max-width: 42ch; }
.ae-head--row > .ae-arrows, .ae-head--split > .ae-arrows { flex-direction: row; }
.ae-seg { position: relative; display: flex; gap: 4px; flex-wrap: wrap; }
.ae-seg button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border: 1px solid var(--ae-line-2); background: #fff; color: var(--ae-ink); border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.ae-seg button small { font-size: .74rem; font-weight: 700; color: var(--ae-mute); }
.ae-seg button:hover { border-color: var(--ae-ink); }
.ae-seg button.is-on { background: var(--ae-ink); border-color: var(--ae-ink); color: #fff; }
.ae-seg button.is-on small { color: #b9c8ce; }
.ae-seg--level { background: var(--ae-stone); padding: 4px; border-radius: 999px; gap: 2px; }
.ae-seg--level button { border: 0; background: transparent; min-height: 36px; padding: 6px 14px; }
.ae-seg--level button.is-on { background: #fff; color: var(--ae-ink); box-shadow: var(--ae-shadow-sm); }
.ae-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ae-ease-out), transform 1s var(--ae-ease-out); transition-delay: var(--d, 0s); }
.ae-js [data-reveal].is-in { opacity: 1; transform: none; }
/* ===== Section styles ===== */
/* ---------- v4.1: Explore programmes – video first, one clean card per field ---------- */
.ae-xv { --gold: #f1c76a; --glass: rgba(10, 28, 38, .42); --glass-b: rgba(255, 255, 255, .16);
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #0b2a36;
  min-height: clamp(620px, 92vh, 860px); display: flex; align-items: stretch; }
.ae-xv__bg { position: absolute; inset: 0; z-index: -2; background: #0b2a36 url('../video/arrivo-programmes.jpg') center / cover no-repeat; }
.ae-xv__video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* light veil only where the text sits – the right side of the film stays clear */
.ae-xv::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(6, 22, 30, .72) 0%, rgba(6, 22, 30, .38) 34%, rgba(6, 22, 30, 0) 58%),
  linear-gradient(180deg, rgba(6, 22, 30, .55) 0%, rgba(6, 22, 30, 0) 22%, rgba(6, 22, 30, 0) 80%, rgba(6, 22, 30, .45) 100%); }

.ae-xv__in { position: relative; display: flex; flex-direction: column; gap: clamp(20px, 3vw, 36px); padding-block: clamp(56px, 7vw, 96px); }
.ae-xv__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; }
.ae-xv__label { margin: 0 0 8px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ae-xv__h { margin: 0; font-family: var(--ae-display); font-weight: 600; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }

/* tabs: one slim glass bar, progress line follows the film */
.ae-xv__tabs { margin-top: 30px; position: relative; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--glass-b);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); }
.ae-xv__tab { position: relative; overflow: hidden; min-height: 42px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .82);
  font: 600 .92rem/1 var(--ae-sans); cursor: pointer; white-space: nowrap; transition: background .45s var(--ae-ease-out), color .35s; }
.ae-xv__tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.ae-xv__tab.is-on { background: #fff; color: var(--ae-ink); }
.ae-xv__bar { position: absolute; left: 18px; right: 18px; bottom: 5px; height: 2px; border-radius: 2px; overflow: hidden; background: transparent; }
.ae-xv__tab.is-on .ae-xv__bar { background: rgba(16, 35, 44, .12); }
.ae-xv__bar i { display: block; width: 100%; height: 100%; background: var(--ae-gold); transform: scaleX(0); transform-origin: left; }

/* card */
.ae-xv__stage { flex: 1; display: grid; align-items: center; }
.ae-xv__card { grid-area: 1 / 1; width: min(100%, 540px); padding: clamp(20px, 2.4vw, 30px); border-radius: 22px;
  background: var(--glass); border: 1px solid var(--glass-b); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ae-ease-out), transform .7s var(--ae-ease-out); }
.ae-xv__card.is-on { opacity: 1; transform: none; }
.ae-xv__slides { display: grid; }
.ae-xv__slide { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.ae-xv__slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.ae-xv__slide > * { margin: 0; }
.ae-xv__kick { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--gold); padding: 5px 12px; border-radius: 999px; background: rgba(241, 199, 106, .12); border: 1px solid rgba(241, 199, 106, .3); line-height: 1.35; }
.ae-xv__head { font-family: var(--ae-display); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: #fff; }
.ae-xv__head span { display: block; font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .85); margin-bottom: 4px; }
.ae-xv__head em { display: inline-block; font-style: normal; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); color: var(--gold); }
.ae-xv__prog { display: flex; flex-direction: column; gap: 2px; padding-left: 12px; border-left: 3px solid var(--gold); }
.ae-xv__prog small { font-size: .82rem; color: rgba(255, 255, 255, .72); }
.ae-xv__prog strong { font-family: var(--ae-display); font-weight: 600; font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem); line-height: 1.25; color: #fff; }
.ae-xv__pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--ae-ink); background: var(--gold); }
.ae-xv__items { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ae-xv__items li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 6px 12px 6px 7px; border-radius: 999px; font-size: .82rem; font-weight: 600; line-height: 1.2;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.ae-xv__items i { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(241, 199, 106, .18); color: var(--gold); }
.ae-xv__items svg, .ae-xv__enq svg, .ae-xv__all svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ae-xv__note { font-size: .84rem; line-height: 1.45; color: rgba(255, 255, 255, .72); }

.ae-xv__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ae-xv__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ae-xv__link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .35); transition: background .3s, color .3s, border-color .3s; }
.ae-xv__link:hover { background: #fff; color: var(--ae-ink); border-color: #fff; }
.ae-xv__enq { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: var(--ae-ink); text-decoration: none;
  background: var(--gold); transition: transform .3s var(--ae-ease-out), box-shadow .3s; }
.ae-xv__enq:hover { color: var(--ae-ink); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(241, 199, 106, .8); }
.ae-xv__dots { display: flex; gap: 6px; }
.ae-xv__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .35s var(--ae-ease-out), background .35s; }
.ae-xv__dots button[aria-current="true"] { width: 24px; background: var(--gold); }
.ae-xv__all { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: #fff; text-decoration: none; opacity: .9;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ae-ease-out); }
.ae-xv__all:hover { color: #fff; background-size: 100% 1.5px; }

/* text enters line by line when a card / slide becomes active */
.ae-xv__card.is-on .ae-xv__slide.is-on > * { animation: aeXvUp .6s var(--ae-ease-out) both; }
.ae-xv__card.is-on .ae-xv__slide.is-on > :nth-child(2) { animation-delay: .06s; }
.ae-xv__card.is-on .ae-xv__slide.is-on > :nth-child(3) { animation-delay: .12s; }
.ae-xv__card.is-on .ae-xv__slide.is-on > :nth-child(4) { animation-delay: .18s; }
.ae-xv__card.is-on .ae-xv__slide.is-on > :nth-child(5) { animation-delay: .24s; }
.ae-xv__card.is-on .ae-xv__slide.is-on > :nth-child(6) { animation-delay: .3s; }
@keyframes aeXvUp { from { opacity: 0; transform: translateY(12px); } }

/* tablet / mobile: the film sits on top in full view, tabs + card follow */
@media (max-width: 900px) {
  .ae-xv { min-height: 0; display: block; }
  .ae-xv::before { display: none; }
  .ae-xv__bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; max-height: 70vh; }
  .ae-xv__bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 34%; background: linear-gradient(180deg, rgba(11, 42, 54, 0), #0b2a36); }
  .ae-xv__in { padding-block: 0 56px; margin-top: -28px; gap: 16px; }
  .ae-xv__top { flex-direction: column; align-items: stretch; gap: 14px; }
  .ae-xv__card { width: 100%; background: rgba(255, 255, 255, .05); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .ae-xv__tabs { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; border-radius: 14px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ae-xv__tabs::-webkit-scrollbar { display: none; }
  .ae-xv__tab { flex: 1 0 auto; scroll-snap-align: start; border-radius: 10px; padding: 8px 16px; }
}
@media (max-width: 560px) {
  .ae-xv__bg { aspect-ratio: 4 / 3; }
  .ae-xv__card { padding: 18px; border-radius: 18px; }
  .ae-xv__slide { gap: 10px; }
  .ae-xv__items li { font-size: .78rem; padding: 5px 10px 5px 6px; }
  .ae-xv__foot { margin-top: 16px; padding-top: 14px; }
  .ae-xv__cta { width: 100%; }
  .ae-xv__link { flex: 1; justify-content: center; }
  .ae-xv__enq { flex: 1 1 100%; justify-content: center; }
  .ae-xv__dots { width: 100%; justify-content: center; }
}
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) { .ae-xv__card { background: rgba(11, 42, 54, .82); } }
@media (prefers-reduced-motion: reduce) {
  .ae-xv__video { display: none; }
  .ae-xv__card, .ae-xv__slide, .ae-xv__tab, .ae-xv__dots button { transition: none; }
  .ae-xv__card.is-on .ae-xv__slide.is-on > * { animation: none; }
}
