/* Badfam Aluminium — public site. Hand-written, no framework.
   Type scale and colours are fixed tokens: use the classes below, never inline font sizes or colours. */
:root {
  /* brand */
  --navy: #0b0f5c; --navy-2: #151b8a; --navy-3: #070a33; --red: #d7141f; --red-2: #b00f18;
  /* text colours: four on light backgrounds, four on dark */
  --c-head: #0f1330; --c-body: #464c63; --c-muted: #6e7489; --c-accent: var(--red);
  --d-head: #ffffff; --d-body: rgba(255, 255, 255, .82); --d-muted: rgba(255, 255, 255, .62); --d-accent: #ff5a63;
  /* surfaces */
  --bg: #fff; --bg-alt: #f4f5f8; --line: #e3e6ed; --line-dark: rgba(255, 255, 255, .14);
  /* type scale */
  --fs-display: clamp(2.5rem, 4.6vw, 3.875rem);
  --fs-h1: clamp(2.125rem, 3.6vw, 3rem);
  --fs-h2: clamp(1.75rem, 2.7vw, 2.375rem);
  --fs-h3: 1.25rem;
  --fs-h4: 1.0625rem;
  --fs-lead: 1.125rem;
  --fs-body: 1rem;
  --fs-sm: .875rem;
  --fs-label: .75rem;
  --head: 'Archivo', 'Arial Narrow', system-ui, sans-serif; --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 6px; --r-sm: 4px; --shadow: 0 16px 36px -24px rgba(15, 19, 48, .45); --wrap: 1240px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font: 400 var(--fs-body)/1.7 var(--body); color: var(--c-body); background: var(--bg); overflow-x: clip; }
img, video { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { font-family: var(--head); color: var(--c-head); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); line-height: 1.3; } h4 { font-size: var(--fs-h4); line-height: 1.35; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* text utilities (the only sizes besides headings) */
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--c-body); }
.intro { font-size: var(--fs-lead); line-height: 1.65; color: var(--c-body); max-width: 700px; margin: 0; }
.text-sm { font-size: var(--fs-sm); }
.muted { color: var(--c-muted); }
.strong { color: var(--c-head); font-weight: 600; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* layout */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sec { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.sec-tight { padding: clamp(44px, 6vw, 72px) 0; }
.bg-mist { background: var(--bg-alt); }
.on-dark { background: var(--navy); color: var(--d-body); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--d-head); }
.on-dark .lead, .on-dark .intro { color: var(--d-body); }
.on-dark .muted { color: var(--d-muted); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.row-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row-center { justify-content: center; }
.split-top { align-items: start; }
.wrap-narrow { max-width: 860px; }
.mx-auto { margin-inline: auto; }
.m-0 { margin: 0; } .pt-0 { padding-top: 0; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 52px; }
.mb-s { margin-bottom: 14px; } .mb-m { margin-bottom: 28px; } .mb-l { margin-bottom: 48px; }
.upper { text-transform: uppercase; }
.steps-2 { grid-template-columns: 1fr 1fr; }
.phero-404 { text-align: center; padding-bottom: 130px; }
.phero-404 h1 { margin-inline: auto; }
.phero .lead { color: var(--d-body); }

/* section heading: label + title + intro */
.hl { color: var(--c-accent); } .on-dark .hl, .hl.on-dark { color: var(--d-accent); background: none; }
.hl-group { white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 var(--fs-label)/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.on-dark .eyebrow, .phero .eyebrow, .hero .eyebrow, .foot .eyebrow, .panel-dark .eyebrow { color: var(--d-accent); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.sec-head p { font-size: var(--fs-lead); color: var(--c-muted); margin: 0; }
.on-dark .sec-head p { color: var(--d-muted); }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head-row .sec-head { margin-bottom: 0; }

/* buttons: one size, square corners */
.btn { --bg: var(--red); --fg: #fff; --bd: var(--red); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: var(--r-sm); border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg); font: 600 var(--fs-sm)/1 var(--head); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { --bg: var(--red-2); --bd: var(--red-2); color: var(--fg); }
.btn i { font-size: .85em; transition: transform .2s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-navy { --bg: var(--navy); --bd: var(--navy); } .btn-navy:hover { --bg: var(--navy-2); --bd: var(--navy-2); }
.btn-ghost { --bg: transparent; --fg: var(--c-head); --bd: #c9cdd8; }
.btn-ghost:hover { --bg: var(--c-head); --fg: #fff; --bd: var(--c-head); }
.on-dark .btn-ghost, .btn-ghost.light { --fg: #fff; --bd: rgba(255, 255, 255, .5); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-wa { --bg: #1a9d4f; --bd: #1a9d4f; } .btn-wa:hover { --bg: #157f40; --bd: #157f40; }
.btn-sm { padding: 11px 16px; }
.btn-block { width: 100%; }
.link-arrow { font: 600 var(--fs-sm) var(--head); letter-spacing: .04em; text-transform: uppercase; color: var(--navy-2); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { font-size: .85em; transition: transform .2s; } .link-arrow:hover i { transform: translateX(3px); }

/* top bar + header */
.topbar { background: var(--navy-3); color: var(--d-muted); font-size: var(--fs-sm); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; align-items: center; }
.topbar a { color: var(--d-body); } .topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar i { color: var(--d-accent); margin-right: 6px; }
.topbar .soc a { margin-left: 14px; }
.topbar .soc i { color: inherit; margin: 0; }
.promo-bar { background: var(--red); color: #fff; text-align: center; font-weight: 600; font-size: var(--fs-sm); padding: 9px 44px; position: relative; }
.promo-bar a { color: #fff; text-decoration: underline; margin-left: 8px; }
.promo-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }
.hdr { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.hdr.scrolled { box-shadow: 0 8px 24px -20px rgba(15, 19, 48, .6); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 82px; transition: height .3s; }
.hdr.scrolled .wrap { height: 70px; }
.logo { display: block; flex-shrink: 0; }
.logo img { height: 56px; width: auto; transition: height .3s; }
.hdr.scrolled .logo img { height: 48px; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 14px; font: 600 var(--fs-sm) var(--head); letter-spacing: .03em; text-transform: uppercase; color: var(--c-head); position: relative; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > ul > li:hover > a::after, .nav > ul > li.active > a::after { transform: scaleX(1); }
.nav .has-sub > a i { font-size: 10px; margin-left: 4px; }
.nav .sub { position: absolute; top: 100%; right: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--red); box-shadow: var(--shadow); padding: 6px 0; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { text-transform: none; letter-spacing: 0; font: 500 var(--fs-sm) var(--body); padding: 9px 18px; }
.nav .sub a:hover { background: var(--bg-alt); }
.hdr-cta { display: flex; align-items: center; gap: 18px; }
.hdr-call { display: flex; align-items: center; gap: 10px; color: var(--c-head); line-height: 1.2; }
.hdr-call .ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--red); font-size: var(--fs-sm); }
.hdr-call small { display: block; font-size: var(--fs-label); color: var(--c-muted); text-transform: uppercase; letter-spacing: .1em; }
.hdr-call b { font: 700 var(--fs-body) var(--head); }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; font-size: 18px; color: var(--c-head); margin-left: auto; }

/* mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: var(--navy-3); color: var(--d-body); z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; overflow-y: auto; padding: 20px 24px 40px; }
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.drawer-top img { height: 52px; }
.drawer-close { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 40px; height: 40px; border-radius: var(--r-sm); font-size: 18px; cursor: pointer; }
.drawer ul { list-style: none; margin: 0 0 24px; padding: 0; }
.drawer li a { display: block; padding: 12px 0; color: var(--d-head); font: 600 var(--fs-body) var(--head); letter-spacing: .03em; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); }
.drawer li.active > a { color: var(--d-accent); }
.drawer p { margin: 0 0 10px; font-size: var(--fs-sm); } .drawer p a { color: var(--d-head); } .drawer p i { color: var(--d-accent); width: 22px; }
.scrim { position: fixed; inset: 0; background: rgba(7, 10, 51, .55); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.scrim.show { opacity: 1; visibility: visible; }

/* hero: full-bleed photo slideshow with slow cross-fade + gentle zoom */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; flex-direction: column; justify-content: center; color: var(--d-body); background: var(--navy-3); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s ease-out; will-change: opacity, transform; }
.hero-bg img.on { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 10, 51, .9) 0%, rgba(7, 10, 51, .74) 40%, rgba(7, 10, 51, .3) 78%, rgba(7, 10, 51, .15) 100%), linear-gradient(0deg, rgba(7, 10, 51, .6), transparent 35%); }
.hero-inner { padding: 90px 0 130px; }
.hero-slides { display: grid; max-width: 680px; }
.hero-slide { grid-area: 1 / 1; }
.hero-slide > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero-slide.on > * { opacity: 1; transform: none; }
.hero-slide.on > :nth-child(2) { transition-delay: .12s; } .hero-slide.on > :nth-child(3) { transition-delay: .24s; } .hero-slide.on > :nth-child(4) { transition-delay: .36s; }
.hero-slide:not(.on) { visibility: hidden; transition: visibility 0s .7s; }
.hero .hero-title { font-size: var(--fs-display); color: var(--d-head); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 800; }
.hero .lead { color: var(--d-body); max-width: 560px; margin-bottom: 32px; }
.hero-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--line-dark); background: rgba(7, 10, 51, .5); backdrop-filter: blur(6px); }
.hero-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.hero-nav { display: flex; align-items: center; gap: 18px; }
.hero-dots { display: flex; gap: 8px; align-items: center; }
.hero-dots button { width: 40px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button.on::after { content: ""; position: absolute; inset: 0; background: #fff; animation: dot 7s linear forwards; transform-origin: left; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-num { font: 600 var(--fs-sm) var(--head); color: var(--d-head); letter-spacing: .08em; min-width: 64px; }
.hero-num span { color: var(--d-muted); }
.hero-facts { display: flex; gap: 34px; }
.hero-facts div { display: flex; flex-direction: column; line-height: 1.25; }
.hero-facts b { font: 700 var(--fs-h3) var(--head); color: var(--d-head); }
.hero-facts span { font-size: var(--fs-sm); color: var(--d-muted); }

/* trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 26px 20px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; } .trust-item:last-child { border-right: 0; }
.trust-item i { font-size: 22px; color: var(--red); width: 28px; text-align: center; }
.trust-item b { display: block; font: 700 var(--fs-body) var(--head); color: var(--c-head); }
.trust-item span { font-size: var(--fs-sm); color: var(--c-muted); }

/* marquee of services */
.marquee { overflow: hidden; background: var(--navy); color: var(--d-head); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marq 45s linear infinite; }
.marquee span { font: 600 var(--fs-h4)/1 var(--head); text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; white-space: nowrap; }
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--red); margin: 0 28px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* photo strip */
.strip { overflow: hidden; padding: 5px 0; }
.strip-track { display: flex; gap: 10px; width: max-content; animation: marq 80s linear infinite; }
.strip-track.rev { animation-direction: reverse; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip a { width: 240px; height: 165px; overflow: hidden; flex-shrink: 0; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip a:hover img { transform: scale(1.05); }

/* about block */
.about-media { position: relative; padding: 0 56px 56px 0; }
.about-media .main { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.6; }
.about-media .main img, .about-media .small img { width: 100%; height: 100%; object-fit: cover; }
.about-media .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); }
.about-media .years { position: absolute; left: 0; top: 0; background: var(--navy); color: var(--d-body); padding: 20px 22px; border-radius: var(--r) 0 var(--r) 0; }
.about-media .years b { display: block; font: 800 var(--fs-h1)/1 var(--head); color: var(--d-head); }
.about-media .years span { font-size: var(--fs-label); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.ticks { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-body); font-weight: 600; color: var(--c-head); }
.ticks li::before { content: "\f00c"; font: 900 11px/1 "FA"; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 3px; }
.on-dark .ticks li { color: var(--d-head); }
.call-line { display: inline-flex; gap: 12px; align-items: center; color: var(--c-head); }
.call-line .ic { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--red); display: grid; place-items: center; }
.call-line small { display: block; color: var(--c-muted); font-size: var(--fs-sm); }
.call-line b { font: 700 var(--fs-h4) var(--head); }

/* cards */
.card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; display: flex; flex-direction: column; }
.card:hover { box-shadow: var(--shadow); border-color: transparent; }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { color: var(--c-head); } .card-body h3 a:hover { color: var(--red); }
.card-body p { color: var(--c-muted); font-size: var(--fs-body); flex: 1; }
.svc .icon { position: absolute; left: 0; bottom: 0; width: 54px; height: 54px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; z-index: 2; }
.svc .card-img .clip { position: absolute; inset: 0; overflow: hidden; }
.badge { display: inline-block; font: 700 var(--fs-label)/1 var(--head); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: var(--r-sm); background: var(--bg-alt); color: var(--navy-2); }
.badge-red { background: var(--red); color: #fff; }
.badge-lg { padding: 10px 14px; }
.proj { position: relative; border-radius: var(--r); overflow: hidden; display: block; aspect-ratio: 4 / 5; background: var(--navy); color: #fff; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7, 10, 51, .9)); }
.proj:hover img { transform: scale(1.05); }
.proj .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; }
.proj h3 { color: var(--d-head); margin: 10px 0 6px; }
.proj .meta { font-size: var(--fs-sm); color: var(--d-muted); display: flex; gap: 14px; flex-wrap: wrap; }
.proj .count { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; color: var(--c-head); font: 600 var(--fs-label) var(--head); letter-spacing: .06em; padding: 7px 10px; border-radius: var(--r-sm); }
.proj .play { position: absolute; top: 14px; left: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 12px; }
.proj-feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.proj-feature h3 { font-size: var(--fs-h2); }
/* project lists of any length: cards share each row, so the last row is always full width */
.proj-row { display: flex; flex-wrap: wrap; gap: 24px; }
.proj-row .proj { flex: 1 1 340px; aspect-ratio: auto; height: 420px; }

/* justified photo rows (home wall, gallery, project + service photos):
   tiles share each row in proportion to their shape and every row — including the last — fills the full width */
.wall, .pgal { --row-h: 250px; display: flex; flex-wrap: wrap; gap: 10px; }
.wall .tile, .pgal .tile { flex: calc(var(--r, 1.33) * 100) 1 calc(var(--r, 1.33) * var(--row-h)); height: var(--row-h); }
.wall .tile img, .pgal .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(7, 10, 51, .85)); color: #fff; font-size: var(--fs-sm); font-weight: 600; opacity: 0; transition: opacity .3s; }
.tile:hover .cap { opacity: 1; }
.tile .vid { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; border-radius: var(--r-sm); font: 600 var(--fs-label) var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; display: flex; gap: 6px; align-items: center; }
.tile.is-video { cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #fff; color: var(--c-head); font: 600 var(--fs-sm) var(--head); transition: .2s; }
.chip small { font: 600 var(--fs-label) var(--body); color: var(--c-muted); }
.chip:hover { border-color: var(--navy-2); color: var(--navy-2); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on small { color: rgba(255, 255, 255, .7); }
.more-wrap { text-align: center; margin-top: 30px; }

/* reels (vertical clips) */
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; scroll-snap-align: start; cursor: pointer; border: 0; padding: 0; color: #fff; text-align: left; }
.reel img, .reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .4s; } .reel.playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(0, 0, 0, .8)); }
.reel .t { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; font: 600 var(--fs-body)/1.35 var(--head); color: #fff; }
.reel .p { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; z-index: 2; font-size: 16px; transition: background .2s, border-color .2s; }
.reel:hover .p { background: var(--red); border-color: var(--red); }
.reel .src { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 16px; }

/* process: photo-backed section with step cards */
.process { position: relative; isolation: isolate; overflow: hidden; }
.process > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.process::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 51, .94), rgba(11, 15, 92, .9) 55%, rgba(7, 10, 51, .96)); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 58px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px); z-index: 0; }
.step { position: relative; z-index: 1; padding: 28px 24px 30px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-radius: var(--r); backdrop-filter: blur(4px); transition: background .3s, border-color .3s, transform .3s var(--ease); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); transform: translateY(-4px); }
.step:hover::after { transform: scaleX(1); }
.step-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.step .ic { width: 60px; height: 60px; border-radius: var(--r); background: var(--red); color: #fff; display: grid; place-items: center; font-size: 24px; box-shadow: 0 0 0 6px rgba(215, 20, 31, .18); }
.step-num { counter-increment: step; font: 800 var(--fs-h1)/1 var(--head); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); letter-spacing: -.02em; }
.step-num::before { content: "0" counter(step); }
.step h4 { color: var(--d-head); margin-bottom: 8px; }
.step p { font-size: var(--fs-sm); color: var(--d-muted); margin: 0; }
.process-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.process-foot p { margin: 0; color: var(--d-body); }
.process-foot p i { color: var(--d-accent); margin-right: 8px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy) 0 50%, var(--red) 50%); }
.stat { display: flex; align-items: center; gap: 18px; padding: 36px 30px; border-right: 1px solid var(--line); transition: background .3s; }
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--bg-alt); }
.stat-ic { width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; background: rgba(215, 20, 31, .08); color: var(--red); display: grid; place-items: center; font-size: 22px; transition: background .3s, color .3s; }
.stat:hover .stat-ic { background: var(--red); color: #fff; }
.stat-num { font: 800 clamp(2.25rem, 3.4vw, 2.875rem)/1 var(--head); color: var(--navy); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; color: var(--red); font-size: .7em; margin-left: 2px; vertical-align: top; }
.stat-label { margin-top: 8px; font: 600 var(--fs-label) var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }

/* features */
.feat { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feat:last-child { border-bottom: 0; }
.feat .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--bg-alt); color: var(--red); display: grid; place-items: center; font-size: 20px; }
.feat h4 { margin-bottom: 4px; } .feat p { margin: 0; font-size: var(--fs-body); color: var(--c-muted); }
.feat-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.feat-card .ic { width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; margin-bottom: 20px; }
.feat-card p { color: var(--c-muted); margin: 0; }
.why-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 6; }
.why-img > img { width: 100%; height: 100%; object-fit: cover; }
.why-img .tag { position: absolute; left: 0; bottom: 0; background: #fff; padding: 18px 22px; display: flex; gap: 14px; align-items: center; border-radius: 0 var(--r) 0 0; }
.why-img .tag img { width: 52px; height: 52px; }
.why-img .tag b { display: block; font: 700 var(--fs-body) var(--head); color: var(--c-head); }
.why-img .tag span { font-size: var(--fs-sm); color: var(--c-muted); }

/* testimonials + forms */
.quote-card { background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 28px; }
.quote-card .stars { color: #f2b01e; margin-bottom: 12px; letter-spacing: 3px; font-size: var(--fs-sm); }
.quote-card p { color: var(--d-body); font-size: var(--fs-body); }
.quote-card .who { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 var(--fs-body) var(--head); overflow: hidden; }
.quote-card .who b { color: var(--d-head); display: block; font-size: var(--fs-body); } .quote-card .who small { color: var(--d-muted); font-size: var(--fs-sm); }
.form-card { background: #fff; color: var(--c-body); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { color: var(--c-head); }
.form-card h2 { font-size: var(--fs-h3); }
.form-card > p { color: var(--c-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 var(--fs-sm) var(--head); color: var(--c-head); margin-bottom: 6px; }
.input, .field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #d3d7e0; border-radius: var(--r-sm); background: #fff; color: var(--c-head); font-size: var(--fs-body); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(21, 27, 138, .1); }
.form-note { font-size: var(--fs-sm); color: var(--c-muted); margin: 12px 0 0; display: flex; gap: 8px; align-items: center; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: center; font-size: var(--fs-body); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: var(--fs-body); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert-ok { background: #e7f6ed; color: #146c3c; } .alert-err { background: #fdebec; color: #a1101c; }
.alert ul { margin: 0; padding-left: 18px; font-weight: 500; }

/* areas */
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.areas span { padding: 8px 14px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-sm); color: var(--c-head); }
.areas span i { color: var(--red); margin-right: 6px; }
.on-dark .areas span { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: var(--d-head); }

/* follow band */
.follow { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; background: var(--navy); border-radius: var(--r); padding: clamp(28px, 4vw, 44px); color: var(--d-body); }
.follow h3 { color: var(--d-head); margin: 0; }
.follow p { color: var(--d-muted); margin: 8px 0 0; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 16px; transition: background .2s; }
.socials a:hover { background: var(--red); color: #fff; }

/* page hero */
.phero { position: relative; background: var(--navy-3); color: var(--d-body); padding: clamp(90px, 11vw, 140px) 0 clamp(48px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.phero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: phIn 1.4s ease both; }
@keyframes phIn { from { opacity: 0; transform: scale(1.06); } }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 10, 51, .92) 30%, rgba(7, 10, 51, .55)); }
.phero h1 { color: var(--d-head); margin: 0 0 14px; max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: var(--fs-sm); color: var(--d-muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--d-head); } .crumbs a:hover { color: var(--d-accent); }

/* prose (rich text) */
.prose { font-size: var(--fs-body); color: var(--c-body); }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.6em; } .prose h3 { font-size: var(--fs-h4); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--r); margin: 1em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 3px solid var(--red); background: var(--bg-alt); }

/* side panels */
.layout-side { display: grid; grid-template-columns: 1fr 360px; gap: clamp(28px, 5vw, 56px); align-items: start; }
.side { position: sticky; top: 100px; display: grid; gap: 20px; }
.panel { background: var(--bg-alt); border-radius: var(--r); padding: 26px; }
.panel h3, .panel h4 { margin-bottom: 14px; }
.panel p { font-size: var(--fs-body); color: var(--c-muted); }
.panel-dark { background: var(--navy); color: var(--d-body); }
.panel-dark h3, .panel-dark h4 { color: var(--d-head); }
.panel-dark p { color: var(--d-muted); }
.panel-dark ol { padding-left: 20px; margin: 0; display: grid; gap: 10px; color: var(--d-head); font-weight: 600; }
.list-links { list-style: none; margin: 0; padding: 0; }
.list-links a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; color: var(--c-head); font-size: var(--fs-sm); font-weight: 600; background: #fff; margin-bottom: 6px; border-radius: var(--r-sm); transition: .2s; }
.list-links a:hover, .list-links a.on { background: var(--navy); color: #fff; }
.list-links a.on .badge, .list-links a:hover .badge { background: rgba(255, 255, 255, .15); color: #fff; }
.side-post { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: var(--c-head); font-size: var(--fs-sm); font-weight: 600; line-height: 1.4; }
.side-post img { width: 72px; height: 60px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); vertical-align: top; }
.specs th { color: var(--c-muted); font-weight: 600; width: 42%; }
.specs td { color: var(--c-head); font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { display: flex; gap: 10px; font-weight: 600; color: var(--c-head); }
.feature-list li i { color: var(--red); margin-top: 6px; font-size: var(--fs-sm); }
.media-wide { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 32px; }
.media-wide img { width: 100%; height: 100%; object-fit: cover; }

/* project detail */
.pnav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 40px; }
.pnav a { display: flex; flex-direction: column; font: 600 var(--fs-body) var(--head); color: var(--c-head); max-width: 45%; }
.pnav small { color: var(--c-muted); font: 600 var(--fs-label) var(--head); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.pnav .nx { text-align: right; margin-left: auto; }
.video-feature { position: relative; border-radius: var(--r); overflow: hidden; background: #000; max-width: 420px; aspect-ratio: 9 / 16; margin: 0 auto; }
.video-feature video { width: 100%; height: 100%; object-fit: cover; }
.h-count { display: flex; align-items: center; gap: 12px; margin-top: 48px; }

/* prices */
.price-cat { margin-bottom: 56px; }
.price-cat > h2 { display: flex; align-items: center; gap: 16px; font-size: var(--fs-h3); text-transform: uppercase; letter-spacing: .04em; }
.price-cat > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.price-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.price-grid .pcard { flex: 1 1 480px; }
.pcard { display: grid; grid-template-columns: 210px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pcard .pimg { background: var(--bg-alt); }
.pcard .pimg img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pbody { padding: 22px 24px; }
.pcard h3 { margin-bottom: 6px; }
.pcard .desc { font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 6px; }
.ptable { width: 100%; border-collapse: collapse; margin: 12px 0 6px; }
.ptable td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--c-body); }
.ptable td:last-child { text-align: right; font: 700 var(--fs-body) var(--head); color: var(--c-head); white-space: nowrap; }
.ptable small { color: var(--c-muted); font: 500 var(--fs-label) var(--body); }
.colours { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.colours span { font-size: var(--fs-label); padding: 4px 9px; border-radius: var(--r-sm); background: var(--bg-alt); font-weight: 600; color: var(--c-head); }
.note { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 14px; }

/* estimator */
.est { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.est-form { padding: clamp(24px, 4vw, 40px); }
.est-out { background: var(--navy); color: var(--d-body); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; }
.est-out .lbl { text-transform: uppercase; letter-spacing: .16em; font: 700 var(--fs-label) var(--head); color: var(--d-accent); }
.est-out .total { font: 800 var(--fs-h1)/1.1 var(--head); color: var(--d-head); margin: 14px 0 10px; letter-spacing: -.02em; }
.est-out .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: var(--fs-sm); }
.est-out .row b { color: var(--d-head); font-weight: 600; }
.est-out .note { color: var(--d-muted); margin: 14px 0 22px; }
.est-out form { display: grid; gap: 10px; margin-top: auto; }
#estimator[data-mode=unit] [data-show] { display: none; }
#estimator[data-mode=length] [data-show=area] { display: none; }
#estimator:not([data-mode=length]) .m-length, #estimator[data-mode=length] .m-area { display: none; }

/* accordion (faq) */
.acc { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-bottom: 10px; overflow: hidden; }
.acc[open] { border-color: #c9cdd8; }
.acc summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font: 600 var(--fs-h4)/1.4 var(--head); color: var(--c-head); position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: var(--r-sm); background: var(--bg-alt); display: grid; place-items: center; font: 400 20px/1 var(--body); color: var(--c-head); }
.acc[open] summary::after { content: "–"; background: var(--red); color: #fff; }
.acc .a { padding: 0 20px 18px; color: var(--c-body); font-size: var(--fs-body); }
.faq-cat { font-size: var(--fs-h3); margin: 36px 0 14px; }
.faq-cat:first-child { margin-top: 0; }

/* contact cards */
.ccard { display: flex; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); align-items: flex-start; color: var(--c-body); }
.ccard .ic { width: 46px; height: 46px; border-radius: var(--r-sm); background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.ccard .ic.green { background: #1a9d4f; } .ccard .ic.red { background: var(--red); }
.ccard small { display: block; text-transform: uppercase; letter-spacing: .12em; font: 700 var(--fs-label) var(--head); color: var(--c-muted); margin-bottom: 4px; }
.ccard b { color: var(--c-head); font-weight: 600; font-size: var(--fs-body); word-break: break-word; }
.ccard .muted { font-size: var(--fs-sm); }
.map { border-radius: var(--r); overflow: hidden; border: 0; width: 100%; height: 420px; }

/* track */
.progress { height: 10px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 22px 22px; position: relative; font-size: var(--fs-body); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.timeline small { color: var(--c-muted); font-size: var(--fs-sm); }
.job-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: start; }
.job-progress { display: flex; justify-content: space-between; margin: 26px 0 10px; color: var(--c-head); font-weight: 600; }

/* team: portrait cards (name over photo, bio + contacts slide up on hover) */
.member { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.member-ph, .member-ph img { position: absolute; inset: 0; width: 100%; height: 100%; }
.member-ph img { object-fit: cover; object-position: center top; transition: transform .8s var(--ease); }
.member:hover .member-ph img { transform: scale(1.05); }
.member::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(7, 10, 51, .55) 65%, rgba(7, 10, 51, .95)); transition: background .4s; }
.member:hover::after { background: linear-gradient(180deg, rgba(7, 10, 51, .15) 20%, rgba(7, 10, 51, .8) 55%, rgba(7, 10, 51, .97)); }
.member.no-photo .member-ph { background: linear-gradient(150deg, var(--navy-2), var(--navy-3)); display: grid; place-items: center; }
.member-ini { font: 800 clamp(3.5rem, 6vw, 5rem)/1 var(--head); color: rgba(255, 255, 255, .92); letter-spacing: -.02em; margin-bottom: 30%; }
.member-ph img.member-mark { inset: auto; top: 22px; right: 22px; width: 64px; height: auto; opacity: .25; }
.member-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; }
.member-info::before { content: ""; display: block; width: 32px; height: 3px; background: var(--red); margin-bottom: 14px; transition: width .4s var(--ease); }
.member:hover .member-info::before { width: 56px; }
.member-role { display: block; font: 700 var(--fs-label) var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--d-accent); margin-bottom: 6px; }
.member h3 { color: var(--d-head); margin: 0; }
.member-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .35s, margin .45s; }
.member-more > * { overflow: hidden; }
.member:hover .member-more, .member:focus-within .member-more { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; }
.member-more p { font-size: var(--fs-sm); color: var(--d-body); margin: 0 0 12px; }
.member-links { display: flex; gap: 8px; }
.member-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; font-size: var(--fs-sm); transition: background .2s; }
.member-links a:hover { background: var(--red); color: #fff; }
@media (hover: none) { .member-more { grid-template-rows: 1fr; opacity: 1; margin-top: 10px; } .member::after { background: linear-gradient(180deg, transparent 30%, rgba(7, 10, 51, .9) 70%); } }

/* home team section: intro + leader quote left, staggered 2×2 crew right */
.team-sec { background: var(--bg-alt); overflow: hidden; }
.team-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.crew { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 60px; }
.crew .member:nth-child(even) { transform: translateY(60px); }
.js .crew .member.reveal:nth-child(even) { transform: translateY(80px); }
.js .crew .member.reveal.in:nth-child(even) { transform: translateY(60px); }
.leader { margin: 28px 0 30px; padding: 24px 26px; background: #fff; border-left: 3px solid var(--red); border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow); }
.leader blockquote { margin: 0 0 18px; font-size: var(--fs-lead); line-height: 1.6; color: var(--c-head); font-style: italic; }
.leader figcaption { display: flex; align-items: center; gap: 14px; }
.leader-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 var(--fs-body) var(--head); overflow: hidden; flex-shrink: 0; }
.leader-ava img { width: 100%; height: 100%; object-fit: cover; }
.leader b { display: block; color: var(--c-head); font: 700 var(--fs-body) var(--head); }
.leader small { color: var(--c-muted); font-size: var(--fs-sm); }

/* team page: leader feature + crew grid */
.team-lead { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; margin-bottom: 56px; }
.team-lead .leader { margin: 18px 0 0; }
.crew-row { display: flex; flex-wrap: wrap; gap: 20px; }
.crew-row .member { flex: 1 1 200px; aspect-ratio: auto; height: 360px; }

/* blog */
.post-meta { display: flex; gap: 16px; font-size: var(--fs-sm); color: var(--c-muted); margin-bottom: 10px; flex-wrap: wrap; }
.post-meta i { color: var(--red); margin-right: 5px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; }
.search-form .btn { padding-inline: 18px; }
.share { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.share b { font-family: var(--head); color: var(--c-head); font-weight: 600; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-sm); display: grid; place-items: center; border: 1px solid var(--line); color: var(--c-head); font-weight: 600; font-size: var(--fs-sm); }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .off { opacity: .4; }

/* 404 */
.err-code { font: 800 clamp(5rem, 14vw, 9rem)/1 var(--head); color: var(--d-head); }

/* footer */
.foot { background: var(--navy-3); color: var(--d-muted); font-size: var(--fs-sm); position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; pointer-events: none; background: radial-gradient(900px 400px at 85% 100%, rgba(21, 27, 138, .45), transparent 70%); }
.foot a { color: var(--d-body); } .foot a:hover { color: #fff; }
.foot p { color: var(--d-muted); }
.foot h6 { color: var(--d-head); font: 700 var(--fs-sm) var(--head); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; }
.foot h6::before { content: ""; width: 18px; height: 2px; background: var(--red); }
.foot ul { list-style: none; padding: 0; margin: 0; }
/* 1. CTA band */
.foot-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 88px) 0; }
.foot-cta .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.foot-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(176, 15, 24, .96) 0%, rgba(176, 15, 24, .9) 45%, rgba(11, 15, 92, .82) 100%); }
.foot-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.foot-cta .eyebrow { color: #fff; }
.foot-cta h3 { color: #fff; font-size: var(--fs-h2); margin: 0 0 10px; max-width: 680px; line-height: 1.2; }
.foot-cta h3 .hl { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.foot-cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: var(--fs-body); }
.foot-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.foot a.btn, .foot a.btn:hover { color: var(--fg); }
.foot-cta .btn:not(.btn-wa) { --bg: #fff; --fg: var(--red); --bd: #fff; }
.foot-cta .btn:not(.btn-wa):hover { --bg: var(--navy-3); --fg: #fff; --bd: var(--navy-3); }
/* 2. contact cards */
.foot-contact { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-dark); }
.fc { display: flex; align-items: center; gap: 14px; padding: 30px 20px; border-right: 1px solid var(--line-dark); transition: background .25s; min-width: 0; }
.fc:first-child { padding-left: 0; } .fc:last-child { border-right: 0; }
.fc:hover { background: rgba(255, 255, 255, .03); }
.fc .ic { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--d-accent); display: grid; place-items: center; font-size: 18px; transition: background .25s, color .25s, border-color .25s; }
.fc:hover .ic { background: var(--red); border-color: var(--red); color: #fff; }
.fc small { display: block; font: 600 var(--fs-label) var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 3px; }
.fc b { display: block; color: var(--d-head); font: 600 var(--fs-body) var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 3. columns */
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .8fr 1fr 1.15fr; gap: 48px; padding: 56px 0 48px; }
.foot .flogo { height: 88px; width: auto; margin-bottom: 18px; }
.foot-follow { margin-top: 26px !important; }
.foot-links { display: grid; gap: 4px; }
.foot-links a { display: inline-flex; align-items: center; gap: 0; padding: 4px 0; transition: color .2s, gap .25s var(--ease); }
.foot-links a::before { content: ""; width: 0; height: 1px; background: var(--red); transition: width .25s var(--ease), margin .25s var(--ease); }
.foot-links a:hover { gap: 8px; }
.foot-links a:hover::before { width: 12px; }
.foot-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 22px; }
.foot-work a { aspect-ratio: 1; overflow: hidden; border-radius: var(--r-sm); position: relative; }
.foot-work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .85; }
.foot-work a:hover img { transform: scale(1.08); opacity: 1; }
.foot-hours { display: grid; gap: 8px; }
.foot-hours li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-dark); }
.foot-hours b { color: var(--d-head); font-weight: 600; }
/* 4. bottom bar */
.foot-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line-dark); background: rgba(0, 0, 0, .18); }
.foot-bottom .wrap { padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* floating actions */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.wa-float:hover { color: #fff; }
.to-top { position: fixed; right: 26px; bottom: 88px; z-index: 50; width: 42px; height: 42px; border-radius: var(--r-sm); border: 0; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; }
.dock { display: none; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5, 7, 30, .97); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: var(--fs-sm); }
.lb-top .lb-count { color: var(--d-muted); }
.lb-btn { width: 46px; height: 46px; border-radius: var(--r-sm); border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--red); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 0 70px; min-height: 0; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-foot { padding: 14px 18px 20px; text-align: center; font-size: var(--fs-sm); color: var(--d-body); }
.lb-foot a { color: var(--d-accent); margin-left: 10px; font-weight: 600; }

/* reveal on scroll (subtle) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .06s; } .js .reveal.d2 { transition-delay: .12s; } .js .reveal.d3 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide > * { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1180px) {
  .hdr-call { display: none; }
  .nav a { padding: 10px 10px; }
  .nav > ul > li > a::after { left: 10px; right: 10px; }
}
@media (max-width: 1024px) {
  .nav, .hdr-cta .btn { display: none; }
  .burger { display: grid; }
  .hero-facts { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .split, .layout-side, .est { grid-template-columns: 1fr; }
  .side { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding-left: 20px; }
  .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .trust-item:first-child, .trust-item:nth-child(3) { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-template-columns: 1fr 1fr; }
  .fc:nth-child(2) { border-right: 0; } .fc:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); } .fc:nth-child(3) { padding-left: 0; }
  .team-layout, .team-lead { grid-template-columns: 1fr; }
  .team-lead > .member { max-width: 380px; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-media { max-width: 560px; }
  .proj-feature { grid-row: span 1; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  :root { --fs-lead: 1.0625rem; --fs-display: 2.25rem; }
  .hl-group { white-space: normal; }
  .hero-slides, .hero-slide { min-width: 0; }
  body { padding-bottom: 64px; }
  .topbar .tb-right, .topbar .hide-sm { display: none; }
  .hdr .wrap { height: 70px; } .logo img { height: 44px; }
  .hero { min-height: 0; }
  .hero-inner { padding: 64px 0 110px; }
  .hero::before { background: linear-gradient(180deg, rgba(7, 10, 51, .7), rgba(7, 10, 51, .9)); }
  .g2, .g3, .g4, .form-grid, .ticks, .feature-list { grid-template-columns: 1fr; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 14px; }
  .trust-item:first-child, .trust-item:nth-child(3) { padding-left: 0; }
  .pcard { grid-template-columns: 1fr; } .pcard .pimg { aspect-ratio: 16 / 9; }
  .follow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 34px; }
  .foot-contact { grid-template-columns: 1fr; }
  .fc { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .crew { gap: 12px; padding-bottom: 30px; }
  .crew .member:nth-child(even), .js .crew .member.reveal.in:nth-child(even) { transform: translateY(30px); }
  .member-info { padding: 16px; }
  .crew .member-more { display: none; }
  .crew .member h3 { font-size: var(--fs-h4); }
  .steps { grid-template-columns: 1fr; }
  .proj-feature { grid-column: auto; aspect-ratio: 4 / 5; }
  .proj-feature h3 { font-size: var(--fs-h3); }
  .proj-row .proj { height: 340px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 18px; }
  .stat-ic { width: 46px; height: 46px; font-size: 18px; }
  .wall, .pgal { --row-h: 150px; gap: 6px; }
  .about-media { padding: 0 28px 36px 0; }
  .lb-stage { padding: 0 8px; } .lb-prev, .lb-next { top: auto; bottom: -60px; transform: none; }
  .wa-float { display: none; } .to-top { bottom: 78px; right: 14px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; font: 600 var(--fs-label) var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--c-head); }
  .dock a i { font-size: 17px; color: var(--navy-2); }
  .dock a.q { background: var(--red); color: #fff; } .dock a.q i { color: #fff; }
}
