/* BATANGAS LEDWALL — responsive starter stylesheet */
:root {
  --navy: #071426;
  --navy-2: #0b1d34;
  --blue: #1268e8;
  --blue-light: #62b5ff;
  --ice: #f5f7fa;
  --silver: #a8b5c7;
  --ink: #111d2c;
  --muted: #637184;
  --line: #dfe5ed;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Manrope", "DM Sans", Arial, sans-serif;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ice); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: white; color: var(--navy); padding: 12px 16px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(7,20,38,.96); border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.05; letter-spacing: .07em; color: white; flex-shrink: 0; }
.wordmark-main { font: 800 22px/1 var(--font-display); letter-spacing: .12em; }
.wordmark-sub { margin-top: 7px; font-size: 10px; font-weight: 700; letter-spacing: .22em; color: var(--blue-light); }
.wordmark-sub i { margin-left: 8px; color: #a8b5c7; font-size: 8px; font-style: normal; letter-spacing: .13em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.primary-nav > a { text-decoration: none; color: #d8e0eb; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.primary-nav > a:hover { color: white; }
.primary-nav .nav-cta { padding: 12px 16px; border: 1px solid rgba(98,181,255,.55); color: white; }
.nav-cta span { color: var(--blue-light); margin-left: 8px; }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.25); color: white; background: transparent; padding: 10px; width: 44px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: white; }
.section-dark { background: var(--navy); color: white; }
.hero { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 128px) 0 84px; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -200px; top: -220px; background: radial-gradient(circle, rgba(18,104,232,.22), rgba(7,20,38,0) 68%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: #c6d5e7; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.eyebrow-line { display: inline-block; width: 30px; height: 1px; background: var(--blue-light); }
.eyebrow-blue { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); }
h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(42px, 5.8vw, 76px); line-height: 1.02; letter-spacing: -.065em; font-weight: 800; }
h1 span, h2 span { color: var(--blue-light); }
.hero-lede { max-width: 520px; margin-bottom: 32px; color: #b6c4d6; font-size: clamp(15px, 1.5vw, 18px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #0c59ce; }
.button-primary span { color: #b8ddff; font-size: 15px; }
.button-ghost { border-color: rgba(255,255,255,.25); color: white; }
.button-ghost:hover { border-color: var(--blue-light); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 38px; color: #899bb1; font-size: 11px; }
.status-dot { width: 6px; height: 6px; background: var(--blue-light); border-radius: 50%; box-shadow: 0 0 0 4px rgba(98,181,255,.1); }
.hero-visual { position: relative; min-width: 0; }
.hero-image-frame { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border: 1px solid rgba(98,181,255,.25); background: linear-gradient(145deg, #142e4e, #0b1b31 60%, #071426); }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; border: 10px solid rgba(7,20,38,.16); pointer-events: none; }
.hero-image-frame > img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { min-height: 100%; display: none; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 28px; color: #d8e6f7; background: radial-gradient(ellipse at 50% 25%, rgba(18,104,232,.22), transparent 60%), linear-gradient(145deg, #142e4e, #0b1b31 60%, #071426); }
.image-placeholder strong { font: 800 13px/1.4 var(--font-display); letter-spacing: .12em; }
.image-placeholder span:not(.placeholder-icon) { font-size: 11px; color: #9eb2cb; }
.image-placeholder small { font-size: 10px; color: var(--blue-light); }
.placeholder-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border: 1px solid rgba(98,181,255,.55); color: var(--blue-light); font-size: 24px; }
.hero-placeholder { display: flex; }
.visual-label { position: absolute; left: -24px; bottom: 34px; display: flex; align-items: center; gap: 13px; padding: 14px 20px 14px 14px; color: white; background: var(--blue); box-shadow: 0 14px 40px rgba(0,0,0,.22); }
.visual-label-mark { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.5); font: 800 18px var(--font-display); }
.visual-label b, .visual-label small { display: block; }
.visual-label b { font-size: 10px; letter-spacing: .12em; }
.visual-label small { margin-top: 3px; color: #d9eaff; font-size: 10px; }
.visual-index { position: absolute; right: 0; bottom: -30px; font-size: 9px; letter-spacing: .15em; color: #8ea3bd; }
.visual-index span { margin: 0 7px; color: var(--blue-light); }
.hero-bottom-line { position: absolute; bottom: 0; left: 0; width: 37%; height: 2px; background: var(--blue); }
.intro-strip { background: #0c2039; color: white; }
.intro-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.intro-inner p { margin: 0; color: #c1cedd; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.intro-inner a { color: var(--blue-light); text-decoration: none; font-size: 11px; font-weight: 700; }
.intro-inner a span { margin-left: 12px; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 16px; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.1; letter-spacing: -.055em; font-weight: 800; }
.section-heading h2 span { color: var(--blue); }
.section-intro { max-width: 400px; margin-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card { min-width: 0; padding: 28px 22px 30px; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.service-card:first-child { border-left: 1px solid var(--line); }
.service-card:hover { background: white; transform: translateY(-3px); }
.service-number { color: #718198; font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.service-symbol { height: 72px; display: flex; align-items: center; gap: 4px; margin: 22px 0; color: var(--blue); }
.symbol-led { display: grid; grid-template-columns: repeat(3, 9px); grid-template-rows: repeat(3, 9px); gap: 5px; align-content: center; }
.symbol-led span { width: 9px; height: 9px; background: var(--blue); }
.symbol-led span:nth-child(2n) { background: var(--blue-light); }
.symbol-sound { gap: 5px; align-items: center; }
.symbol-sound span { width: 4px; background: var(--blue); border-radius: 4px; }
.symbol-sound span:nth-child(1), .symbol-sound span:nth-child(5) { height: 18px; }
.symbol-sound span:nth-child(2), .symbol-sound span:nth-child(4) { height: 36px; }
.symbol-sound span:nth-child(3) { height: 56px; background: var(--blue-light); }
.symbol-truss { position: relative; width: 68px; height: 50px; border-top: 4px solid var(--blue); border-bottom: 4px solid var(--blue); gap: 0; }
.symbol-truss::before, .symbol-truss::after { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 3px; background: var(--blue-light); transform: skewY(-32deg); }
.symbol-truss::after { transform: skewY(32deg); }
.symbol-truss span { height: 100%; width: 3px; margin-left: 18px; background: var(--blue); }
.symbol-stage { position: relative; width: 70px; height: 55px; border-bottom: 5px solid var(--blue); align-items: end; gap: 6px; }
.symbol-stage::before { content: ""; position: absolute; left: 0; top: 0; width: 70px; height: 28px; border: 3px solid var(--blue); border-bottom: 0; }
.symbol-stage span { z-index: 1; height: 18px; width: 5px; background: var(--blue-light); margin: 0 7px 0 0; }
.service-card h3 { margin-bottom: 12px; font-size: 20px; letter-spacing: -.03em; }
.service-card p { min-height: 82px; margin-bottom: 22px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); text-decoration: none; font-size: 10px; line-height: 1.5; font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.fine-print { margin: 14px 0 0; color: #7b899b; font-size: 10px; }
.work-section { padding: clamp(72px, 9vw, 120px) 0; }
.section-heading-light h2 span { color: var(--blue-light); }
.section-heading-light .section-intro { color: #9cacc0; }
.portfolio-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px 20px; }
.portfolio-item { min-width: 0; margin: 0; }
.portfolio-feature { grid-row: span 2; }
.portfolio-media { position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: #102743; border: 1px solid rgba(98,181,255,.15); }
.portfolio-feature .portfolio-media { height: calc(100% - 0px); aspect-ratio: auto; min-height: 100%; }
.portfolio-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover .portfolio-media > img { transform: scale(1.035); }
.portfolio-media .image-placeholder { display: flex; position: absolute; inset: 0; }
.media-tag { position: absolute; top: 12px; left: 12px; padding: 6px 8px; background: rgba(7,20,38,.8); color: #d9eaff; font-size: 8px; letter-spacing: .13em; }
.portfolio-item figcaption { display: grid; grid-template-columns: 28px 1fr; gap: 0 8px; padding: 14px 0 0; }
.portfolio-item figcaption > span { grid-row: span 2; color: var(--blue-light); font-size: 10px; }
.portfolio-item figcaption b { font: 700 13px var(--font-display); }
.portfolio-item figcaption small { margin-top: 4px; color: #8da0b8; font-size: 10px; }
.work-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 58px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.work-cta p { margin: 0; color: #b9c7d8; font: 700 17px var(--font-display); }
.about-grid { display: grid; grid-template-columns: .8fr 1fr; align-items: center; gap: clamp(50px, 10vw, 140px); }
.about-mark { position: relative; min-height: 360px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e9eef5; border: 1px solid #d8e1ec; }
.about-mark-big { z-index: 1; color: var(--blue); font: 800 clamp(130px, 20vw, 220px)/.8 var(--font-display); letter-spacing: -.1em; }
.about-mark-line { z-index: 1; width: 90px; height: 4px; margin-top: 30px; background: var(--blue); }
.about-mark-caption { z-index: 1; margin-top: 16px; color: #4e6076; text-align: center; font-size: 10px; font-weight: 800; line-height: 1.7; letter-spacing: .22em; }
.about-mark-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(18,104,232,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(18,104,232,.08) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(135deg, black, transparent 75%); }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy h2 { margin-bottom: 25px; }
.about-copy h2 span { color: var(--blue); }
.about-copy > p:not(.eyebrow):not(.about-note) { color: var(--muted); font-size: 13px; line-height: 2; }
.about-note { display: flex; gap: 13px; align-items: flex-start; margin: 28px 0; color: #34455b; font-size: 12px; font-weight: 600; }
.about-note-bar { flex: 0 0 3px; height: 44px; background: var(--blue); }
.button-dark { background: var(--navy); color: white; }
.button-dark:hover { background: #122c4b; }
.contact-section { padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.contact-section::before { content: ""; position: absolute; width: 600px; height: 600px; left: -400px; bottom: -300px; background: radial-gradient(circle, rgba(18,104,232,.2), transparent 70%); }
.contact-grid { position: relative; display: grid; grid-template-columns: .8fr 1fr; align-items: start; gap: clamp(40px, 8vw, 110px); }
.contact-copy h2 { margin-bottom: 24px; font-size: clamp(38px, 4.8vw, 62px); }
.contact-copy h2 span { color: var(--blue-light); }
.contact-copy > p:not(.eyebrow) { max-width: 420px; color: #aebdd0; font-size: 13px; line-height: 1.9; }
.contact-details { margin-top: 48px; border-top: 1px solid rgba(255,255,255,.16); }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-detail-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(98,181,255,.45); color: var(--blue-light); }
.contact-detail small { display: block; margin-bottom: 6px; color: #8297b1; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.contact-detail a { color: white; text-decoration: none; font-size: 13px; font-weight: 600; }
.contact-detail a:hover { color: var(--blue-light); }
.contact-detail p { max-width: 270px; margin: 0; color: #b4c2d3; font-size: 11px; }
.form-panel { padding: clamp(22px, 4vw, 38px); color: var(--ink); background: white; box-shadow: 0 24px 70px rgba(0,0,0,.16); }
.form-panel-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.form-step { color: var(--blue); }
.form-step i { color: #94a1b2; font-style: normal; }
#quote-form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#quote-form label { display: flex; flex-direction: column; gap: 7px; color: #26364a; font-size: 10px; font-weight: 700; }
#quote-form label > span:not(.optional) { display: inline; }
#quote-form label span { color: var(--blue); }
#quote-form label .optional { color: #8794a5; font-weight: 400; }
#quote-form input:not([type="checkbox"]), #quote-form textarea, #quote-form select { width: 100%; min-width: 0; border: 1px solid #d8e0e9; border-radius: 0; padding: 12px 13px; background: #fbfcfe; color: var(--ink); font-size: 12px; font-weight: 400; }
#quote-form input:focus, #quote-form textarea:focus, #quote-form select:focus { outline: 2px solid rgba(18,104,232,.25); border-color: var(--blue); }
#quote-form input::placeholder, #quote-form textarea::placeholder { color: #9aa6b5; }
#quote-form textarea { resize: vertical; min-height: 100px; }
.consent-check { display: grid !important; grid-template-columns: 16px 1fr; align-items: start; gap: 10px !important; color: #5b6879 !important; font-size: 10px !important; line-height: 1.6; font-weight: 400 !important; }
.consent-check input { margin: 3px 0 0; accent-color: var(--blue); }
.consent-check a { color: var(--blue); }
.form-submit { width: 100%; justify-content: space-between; margin-top: 2px; border: 0; }
.form-disclaimer { margin: 0; color: #7e8a99; font-size: 9px; line-height: 1.7; }
.form-status { margin: 0; color: #0b6b45; font-size: 11px; }
.form-status:empty { display: none; }
.site-footer { background: #040d19; color: white; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: 36px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-wordmark .wordmark-main { font-size: 19px; }
.footer-top > p { max-width: 300px; margin: 0; color: #91a2b7; font-size: 11px; }
.footer-up { color: var(--blue-light); text-decoration: none; font-size: 9px; font-weight: 800; letter-spacing: .12em; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 18px; padding-bottom: 22px; color: #718198; font-size: 9px; }
.footer-bottom div { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #aebbd0; text-decoration: none; }
.footer-bottom a:hover { color: white; }
.footer-note { width: 100%; color: #53657d; }
.policy-page { min-height: 100vh; background: var(--ice); }
.policy-header { padding: 26px 0; background: var(--navy); }
.policy-main { max-width: 820px; padding-top: 70px; padding-bottom: 90px; }
.policy-main .eyebrow { color: var(--blue); }
.policy-main h1 { color: var(--navy); font-size: clamp(38px, 6vw, 58px); }
.policy-main h2 { margin: 36px 0 12px; font-size: 24px; }
.policy-main p, .policy-main li { color: #536174; font-size: 14px; line-height: 1.9; }
.policy-main .policy-warning { padding: 16px 18px; border-left: 3px solid var(--blue); background: #e8eef7; }
.policy-footer { padding: 24px 0; background: var(--navy); color: #a8b5c7; font-size: 11px; }
.policy-footer a { color: white; }
@media (max-width: 980px) {
  .hero-grid { gap: 40px; grid-template-columns: 1fr .82fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3) { border-left: 1px solid var(--line); }
  .service-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-card p { min-height: 60px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-feature { grid-row: auto; }
  .portfolio-feature .portfolio-media { aspect-ratio: 1.35 / 1; min-height: 0; }
}
@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .nav-wrap { min-height: 72px; }
  .wordmark-main { font-size: 19px; }
  .wordmark-sub { font-size: 9px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 24px rgba(0,0,0,.18); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav .nav-cta { margin-top: 12px; text-align: center; border: 1px solid rgba(98,181,255,.55); }
  .hero { padding: 64px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  h1 { max-width: 600px; font-size: clamp(42px, 11vw, 66px); }
  .hero-visual { max-width: 540px; width: calc(100% - 12px); margin-left: 12px; }
  .hero-image-frame { aspect-ratio: 1.25 / 1; }
  .visual-label { left: -12px; bottom: 20px; }
  .intro-inner { min-height: auto; padding-top: 22px; padding-bottom: 22px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-intro { max-width: 560px; }
  .service-card { padding: 23px 16px; }
  .service-card h3 { font-size: 18px; }
  .service-card p { min-height: 0; }
  .portfolio-grid { gap: 24px 14px; }
  .portfolio-media { aspect-ratio: 1 / 1; }
  .portfolio-media .image-placeholder { padding: 14px; }
  .portfolio-media .image-placeholder strong { font-size: 10px; }
  .portfolio-media .image-placeholder span:not(.placeholder-icon), .portfolio-media .image-placeholder small { font-size: 9px; overflow-wrap: anywhere; }
  .portfolio-item figcaption { grid-template-columns: 22px 1fr; gap: 0 5px; }
  .portfolio-item figcaption b { font-size: 11px; }
  .portfolio-item figcaption small { font-size: 9px; }
  .work-cta { align-items: flex-start; flex-direction: column; margin-top: 42px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .about-mark { min-height: 280px; }
  .contact-details { margin-top: 30px; }
  .form-panel { padding: 24px 18px; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .wordmark-main { font-size: 17px; }
  .wordmark-sub i { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: space-between; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:nth-child(3) { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .service-card + .service-card { border-top: 1px solid var(--line); }
  .service-symbol { margin: 14px 0; height: 56px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-media { aspect-ratio: 1.3 / 1; }
  .form-row { grid-template-columns: 1fr; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Floating, seamless portrait video wall */
.video-showcase { width: 100%; margin-inline: auto; }
.video-marquee-shell {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  padding: 36px 0 44px;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(18,104,232,.18), transparent 58%),
    linear-gradient(180deg, rgba(7,20,38,.2), rgba(7,20,38,.94));
}
.video-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 18px 0 26px;
  perspective: 1200px;
}
.video-marquee.is-empty { min-height: 330px; }
.video-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 22px;
  padding: 0 22px;
  animation: floating-video-loop var(--video-loop-duration, 55s) linear infinite;
  will-change: transform;
}
.video-marquee:hover .video-track { animation-play-state: paused; }
.floating-video-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(145px, 17vw, 218px);
  aspect-ratio: 9 / 15;
  overflow: hidden;
  border: 1px solid rgba(151,203,255,.5);
  border-radius: 12px;
  background: #071426;
  box-shadow: 0 22px 55px rgba(0,0,0,.42), 0 0 26px rgba(18,104,232,.14);
  transform: translateZ(0);
  animation: floating-video-bob 5.8s ease-in-out infinite;
}
.floating-video-card:nth-child(3n + 2) { animation-delay: -1.9s; transform: translateY(12px) rotateY(-4deg); }
.floating-video-card:nth-child(3n) { animation-delay: -3.7s; transform: translateY(-8px) rotateY(4deg); }
.floating-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #071426;
}
.floating-video-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,10,19,.12), transparent 40%, rgba(3,10,19,.72));
  pointer-events: none;
}
.floating-video-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.5;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 6px rgba(0,0,0,.8);
}
.floating-video-number {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  background: rgba(4,13,25,.5);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.video-marquee-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #071426 0%, transparent 12%, transparent 88%, #071426 100%);
}
.video-wall-badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(98,181,255,.32);
  border-radius: 999px;
  background: rgba(4,13,25,.78);
  color: #e6f2ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  backdrop-filter: blur(12px);
}
.video-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-light); box-shadow: 0 0 12px var(--blue-light); }
.video-empty-state {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 28px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 40%, rgba(18,104,232,.28), transparent 62%), rgba(7,20,38,.96);
}
.video-empty-state[hidden] { display: none; }
.video-play-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(98,181,255,.7);
  border-radius: 50%;
  padding-left: 4px;
  color: var(--blue-light);
  font-size: 19px;
}
.video-empty-state strong { font: 800 clamp(15px, 2vw, 22px)/1.3 var(--font-display); letter-spacing: .13em; }
.video-empty-state > span:not(.video-play-mark) { max-width: 440px; color: #b2c2d7; font-size: 12px; line-height: 1.7; }
.video-empty-state small { color: var(--blue-light); font-size: 10px; line-height: 1.5; }
.video-wall-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.video-wall-footer p { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.video-wall-footer p strong { color: #f5f9ff; font-size: 11px; letter-spacing: .12em; }
.video-wall-footer p span { color: #9cacc0; font-size: 11px; }
.video-change-label { flex-shrink: 0; }
.video-note { max-width: 780px; margin: 16px auto 0; color: #7f92aa; font-size: 10px; line-height: 1.7; text-align: center; }
@keyframes floating-video-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes floating-video-bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}
@media (max-width: 700px) {
  .video-marquee-shell { min-height: 360px; padding: 28px 0 26px; }
  .video-marquee { padding: 18px 0 22px; }
  .video-marquee.is-empty { min-height: 300px; }
  .video-track { gap: 14px; padding: 0 14px; }
  .floating-video-card { width: clamp(128px, 40vw, 170px); border-radius: 9px; }
  .video-marquee-shade { background: linear-gradient(90deg, #071426 0%, transparent 7%, transparent 93%, #071426 100%); }
  .video-wall-badge { left: 12px; top: 8px; font-size: 8px; }
  .video-wall-footer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .video-change-label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .video-track { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .floating-video-card { animation: none !important; }
}

/* Easy local video picker */
.video-file-picker { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.video-file-label { display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-top: 10px; }
.video-empty-state small { max-width: 360px; text-align: center; line-height: 1.5; }



/* Hero photo carousel: fixed frame with a gentle floating motion and rotating photos. */
.hero-visual { animation: heroFrameFloat 6s ease-in-out infinite; }
.hero-image-frame.hero-slideshow {
  isolation: isolate;
  border: 1px solid rgba(98,181,255,.72);
  box-shadow: 0 0 0 1px rgba(18,104,232,.12), 0 18px 55px rgba(0,0,0,.28), 0 0 34px rgba(18,104,232,.13);
}
.hero-image-frame.hero-slideshow::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 7px;
  border: 1px solid rgba(210,235,255,.3);
  pointer-events: none;
}
.hero-image-frame.hero-slideshow::after { z-index: 2; }
.hero-image-frame .hero-slide {
  position: absolute;
  inset: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.1s ease, transform 5.5s ease;
}
.hero-image-frame .hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-frame-corner {
  position: absolute;
  z-index: 3;
  width: 27px;
  height: 27px;
  pointer-events: none;
  border-color: #62b5ff;
  border-style: solid;
}
.hero-frame-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero-frame-corner-br { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.hero-slide-dots {
  position: absolute;
  z-index: 4;
  right: 17px;
  bottom: 16px;
  display: flex;
  gap: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  background: rgba(7,20,38,.58);
  backdrop-filter: blur(8px);
}
.hero-slide-dots span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.48);
  transition: width .35s ease, background .35s ease;
}
.hero-slide-dots span.is-active { width: 18px; background: #62b5ff; }
@keyframes heroFrameFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { animation: none; }
  .hero-image-frame .hero-slide { transition: none; }
}
