/* ============================================================================
   MESH UI 2.0 — Extended component library styles (library.jsx)
   Faithful to the MeshUi/*.php source + the baseline Figma. No drop shadows.
   Pairs with ../../colors_and_type.css, ../../mesh.css, kit.css
   ========================================================================== */

/* ─────────────────────── MEDIA HERO (full-bleed image/video) ─────────────────────── */
.mhero { position: relative; display: grid; grid-template-areas: "stack"; min-height: clamp(708px, 55vw, 911px); overflow: hidden; color: #fff; }
.mhero__media, .mhero__inner { grid-area: stack; min-width: 0; }
.mhero__media { position: absolute; inset: 0; z-index: 0; }
.mhero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(112deg, rgba(0,35,86,0.96) 0%, rgba(8,21,50,0.84) 34%, rgba(15,18,28,0.68) 62%, rgba(16,8,8,0.9) 100%); }
.mhero--brand .mhero__media::after { background: linear-gradient(221deg, rgba(2, 56, 53, 0.00) 8.66%, #023835 87.47%); }
.mhero__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; padding-block: clamp(28px,3vw,44px) var(--gutter, clamp(20px,5vw,80px)); }
.mhero__content { display: flex; flex-direction: column; gap: clamp(12px,1.2vw,18px); max-width: 760px; }
.mhero .mhero__eyebrow { color: #fff; opacity: 0.95; font-weight: 700; font-size: clamp(19px,1.9vw,27px); margin: 0; }
.mhero .mhero__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(38px,5vw,58px); line-height: 1.1; margin: 0; color: #fff; text-wrap: balance; }
.mhero .mhero__body { color: rgb(255 255 255 / 0.85); font-size: clamp(17px,1.7vw,24px); line-height: 1.6; margin: 0; max-width: 60ch; }
.mhero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }
.mhero .mesh-btn--solid-light { color: #000; }
.mhero__btn-ghost { background: rgba(73,91,122,0.58); color: #fff; }

/* ─────────────────────── VISOR HERO variants ─────────────────────── */
/* droopy: image w/ bottom-rounded corners, centered, panel below */
.vh-droopy { display: flex; flex-direction: column; gap: clamp(40px,7vw,90px); padding-bottom: clamp(60px,8vw,120px); }
.vh-droopy__media { align-self: center; aspect-ratio: 1328/414; border-radius: 0 0 26px 26px; max-width: 1328px; width: 100%; overflow: hidden; }
.vh-droopy__media img { width:100%; height:100%; object-fit: cover; display:block; }
.vh-droopy__row { display: flex; gap: clamp(22px,2.6vw,38px); align-items: center; max-width: 920px; }
.vh-droopy__copy h1 { font-size: clamp(36px,4.8vw,62px); line-height: 1.08; margin: 0 0 0.22em; font-family: var(--font-sans); }
/* card-right: image band + content card pinned right, overlapping */
.vh-card { position: relative; }
.vh-card__media { aspect-ratio: 1512/520; overflow: hidden; }
.vh-card__media img { width:100%; height:100%; object-fit: cover; display:block; }
.vh-card__panel { background: var(--surface-0); max-width: 560px; margin-top: clamp(-160px,-9vw,-60px); margin-left: auto; padding: clamp(34px,4vw,56px); position: relative; z-index: 1; border-radius: 4px; }
.vh-card__panel h1 { font-size: clamp(32px,3.6vw,52px); margin: 0 0 0.3em; }

/* ─────────────────────── HERO CAROUSEL ─────────────────────── */
.hcar { position: relative; overflow: hidden; }
.hcar__track { display: flex; transition: transform 500ms cubic-bezier(.16,1,.3,1); }
.hcar__slide { position: relative; flex: 0 0 100%; min-height: clamp(460px,40vw,620px); display: grid; grid-template-areas: "stack"; }
.hcar__slide img { grid-area: stack; width:100%; height:100%; object-fit: cover; }
.hcar__slide::after { content:""; grid-area: stack; background: linear-gradient(90deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.1) 70%); }
.hcar__caption { grid-area: stack; position: relative; z-index:1; align-self: center; color:#fff; padding: clamp(24px,6vw,90px); max-width: 720px; }
.hcar__caption h1 { font-family: var(--font-display); font-size: clamp(34px,4vw,58px); font-weight: 800; margin: 0 0 14px; color:#fff; }
.hcar__dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hcar__dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.5); cursor: pointer; padding: 0; }
.hcar__dot[aria-current="true"] { background: #fff; width: 34px; border-radius: 6px; }
.hcar__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.2); backdrop-filter: blur(10px); color: #fff; font-size: 20px; cursor: pointer; }
.hcar__arrow--prev { left: 24px; } .hcar__arrow--next { right: 24px; }

/* ─────────────────────── CARDS · MINIMAL (text + arrow link) ─────────────────────── */
.cmin { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px,6vw,90px); }
.cmin__card { display: flex; flex-direction: column; gap: 0.65em; }
.cmin__title { font-size: clamp(1.875rem,2.6vw,2.5rem); font-weight: 800; line-height: 1.34; margin: 0; }
.cmin__title--serif { font-family: var(--font-display); }
.cmin__body { font-size: clamp(1rem,1.3vw,1.25rem); line-height: 1.65; color: var(--fg-2); margin: 0; }
.cmin__action { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.55em; color: var(--accent); font-weight: 500; font-size: clamp(1rem,1.3vw,1.25rem); text-decoration: none; margin-top: 0.4em; }
.cmin__action-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.4em; height: 1.4em; border-radius: 999px; background: var(--accent); color: #fff; flex: 0 0 auto; }
.cmin__action-icon i { font-size: 0.62em; }

/* ─────────────────────── CARDS · DUO (two large split cards) ─────────────────────── */
.cduo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cduo__card { border-radius: var(--r-card); overflow: hidden; position: relative; aspect-ratio: 1 / 1; display: flex; }
.cduo__card img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; }
.cduo__card::after { content:""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 38%, rgba(0,0,0,0) 68%); }
.cduo__body { position: relative; z-index:1; align-self: flex-end; padding: clamp(28px,3vw,44px); color:#fff; min-width: 0; width: 100%; }
.cduo .cduo__body h3 { font-size: clamp(30px,2.6vw,42px); font-weight: 800; margin: 0 0 12px; color:#fff; line-height: 1.1; }
.cduo__body p { color: rgb(255 255 255 / 0.88); font-size: clamp(17px,1.4vw,20px); line-height: 1.6; margin: 0 0 18px; }

/* (Cards · Pro removed per spec) */

/* ─────────────────────── SPLIT ACCORDION (bg image + intro + accordion) ─────────────────────── */
.sacc { position: relative; overflow: hidden; background: var(--accent-deep); color: #fff; min-height: 760px; }
.sacc__media { position: absolute; inset: 0; z-index: 0; }
.sacc__media img { width:100%; height:100%; object-fit: cover; object-position: left center; }
.sacc__media::after { content:""; position:absolute; inset:0; background: linear-gradient(89deg, color-mix(in srgb, var(--accent-deep) 10%, transparent) 9%, var(--accent-deep) 56%); }
.sacc__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; column-gap: clamp(40px,5vw,72px); row-gap: 14px; padding-block: clamp(64px,7vw,97px); align-items: start; align-content: start; min-height: 760px; }
.sacc__intro { grid-column: 2; }
.sacc__intro .eyebrow { color: #fff; }
.sacc__intro h2 { color: #fff; margin: 12px 0 12px; font-family: var(--font-sans); }
.sacc__intro p { color: rgb(255 255 255 / 0.92); font-size: 21px; line-height: 1.9; max-width: 610px; }
.sacc__list { grid-column: 2; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
.sacc__item > article { background: color-mix(in srgb, var(--accent-deep) 70%, black); border-radius: 25px; overflow: hidden; transition: background-color 200ms ease; }
.sacc__item[data-open="true"] > article { background: #fff; color: #000; }
.sacc__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; padding: 24px 35px; background: none; border: 0; cursor: pointer; text-align: left; color: inherit; font-family: inherit; }
.sacc__item > article { color: #fff; }
.sacc__q { font-size: 25px; font-weight: 600; }
.sacc__icon { font-size: 24px; flex: 0 0 auto; }
.sacc__panel { overflow: hidden; }
.sacc__answer { padding: 0 35px 28px; font-size: 21px; line-height: 1.86; color: #000; margin: 0; }
@media (max-width: 1120px){ .sacc__media{ position: relative; height: 280px; } .sacc__inner{ grid-template-columns: 1fr; } .sacc__intro,.sacc__list{ grid-column: 1; } }

/* ─────────────────────── TEXT INTERSTITIAL · MEDIA (full image fade) ───────────────────────
   Exact recreation of MeshUi/TextInterStitialMedia (navy-sky variant).
   Scrim is a brand-dark tint (--timg-scrim-rgb), never white/black. */
.timg { box-sizing: border-box; color: #fff; display: grid; font-family: var(--font-sans); grid-template-columns: minmax(clamp(24px,5vw,96px),1fr) min(1240px, calc(100% - 2*clamp(24px,5vw,96px))) minmax(clamp(24px,5vw,96px),1fr); grid-template-rows: minmax(clamp(480px,50vw,762px),auto); isolation: isolate; overflow: hidden; position: relative; --timg-scrim-rgb: 10 36 64; --timg-rule: rgb(114 215 255); --timg-strong: rgb(201 242 255); }
.timg * { box-sizing: border-box; }
.timg__media { grid-column: 1/-1; grid-row: 1; overflow: hidden; position: relative; z-index: 1; }
.timg__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(var(--timg-scrim-rgb)) 24.5%, rgb(var(--timg-scrim-rgb) / 0.62) 100%); }
.timg__media img { display: block; height: 100%; object-fit: cover; object-position: center 42%; width: 100%; }
.timg__panel { align-self: end; grid-column: 2; grid-row: 1; padding-block: clamp(54px,7vw,82px); z-index: 3; }
.timg__content { display: flex; flex-direction: column; gap: clamp(22px,2.6vw,34px); max-width: 1240px; }
.timg .timg__title { color: #fff; font-family: var(--font-sans); font-size: clamp(30px,3.6vw,49px); font-weight: 800; letter-spacing: 0; line-height: 1.18; margin: 0; text-wrap: balance; }
.timg__body { align-items: center; display: flex; gap: clamp(18px,2vw,26px); margin-left: clamp(0px,6vw,84px); }
.timg__rule { background: var(--timg-rule); flex: 0 0 clamp(5px,0.5vw,7px); height: clamp(96px,10vw,127px); }
.timg .timg__statement { color: rgb(255 255 255 / 0.62); font-size: clamp(18px,1.9vw,30px); font-weight: 400; line-height: 1.55; margin: 0; max-width: 38ch; text-wrap: pretty; }
.timg .timg__statement .timg__strong { color: var(--timg-strong); font-weight: 700; }
.timg .timg__statement .timg__muted { color: inherit; }

/* ─────────────────────── TEXT INTERSTITIAL · BANNER (solid band) ─────────────────────── */
.tban { background: var(--accent); color: #fff; }
.tban__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 76px; min-height: 380px; padding-block: clamp(48px,6vw,64px); }
.tban__content { flex: 1 1 480px; max-width: 720px; }
.tban .tban__title { color: #fff; font-weight: 800; font-size: clamp(32px,3.2vw,43px); line-height: 1.12; margin: 0 0 20px; }
.tban .tban__statement { color: #fff; font-size: clamp(19px,1.8vw,25px); line-height: 1.6; margin: 0; }
.tban .mesh-btn { background: #fff; color: #000; border-radius: 16px; }

/* ─────────────────────── TEXT SPLIT · LINK DIRECTORY ─────────────────────── */
.tdir { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,8vw,140px); align-items: center; }
.tdir .tdir__title { font-family: var(--font-display); font-size: clamp(32px,3.6vw,45px); font-weight: 800; line-height: 1.08; margin: 16px 0 26px; }
.tdir .tdir__body { font-size: clamp(17px,1.5vw,21px); line-height: 1.7; margin: 0 0 48px; color: var(--fg-2); }
.tdir__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,70px); }
.tdir__col { display: flex; flex-direction: column; gap: clamp(22px,2.6vw,36px); }
.tdir__link { color: var(--accent); font-weight: 700; font-size: clamp(20px,1.7vw,24px); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px){ .tdir{ grid-template-columns: 1fr; } }

/* ─────────────────────── TEXT SPLIT · BLOCKED (colored panel + media) ─────────────────────── */
.tblk { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,5vw,80px); align-items: center; }
.tblk__text { display: flex; flex-direction: column; gap: 18px; }
.tblk__video { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16/10; background: var(--surface-2); position: relative; }
.tblk__video img, .tblk__video .tblk__player, .tblk__video .video-js { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.tblk__player { position: absolute; inset: 0; }
.tblk__video .video-js { width: 100% !important; height: 100% !important; position: absolute; inset: 0; }
.tblk__video .video-js .vjs-big-play-button { display: none; }
.tblk__video .video-js video { object-fit: cover; }
/* Poster + custom play button (shown before playback) */
.tblk__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; display: block; background: none; }
.tblk__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tblk__playbtn { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: clamp(72px,7vw,96px); height: clamp(72px,7vw,96px); border-radius: 50%; background: rgb(255 255 255 / 0.92); display: grid; place-items: center; color: var(--accent-deep); font-size: clamp(24px,2.4vw,32px); transition: background-color 140ms ease, transform 140ms ease; }
.tblk__playbtn .fa-play { margin-left: 4px; }
.tblk__poster:hover .tblk__playbtn { background: #fff; transform: translate(-50%,-50%) scale(1.05); }
@media (max-width: 860px){ .tblk{ grid-template-columns: 1fr; } }

/* ─────────────────────── BLOG · INLINE (rounded list of rows) ─────────────────────── */
.binl__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 32px; margin-bottom: 36px; }
.binl__list { background: var(--surface-0); border-radius: 21px; overflow: hidden; }
.binl__row { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; padding: 21px 54px 20px 23px; }
.binl__row + .binl__row { border-top: 1px solid var(--border); }
.binl__thumb { flex: 0 0 156px; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; }
.binl__thumb img { width:100%; height:100%; object-fit: cover; display:block; }
.binl__copy { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.binl__date { color: var(--accent); font-size: 16px; margin: 0; }
.binl__title { font-size: 25px; font-weight: 800; line-height: 1.16; margin: 0; }
.binl__excerpt { color: var(--fg-2); font-size: 16px; line-height: 1.88; margin: 0; }
.binl__chevron { flex: 0 0 28px; color: var(--fg-3); font-size: 22px; }
@media (max-width: 600px){ .binl__thumb{ flex-basis: 100%; aspect-ratio: auto; height: 180px; } }

/* ─────────────────────── BLOG · ARTICLE VIEW ─────────────────────── */
.bart { max-width: 820px; margin-inline: 0; }
.bart__meta { display: flex; gap: 16px; align-items: center; color: var(--accent); font-weight: 700; font-size: 16px; margin-bottom: 18px; }
.bart__title { font-family: var(--font-display); font-size: clamp(34px,4vw,56px); font-weight: 800; line-height: 1.1; margin: 0 0 22px; }
.bart__lead { font-size: clamp(19px,1.8vw,24px); line-height: 1.6; color: var(--fg-2); margin: 0 0 30px; }
.bart__hero { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-card); overflow: hidden; margin: 24px 0 36px; }
.bart__hero img { width:100%; height:100%; object-fit: cover; display:block; }
.bart__body { font-size: clamp(17px,1.4vw,20px); line-height: 1.9; color: var(--fg-1); }
.bart__body h3 { font-size: 28px; font-weight: 800; margin: 36px 0 14px; }
.bart__body p { margin: 0 0 22px; color: var(--fg-2); }
.bart__pull { border-left: 6px solid var(--accent); padding-left: 24px; margin: 32px 0; font-family: var(--font-display); font-size: clamp(22px,2.2vw,30px); line-height: 1.4; color: var(--fg-1); }
.bart__inset { width: 100%; aspect-ratio: 16/10; border-radius: var(--r-panel); overflow: hidden; margin: 28px 0; }
.bart__inset img { width:100%; height:100%; object-fit: cover; display:block; }

/* ── ARTICLE · EDITORIAL (full-bleed hero, overlapping serif title card, red rule) ── */
.bart-ed__hero { width: 100%; aspect-ratio: 21/9; max-height: 460px; overflow: hidden; }
.bart-ed__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bart-ed__card { display: flex; gap: 28px; align-items: center; background: var(--surface-0); max-width: 1000px; margin-top: clamp(-120px,-7vw,-64px); padding: clamp(32px,3.5vw,52px) clamp(32px,4vw,64px); position: relative; z-index: 2; }
.bart-ed__rule { flex: 0 0 6px; align-self: center; height: 63.25%; min-height: 76px; background: var(--c-red, rgb(176 48 54)); }
.bart-ed .bart-ed__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px,4vw,56px); line-height: 1.12; margin: 0; color: var(--fg-1); text-wrap: balance; }
.bart-ed__date { color: var(--fg-3); font-size: clamp(17px,1.4vw,21px); margin: 16px 0 0; }
.bart-ed__col { max-width: 760px; margin-top: clamp(20px,2.5vw,36px); }
.bart-ed .bart__body { font-size: clamp(17px,1.4vw,20px); line-height: 1.9; color: var(--fg-2); }
.bart-ed .bart__body p { margin: 0 0 24px; }
.bart-ed .bart__body--red h3 { font-family: var(--font-display); color: var(--c-red, rgb(214 40 40)); font-size: clamp(28px,2.8vw,40px); font-weight: 800; line-height: 1.15; margin: 36px 0 16px; }

/* ── ARTICLE · CLEAN (top-margined rounded hero, bold sans title) ── */
.bart-cl__hero { width: 100%; aspect-ratio: 21/9; max-height: 520px; overflow: hidden; margin: 0 0 clamp(28px,3vw,44px); }
.bart-cl__hero img { width:100%; height:100%; object-fit: cover; display:block; }
.bart-cl__col { max-width: 820px; margin-inline: 0; }
.bart-cl .bart-cl__title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(32px,3.6vw,50px); line-height: 1.12; letter-spacing: -0.01em; margin: 0; color: var(--fg-1); text-wrap: balance; }
.bart-cl__date { color: var(--fg-3); font-size: clamp(16px,1.3vw,19px); margin: clamp(20px,2.4vw,32px) 0 clamp(26px,3vw,38px); }
.bart-cl__lead { font-size: clamp(17px,1.5vw,21px); line-height: 1.9; color: var(--fg-2); margin: 0 0 8px; }
.bart-cl__inset { width: 100%; aspect-ratio: 16/10; border-radius: var(--r-card); overflow: hidden; margin: 28px 0; }
.bart-cl__inset img { width:100%; height:100%; object-fit: cover; display:block; }
.bart-cl__body { font-size: clamp(17px,1.4vw,20px); line-height: 1.9; color: var(--fg-2); }
.bart-cl__body p { margin: 0 0 24px; }
.bart-cl .bart-cl__body h3 { font-family: var(--font-sans); font-weight: 800; font-size: clamp(24px,2.2vw,32px); line-height: 1.2; margin: 32px 0 14px; color: var(--fg-1); }
.bart-cl__pull { border-left: 5px solid var(--accent); padding-left: 24px; margin: 30px 0; font-weight: 700; font-size: clamp(20px,2vw,27px); line-height: 1.4; color: var(--fg-1); }

/* ── GRID LIST (service cards: square media + white label) ── */
.glist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.glist__cell { background: var(--c-white); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; }
.glist__media { aspect-ratio: 1 / 1; background: var(--accent-deep); display: grid; place-items: center; overflow: hidden; }
.glist__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.glist__icon { font-size: 52px; color: rgb(255 255 255 / 0.92); }
.glist__label { padding: 18px 22px 22px; font-weight: 800; font-size: clamp(17px,1.3vw,20px); color: var(--fg-1); }
@media (max-width: 900px){ .glist{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .glist{ grid-template-columns: 1fr; } }

/* ─────────────────────── MOSAIC DROP POINT (image mosaic) ─────────────────────── */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.mosaic__tile { border-radius: var(--r-panel); overflow: hidden; position: relative; }
.mosaic__tile img { width:100%; height:100%; object-fit: cover; display:block; }
.mosaic__tile--wide { grid-column: span 2; }
.mosaic__tile--tall { grid-row: span 2; }
.mosaic__tile--feature { grid-column: span 2; grid-row: span 2; }
.mosaic__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; color: #fff; font-weight: 700; background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent); }
@media (max-width: 760px){ .mosaic{ grid-template-columns: 1fr 1fr; } .mosaic__tile--feature{ grid-column: span 2; } }

/* ─────────────────────── CONTACT FORM ─────────────────────── */
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter, clamp(20px,5vw,80px)); align-items: start; margin-top: clamp(16px,2vw,32px); }
.cform__panel { display: flex; flex-direction: column; }
.cform__sub { color: var(--fg-2); margin: 0 0 26px; max-width: 46ch; }
.cform__sub a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cform__media { align-self: start; justify-self: stretch; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--r-card); overflow: hidden; }
.cform__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cform__form { display: flex; flex-direction: column; gap: 20px; margin-top: clamp(18px,2.4vw,32px); }
.cform__field { display: flex; flex-direction: column; gap: 10px; }
.cform__field label { font-weight: 800; font-size: clamp(16px,1.2vw,19px); color: var(--fg-1); }
.cform__field input, .cform__field textarea, .cform__field select { font-family: inherit; font-size: 17px; height: 62px; padding: 0 22px; border: 0; outline: 2px solid transparent; outline-offset: -2px; border-radius: 14px; background: var(--surface-0); color: var(--fg-1); width: 100%; box-sizing: border-box; }
.cform__field input::placeholder, .cform__field textarea::placeholder { color: var(--fg-3); }
.cform__field input:focus, .cform__field textarea:focus, .cform__field select:focus { outline: 3.5px solid var(--accent); outline-offset: -3.5px; }
.cform__field textarea { height: auto; min-height: 150px; padding: 18px 22px; resize: vertical; line-height: 1.6; border-radius: 14px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
/* Send button — solid accent pill, generous, no icon */
.cform__submit { align-self: center; margin-top: 10px; height: 64px; padding: 0 44px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--fg-on-accent); font-family: var(--font-sans); font-size: 19px; font-weight: 700; cursor: pointer; transition: background-color 140ms ease, transform 120ms ease; }
.cform__submit:hover { background: var(--accent-deep); }
.cform__submit:active { transform: scale(0.97); }
@media (max-width: 860px){ .cform{ grid-template-columns: 1fr; } .cform__row{ grid-template-columns: 1fr; } }

/* ── CONTACT FORM · OVERLAY (form over full-bleed image, warm scrim) ── */
.cform-ov { position: relative; display: grid; grid-template-areas: "stack"; overflow: hidden; isolation: isolate; padding-block: 0; }
.cform-ov__media, .cform-ov__inner { grid-area: stack; min-width: 0; }
.cform-ov__media { position: relative; }
.cform-ov__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cform-ov__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--surface-0) 0%, color-mix(in srgb, var(--surface-0) 96%, transparent) 42%, color-mix(in srgb, var(--surface-0) 65%, transparent) 60%, color-mix(in srgb, var(--surface-0) 12%, transparent) 78%, transparent 94%); }
.cform-ov__inner { position: relative; z-index: 2; display: flex; align-items: center; }
.cform-ov__panel { width: min(560px, 100%); padding-block: clamp(54px,7vw,90px); display: flex; flex-direction: column; }
.cform-ov__title { font-family: var(--display-family); font-weight: 800; font-size: clamp(38px,4.4vw,56px); line-height: 1.1; margin: 0 0 14px; color: var(--fg-1); }
/* translucent borderless inputs over the image */
.cform-ov .cform__field input, .cform-ov .cform__field textarea { background: rgba(0, 0, 0, 0.08); border: 0; outline: 2px solid transparent; outline-offset: -2px; }
.cform-ov .cform__field input:focus, .cform-ov .cform__field textarea:focus { outline: 3.5px solid var(--accent); outline-offset: -3.5px; }
@media (max-width: 860px){ .cform-ov__scrim{ background: linear-gradient(0deg, var(--surface-0) 30%, color-mix(in srgb, var(--surface-0) 30%, transparent) 100%); } .cform-ov__panel{ width: 100%; } }

/* ─────────────────────── STATS BAND ─────────────────────── */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px,3vw,48px); text-align: center; }
.statband__num { font-family: var(--font-display); font-size: clamp(40px,4.5vw,64px); font-weight: 800; color: var(--accent); line-height: 1; }
[data-theme="dark"] .statband__num { color: color-mix(in srgb, var(--accent-bright) 55%, white); }
.statband__label { margin-top: 10px; font-weight: 600; color: var(--fg-2); font-size: 17px; }
@media (max-width: 700px){ .statband{ grid-template-columns: 1fr 1fr; } }

/* ─────────────────────── ALERT NOTICE ─────────────────────── */
.alert { display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: var(--r-soft); font-size: 17px; }
.alert i { font-size: 22px; flex: 0 0 auto; }
.alert--info { background: var(--accent-wash); color: var(--accent-deep); }
.alert--warn { background: #FFF4D6; color: #8A6A00; }
.alert--urgent { background: #FDE7E9; color: #B03036; }
.alert__close { margin-left: auto; background: none; border: 0; font-size: 18px; cursor: pointer; color: inherit; opacity: 0.6; }

/* gallery scaffold */
.gx-label { font: 700 13px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); padding: 0 0 14px; }
.gx-variant { font: 600 14px/1 var(--font-sans); color: var(--accent-deep); margin: 0 0 14px; }

/* ═══════════ TEXT SPLIT CONTENT · GRADIENTED ═══════════
   Full-bleed image with a directional color scrim (solid on the left, fading to
   transparent past center), content overlaid inside the content guard. Three
   tones: navy (A), light (B), green/video (C). Never a drop shadow. */
.gsplit { position: relative; display: grid; grid-template-areas: "stack"; min-height: clamp(540px,46vw,706px); overflow: hidden; isolation: isolate; }
.gsplit__media, .gsplit__scrim, .gsplit__inner { grid-area: stack; }
.gsplit__media { position: relative; }
.gsplit__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gsplit__scrim { position: relative; z-index: 1; pointer-events: none; }
.gsplit__inner { position: relative; z-index: 2; display: flex; align-items: center; }
.gsplit__content { display: flex; flex-direction: column; gap: clamp(14px,1.5vw,20px); max-width: 600px; padding-block: clamp(48px,6vw,80px); }
.gsplit .gsplit__eyebrow { font-family: var(--font-sans); font-weight: 700; font-size: clamp(19px,1.6vw,24px); margin: 0; }
.gsplit .gsplit__title { font-family: var(--font-sans); font-weight: 800; font-size: clamp(38px,4.6vw,58px); line-height: 1.08; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
.gsplit .gsplit__body { font-size: clamp(17px,1.5vw,21px); line-height: 1.85; margin: 0; max-width: 30em; }
.gsplit__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(8px,1.2vw,16px); }

/* Buttons inherit .mesh-btn sizing; tone classes restyle for over-image use */
.gsplit__btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; height: 64px; padding: 0 22px 0 30px; border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 19px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background-color 140ms ease, color 140ms ease, transform 120ms ease; }
.gsplit__btn:active { transform: scale(0.97); }
.gsplit__btn .gsplit__btn-ico { display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
/* ghost on dark */
.gsplit__btn--ghost-d { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.7); }
.gsplit__btn--ghost-d .gsplit__btn-ico { color: #fff; }
.gsplit__btn--ghost-d:hover { background: rgb(255 255 255 / 0.12); }
/* translucent on dark (secondary) */
.gsplit__btn--glass-d { background: rgb(255 255 255 / 0.1); color: #fff; border-color: rgb(255 255 255 / 0.28); }
.gsplit__btn--glass-d .gsplit__btn-ico { color: #fff; }
.gsplit__btn--glass-d:hover { background: rgb(255 255 255 / 0.18); }
/* primary filled */
.gsplit__btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.gsplit__btn--primary .gsplit__btn-ico { color: #fff; }
.gsplit__btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
/* ghost on light */
.gsplit__btn--ghost-l { background: transparent; color: #111; border-color: rgb(0 0 0 / 0.28); }
.gsplit__btn--ghost-l .gsplit__btn-ico { color: #111; }
.gsplit__btn--ghost-l:hover { background: rgb(0 0 0 / 0.05); }

/* tones */
.gsplit--navy  { --gs-eyebrow: rgb(91 141 239); }
.gsplit--navy  .gsplit__title, .gsplit--navy .gsplit__body { color: #fff; }
.gsplit--navy  .gsplit__scrim { background: linear-gradient(90deg, rgb(26 41 84) 0%, rgb(26 41 84 / 0.92) 28%, rgb(26 41 84 / 0.55) 50%, rgb(26 41 84 / 0.12) 68%, rgb(26 41 84 / 0) 82%); }
.gsplit--light { --gs-eyebrow: rgb(75 117 230); }
.gsplit--light .gsplit__title { color: #111; }
.gsplit--light .gsplit__body { color: rgb(40 40 40); }
.gsplit--light .gsplit__scrim { background: linear-gradient(90deg, rgb(245 245 247) 0%, rgb(245 245 247 / 0.9) 28%, rgb(245 245 247 / 0.5) 50%, rgb(245 245 247 / 0.12) 68%, rgb(245 245 247 / 0) 82%); }
.gsplit--green { --gs-eyebrow: rgb(255 255 255); }
.gsplit--green .gsplit__eyebrow { opacity: 0.92; }
.gsplit--green .gsplit__title, .gsplit--green .gsplit__body { color: #fff; }
.gsplit--green .gsplit__scrim { background: linear-gradient(90deg, rgb(18 54 48) 0%, rgb(18 54 48 / 0.9) 30%, rgb(18 54 48 / 0.5) 52%, rgb(18 54 48 / 0.12) 72%, rgb(18 54 48 / 0) 88%); }
.gsplit .gsplit__eyebrow { color: var(--gs-eyebrow); }

/* video play button (variant C) */
.gsplit__play { position: absolute; z-index: 3; left: 75%; top: 50%; transform: translate(-50%,-50%); width: clamp(76px,7vw,104px); height: clamp(76px,7vw,104px); border-radius: 50%; border: 0; background: #fff; color: var(--accent, rgb(18 54 48)); display: grid; place-items: center; font-size: clamp(26px,2.4vw,34px); cursor: pointer; transition: transform 140ms ease; }
.gsplit__play .fa-play { margin-left: 5px; }
.gsplit__play:hover { transform: translate(-50%,-50%) scale(1.06); }

@media (max-width: 860px) {
  .gsplit__scrim { background: linear-gradient(0deg, var(--gs-solid, rgb(26 41 84)) 18%, rgb(0 0 0 / 0.35) 70%) !important; }
  .gsplit__content { max-width: none; }
}

/* ═══════════ NEW COMPONENTS (from demo-site review) ═══════════ */

/* ── ANNOUNCEMENT BAR (slim top strip above navbar) ── */
.announce { background: var(--surface-inverse); color: #fff; font-size: 15px; }
.announce--accent { background: var(--accent); }
.announce__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 48px; padding-block: 8px; flex-wrap: wrap; }
.announce__msg { color: rgb(255 255 255 / 0.9); }
.announce__link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.announce__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--accent-deep); font-weight: 700; border-radius: var(--r-pill); padding: 8px 18px; text-decoration: none; font-size: 14px; }
.announce--accent .announce__btn { color: var(--accent-deep); }

/* ── COMPARISON TABLE (tabbed, grouped rows, status pills) ── */
.ctab { }
.ctab__head { display: grid; gap: 0; margin-bottom: 8px; }
.ctab__tabs { display: grid; gap: 10px; }
.ctab__tab { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--fg-2); font-weight: 600; font-size: 16px; text-align: center; border: 0; }
.ctab__tab--featured { background: var(--accent-deep); color: #fff; }
.ctab__group { margin-top: 26px; }
.ctab__group-label { font-weight: 800; font-size: 19px; color: var(--fg-1); padding: 12px 0; border-bottom: 2px solid var(--border); margin-bottom: 4px; }
.ctab__row { display: grid; align-items: start; gap: 0; padding: 18px 0; border-bottom: 1px solid var(--border); }
.ctab__rowlabel { font-weight: 700; font-size: 16px; color: var(--fg-1); padding-right: 16px; }
.ctab__cell { font-size: 15px; line-height: 1.5; color: var(--fg-2); padding-right: 16px; }
.ctab__cell--featured { background: var(--accent-wash); margin: -10px 0; padding: 10px 14px; border-radius: 8px; }
.ctab__status { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; margin-top: 7px; }
.ctab__status--good { color: #1F8A5B; }
.ctab__status--bad { color: #C0143C; }
@media (max-width: 900px){ .ctab__row, .ctab__tabs, .ctab__head { grid-template-columns: 1fr !important; } .ctab__row { gap: 12px; } }

/* ── CTA TRIO (three action cards, last accented) ── */
/* ── CTA TRIO (edge-to-edge image tiles, no gaps) ── */
.ctrio-sec .ctrio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ctrio__card { position: relative; display: grid; grid-template-areas: "stack"; min-height: 540px; }
.ctrio__card img { grid-area: stack; width:100%; height:100%; object-fit: cover; }
.ctrio__card::after { content:""; grid-area: stack; }
.ctrio__card--navy::after { background: linear-gradient(0deg, rgba(13,21,62,0.96) 16%, rgba(13,21,62,0.55) 52%, rgba(13,21,62,0.12) 100%); }
.ctrio__card--neutral::after { background: linear-gradient(0deg, rgba(64,64,70,0.82) 12%, rgba(90,90,96,0.32) 55%, rgba(120,120,124,0.05) 100%); }
.ctrio__card--magenta::after { background: linear-gradient(0deg, rgba(190,0,110,0.94) 16%, rgba(190,0,110,0.5) 52%, rgba(190,0,110,0.1) 100%); }
.ctrio__body { grid-area: stack; position: relative; z-index: 1; align-self: end; padding: clamp(28px,3vw,44px); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.ctrio__body h3 { font-size: clamp(26px,2.2vw,34px); font-weight: 800; line-height: 1.12; margin: 0; color: #fff; }
.ctrio__body p { color: rgb(255 255 255 / 0.9); font-size: 15px; line-height: 1.55; margin: 0 0 12px; max-width: 34ch; }
@media (max-width: 760px){ .ctrio-sec .ctrio{ grid-template-columns: 1fr; } }

/* ── LOCATION / MAP CARD ── */
.loccard { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,4vw,64px); align-items: center; }
.loccard__map { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.loccard__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.loccard__addr { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.loccard__addr-row { display: flex; gap: 16px; align-items: baseline; font-size: 18px; color: var(--fg-2); }
.loccard__addr-row i { color: var(--accent); font-size: 20px; flex: 0 0 24px; text-align: center; }
@media (max-width: 860px){ .loccard{ grid-template-columns: 1fr; } }

/* ── TEAM GRID (profile cards) ── */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team__card { display: flex; flex-direction: column; gap: 14px; }
.team__photo { aspect-ratio: 3/4; border-radius: var(--r-card); overflow: hidden; background: var(--surface-2); }
.team__photo img { width:100%; height:100%; object-fit: cover; display: block; }
.team__name { font-size: 21px; font-weight: 800; margin: 0; }
.team__role { color: var(--accent); font-weight: 600; font-size: 15px; margin: 2px 0 0; }
.team__socials { display: flex; gap: 12px; margin-top: 4px; color: var(--fg-3); font-size: 18px; }
@media (max-width: 900px){ .team{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .team{ grid-template-columns: 1fr; } }

/* ── TEAM ROSTER (compact: square photo + name/role below) ── */
.roster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.roster__photo { aspect-ratio: 1/1; border-radius: var(--r-soft); overflow: hidden; background: var(--surface-2); }
.roster__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.roster .roster__name { font-size: 21px; font-weight: 800; line-height: 1.25; margin: 22px 0 2px; }
.roster__role { font-size: 14px; color: var(--fg-3); line-height: 1.3; margin: 0; }
@media (max-width: 760px){ .roster{ grid-template-columns: 1fr 1fr; } }
