/* =====================================================================
   Oklahoma Maintenance Pro — Design System
   "Blueprint Editorial" — deep-navy canvas, technical/draftsman accents,
   bold editorial typography, motion. Brand: #0B0D3F + blue/cyan/green/yellow.
   ===================================================================== */

/* ----- Tokens ----- */
:root {
  /* Brand navy scale */
  --navy-900: #060826;
  --navy-800: #0b0d3f;   /* brand core */
  --navy-700: #11154f;
  --navy-600: #1a2068;
  --navy-500: #272f86;

  /* Accents (from logo window + roof) */
  --blue:        #2c7cc4;
  --blue-bright: #4a97da;
  --cyan:        #b6ddf0;
  --green:       #3ca64e;
  --yellow:      #f2d64a;

  /* Neutral / paper */
  --paper:   #f4f1e9;
  --paper-2: #e9e5d8;
  --ink:     #0c0e2a;
  --ink-2:   #3a3d58;

  /* Functional */
  --bg: var(--navy-800);
  --text: #d6d8f2;
  --text-strong: #f7f8ff;
  --muted: #9aa0cf;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --mark: var(--blue-bright);
  --accent: var(--blue-bright);

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.25rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius: 4px;
  --radius-lg: 14px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--yellow); color: var(--ink); }

/* ----- Blueprint grid backdrop ----- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
}

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
}
.skip-link {
  position: absolute; left: 1rem; top: -120%;
  background: var(--yellow); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 999;
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ----- Typography ----- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--text-strong);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.9rem, 8.5vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.035em;
}
.display .it { font-style: italic; font-weight: 500; }
h2.section-title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 46ch;
}

/* Mono "draftsman" label */
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: currentColor;
  display: inline-block;
}
.kicker.no-rule::before { display: none; }

.text-accent { color: var(--blue-bright); }
.text-yellow { color: var(--yellow); }
.text-green { color: var(--green); }

/* ----- Buttons ----- */
.btn {
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--bd);
  position: relative;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(44, 124, 196, .8);
}
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 18px 40px -14px rgba(74, 151, 218, .9); }

.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffe468; }

.btn-ghost {
  --bd: var(--line-strong);
  color: var(--text-strong);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { --bd: var(--cyan); background: rgba(182, 221, 240, .08); }

.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }

.arrow-cta {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  width: fit-content;
}
.arrow-cta svg { transition: transform .35s var(--ease-out); }
.arrow-cta:hover svg { transform: translateX(5px); }

/* ----- Logo ----- */
.logo { display: inline-flex; align-items: center; gap: .8rem; }
.logo-img { height: 42px; width: auto; display: block; }
.site-header.is-stuck .logo-img { height: 38px; transition: height .4s var(--ease); }
.site-footer .logo-img { height: 58px; }
@media (max-width: 480px) { .logo-img { height: 34px; } }
.logo .mark { width: 52px; height: auto; flex: none; }
.logo .mark .house { stroke: var(--mark); }
.logo .wordmark {
  display: flex; flex-direction: column; line-height: 1;
}
.logo .wordmark .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -.01em;
  color: var(--text-strong);
}
.logo .wordmark .tag {
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .28rem;
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.site-header .header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.15rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: padding .4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(8, 10, 42, .82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header.is-stuck .header-inner { padding-block: .7rem; }

.site-nav { display: flex; align-items: center; gap: 2.4rem; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--muted);
  position: relative;
  padding: .3rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--blue-bright);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1.1rem; }
.header-phone {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-strong);
  display: inline-flex; align-items: center; gap: .45rem;
  white-space: nowrap;
}
.header-phone svg { width: 1rem; color: var(--blue-bright); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  position: relative;
  z-index: 110;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute;
  width: 20px; height: 2px; background: var(--text-strong);
  left: 13px; transition: transform .35s var(--ease), opacity .25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- Marquee ----- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--navy-900);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy-900), transparent 8%, transparent 92%, var(--navy-900));
}
.marquee-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 1rem 2.2rem;
  display: inline-flex; align-items: center; gap: 2.2rem;
}
.marquee-track span b { color: var(--text-strong); font-weight: 600; }
.marquee-track .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex: none; align-self: center; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(8rem, 16vh, 11rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,42,.55) 0%, rgba(8,10,42,.35) 35%, rgba(11,13,63,.92) 88%, var(--navy-800) 100%),
    linear-gradient(90deg, rgba(11,13,63,.85) 0%, rgba(11,13,63,.2) 60%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(74,151,218,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,151,218,.10) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent 30%, #000 100%);
          mask-image: linear-gradient(transparent 30%, #000 100%);
}
.hero-inner { width: 100%; display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.hero-copy { max-width: 60rem; }
.hero .display { color: #fff; }
.hero-meta {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
.hero-meta .pin { color: var(--muted); }
.hero-lead { max-width: 52ch; margin-top: 1.6rem; color: #d8dbf3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

/* Hero spec card (floating, technical) */
.hero-spec {
  position: relative;
  margin-top: 2.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(8, 10, 42, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.4rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 720px;
}
.hero-spec .cell .n {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: #fff; line-height: 1;
}
.hero-spec .cell .n .suf { color: var(--blue-bright); font-size: .55em; }
.hero-spec .cell .l {
  font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-top: .5rem;
}
.hero-spec .cell:not(:last-child) { border-right: 1px solid var(--line); padding-right: 1rem; }
@media (max-width: 620px) {
  .hero-spec { grid-template-columns: 1fr 1fr; }
  .hero-spec .cell:nth-child(2n) { border-right: 0; }
}

.scroll-hint {
  position: absolute; left: var(--gutter); bottom: 1.4rem; z-index: 2;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: .6rem;
}
.scroll-hint .bar { width: 1px; height: 30px; background: linear-gradient(var(--blue-bright), transparent); animation: drop 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes drop { 0%,100%{ transform: scaleY(.3); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ----- Sections ----- */
.section { padding-block: var(--section-y); position: relative; z-index: 1; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }

.panel-light {
  background: var(--paper);
  color: var(--ink-2);
  --text: #45485f;
  --text-strong: var(--ink);
  --muted: #6a6d86;
  --line: rgba(12, 14, 42, .12);
  --line-strong: rgba(12, 14, 42, .22);
  --mark: var(--blue);
}
.panel-light::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(12,14,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,14,42,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 80%);
          mask-image: radial-gradient(100% 100% at 50% 0%, #000, transparent 80%);
}
.panel-light h2, .panel-light h3 { color: var(--ink); }
.panel-light .kicker { color: var(--blue); }

.panel-darker { background: var(--navy-900); }

/* Section heads */
.sec-head { display: grid; gap: 1.3rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 2rem 3rem; }
.sec-head .lead { margin-top: .2rem; }
@media (max-width: 820px) { .sec-head.split { grid-template-columns: 1fr; } }

/* Registration-mark corner decoration */
.regmark { position: relative; }
.regmark::before, .regmark::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  border: 1.5px solid var(--blue-bright); pointer-events: none; opacity: .55;
}
.regmark::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.regmark::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ----- Intro / two-track ----- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .tracks { grid-template-columns: 1fr; } }
.track {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: linear-gradient(160deg, rgba(255,255,255,.04), transparent);
  position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease-out), background .4s;
}
.track::after {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(74,151,218,.18), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.track:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.track:hover::after { opacity: 1; }
.track .tnum { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; color: var(--blue-bright); }
.track h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1rem 0 .8rem; }
.track p { margin-bottom: 1.4rem; color: var(--text); }

/* ----- Services index (interactive) ----- */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  border-bottom: 1px solid var(--line);
  position: relative;
}
.svc-head {
  width: 100%; text-align: left;
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2.1rem) 0;
  transition: padding-left .4s var(--ease-out);
}
.svc-head .idx { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); transition: color .3s; }
.svc-head .svc-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  letter-spacing: -.025em; color: var(--text-strong);
  transition: color .3s, transform .4s var(--ease-out);
}
.svc-head .plus {
  width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%;
  position: relative; flex: none; transition: background .35s, border-color .35s, transform .45s var(--ease-out);
}
.svc-head .plus::before, .svc-head .plus::after {
  content: ""; position: absolute; background: currentColor; left: 50%; top: 50%;
  transform: translate(-50%, -50%); transition: transform .4s var(--ease);
}
.svc-head .plus::before { width: 14px; height: 1.5px; }
.svc-head .plus::after { width: 1.5px; height: 14px; }
.svc-head:hover .idx { color: var(--blue-bright); }
.svc-head:hover .svc-name { transform: translateX(8px); }
.svc-head:hover .plus { border-color: var(--blue-bright); color: var(--blue-bright); }

.svc.open .svc-head .svc-name { color: var(--blue-bright); }
.svc.open .plus { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(135deg); }

.svc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease-out);
}
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body-inner { overflow: hidden; }
.svc-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem;
  padding: 0 0 2.4rem 5.5rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s .1s, transform .5s .1s var(--ease-out);
}
.svc.open .svc-panel { opacity: 1; transform: none; }
.svc-panel p { color: var(--text); margin-bottom: 1.2rem; max-width: 50ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.svc-tags li {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .03em;
  padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: 100px;
  color: var(--text); background: rgba(255,255,255,.03);
}
.svc-figure { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/11; position: relative; border: 1px solid var(--line); }
.svc-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.svc.open .svc-figure img { transform: scale(1.04); }
@media (max-width: 760px) {
  .svc-head { grid-template-columns: 2.4rem 1fr auto; gap: 1rem; }
  .svc-panel { grid-template-columns: 1fr; padding-left: 0; padding-bottom: 2rem; }
  .svc-head:hover .svc-name { transform: none; }
}

/* ----- Stats band ----- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy-800); padding: clamp(1.6rem, 3vw, 2.6rem); }
.panel-light .stat { background: var(--paper); }
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--text-strong);
  display: flex; align-items: baseline; gap: .1em;
}
.stat .num .suf { color: var(--blue-bright); font-size: .6em; }
.stat .lbl { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ----- Feature cards ----- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem; position: relative;
  transition: transform .4s var(--ease-out), border-color .4s, background .4s;
  background: linear-gradient(170deg, rgba(255,255,255,.03), transparent 60%);
}
.feat:hover { transform: translateY(-5px); border-color: var(--blue); }
.feat .fnum { font-family: var(--font-mono); font-size: .72rem; color: var(--blue-bright); letter-spacing: .1em; }
.feat h3 { font-size: 1.2rem; margin: 1.1rem 0 .6rem; }
.feat p { font-size: .96rem; color: var(--text); }

/* ----- Gallery ----- */
.gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gal figure {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.gal figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gal figure:nth-child(4) { grid-column: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gal figure:hover img { transform: scale(1.06); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.2rem;
  background: linear-gradient(transparent, rgba(6,8,38,.92));
  transform: translateY(8px); opacity: .92; transition: transform .4s var(--ease-out), opacity .4s;
}
.gal figure:hover figcaption { transform: none; opacity: 1; }
.gal .tag {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow);
}
.gal figcaption h3 { font-size: 1.1rem; margin-top: .35rem; color: #fff; }
.gal figcaption p { font-size: .85rem; color: #c7cae8; margin-top: .2rem; }
@media (max-width: 880px) {
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .gal figure:nth-child(1) { grid-column: span 2; }
  .gal figure:nth-child(4) { grid-column: span 1; }
}

/* ----- Reviews ----- */
.reviews-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: start; }
@media (max-width: 920px) { .reviews-rail { grid-template-columns: 1fr; } }
.review {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.8rem; background: linear-gradient(170deg, rgba(255,255,255,.04), transparent);
  display: flex; flex-direction: column; gap: 1rem; position: relative;
  transition: transform .4s var(--ease-out), border-color .4s;
}
.review:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.review .quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--blue); height: 1.1rem; }
.stars { display: inline-flex; gap: .15rem; color: var(--yellow); }
.stars svg { width: 1.05rem; height: 1.05rem; }
.review p { color: var(--text); font-size: .98rem; }
.review .who { margin-top: auto; display: flex; align-items: center; gap: .75rem; padding-top: .6rem; }
.review .who .av {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--navy-600); color: #fff; font-size: .95rem; border: 1px solid var(--line-strong);
}
.review .who .av svg { width: 18px; height: 18px; }
.review .who .av-fb { background: #1877f2; color: #fff; border-color: transparent; }
.review .who .nm { font-weight: 700; color: var(--text-strong); font-size: .95rem; }
.review .who .role { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.panel-light .review .who .av { background: var(--blue); }

/* big featured review */
.review-feature {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.review-feature .big-q {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em;
  color: var(--text-strong);
}
.review-feature .big-q .hl { color: var(--blue-bright); }
.review-feature .stamp {
  width: clamp(120px, 16vw, 180px); aspect-ratio: 1; flex: none;
  border: 1.5px solid var(--blue-bright); border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 1rem;
  position: relative;
}
.review-feature .stamp .r { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: #fff; }
.review-feature .stamp .t { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
@media (max-width: 700px) { .review-feature { grid-template-columns: 1fr; text-align: left; } }

/* ----- Forms ----- */
.form-wrap {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: rgba(255,255,255,.03); padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.panel-light .form-wrap { background: #fff; box-shadow: 0 30px 60px -40px rgba(12,14,42,.4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label, .field-label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text-strong);
  background: rgba(0,0,0,.18); border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: .85rem 1rem; width: 100%;
  transition: border-color .25s, background .25s;
}
.panel-light .field input, .panel-light .field select, .panel-light .field textarea {
  background: var(--paper); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); background: rgba(0,0,0,.28); }
.panel-light .field input:focus, .panel-light .field select:focus, .panel-light .field textarea:focus { background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0cf' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.form-hint { font-size: .82rem; color: var(--muted); }
.checkbox { flex-direction: row; align-items: flex-start; gap: .7rem; }
.checkbox input { width: auto; margin-top: .25rem; accent-color: var(--blue); }
.checkbox span { font-size: .9rem; color: var(--text); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-family: var(--font-mono); font-size: .82rem; min-height: 1.2rem; margin-top: .4rem; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #ff8a8a; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* Star rating widget */
.rating { display: inline-flex; flex-direction: row-reverse; gap: .25rem; }
.rating input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating label { cursor: pointer; color: var(--line-strong); transition: color .15s, transform .15s; line-height: 0; }
.rating label svg { width: 2rem; height: 2rem; }
.rating label:hover, .rating label:hover ~ label,
.rating input:checked ~ label { color: var(--yellow); }
.rating label:hover { transform: scale(1.12); }

/* ----- Contact aside ----- */
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem;
  background: linear-gradient(170deg, rgba(74,151,218,.08), transparent);
}
.contact-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-row { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 1.1rem; color: var(--blue-bright); flex: none; }
.contact-row .v { font-weight: 600; color: var(--text-strong); }
.contact-row .k { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ----- Areas ----- */
.areas { display: flex; flex-wrap: wrap; gap: .7rem; }
.areas li {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em;
  padding: .7rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 100px;
  color: var(--text-strong); display: inline-flex; align-items: center; gap: .55rem;
  transition: border-color .3s, background .3s, transform .3s;
}
.areas li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.areas li:hover { border-color: var(--blue-bright); transform: translateY(-2px); }

/* ----- About ----- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }
.about-panel { border-left: 2px solid var(--blue); padding-left: 1.8rem; display: grid; gap: 1.1rem; }
.about-panel h3 { font-size: 1.3rem; }
.about-sign { font-family: var(--font-display); font-size: 1.4rem; font-style: italic; color: var(--cyan); }
.about-fig { position: relative; }
.about-fig img { border-radius: var(--radius-lg); border: 1px solid var(--line); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about-badge {
  position: absolute; left: -1rem; bottom: -1rem;
  background: var(--yellow); color: var(--ink); border-radius: var(--radius-lg);
  padding: 1rem 1.3rem; font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); max-width: 240px;
}
.about-badge span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: .3rem; font-weight: 500; }

/* ----- Big CTA ----- */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.8rem);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(74,151,218,.22), transparent 55%),
    linear-gradient(120deg, var(--navy-700), var(--navy-900));
}
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-inner p { color: #cdd0ee; margin-top: .8rem; max-width: 44ch; }
.cta-actions { display: flex; flex-direction: column; gap: .9rem; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ----- Footer ----- */
.site-footer { background: var(--navy-900); border-top: 1px solid var(--line); position: relative; z-index: 1; padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h3 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--muted); margin-top: 1.2rem; max-width: 36ch; font-size: .95rem; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a, .footer-links li { color: var(--text); font-size: .95rem; transition: color .25s; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line);
  padding-block: 1.8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted);
}
.footer-bottom a:hover { color: var(--blue-bright); }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ----- Legal / prose pages ----- */
.page-head { padding-top: 9rem; padding-bottom: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--text); margin-bottom: 1rem; line-height: 1.7; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ----- 404 ----- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter) 4rem; }
.nf .code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 16rem); line-height: .85; color: var(--blue-bright); letter-spacing: -.04em; }

/* ----- Gallery page filters ----- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--muted);
  transition: all .25s;
}
.filter-btn.active, .filter-btn:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.panel-light .filter-btn { color: var(--ink-2); }
.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 820px) { .grid-gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid-gallery { grid-template-columns: 1fr; } }
.grid-gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; border: 1px solid var(--line); transition: opacity .4s, transform .4s; }
.grid-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.grid-gallery figure:hover img { transform: scale(1.05); }
.grid-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(transparent, rgba(6,8,38,.9)); }
.grid-gallery .tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.grid-gallery h3 { font-size: 1rem; color: #fff; margin-top: .3rem; }
.grid-gallery figure.hide { display: none; }
.gallery-empty { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }

/* Before / after slider */
.ba-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4/3; border: 1px solid var(--line); }
.ba-slider.hide { display: none; }
.ba-wrap { position: absolute; inset: 0; }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba-wrap .ba-after { clip-path: inset(0 0 0 50%); }
.ba-label { position: absolute; top: .7rem; font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; font-weight: 600; padding: .25rem .55rem; border-radius: 100px; color: #fff; pointer-events: none; }
.ba-l-before { left: .7rem; background: rgba(8,10,42,.7); }
.ba-l-after { right: .7rem; background: var(--blue); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; pointer-events: none; transform: translateX(-1px); }
.ba-divider::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--navy-800); display: grid; place-items: center; font-size: .8rem; }
.ba-slider figcaption { position: absolute; inset: auto 0 0 0; padding: 1rem; background: linear-gradient(transparent, rgba(6,8,38,.92)); pointer-events: none; }
.ba-slider .tag { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.ba-slider h3 { font-size: 1rem; color: #fff; margin-top: .3rem; }

/* Modal (brochure viewer) */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: clamp(.8rem, 3vw, 2rem); background: rgba(6, 8, 38, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-overlay.open { display: flex; animation: modal-in .25s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--navy-800); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); width: min(940px, 100%); max-height: 94vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 50px 90px -30px #000; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.05rem; }
.modal-actions { display: flex; gap: .6rem; align-items: center; }
.modal-actions .btn { padding: .6rem 1rem; }
.modal-close { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--radius); position: relative; flex: none; transition: border-color .2s, background .2s; }
.modal-close:hover { border-color: var(--cyan); background: rgba(182,221,240,.08); }
.modal-close::before, .modal-close::after { content: ""; position: absolute; width: 16px; height: 2px; background: var(--text-strong); top: 50%; left: 50%; }
.modal-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.modal-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.modal-body { flex: 1; min-height: 0; background: #2a2c36; }
.modal-body iframe { width: 100%; height: min(76vh, 1000px); border: 0; display: block; }
@media (max-width: 600px) { .modal-body iframe { height: 68vh; } .modal-head h3 { font-size: .9rem; } }

/* ----- Scroll reveal (gated on .js so no-JS shows content) ----- */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ----- Mobile nav ----- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 105;
    background: rgba(6, 8, 38, .97);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 2rem; padding: 6rem var(--gutter) 3rem;
    transform: translateX(100%); transition: transform .5s var(--ease-out);
  }
  .nav-open .site-nav { transform: none; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
  .nav-links a { font-size: 1.5rem; font-family: var(--font-display); color: var(--text-strong); letter-spacing: -.01em; }
  .nav-links a::after { display: none; }
  .header-actions { flex-direction: column; align-items: flex-start; gap: 1.2rem; width: 100%; }
  .header-actions .btn { width: 100%; justify-content: center; }
}

/* Utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; } .mx-auto { margin-inline: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; } }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
