/* ==========================================================================
   Helitec block theme by 46digital
   Ported from the Astro build (src/styles/global.css). Colours and fonts come
   from theme.json presets; the short aliases below keep the rules readable.
   ========================================================================== */

:root {
	--navy: var(--wp--preset--color--navy, #1f3a4c);
	--teal: var(--wp--preset--color--teal, #056579);
	--ink: var(--wp--preset--color--ink, #18181b);
	--text: var(--wp--preset--color--text, #3d4348);
	--muted: var(--wp--preset--color--muted, #6b7378);
	--cream: var(--wp--preset--color--cream, #f8f5f3);
	--line: var(--wp--preset--color--line, #e4dfdb);
	--sky: var(--wp--preset--color--sky, #9fd3dc);
	--white: #fff;
	--serif: var(--wp--preset--font-family--serif, 'Cormorant Garamond', Georgia, serif);
	--sans: var(--wp--preset--font-family--sans, 'Inter Variable', system-ui, sans-serif);
	--max: 1200px;
	--pad: clamp(1.25rem, 4vw, 2.5rem);
	--header-h: 76px;
	--admin-bar: var(--wp-admin--admin-bar--height, 0px);
	--arr-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
	--arr-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
	--ic-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64c0 247.4 200.6 448 448 448 18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
	--ic-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	--ic-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
	--ic-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3zm-1 14-4-4 1.4-1.4L11 13.2l4.6-4.6L17 10l-6 6z'/%3E%3C/svg%3E");
	--ic-pdf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Cpath d='M14 2v6h6' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3Ctext x='12' y='17.2' text-anchor='middle' font-family='Arial, sans-serif' font-size='5.6' font-weight='700'%3EPDF%3C/text%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin-top: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip-link.screen-reader-text:focus { background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 200; left: 0; top: 0; clip-path: none; width: auto; height: auto; }

/* Layout helpers (used as "Additional CSS class" on Group blocks) */
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--pad), 800px); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.cream, .section.has-cream-background-color { background: var(--cream); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; display: block; }
.lead { font-size: 1.15rem; color: var(--text); }
.muted-note { color: var(--muted); font-size: .9rem; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: .75rem 0 0; max-width: 46ch; }
.section-head > .wp-block-buttons { margin: 0; }
.center { text-align: center; }
.center .wp-block-buttons { justify-content: center; }

/* Buttons: core Button block + .btn used by dynamic blocks */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .85rem; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.btn,
.wp-block-button .wp-block-button__link,
.wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .95rem 1.9rem; font: 500 .9rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: #fff;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s; height: auto; word-break: normal;
}
.btn:hover,
.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.ghost, .wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; color: var(--navy); }
.btn.ghost:hover, .wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.light, .wp-block-button.is-style-light .wp-block-button__link { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover, .wp-block-button.is-style-light .wp-block-button__link:hover { background: transparent; color: #fff; }
.btn.outline-light, .wp-block-button.is-style-outline-light .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.outline-light:hover, .wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.small, .wp-block-button.btn-small .wp-block-button__link { padding: .75rem 1.25rem; font-size: .78rem; }
.wp-block-button.has-arrow .wp-block-button__link::after { content: ''; margin-left: .1em; }
.wp-block-button.has-pdf-icon .wp-block-button__link::before { content: ''; width: 1.35rem; height: 1.35rem; flex-shrink: 0; background: currentColor; -webkit-mask: var(--ic-pdf) center / contain no-repeat; mask: var(--ic-pdf) center / contain no-repeat; }
.link-arrow { font-weight: 500; text-decoration: none; letter-spacing: .04em; }
.link-arrow::after { content: ''; margin-left: .45em; }

/* Arrow glyphs drawn as masked SVG (the Inter subset has no arrows) */
.arr, .link-arrow::after, .flight-card .actions .book::after, .ref-links a::after, .wp-block-button.has-arrow .wp-block-button__link::after {
	display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -.18em; background: currentColor;
	-webkit-mask: var(--arr-right) center / contain no-repeat; mask: var(--arr-right) center / contain no-repeat;
}
.ref-links a::after { width: .85em; height: .85em; vertical-align: -.1em; -webkit-mask-image: var(--arr-ne); mask-image: var(--arr-ne); }
.btn .arr { margin-left: .1em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: var(--admin-bar); z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1.5rem; min-height: var(--header-h); }
.header-in > .wp-block-site-logo, .header-in .brand { line-height: 0; margin: 0; }
.header-in .wp-block-site-logo img, .brand img { height: 52px; width: auto; }
.helitec-site-nav { display: contents; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav > ul > li { position: relative; }
.nav a { display: block; padding: .75rem .8rem; font-size: .88rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; line-height: 1.65; }
.nav a:hover, .nav li:hover > a, .nav li:focus-within > a, .nav .current-menu-item > a { color: var(--teal); }
.nav .has-sub > a::after { content: ''; display: inline-block; width: .4em; height: .4em; margin-left: .5em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.15em) rotate(45deg); transition: transform .2s; }
.nav .has-sub:hover > a::after, .nav .has-sub:focus-within > a::after { transform: translateY(.05em) rotate(225deg); }
.nav .sub { position: absolute; left: 0; top: 100%; min-width: 290px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(24,24,27,.35); padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; display: block; }
.nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: .55rem 1.25rem; font-weight: 400; }
.nav .sub a:hover { background: var(--cream); }
.header-cta { display: none; }
.menu-btn { background: none; border: 1px solid var(--line); padding: .6rem .8rem; font: 500 .8rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); cursor: pointer; }
.mobile-nav { display: none; flex-basis: 100%; margin-inline: calc(-1 * var(--pad)); border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--header-h) - var(--admin-bar)); overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1.5rem; }
.mobile-nav a { display: block; padding: .8rem var(--pad); color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-nav details summary { padding: .8rem var(--pad); font-weight: 500; color: var(--ink); cursor: pointer; }
.mobile-nav details a { padding-left: calc(var(--pad) + 1rem); font-weight: 400; font-size: .95rem; }
.mobile-nav .btn { margin: 1rem var(--pad) 0; display: flex; color: #fff; padding-left: 1.9rem; }
.mobile-nav > .btn { margin-bottom: 1.5rem; }
.mobile-nav ul + .btn { margin-top: -0.5rem; }
@media (min-width: 1080px) {
	.nav { display: block; }
	.header-cta { display: inline-flex; }
	.menu-btn, .mobile-nav { display: none !important; }
}

/* ---------- Cover-based heroes ---------- */
.wp-block-cover.hero, .wp-block-cover.page-hero, .helitec-hero.page-hero { padding: 0; overflow: hidden; isolation: isolate; color: #fff; }
.wp-block-cover.hero .wp-block-cover__inner-container,
.wp-block-cover.page-hero .wp-block-cover__inner-container { width: min(100% - 2 * var(--pad), var(--max)) !important; max-width: var(--max) !important; margin-inline: auto !important; color: #fff; z-index: 2; }
.wp-block-cover.hero .wp-block-cover__background, .wp-block-cover.page-hero .wp-block-cover__background { opacity: 0 !important; }
.wp-block-cover.hero::before, .wp-block-cover.page-hero.img::before, .helitec-hero.page-hero.img::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Home hero */
.hero { position: relative; min-height: min(86vh, 760px) !important; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.hero::before { background: linear-gradient(180deg, rgba(15,30,40,.12) 0%, rgba(15,30,40,.04) 35%, rgba(15,30,40,.58) 100%); }
.hero .wp-block-cover__inner-container { padding-block: clamp(3rem, 8vw, 6rem); }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero h1 { color: #fff; margin-bottom: .2em; }
.hero .sub-h { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 300; margin: 0 0 1rem; }
.hero p.intro { max-width: 52ch; opacity: .92; margin-bottom: 2rem; }
.hero-strip { background: var(--navy); color: #fff; }
.hero-strip ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.hero-strip li { padding: 1.1rem 0; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; text-align: center; opacity: .9; }

/* Page hero */
.page-hero { position: relative; background-color: var(--navy); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem) !important; background-size: cover; background-position: center; isolation: isolate; }
.page-hero .wp-block-cover__image-background, .page-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: 0; margin: 0; }
.page-hero.img::before { background: linear-gradient(90deg, rgba(31,58,76,.92), rgba(31,58,76,.55)); }
.page-hero > .wrap, .page-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 3.9rem); margin-bottom: .3em; max-width: 20ch; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero p { max-width: 60ch; opacity: .92; font-size: 1.1rem; margin: 0; }
.page-hero p.eyebrow { font-size: .75rem; opacity: 1; margin-bottom: 1rem; }
.page-hero.has-video { min-height: clamp(420px, 58vh, 600px) !important; display: flex; align-items: center; overflow: hidden; }
.page-hero.tall { min-height: clamp(410px, 46vw, 530px) !important; display: flex; align-items: center; }
.page-hero.tall.img::before, .page-hero.has-video.img::before { background: linear-gradient(90deg, rgba(20,40,55,.68) 0%, rgba(20,40,55,.34) 45%, rgba(20,40,55,0) 80%); }
@media (max-width: 700px) { .page-hero.tall.img::before, .page-hero.has-video.img::before { background: linear-gradient(90deg, rgba(20,40,55,.7) 0%, rgba(20,40,55,.45) 60%, rgba(20,40,55,.15) 100%); } }
.page-hero .wp-block-cover__video-background { z-index: 0; }
@media (prefers-reduced-motion: reduce) { .page-hero .wp-block-cover__video-background { display: none; } }
/* Plain navy band (no image) */
.wp-block-group.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem); }

/* Breadcrumbs */
.crumbs-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.crumbs-bar .wrap { padding-block: .85rem; }
.crumbs-bar a { color: var(--navy); text-decoration: none; }
.crumbs-bar a:hover { color: var(--teal); text-decoration: underline; }
.crumbs-bar .sep { margin-inline: .35em; opacity: .55; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(24,24,27,.45); color: inherit; }
.card .ph { aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .ph img { transform: scale(1.05); }
.card .body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; position: relative; }
.card .meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.card h3 { margin: 0; font-family: var(--sans); font-size: 1.2rem; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.card .price { margin-top: auto; padding-top: .75rem; display: flex; align-items: baseline; gap: .4rem; color: var(--navy); }
.card .price .amt { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1; font-variant-numeric: lining-nums; }
.card .price .unit { font: 500 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card .badge { position: absolute; top: 1rem; left: 1rem; background: var(--teal); color: #fff; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .4rem .7rem; font-weight: 600; z-index: 1; }
.card .go { position: absolute; bottom: 1.2rem; right: 1.3rem; color: var(--navy); transition: transform .25s, color .25s; }
.card:hover .go { transform: translate(3px,-3px); color: var(--teal); }
a.card .body { padding-bottom: 3.4rem; }
.flight-card .actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: auto; }
.flight-card .actions a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1.05rem .75rem; font: 600 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.flight-card .actions .details { color: var(--navy); background: #fff; }
.flight-card .actions .details:hover { background: var(--cream); color: var(--teal); }
.flight-card .actions .book { background: var(--navy); color: #fff; }
.flight-card .actions .book::after { content: ''; transition: transform .2s; }
.flight-card .actions .book:hover { background: var(--teal); color: #fff; }
.flight-card .actions .book:hover::after { transform: translateX(3px); }
.flight-card:hover { transform: none; box-shadow: 0 22px 40px -26px rgba(24,24,27,.35); }
.flight-card .title-link { text-decoration: none; color: inherit; flex: 1; display: flex; flex-direction: column; }

/* ---------- Split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split .wp-block-image.ratio-3-2 img { aspect-ratio: 3/2; }
.split > .wp-block-image { margin: 0; }
.split > * { min-width: 0; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--line); margin: 2rem 0 2.5rem; background: #fff; }
.facts div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 .25rem; font-weight: 600; }
.facts dd { margin: 0; font-family: var(--serif); font-size: 1.55rem; color: var(--navy); line-height: 1.15; font-weight: 500; }
.with-aside .wp-block-post-content > .facts:first-child { margin-top: 0; }
.flights-note { margin-top: 2.5rem; color: var(--muted); font-size: .9rem; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 2rem; margin-top: 2.2rem; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--teal); }
.prose .wp-block-buttons.btn-row-top { margin-top: 2.5rem; }

/* ---------- CTA band ---------- */
.cta { background: var(--navy); color: #fff; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { opacity: .88; max-width: 48ch; margin: 0 auto 2rem; }
.cta .wp-block-buttons { justify-content: center; }
.cta-split { padding: 0; display: grid; text-align: left; }
.cta-split .cta-img { min-height: 260px; position: relative; margin: 0; }
.cta-split .cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 40%; }
.cta-split .cta-text { padding: clamp(3rem, 6vw, 5rem) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.cta-split .cta-text p { margin-inline: 0; }
.cta-split .wp-block-buttons { justify-content: flex-start; }
@media (min-width: 860px) { .cta-split { grid-template-columns: 1fr 1fr; } .cta-split .cta-img { min-height: 420px; } .cta-split .cta-text { padding-inline: clamp(2rem, 5vw, 5rem); max-width: 40rem; } }

/* ---------- Sidebar layout (flight pages) ---------- */
.with-aside { display: grid; gap: 3rem; }
@media (min-width: 960px) { .with-aside { grid-template-columns: minmax(0, 1fr) 320px; } }
.aside-box { background: var(--cream); padding: 1.75rem; position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 1.5rem); align-self: start; }
.aside-box h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 500; line-height: 1.3; letter-spacing: -.015em; }
.aside-box .btn { width: 100%; margin-top: .5rem; }
.aside-box dl { margin: 0 0 1rem; }
.aside-box dt { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: .8rem; }
.aside-box dd { margin: 0; font-family: var(--sans); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--navy); }
.aside-box .aside-note { font-size: .85rem; margin: 1.2rem 0 0; color: var(--muted); }

/* ---------- Forms ---------- */
form.contact { display: grid; gap: 1.1rem; }
form.contact label { display: grid; gap: .4rem; font-size: .85rem; font-weight: 500; color: var(--ink); }
form.contact input, form.contact textarea, form.contact select { font: inherit; padding: .85rem 1rem; border: 1px solid #c9c3be; background: #fff; border-radius: 0; color: var(--ink); width: 100%; }
form.contact input:focus, form.contact textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact button.btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: 1rem 1.25rem; border-left: 3px solid var(--teal); background: var(--cream); color: var(--ink); margin: 0; }
.form-notice.error { border-left-color: #b42318; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); color: var(--text); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .95rem; border-top: 1px solid #e4e4e7; margin-top: 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer .wp-block-button .wp-block-button__link, .site-footer .wp-block-button .wp-block-button__link:hover { color: #fff; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.foot-brand .wp-block-site-logo, .foot-brand .wp-block-image { margin: 0 0 .75rem; line-height: 0; }
.foot-brand img { height: 56px; width: auto; mix-blend-mode: multiply; }
.foot-brand .wordmark { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.75rem); font-weight: 500; line-height: 1; color: var(--navy); margin: 0 0 .75rem; }
.foot-brand p { max-width: 32ch; color: var(--ink); }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.foot-links li { margin: 0; }
.foot-links a { display: inline-flex; align-items: center; gap: .6rem; }
.foot-links a::before { content: ''; width: .45rem; height: .45rem; border-top: 2px solid var(--navy); border-right: 2px solid var(--navy); transform: rotate(45deg); flex-shrink: 0; }
.foot-contact .phone { margin: 0; }
.foot-contact .phone a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.foot-contact .phone a::before { content: ''; width: 1.1rem; height: 1.1rem; background: var(--ink); -webkit-mask: var(--ic-phone) center / contain no-repeat; mask: var(--ic-phone) center / contain no-repeat; }
.foot-contact .address { font-style: normal; margin: 1.5rem 0; color: var(--ink); line-height: 1.7; }
.foot-cta { display: inline-flex !important; flex-direction: column; align-items: center; }
.foot-cta .wp-block-image, .foot-cta img.nrt { margin: 45px 0 0; }
.foot-cta img { height: auto; width: 110px; display: block; }
.foot-bottom { border-top: 1px solid #e4e4e7; padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; font-size: .85rem; color: var(--ink); }
.foot-bottom p { margin: 0; }
.foot-bottom em { font-style: italic; }
.foot-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* NRT badge in content */
.nrt-badge img, img.nrt-badge { display: block; width: 170px; height: auto; margin: 1.5rem 0 0; border-radius: 0; box-shadow: none; mix-blend-mode: multiply; aspect-ratio: 520 / 429; object-fit: contain; }
.split .nrt-badge img { aspect-ratio: 520 / 429; object-fit: contain; }
.wp-block-image.nrt-badge { margin: 0; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s, transform .7s; }
	.js .reveal.in { opacity: 1; transform: none; }
}
@media print { .site-header, .site-footer, .cta { display: none; } }

/* ---------- Flight detail extras ---------- */
.itin table, table.itin { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.wp-block-table.itin { margin: 0 0 1.5rem; }
.wp-block-table.itin table { margin: 0; }
.itin th, .itin td { padding: .85rem 1rem; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.itin td:first-child { width: 8rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--navy); white-space: nowrap; line-height: 1.65; }
.route-map img { width: 100%; height: auto; border: 1px solid var(--line); }
.wp-block-image.route-map { margin: 0 0 1.1em; }

/* Video lightbox */
.video-card { margin: 2.5rem 0 0; }
.video-open { position: relative; display: block; width: 100%; max-width: 560px; padding: 0; border: 0; background: var(--navy); cursor: pointer; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(24,24,27,.45); }
.video-open img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s, opacity .3s; }
.video-open:hover img { transform: scale(1.03); opacity: .85; }
.video-open .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; transition: transform .2s, background .2s; }
.video-open:hover .play { transform: scale(1.08); background: #fff; }
.video-open .play svg { width: 30px; height: 30px; fill: var(--navy); margin-left: 4px; }
.video-card figcaption { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.lightbox { padding: 0; border: 0; background: #000; width: min(92vw, 800px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 20, 28, .85); }
.lightbox video { display: block; width: 100%; height: auto; max-height: 85vh; background: #000; }
.lightbox-close { position: absolute; top: -2.75rem; right: 0; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: #fff; font-size: 2.25rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: var(--sky); }
@media (max-width: 600px) { .lightbox-close { top: -2.75rem; right: -.25rem; } }

/* ---------- Contact ---------- */
.map-section { border-top: 1px solid var(--line); background: var(--cream); }
.map-frame { position: relative; }
.map-section iframe { display: block; width: 100%; height: clamp(320px, 45vw, 460px); border: 0; pointer-events: none; }
.map-frame.active iframe { pointer-events: auto; }
.map-hint { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 1.25rem; font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.6); background: linear-gradient(0deg, rgba(20,36,47,.35), transparent 40%); transition: opacity .2s; }
.map-frame.active .map-hint { opacity: 0; pointer-events: none; }
.map-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.1rem; font-size: .92rem; color: var(--ink); }
.map-bar a { font-weight: 600; text-decoration: none; }
.map-bar .links { display: flex; gap: 1.5rem; }

.contact-panel { display: grid; max-width: 1040px; margin-inline: auto; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(24,24,27,.14); }
@media (min-width: 860px) { .contact-panel { grid-template-columns: 360px 1fr; } }
.cp-side { background: var(--navy); color: #fff; padding: 2.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.cp-side h2 { color: #fff; font-size: 1.8rem; margin: 0; }
.cp-side p { margin: 0; opacity: .85; }
.cp-side a { color: #fff; }
.cp-side .cp-tel { opacity: 1; }
.cp-tel a { display: flex; align-items: center; gap: .6rem; font-family: var(--sans); font-weight: 600; font-size: 1.7rem; letter-spacing: .01em; color: #fff; text-decoration: none; line-height: 1.65; }
.cp-tel a::before { content: ''; width: 1.4rem; height: 1.4rem; flex-shrink: 0; background: currentColor; -webkit-mask: var(--ic-tel) center / contain no-repeat; mask: var(--ic-tel) center / contain no-repeat; }
.cp-tel a:hover { color: var(--sky); }
.cp-side p.cp-item { display: flex; gap: .7rem; font-size: .98rem; line-height: 1.5; opacity: 1; }
.cp-item::before { content: ''; width: 1.15rem; height: 1.15rem; flex-shrink: 0; margin-top: .2rem; background: var(--sky); -webkit-mask: var(--ic-pin) center / contain no-repeat; mask: var(--ic-pin) center / contain no-repeat; }
.cp-item.is-rto::before { -webkit-mask-image: var(--ic-shield); mask-image: var(--ic-shield); }
.cp-side .wp-block-buttons { margin-top: auto; display: block; }
.cp-side .wp-block-button, .cp-side .wp-block-button__link { width: 100%; }
.cp-side .wp-block-button .wp-block-button__link { background: transparent; border: 1px solid rgba(255,255,255,.6); color: #fff; text-align: center; }
.cp-side .wp-block-button .wp-block-button__link:hover { background: #fff; color: var(--navy); }
.cp-form { padding: 2.5rem 2rem; }
@media (min-width: 860px) { .cp-form { padding: 2.75rem 3rem; } }
.cp-form .two { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .cp-form .two { grid-template-columns: 1fr 1fr; } }
.cp-note { font-size: .85rem; color: var(--muted); margin: 0; }

.ref-links { list-style: none; padding: 0; margin: .25rem 0 1.5rem; display: grid; gap: .35rem; }
.ref-links a { font-size: .95rem; }
.ref-links a::after { content: ''; margin-left: .3em; }

.inline-photo img, img.inline-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 18px -6px rgba(24,24,27,.28), 0 2px 4px rgba(24,24,27,.08); }
.wp-block-image.inline-photo { margin: 1.75rem 0 2.25rem; }
.inline-photo.natural img { aspect-ratio: auto; }

/* Flight photo row + gallery dialog */
.photo-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin: 1.75rem 0 2.25rem; }
.photo-row .photo:last-child:nth-child(odd) { grid-column: 1 / -1; }
.photo-row .photo:last-child:nth-child(odd) img { aspect-ratio: 16 / 9; }
.photo-row .photo { display: block; padding: 0; border: 0; background: var(--cream); cursor: zoom-in; line-height: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px -6px rgba(24,24,27,.28), 0 2px 4px rgba(24,24,27,.08); transition: transform .3s, box-shadow .3s; }
.photo-row .photo:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -10px rgba(24,24,27,.35), 0 3px 6px rgba(24,24,27,.1); }
.photo-row img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.photo-row .photo:hover img { transform: scale(1.04); }
.gallery-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.gallery-dialog[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 3.5rem .75rem 3rem; }
.gallery-dialog::backdrop { background: rgba(10, 20, 28, .92); }
.g-stage { margin: 0; min-width: 0; height: 100%; display: grid; place-items: center; }
.g-stage img { max-width: min(100%, 800px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px -20px #000; }
.g-nav, .g-close { border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%; line-height: 1; transition: background .2s; }
.g-nav:hover, .g-close:hover { background: rgba(255,255,255,.28); }
.g-nav { width: 3rem; height: 3rem; font-size: 2rem; padding-bottom: .2rem; }
.g-close { position: absolute; top: .75rem; right: .75rem; width: 2.75rem; height: 2.75rem; font-size: 1.9rem; z-index: 2; }
.g-count { position: absolute; bottom: .9rem; left: 0; right: 0; margin: 0; text-align: center; font-size: .85rem; letter-spacing: .12em; opacity: .85; }
@media (max-width: 600px) { .gallery-dialog[open] { padding-inline: .25rem; gap: .15rem; } .g-nav { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; } }

/* Student handbook band */
.handbook { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .handbook { grid-template-columns: 1fr auto; gap: 4rem; } }
.handbook h2 { margin-bottom: .35em; }
.handbook p { margin: 0; max-width: 52ch; }
.handbook .wp-block-buttons { margin: 0; }

/* Portraits */
.split .portrait { margin: 0; }
.split .portrait img { aspect-ratio: 3/4; object-position: center 30%; border-radius: 14px; box-shadow: 0 10px 30px rgba(24,24,27,.14); }
.split .portrait figcaption, .portrait .wp-element-caption { font-size: .85rem; color: var(--muted); margin: .75rem 0 0; text-align: left; }
@media (min-width: 860px) { .split .portrait { max-width: 440px; justify-self: center; width: 100%; } }
.leader-photo { float: right; width: clamp(150px, 34%, 240px); margin: .35rem 0 1rem 1.5rem !important; }
.leader-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(24,24,27,.14); }
@media (max-width: 520px) { .leader-photo { width: 120px; margin-left: 1rem !important; } }

/* FAQ accordion */
.vsl-note { font-size: .95rem; color: var(--muted); }
.faq { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font-family: var(--sans); font-weight: 500; font-size: 1.1rem; letter-spacing: -.01em; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ''; position: absolute; right: .35rem; top: 50%; width: 14px; height: 2px; background: var(--teal); transition: transform .25s; }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item summary:hover { color: var(--teal); }
.faq-item summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.faq-body { padding: 0 0 1.5rem; overflow-wrap: anywhere; }
.faq-body h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 1.5rem 0 .5rem; color: var(--navy); }
.faq-body p, .faq-body li { font-size: 1rem; }

/* Simple centred pages (404, thank you) */
.narrow.center h1 { margin-bottom: .5em; }

/* Eyebrows are paragraphs in WordPress (spans in the Astro build): keep their own spacing. */
.wp-block-group p.eyebrow, .wp-block-cover p.eyebrow, .helitec-hero .eyebrow { margin: 0 0 1rem; max-width: none; font-size: .75rem; line-height: 1.65; }
.page-hero p.eyebrow { opacity: 1; }
.hero p.eyebrow { opacity: .9; }
/* Let content margins collapse like the Astro markup (core sets flow-root here). */
.wp-block-post-content { display: block; }
