/* ==========================================================================
   Van Conversion Cardiff — Design System
   Dark, premium, automotive. Brand: black / baby blue / white.
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  /* Surfaces (cool near-blacks with rhythm) */
  --bg:          #0B0E12;
  --bg-2:        #0E141B;
  --bg-3:        #10171F;
  --surface:     #131A22;
  --surface-2:   #18212B;
  --surface-3:   #1E2833;

  /* Lines */
  --line:        rgba(255,255,255,.09);
  --line-2:      rgba(255,255,255,.15);

  /* Text */
  --text:        #EEF3F7;
  --muted:       #A7B2BE;
  --faint:       #74828F;

  /* Baby blue accent family */
  --blue:        #8FD0EA;
  --blue-bright: #BCE6F6;
  --blue-deep:   #2C6E8A;
  --blue-ink:    #06202B; /* dark text on blue */
  --blue-glow:   rgba(143,208,234,.16);

  /* Feedback */
  --danger:      #ff8a8a;
  --danger-bg:   rgba(255,90,90,.10);
  --success:     #8be0b6;

  /* Radii — restrained, automotive */
  --r-xs: 6px;
  --r-sm: 9px;
  --r:    13px;
  --r-lg: 18px;
  --r-pill: 100px;

  /* Shadows */
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 10px 30px -12px rgba(0,0,0,.7);
  --sh-3: 0 30px 60px -20px rgba(0,0,0,.75);
  --sh-blue: 0 12px 34px -12px rgba(143,208,234,.45);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing rhythm */
  --pad-x: clamp(1.15rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --maxw: 1200px;
  --maxw-wide: 1360px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;

  --nav-h: 74px;
}

/* ---- Reset / base ---- */
*, *::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.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--blue); color: var(--blue-ink); padding: .7rem 1.2rem;
  border-radius: var(--r-sm); font-weight: 600; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #fff;
}
h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.01em; }
h4 { font-size: 1.08rem; font-weight: 700; }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--blue); opacity: .8; border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.text-blue { color: var(--blue); }
.text-white { color: #fff; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.container-wide { max-width: var(--maxw-wide); }
.container-narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }
.center { text-align: center; }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: .7rem; }
.section-head p { margin-top: 1rem; }

.hr-line { height: 1px; background: var(--line); border: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  padding: .95rem 1.6rem; border-radius: var(--r-sm);
  transition: transform .18s var(--ease), background .2s, box-shadow .25s, border-color .2s, color .2s;
  min-height: 52px; text-align: center;
  border: 1px solid transparent; will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-primary { background: var(--blue); color: var(--blue-ink); box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,.04); color: #fff; border-color: var(--line-2); }
.btn-secondary:hover { background: rgba(255,255,255,.09); border-color: var(--blue); transform: translateY(-2px); }
.btn-ghost { color: var(--text); padding-inline: .4rem; }
.btn-ghost:hover { color: var(--blue); }
.btn-whatsapp { background: #25D366; color: #06251a; }
.btn-whatsapp:hover { background: #33e074; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.05rem; min-height: 58px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--blue);
  font-family: var(--font-display); transition: gap .2s;
}
.arrow-link svg { width: 1.1em; height: 1.1em; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---- Top bar (utility) ---- */
.topbar {
  background: var(--bg-3); border-bottom: 1px solid var(--line);
  font-size: .84rem; color: var(--muted);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar a { color: var(--muted); transition: color .2s; }
.topbar a:hover { color: var(--blue); }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar .tb-item svg { width: 15px; height: 15px; color: var(--blue); }
.topbar .tb-right { display: none; }
@media (max-width: 720px) { .topbar .tb-left .tb-area { display: none; } }

/* ---- Header / Nav ---- */
.site-header { position: sticky; top: 0; z-index: 100; }
.nav {
  background: rgba(11,14,18,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; }
.brand img { height: 38px; width: auto; }
@media (max-width: 480px) { .brand img { height: 32px; } }
.brand .brand-fallback { font-family: var(--font-display); font-weight: 800; letter-spacing: -.01em; color: #fff; font-size: 1.15rem; }

.nav-links { display: flex; align-items: center; gap: .3rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: .96rem; color: var(--muted);
  padding: .55rem .85rem; border-radius: var(--r-xs); transition: color .2s, background .2s; position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .28rem; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-tel { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: #fff; padding: .5rem .4rem; }
.nav-tel svg { width: 18px; height: 18px; color: var(--blue); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: var(--r-xs); border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }

/* Mobile nav */
@media (max-width: 960px) {
  .nav-links, .nav-cta .nav-tel, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: var(--bg);
    border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease);
    z-index: 99; overflow-y: auto; padding: 1.2rem var(--pad-x) 2rem; display: flex; flex-direction: column;
  }
  body.menu-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-toggle .icon-open { display: none; }
  body.menu-open .nav-toggle .icon-close { display: block; }
  .mobile-menu a.m-link {
    font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff;
    padding: 1rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  }
  .mobile-menu a.m-link span { color: var(--blue); }
  .mobile-menu .m-actions { margin-top: 1.5rem; display: grid; gap: .75rem; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,18,.72) 0%, rgba(11,14,18,.55) 40%, rgba(11,14,18,.82) 100%),
    linear-gradient(90deg, rgba(11,14,18,.9) 0%, rgba(11,14,18,.35) 55%, rgba(11,14,18,.15) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero-content { max-width: 720px; }
.hero h1 { margin-top: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .hl { color: var(--blue); }
.hero .lead { margin-top: 1.4rem; max-width: 560px; color: #d7dee6; }
.hero .btn-row { margin-top: 2rem; }
.hero-scroll { margin-top: 2.6rem; display: inline-flex; align-items: center; gap: .6rem; color: var(--faint); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-display); }

/* ---- Trust bar ---- */
.trustbar { background: var(--bg-3); border-block: 1px solid var(--line); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; align-items: center; justify-content: center; gap: .7rem; text-align: left;
  padding: 1.15rem 1rem; position: relative;
}
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.trust-item svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.trust-item .t-num { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.15rem; line-height: 1; }
.trust-item .t-label { font-size: .82rem; color: var(--muted); line-height: 1.25; }
@media (max-width: 820px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3)::before, .trust-item:nth-child(2)::before { }
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(odd)::before { display: none; }
}

/* ---- Generic grids ---- */
.grid { display: grid; gap: 1.4rem; }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- Split feature ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--sh-3); width: 100%; }
.split-media.tall img { aspect-ratio: 4/5; object-fit: cover; }
.split-body h2 { margin-bottom: 1.1rem; }
.split-body .lead { margin-bottom: 1.4rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split.reverse .split-media { order: 0; }
}

/* media badge (floating stat over image) */
.media-badge {
  position: absolute; left: -14px; bottom: -14px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 1rem 1.2rem; box-shadow: var(--sh-2); max-width: 220px;
}
.media-badge .mb-num { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--blue); line-height: 1; }
.media-badge .mb-label { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
@media (max-width: 900px) { .media-badge { left: 12px; bottom: 12px; } }

/* ---- Cards ---- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem; transition: transform .28s var(--ease), border-color .28s, background .28s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.card .card-icon {
  width: 50px; height: 50px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  background: var(--blue-glow); color: var(--blue); margin-bottom: 1.1rem; border: 1px solid rgba(143,208,234,.2);
}
.card .card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; font-size: 1.22rem; }
.card p { font-size: .96rem; }
.card .card-link { margin-top: 1.1rem; }

/* service card with image */
.svc-card {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  min-height: 300px; display: flex; align-items: flex-end; isolation: isolate;
  transition: transform .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.svc-card:hover img { transform: scale(1.06); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,14,18,0) 30%, rgba(11,14,18,.55) 62%, rgba(11,14,18,.94) 100%); }
.svc-card .svc-body { padding: 1.5rem; width: 100%; }
.svc-card h3 { font-size: 1.3rem; }
.svc-card p { font-size: .92rem; margin-top: .35rem; color: #cdd6de; }
.svc-card .svc-tag { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.svc-card.feature { min-height: 420px; }
@media (min-width: 700px) { .svc-card.span-2 { grid-column: span 2; } }

/* ---- Stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stat .s-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,4vw,2.8rem); color: #fff; line-height: 1; }
.stat .s-num .plus { color: var(--blue); }
.stat .s-label { color: var(--muted); margin-top: .5rem; font-size: .92rem; }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; } }

/* ---- Steps ---- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.step-num {
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--blue); background: var(--blue-glow); border: 1px solid rgba(143,208,234,.25);
}
.step h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.step p { font-size: .94rem; }

/* ---- Why / feature list ---- */
.feature-list { display: grid; gap: 1.1rem; }
.feature-list li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.feature-list .fi-check {
  width: 28px; height: 28px; border-radius: 8px; background: var(--blue-glow); color: var(--blue);
  display: grid; place-items: center; flex-shrink: 0; border: 1px solid rgba(143,208,234,.2);
}
.feature-list .fi-check svg { width: 16px; height: 16px; }
.feature-list h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.005em; color: #fff; margin-bottom: .15rem; }
.feature-list p { font-size: .92rem; }

/* ---- Reviews ---- */
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; height: 100%; display: flex; flex-direction: column; }
.stars { display: inline-flex; gap: 3px; color: var(--blue); margin-bottom: .9rem; }
.stars svg { width: 18px; height: 18px; }
.review-card blockquote { color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.review-card .rc-foot { margin-top: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.review-card .rc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--blue); border: 1px solid var(--line-2); }
.review-card .rc-name { font-weight: 600; color: #fff; font-size: .95rem; }
.review-card .rc-meta { font-size: .8rem; color: var(--faint); }
.placeholder-tag {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #ffca7a; background: rgba(255,180,80,.12); border: 1px dashed rgba(255,180,80,.5);
  padding: .3rem .6rem; border-radius: 6px; margin-bottom: 1rem;
}

/* ---- Before / After slider ---- */
.ba { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); user-select: none; touch-action: pan-y; aspect-ratio: 4 / 3; container-type: inline-size; background: var(--surface); }
.ba img { pointer-events: none; }
.ba .ba-after { position: absolute; inset: 0; }
.ba .ba-after img { width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; width: 50%; }
.ba .ba-before img { width: 100cqw; height: 100%; max-width: none; object-fit: cover; }
.ba .ba-before picture { display: block; height: 100%; }
.ba .ba-label { position: absolute; top: 12px; font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--r-pill); background: rgba(11,14,18,.7); color: #fff; backdrop-filter: blur(4px); }
.ba .ba-label.before { left: 12px; }
.ba .ba-label.after { right: 12px; color: var(--blue); }
.ba .ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--blue); transform: translateX(-50%); }
.ba .ba-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--blue-ink); display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0,0,0,.5); }
.ba .ba-grip svg { width: 22px; height: 22px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---- Gallery ---- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.filter-btn {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted);
  padding: .55rem 1.05rem; min-height: 44px; display: inline-flex; align-items: center;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); transition: all .2s;
}
.filter-btn:hover { color: #fff; border-color: var(--blue); }
.filter-btn.active { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }

.masonry { columns: 3; column-gap: 1.1rem; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 540px) { .masonry { columns: 1; } }
.masonry .tile { break-inside: avoid; margin-bottom: 1.1rem; }
.tile {
  position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  cursor: pointer; display: block; width: 100%; background: var(--surface);
}
.tile img { width: 100%; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.6)); opacity: 0; transition: opacity .3s; }
.tile:hover::after { opacity: 1; }
.tile .tile-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; z-index: 1; opacity: 0; transform: translateY(6px); transition: all .3s; }
.tile:hover .tile-cap { opacity: 1; transform: translateY(0); }
.tile .tile-cap .tc-tag { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.tile .tile-cap .tc-title { color: #fff; font-weight: 600; font-size: .95rem; }
.tile .tile-badge { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(11,14,18,.75); color: var(--blue); padding: .28rem .55rem; border-radius: 6px; backdrop-filter: blur(4px); }
.is-hidden { display: none !important; }

/* Uniform preview tiles inside a grid (homepage / service "recent work" rows) —
   forces mixed portrait/landscape photos to fill an equal box instead of
   sitting at the top of a taller cell. The masonry gallery is unaffected. */
.grid .tile { aspect-ratio: 4 / 3; }
.grid .tile picture { display: block; width: 100%; height: 100%; }
.grid .tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Build-stage cards (project spotlight) ---- */
.stage-num {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: var(--blue-ink);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.stage-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem;
  background: linear-gradient(180deg, rgba(11,14,18,0), rgba(11,14,18,.92));
}
.stage-label .sl-title { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.stage-label .sl-sub { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.ba-caption { text-align: center; color: var(--faint); font-size: .88rem; margin-top: .9rem; }

/* ---- Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,8,11,.94); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.open { display: flex; }
.lightbox-img { max-width: min(1100px, 94vw); max-height: 84vh; border-radius: var(--r); box-shadow: var(--sh-3); }
.lightbox-cap { position: absolute; bottom: max(1.2rem, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; padding-inline: 1rem; }
.lightbox-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-2); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox-close:hover, .lb-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-close { top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); }
.lightbox-close svg, .lb-nav svg { width: 24px; height: 24px; }
.lb-nav.prev { left: clamp(.5rem,2vw,2rem); top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: clamp(.5rem,2vw,2rem); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-nav { width: 44px; height: 44px; } }

/* ---- CTA band ---- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); }
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,12,16,.95) 30%, rgba(9,12,16,.6) 100%); }
.cta-band-inner { position: relative; z-index: 1; padding: clamp(2.4rem, 5vw, 4rem); max-width: 640px; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { margin-bottom: 1.7rem; color: #d7dee6; }

/* full-bleed CTA section */
.cta-final { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }

/* ---- Areas / chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--text); padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); }
.chip.primary { background: var(--blue-glow); color: var(--blue); border-color: rgba(143,208,234,.3); }
a.chip { transition: color .2s, border-color .2s, background .2s; }
a.chip:hover { color: var(--blue); border-color: var(--blue); background: var(--surface-2); }

/* Compact service chips row (homepage Services) */
.svc-chips { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; margin-top: 1.6rem; }
.svc-chips-label { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--faint); }

/* Reduced vertical padding for tighter sections (e.g. process) */
.section-compact { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

/* ---- FAQ ---- */
.faq { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 1.05rem; }
.faq-q .faq-icon { flex-shrink: 0; width: 24px; height: 24px; color: var(--blue); transition: transform .3s; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.35rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }

/* ---- Forms ---- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--sh-2); }
.form-steps-head { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.8rem; }
.fs-dot { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; position: relative; }
.fs-dot::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.fs-dot.done::after { width: 100%; }
.fs-dot.active::after { width: 100%; }
.fs-count { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--faint); white-space: nowrap; }

.form-step { display: none; animation: fadeStep .35s var(--ease); border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.form-step.active { display: block; }
.step-legend h3:focus { outline: none; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-step > .step-legend { margin-bottom: 1.4rem; }
.step-legend h2 { font-size: 1.4rem; }
.step-legend p { font-size: .92rem; margin-top: .3rem; }

.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; color: var(--text); margin-bottom: .45rem; font-size: .92rem; }
.field .req { color: var(--blue); }
.field .hint { font-size: .82rem; color: var(--faint); margin-top: .4rem; }
.input, .textarea, .select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: .9rem 1rem; color: #fff; transition: border-color .2s, box-shadow .2s; min-height: 52px;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .84rem; margin-top: .4rem; align-items: center; gap: .35rem; }
.field-error.show { display: flex; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* option chips (radio/checkbox as cards) */
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.opt {
  position: relative; display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; cursor: pointer;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: all .18s; min-height: 52px;
  font-weight: 500; font-size: .95rem;
}
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt .opt-box { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; transition: all .18s; }
.opt .opt-box svg { width: 14px; height: 14px; color: var(--blue-ink); opacity: 0; transform: scale(.6); transition: all .18s; }
.opt[data-type="radio"] .opt-box { border-radius: 50%; }
.opt:hover { border-color: var(--blue); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-glow); }
.opt:has(input:checked) .opt-box { background: var(--blue); border-color: var(--blue); }
.opt:has(input:checked) .opt-box svg { opacity: 1; transform: scale(1); }
.opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.form-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form-nav .btn-back { visibility: hidden; }
.form-nav.has-back .btn-back { visibility: visible; }

.form-status { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--r-sm); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.error { background: var(--danger-bg); border: 1px solid rgba(255,90,90,.3); color: var(--danger); }

.form-success { display: none; text-align: center; padding: 1.5rem 0; }
.form-success.show { display: block; animation: fadeStep .4s var(--ease); }
.form-success .fs-check { width: 74px; height: 74px; border-radius: 50%; background: rgba(139,224,182,.14); color: var(--success); display: grid; place-items: center; margin: 0 auto 1.3rem; border: 1px solid rgba(139,224,182,.3); }
.form-success .fs-check svg { width: 40px; height: 40px; }
.form-summary { text-align: left; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 1.1rem 1.3rem; margin: 1.4rem 0; }
.form-summary dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-family: var(--font-display); font-weight: 700; margin-top: .8rem; }
.form-summary dt:first-child { margin-top: 0; }
.form-summary dd { color: var(--text); margin-top: .15rem; }

.dev-note { border: 1px dashed rgba(255,180,80,.5); background: rgba(255,180,80,.07); border-radius: var(--r-sm); padding: 1rem 1.2rem; font-size: .86rem; color: #ffca7a; margin-top: 1.2rem; }
.dev-note strong { color: #ffd89a; }

/* ---- Contact methods ---- */
.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, transform .2s; }
.contact-method:hover { border-color: var(--line-2); transform: translateX(3px); }
.contact-method .cm-icon { width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; background: var(--blue-glow); color: var(--blue); border: 1px solid rgba(143,208,234,.2); }
.contact-method .cm-icon svg { width: 24px; height: 24px; }
.contact-method .cm-label { display: block; font-size: .8rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-display); font-weight: 700; margin-bottom: 2px; }
.contact-method .cm-value { display: block; color: #fff; font-weight: 600; font-size: 1.05rem; }
.contact-method.wa .cm-icon { background: rgba(37,211,102,.14); color: #36d977; border-color: rgba(37,211,102,.25); }

/* ---- Page hero (interior pages) ---- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img, .page-hero-video { width: 100%; height: 100%; object-fit: cover; }
.page-hero-video { display: block; background: var(--bg); }
/* Left-biased overlay: keeps the copy readable on the left while letting far
   more of the photo/video show on the right, so heroes don't read as a dark,
   zoomed-in slice. */
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,14,18,.94) 0%, rgba(11,14,18,.82) 40%, rgba(11,14,18,.55) 72%, rgba(11,14,18,.42) 100%),
    linear-gradient(0deg, rgba(11,14,18,.55), rgba(11,14,18,0) 42%);
}
@media (max-width: 760px) {
  /* Narrow screens: fall back to a mostly-vertical scrim for legibility. */
  .page-hero-media::after {
    background: linear-gradient(180deg, rgba(11,14,18,.72) 0%, rgba(11,14,18,.82) 100%);
  }
}
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(3rem, 7vw, 5.5rem); }
/* Tablet+: centre the copy over the media. */
@media (min-width: 900px) {
  .page-hero { display: flex; align-items: center; min-height: clamp(460px, 60vh, 620px); }
}
/* Desktop art direction: container matches the wide 2.84:1 desktop asset swapped
   in via <source media="(min-width:1024px)">, so `cover` shows the whole prepared
   crop. Height is width-driven (floored/capped), never excessively tall. Mobile
   (<1024px) keeps the original 4:3 images and heights untouched. */
@media (min-width: 1024px) {
  .page-hero { aspect-ratio: 2.8444; min-height: 460px; max-height: 880px; }
  .page-hero-media img, .page-hero-video { object-position: center; }
}
.page-hero .breadcrumb { margin-bottom: 1.1rem; }
.page-hero h1 { max-width: 900px; }
.page-hero p { max-width: 620px; margin-top: 1.2rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; color: var(--faint); }
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { opacity: .5; }

/* ---- Footer ---- */
.site-footer { background: #06080B; border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 34px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .92rem; max-width: 300px; }
.footer-brand .f-social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.footer-brand .f-social a { width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: all .2s; }
.footer-brand .f-social a:hover { color: var(--blue); border-color: var(--blue); }
.footer-brand .f-social svg { width: 20px; height: 20px; }
.footer-col h3 { font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: .85rem; color: var(--faint); }
.footer-bottom .fb-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bottom .fb-links a { font-size: .85rem; color: var(--faint); }
.footer-bottom .fb-links a:hover { color: var(--blue); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- Mobile sticky action bar ---- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: rgba(11,14,18,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); gap: .55rem;
  grid-template-columns: 1fr 1fr 1.3fr;
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .55rem .4rem; border-radius: var(--r-sm); font-family: var(--font-display); font-weight: 700; font-size: .78rem; min-height: 52px; }
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar .mb-call { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--line-2); }
.mobile-bar .mb-wa { background: rgba(37,211,102,.15); color: #36d977; border: 1px solid rgba(37,211,102,.3); }
.mobile-bar .mb-quote { background: var(--blue); color: var(--blue-ink); flex-direction: row; }
@media (max-width: 760px) { .mobile-bar { display: grid; } body { padding-bottom: 76px; } }

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 250;
  width: min(680px, calc(100vw - 24px)); background: var(--surface-2); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 1.2rem 1.4rem; box-shadow: var(--sh-3); display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .88rem; color: var(--muted); }
.cookie-banner .cb-actions { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .7rem 1.2rem; min-height: 44px; font-size: .9rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 84px; } }

/* ---- Prose (legal pages) ---- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.4rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .5rem; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .tile img, .svc-card img { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .05ms !important; }
}

/* ---- Utilities ---- */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.maxw-60 { max-width: 60ch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ==========================================================================
   Cinematic hero — dramatic blue lighting, controlled orange accents, depth.
   Real project photography stays the base layer; everything here is CSS light
   and texture painted on top. Inspired by the supplied reference mood board.
   ========================================================================== */
.hero { min-height: clamp(560px, 88vh, 860px); display: flex; align-items: center; isolation: isolate; }
/* slightly oversized so pointer/scroll parallax never reveals an edge seam */
.hero-media { inset: -24px; will-change: transform; }
/* keep the van framed when the 4:3 hero shot is cropped to the wide band */
.hero-media img { object-position: center 45%; }
@media (max-width: 640px) { .hero-media img { object-position: center center; } }
/* darker, more directional base grade so the light layers read.
   Bottom kept lighter than before so the van's lower body + wheels stay visible. */
.hero-media::after {
  background:
    radial-gradient(120% 95% at 78% 22%, rgba(11,14,18,0) 0%, rgba(11,14,18,.38) 60%, rgba(6,8,11,.6) 100%),
    linear-gradient(180deg, rgba(6,8,11,.55) 0%, rgba(9,12,16,.28) 45%, rgba(6,8,11,.5) 100%),
    linear-gradient(90deg, rgba(6,8,11,.92) 0%, rgba(8,11,15,.5) 52%, rgba(8,11,15,.15) 100%);
}
/* Desktop: reduce the tall hero height and drop the focal point so the van's
   lower body and wheels are framed instead of cut off. */
/* Desktop art direction: the container now matches the wide 2.84:1 desktop hero
   asset, so `cover` shows (almost) the whole prepared crop with no aggressive
   top/bottom loss. Height is width-driven (never excessively tall), floored and
   capped. The wide asset is swapped in via <source media="(min-width:1024px)">. */
@media (min-width: 1024px) {
  .hero { aspect-ratio: 2.8444; min-height: 460px; max-height: 880px; }
  .hero-media img { object-position: center; }
}

/* light + texture stack (decorative, behind content) */
.hero-fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* The hero photo already carries blue + orange lighting, so these glows are
   kept restrained — they add motion/depth via parallax without over-brightening. */
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; will-change: transform; }
.hero-glow-blue {
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; top: -20%; left: 40%;
  background: radial-gradient(circle, rgba(120,205,240,.4), rgba(60,150,200,.12) 45%, transparent 70%);
  mix-blend-mode: screen; opacity: .45;
}
.hero-glow-blue2 {
  width: 42vw; height: 42vw; max-width: 520px; max-height: 520px; bottom: -16%; left: 26%;
  background: radial-gradient(circle, rgba(90,180,225,.3), rgba(44,110,138,.1) 50%, transparent 72%);
  mix-blend-mode: screen; opacity: .4;
}
.hero-glow-orange {
  width: 34vw; height: 34vw; max-width: 420px; max-height: 420px; bottom: -22%; right: -4%;
  background: radial-gradient(circle, rgba(255,150,70,.26), rgba(200,95,35,.1) 48%, transparent 70%);
  mix-blend-mode: screen; opacity: .5;
}
/* faint hex/line grid to echo workshop lighting, extremely subtle */
.hero-grid {
  position: absolute; inset: -2px; opacity: .5;
  background-image:
    linear-gradient(rgba(143,208,234,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143,208,234,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 68%);
          mask-image: radial-gradient(120% 80% at 70% 20%, #000 0%, transparent 68%);
}
/* thin baby-blue light sweep along the top edge */
.hero-edge {
  position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(143,208,234,.7) 45%, rgba(188,230,246,.9) 55%, transparent);
  opacity: .55;
}
/* fine film grain via inline SVG noise, keeps gradients from banding */
.hero-grain {
  position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* soft bottom fade so the hero melts into the trust bar without masking the van */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-inner { width: 100%; position: relative; z-index: 2; }
.hero-eyebrow {
  padding: .4rem .85rem; border: 1px solid rgba(143,208,234,.28); border-radius: var(--r-pill);
  background: rgba(143,208,234,.07); backdrop-filter: blur(4px);
}
.hero-eyebrow::before { width: 18px; }
.hero h1 .hl {
  background: linear-gradient(180deg, #EAF7FD 0%, var(--blue) 60%, var(--blue-deep) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--blue);
}
.hero-brandline {
  margin-top: 1.6rem; font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(.95rem, 1.6vw, 1.12rem); letter-spacing: .01em;
}
.hero-brandline .dot { color: var(--blue); padding: 0 .1rem; }
.hero .hero-scroll { margin-top: 1.4rem; }

/* Hero entrance — quick, staggered, readable almost immediately */
.hero-content > * { animation: heroRise .7s var(--ease) both; }
.hero-content > .eyebrow      { animation-delay: .04s; }
.hero-content > h1            { animation-delay: .12s; }
.hero-content > .lead         { animation-delay: .22s; }
.hero-content > .btn-row      { animation-delay: .32s; }
.hero-content > .hero-brandline { animation-delay: .40s; }
.hero-content > .hero-scroll  { animation-delay: .48s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .hero-glow { filter: blur(52px); }
  .hero-grid, .hero-grain { display: none; } /* keep mobile light & fast */
}
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
  .hero-media, .hero-glow { transform: none !important; }
}

/* ==========================================================================
   Project cards (our-projects.html + homepage preview)
   ========================================================================== */
.project-card {
  position: relative; display: flex; flex-direction: column; text-align: left; width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; height: 100%;
}
.project-card:hover, .project-card:focus-visible { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.project-card .pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.06); }
.project-card .pc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,14,18,0) 55%, rgba(11,14,18,.55)); }
.project-card .pc-count {
  position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  background: rgba(11,14,18,.72); color: #fff; padding: .32rem .6rem; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}
.project-card .pc-count svg { width: 14px; height: 14px; color: var(--blue); }
.project-card .pc-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  font-family: var(--font-display); font-weight: 700; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(143,208,234,.16); color: var(--blue); border: 1px solid rgba(143,208,234,.3);
  padding: .28rem .55rem; border-radius: 6px; backdrop-filter: blur(4px);
}
.project-card .pc-body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; }
.project-card .pc-model { font-family: var(--font-display); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: .35rem; }
.project-card h3 { font-size: 1.24rem; }
.project-card .pc-desc { font-size: .93rem; margin-top: .5rem; color: var(--muted); }
.project-card .pc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.project-card .pc-tag { font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .28rem .7rem; }
.project-card .pc-view {
  margin-top: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display);
  font-weight: 700; font-size: .92rem; color: var(--blue); transition: gap .2s;
}
.project-card .pc-view svg { width: 1.05em; height: 1.05em; transition: transform .2s; }
.project-card:hover .pc-view { gap: .7rem; }
.project-card:hover .pc-view svg { transform: translateX(3px); }

/* ==========================================================================
   Project modal / viewer
   ========================================================================== */
.project-modal { position: fixed; inset: 0; z-index: 300; display: none; }
.project-modal.open { display: block; }
.project-modal .pm-scrim { position: absolute; inset: 0; background: rgba(5,7,10,.8); backdrop-filter: blur(6px); }
.project-modal .pm-dialog {
  position: absolute; inset: 0; margin: auto; width: min(1040px, 100%); max-height: 100%;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 0; overflow-y: auto;
  box-shadow: var(--sh-3); animation: pmIn .32s var(--ease); overscroll-behavior: contain;
}
@media (min-width: 720px) {
  .project-modal .pm-dialog { inset: 3vh 0; border-radius: var(--r-lg); max-height: 94vh; }
}
@keyframes pmIn { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: none; } }
.project-modal .pm-close {
  position: sticky; top: 0; float: right; z-index: 3; margin: .8rem .8rem -3.2rem 0;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(11,14,18,.72); border: 1px solid var(--line-2);
  color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s;
}
.project-modal .pm-close:hover { background: rgba(255,255,255,.16); }
.project-modal .pm-close svg { width: 22px; height: 22px; }
.pm-head { position: relative; }
.pm-hero { position: relative; aspect-ratio: 16 / 9; max-height: 46vh; overflow: hidden; }
.pm-hero img { width: 100%; height: 100%; object-fit: cover; }
.pm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,27,0) 40%, rgba(14,20,27,.95)); }
.pm-head-body { position: relative; margin-top: -3.5rem; padding: 0 clamp(1.2rem, 4vw, 2.4rem); z-index: 1; }
.pm-model { font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.pm-head-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-top: .4rem; }
.pm-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pm-tags .chip { font-size: .82rem; padding: .4rem .85rem; }
.pm-summary { color: var(--muted); margin-top: 1.2rem; max-width: 68ch; line-height: 1.7; }
.pm-body { padding: 1.6rem clamp(1.2rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.4rem); }
.pm-section-label { font-family: var(--font-display); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 1.8rem 0 1rem; }
.pm-ba { max-width: 560px; margin: 0 auto; }
.pm-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 720px) { .pm-gallery { grid-template-columns: repeat(3, 1fr); } }
.pm-shot { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.pm-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pm-shot figcaption { font-size: .84rem; color: var(--muted); padding: .7rem .85rem; line-height: 1.4; }
.pm-cta { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pm-cta h3 { font-size: 1.3rem; margin-bottom: 1rem; }
body.pm-open { overflow: hidden; }
