/* ==========================================================================
   Maintenance Engineering Australia — v3 stylesheet
   Dark navy (client theme) · Montserrat / Open Sans · gear backdrop bands
   ========================================================================== */

:root {
  --bg: #0A1426;
  --bg-2: #0E1B31;
  --bg-3: #122341;
  --card: #152847;
  --card-2: #1A3054;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #E8EDF4;
  --text-2: #B7C2D3;
  --muted: #8494AB;
  --accent: #4A9EE8;
  --accent-2: #7CBDF3;
  --accent-deep: #2F7FC6;
  --steel: #C4CDD9;
  --white: #ffffff;
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1200px;
  --gutter: 24px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--white); }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
strong { color: var(--text); font-weight: 600; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.0625rem; }
.lead { font-size: 1.2rem; line-height: 1.65; color: var(--text-2); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

.ic { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; display: inline-block; }

/* Layout ------------------------------------------------------------------ */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--bg-3); }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { margin-bottom: .4em; }
.section__head p { font-size: 1.125rem; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Gear backdrop bands ------------------------------------------------------ */
.bg-gears { position: relative; isolation: isolate; background: var(--bg-2); }
.bg-gears::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/bg-gears.webp") center / cover no-repeat;
  opacity: .28;
}
.bg-gears::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 20, 38, .55), rgba(10, 20, 38, .25) 40%, rgba(10, 20, 38, .7));
}
.bg-gears--strong::before { opacity: .5; }
.bg-gears--strong::after { background: linear-gradient(90deg, rgba(10, 20, 38, .75), rgba(10, 20, 38, .35) 50%, rgba(10, 20, 38, .75)); }
@media (max-width: 680px) { .bg-gears::before { background-image: url("../img/bg-gears-sm.webp"); } }

/* Buttons ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .875rem;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap; line-height: 1.1;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(74, 158, 232, .8); }
.btn--primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(74, 158, 232, .9); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--bg); }
.btn--light:hover { background: var(--steel); color: var(--bg); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: .8rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--accent-2); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

.tag { display: inline-block; font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 4px; vertical-align: middle; line-height: 1.2; }
.tag--soon { background: rgba(255, 190, 80, .14); color: #FFC66A; border: 1px solid rgba(255, 190, 80, .35); }
.tag--accent { background: rgba(74, 158, 232, .16); color: var(--accent-2); border: 1px solid rgba(74, 158, 232, .35); }

/* Top bar ------------------------------------------------------------------- */
.topbar { background: #060D1B; font-size: .82rem; color: var(--muted); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar a { color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar .ic { color: var(--accent-2); }
@media (max-width: 1024px) { .topbar__right span { display: none; } }
@media (max-width: 768px) { .topbar { display: none; } }

/* Header -------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(10, 20, 38, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .3s, background .3s;
}
.header.is-stuck { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); background: rgba(8, 16, 31, .98); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand img { width: 150px; height: auto; transition: width .3s var(--ease); }
.header.is-stuck .brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--text-2);
  padding: 10px 14px; border-radius: 6px; position: relative; transition: color .2s;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header__call { padding: 12px 20px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }
.burger .ic--close { display: none; }
body.nav-open .burger .ic--open { display: none; }
body.nav-open .burger .ic--close { display: block; }

@media (max-width: 1024px) {
  .header__call span { display: none; }
  .header__call { padding: 12px 14px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 80;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 16px var(--gutter) 32px;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav a:not(.btn) { font-size: 1.15rem; padding: 16px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 22px; }
}
@media (max-width: 768px) { :root { --header-h: 72px; } .brand img, .header.is-stuck .brand img { width: 120px; } }

/* Hero (home) --------------------------------------------------------------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h) - 40px); min-height: min(820px, calc(100svh - var(--header-h) - 40px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; filter: contrast(1.1) saturate(1.05); transform: scale(1.04); animation: heroIn 2.2s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 20, 38, .94) 0%, rgba(10, 20, 38, .8) 36%, rgba(10, 20, 38, .25) 68%, rgba(10, 20, 38, .05) 100%),
    linear-gradient(180deg, rgba(10, 20, 38, .15), rgba(10, 20, 38, 0) 40%, rgba(10, 20, 38, .85));
}
.hero__in { padding: clamp(72px, 10vw, 120px) 0 clamp(88px, 11vw, 140px); }
.hero__content { max-width: 680px; }
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .9rem; color: var(--text-2); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .ic { color: var(--accent-2); }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; transform: none; } }
@media (max-width: 768px) { .hero { min-height: 0; } .hero__media img { object-position: 60% 50%; } }

/* Tagline band (client's brand strip) --------------------------------------- */
.tagline { text-align: center; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tagline p { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(.8rem, 1.5vw, 1.05rem); color: var(--steel); }
.tagline p b { color: #fff; font-weight: 800; }

/* Page banner (subpages) ---------------------------------------------------- */
.banner { position: relative; isolation: isolate; overflow: hidden; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 90px); }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 20, 38, .95), rgba(10, 20, 38, .8) 50%, rgba(10, 20, 38, .45)), linear-gradient(180deg, rgba(10, 20, 38, .1), rgba(10, 20, 38, .85)); }
.banner__in { max-width: 780px; }
.banner h1 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: .35em; }
.banner .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; font-family: var(--font-display); font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }

/* Division cards ------------------------------------------------------------ */
.divisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 860px) { .divisions { grid-template-columns: 1fr; } }
.division {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.division:hover { transform: translateY(-6px); border-color: rgba(74, 158, 232, .45); box-shadow: var(--shadow-lg); }
.division__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.division__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.division:hover .division__media img { transform: scale(1.05); }
.division__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 40, 71, 0) 55%, rgba(21, 40, 71, .9)); }
.division__label { position: absolute; left: 24px; bottom: 18px; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 10px; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.division__label .ic { width: 1.25em; height: 1.25em; color: var(--accent-2); stroke-width: 2.2; }
.division__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.division__body h3 { font-size: 1.5rem; margin-bottom: .5em; }
.division__body p { margin-bottom: 1.2em; }
.division__body .btn-row { margin-top: auto; padding-top: 8px; }

/* Check lists --------------------------------------------------------------- */
.checks { display: grid; gap: 10px 22px; }
.checks--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .checks--2 { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--text-2); line-height: 1.5; }
.checks .ic { color: var(--accent-2); width: 1.2em; height: 1.2em; margin-top: .22em; }
.checks li .tag { margin-left: 6px; }
.checks--compact { gap: 8px 18px; font-size: .97rem; }
.checks--light li { color: var(--text); }

/* Feature split rows -------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split__media--duo img { aspect-ratio: 3 / 4; }
.split__media--duo img:last-child { margin-top: 40px; }
.split__badge {
  position: absolute; left: -18px; bottom: 28px; background: var(--card-2); border: 1px solid var(--line-2);
  padding: 16px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); max-width: 260px;
}
.split__badge strong { display: block; font-family: var(--font-display); color: #fff; font-size: .95rem; margin-bottom: 2px; }
.split__badge span { font-size: .85rem; color: var(--text-2); }
@media (max-width: 560px) { .split__badge { left: 12px; bottom: -22px; max-width: none; right: 12px; } .split__media { margin-bottom: 30px; } }
.split__text h2 { margin-bottom: .5em; }
.split__text .checks { margin: 22px 0 6px; }

/* Icon boxes ---------------------------------------------------------------- */
.ibox {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.ibox:hover { transform: translateY(-5px); border-color: rgba(74, 158, 232, .4); box-shadow: var(--shadow); }
.ibox__icon {
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(74, 158, 232, .22), rgba(74, 158, 232, .06));
  border: 1px solid rgba(74, 158, 232, .35); color: var(--accent-2);
}
.ibox__icon .ic { width: 28px; height: 28px; stroke-width: 1.8; }
.ibox h3 { font-size: 1.15rem; margin-bottom: .5em; }
.ibox p { margin: 0; font-size: .98rem; }
.ibox--soon { border-style: dashed; border-color: rgba(255, 190, 80, .35); }
.ibox--soon .ibox__icon { background: rgba(255, 190, 80, .1); border-color: rgba(255, 190, 80, .35); color: #FFC66A; }
.ibox .tag { position: absolute; top: 18px; right: 18px; }

/* Pillars (Maintenance / Engineering / Support) ----------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: rgba(14, 27, 49, .85); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 34px 32px; backdrop-filter: none; }
.pillar__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pillar__head .ic { width: 30px; height: 30px; color: var(--accent-2); stroke-width: 1.8; }
.pillar__head h3 { margin: 0; font-size: 1.35rem; }
.pillar ul li { padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .07); color: var(--text-2); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pillar ul li:last-child { border-bottom: 0; }

/* Photo strips / gallery ---------------------------------------------------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 900px) { .strip { grid-template-columns: repeat(2, 1fr); } }
.gallery__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.gallery__filters button { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; transition: all .25s; }
.gallery__filters button:hover { color: #fff; border-color: #fff; }
.gallery__filters button.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); background: var(--card); aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: .85rem; color: #fff; font-family: var(--font-display); font-weight: 600; background: linear-gradient(180deg, transparent, rgba(6, 13, 27, .9)); opacity: 0; transform: translateY(6px); transition: all .35s var(--ease); }
.gallery__item:hover figcaption, .gallery__item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery__item--tall { grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 520px) { .gallery__item--tall { grid-row: auto; aspect-ratio: 4 / 3; } }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(4, 9, 18, .94); display: flex; align-items: center; justify-content: center; padding: 60px 24px 48px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .8); }
.lightbox__cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-size: .9rem; color: var(--text-2); padding: 0 60px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: var(--accent); }
.lightbox button .ic { width: 22px; height: 22px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__prev .ic { transform: rotate(180deg); }
body.lb-open { overflow: hidden; }

/* Stats-free proof strip: capability chips ---------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { font-family: var(--font-display); font-size: .8rem; font-weight: 600; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(255, 255, 255, .03); }

/* Coming soon --------------------------------------------------------------- */
.soon-note { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 190, 80, .08); border: 1px solid rgba(255, 190, 80, .3); border-radius: var(--radius); padding: 18px 20px; color: var(--text-2); font-size: .97rem; }
.soon-note .ic { color: #FFC66A; width: 1.4em; height: 1.4em; margin-top: .15em; }
.soon-note strong { color: #FFD68A; }

/* CTA band ------------------------------------------------------------------ */
.cta { text-align: center; }
.cta__in { max-width: 760px; margin-inline: auto; }
.cta h2 { margin-bottom: .4em; }
.cta p { font-size: 1.125rem; }
.cta .btn-row { justify-content: center; }
.cta__phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 4px; letter-spacing: -0.01em; }
.cta__phone .ic { color: var(--accent-2); width: .9em; height: .9em; }
.cta__phone:hover { color: var(--accent-2); }

/* Contact ------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cform { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.cform h2 { font-size: 1.6rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--text); }
.field label span { color: var(--accent-2); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: 6px; padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74, 158, 232, .25); }
.field textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.cform__note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.cform__alert { border-radius: 8px; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.cform__alert--ok { background: rgba(80, 200, 130, .12); border: 1px solid rgba(80, 200, 130, .4); color: #BDF3D3; }
.cform__alert--err { background: rgba(240, 100, 100, .12); border: 1px solid rgba(240, 100, 100, .4); color: #FFC9C9; }
.details { display: grid; gap: 18px; }
.detail { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.detail .ic { width: 26px; height: 26px; color: var(--accent-2); stroke-width: 1.8; margin-top: 2px; }
.detail h4 { margin: 0 0 4px; font-size: .95rem; }
.detail p { margin: 0; font-size: .97rem; }
.detail a { color: var(--text); }
.detail a:hover { color: var(--accent-2); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.5) contrast(1.05); }

/* Footer -------------------------------------------------------------------- */
.footer { position: relative; isolation: isolate; background: #070F1E; border-top: 1px solid var(--line); color: var(--text-2); }
.footer__bg { position: absolute; inset: 0; z-index: -1; background: url("../img/bg-gears.webp") center / cover no-repeat; opacity: .12; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: clamp(56px, 7vw, 80px) 0 48px; }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 200px; margin-bottom: 20px; }
.footer__brand p { font-size: .95rem; max-width: 340px; }
.footer__tag { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); }
.footer h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul li { padding: 6px 0; font-size: .95rem; }
.footer ul a { color: var(--text-2); }
.footer ul a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact .ic { color: var(--accent-2); margin-top: .35em; }
.footer__bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: .85rem; color: var(--muted); }
.footer__bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__bottom a { color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom a:hover { color: #fff; }

/* Floating ------------------------------------------------------------------ */
.totop { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; z-index: 60; opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s var(--ease); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--accent-deep); color: #fff; }
.mobile-call { display: none; }
@media (max-width: 768px) {
  .mobile-call { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; font-size: .9rem; padding: 15px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .5); }
  body { padding-bottom: 54px; }
  .totop { bottom: 70px; right: 14px; }
}

/* Reveal -------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Misc ---------------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); }
.two-col { columns: 2; column-gap: 40px; }
@media (max-width: 680px) { .two-col { columns: 1; } }
.prose h3 { margin-top: 1.6em; }
.prose ul { margin: 0 0 1.2em; }
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.info-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .95rem; }
.info-card dt { color: var(--muted); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.info-card dd { margin: 0; color: var(--text); }

/* ==========================================================================
   Variant B — "gears" (Brad's direction): gear-art hero + banners, stronger bands
   ========================================================================== */
.variant-gears .hero__media img { object-position: center 40%; filter: none; transform: none; animation: none; }
.variant-gears .hero::after {
  background:
    linear-gradient(90deg, rgba(10, 20, 38, .88) 0%, rgba(10, 20, 38, .66) 40%, rgba(10, 20, 38, .22) 70%, rgba(10, 20, 38, .15) 100%),
    linear-gradient(180deg, rgba(10, 20, 38, .3), rgba(10, 20, 38, 0) 45%, rgba(10, 20, 38, .88));
}
.variant-gears .hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.variant-gears .hero__content { max-width: 640px; }
.variant-gears .hero__logo { order: 2; display: flex; justify-content: center; }
.variant-gears .hero__logo img { width: min(100%, 460px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .65)) drop-shadow(0 0 40px rgba(74, 158, 232, .15)); }
@media (max-width: 900px) { .variant-gears .hero__in { grid-template-columns: 1fr; } .variant-gears .hero__logo { display: none; } }

.variant-gears .banner__media img { display: none; }
.variant-gears .banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/hero-gears.webp") center 35% / cover no-repeat; }
.variant-gears .banner::after { background: linear-gradient(90deg, rgba(10, 20, 38, .92), rgba(10, 20, 38, .7) 55%, rgba(10, 20, 38, .4)), linear-gradient(180deg, rgba(10, 20, 38, .2), rgba(10, 20, 38, .88)); }
@media (max-width: 680px) { .variant-gears .banner::before { background-image: url("../img/hero-gears-sm.webp"); } }

.variant-gears .bg-gears::before { opacity: .42; }
.variant-gears .bg-gears--strong::before { opacity: .62; }
.variant-gears .tagline.bg-gears::before { opacity: .55; }
.variant-gears .tagline p { color: #fff; }
.variant-gears .footer__bg { opacity: .2; }
.variant-gears .pillar { background: rgba(14, 27, 49, .9); }
.variant-gears .cta { border-top: 1px solid var(--line); }
