/* Parkhaus Automation — site styles (v2, modern dark-hero theme)
   Colours follow the logo: navy + orange. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #070f22;        /* deepest navy, dark sections */
  --navy-9: #0c1a38;
  --navy: #1e2f63;       /* logo navy */
  --orange: #f07a22;     /* logo orange */
  --orange-2: #ff9a4d;
  --orange-text: #b8530c;
  --paper: #f3f5f9;
  --white: #ffffff;
  --text: #121d38;
  --muted: #5a6680;
  --line: #e1e6ef;
  --on-dark: #e8ecf5;
  --on-dark-muted: #a7b2cb;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(2rem, 1.4rem + 2vw, 3rem);
  --step-4: clamp(2.6rem, 1.5rem + 4.2vw, 5.25rem);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy-9);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); font-stretch: 112%; }
h2 { font-size: var(--step-3); font-stretch: 108%; }
h3 { font-size: var(--step-2); line-height: 1.12; font-stretch: 100%; letter-spacing: -0.01em; }
h4 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: inherit; font-weight: 700; font-size: 1rem;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg.arr { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #180b02; }
.btn-primary:hover { background: var(--orange-2); color: #180b02; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-glass { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-glass:hover { background: #fff; color: var(--navy-9); }
.btn-dark { background: var(--navy-9); color: #fff; }
.btn-dark:hover { background: var(--ink); color: #fff; }
.textlink { font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

/* ---------- Header (dark glass, always) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 15, 34, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.over-hero { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(7,15,34,.7), rgba(7,15,34,0)); border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.site-header.over-hero.scrolled { background: rgba(7, 15, 34, .95); border-bottom-color: var(--line-dark); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); }
.site-header .bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 13px; font-weight: 600; font-size: .95rem; color: var(--on-dark); text-decoration: none; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(240,122,34,.18); box-shadow: inset 0 0 0 1px rgba(240,122,34,.45); }
.header-cta { flex: none; min-height: 44px; padding: 0 20px; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 12px; background: rgba(255,255,255,.05); cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1280px) {
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line-dark); display: none; margin: 0; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px var(--gutter) 20px; gap: 0; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line-dark); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); background: transparent; padding-left: 14px; }
  .nav .nav-quote { display: block; margin-top: 16px; }
  .nav .nav-quote a { border: 0; border-radius: 999px; text-align: center; padding: 14px; color: #180b02; }
  .site-header.over-hero .nav { background: var(--ink); }
}
@media (min-width: 1281px) { .nav .nav-quote { display: none; } }

/* ---------- HOME HERO: four business lines as live panels ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  min-height: clamp(680px, 100svh, 940px);
  display: flex; flex-direction: column;
}
.lines { position: absolute; inset: 0 -6%; display: flex; z-index: -2; }
.line {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  transform: skewX(-9deg); border-left: 2px solid var(--ink);
  transition: flex-grow .7s cubic-bezier(.2,.7,.2,1);
  text-decoration: none; color: inherit;
}
.line img {
  position: absolute; inset: 0 -30%; width: 160%; max-width: none; height: 100%; object-fit: cover;
  transform: skewX(9deg) scale(1.05);
  filter: grayscale(.85) brightness(.55) contrast(1.05);
  transition: filter .7s, transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,47,99,.55), rgba(7,15,34,.25) 50%, rgba(7,15,34,.9)); mix-blend-mode: multiply; transition: opacity .7s; }
.line.is-active { flex-grow: 1.9; }
.line.is-active img { filter: grayscale(0) brightness(.85) contrast(1.05); transform: skewX(9deg) scale(1); }
.line.is-active::after { opacity: .55; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,15,34,.82) 0%, rgba(7,15,34,.5) 38%, rgba(7,15,34,0) 62%),
    radial-gradient(60% 60% at 0% 0%, rgba(7,15,34,.7), rgba(7,15,34,0) 80%),
    linear-gradient(180deg, rgba(7,15,34,.65) 0%, rgba(7,15,34,0) 30%, rgba(7,15,34,0) 55%, rgba(7,15,34,.92) 100%);
}
.hero-copy { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 9vh, 104px)); padding-bottom: 32px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 22px; font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.4rem); }
.hero h1 .amp { color: var(--orange); }
.hero .lead { color: #d3dbec; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the labels under each panel */
.line-tabs { margin-top: auto; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); background: linear-gradient(rgba(7,15,34,0), rgba(7,15,34,.6)); }
.line-tab {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start;
  padding: 22px 22px 26px; text-decoration: none; color: var(--on-dark);
  border-right: 1px solid var(--line-dark); position: relative; transition: background-color .3s;
}
.line-tab:last-child { border-right: 0; }
.line-tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.line-tab.is-active::before { transform: scaleX(1); }
.line-tab.is-active, .line-tab:hover { background: rgba(255,255,255,.05); color: #fff; }
.line-tab .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(240,122,34,.14); color: var(--orange-2); border: 1px solid rgba(240,122,34,.35); }
.line-tab .ic svg { width: 24px; height: 24px; }
.line-tab strong { font-size: 1.15rem; font-stretch: 105%; color: #fff; line-height: 1.2; }
.line-tab span { font-size: .9rem; color: var(--on-dark-muted); line-height: 1.4; }

@media (prefers-reduced-motion: reduce) {
  .line, .line img, .line::after { transition: none; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .lines { position: relative; inset: auto; order: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; z-index: 0; }
  .line { transform: none; border: 0; height: 190px; }
  .line img { inset: 0; width: 100%; transform: none; filter: grayscale(.2) brightness(.75); }
  .line.is-active img { transform: none; }
  .hero-copy { order: 1; padding-top: calc(var(--header-h) + 40px); }
  .hero-shade { background: linear-gradient(180deg, rgba(7,15,34,1) 0%, rgba(7,15,34,.9) 60%, rgba(7,15,34,.4) 100%); bottom: auto; height: 0; }
  .line-tabs { order: 3; grid-template-columns: 1fr 1fr; margin-top: 0; }
  .line-tab { border-bottom: 1px solid var(--line-dark); padding: 16px; }
  .line-tab:nth-child(2n) { border-right: 0; }
  .line-tab span { display: none; }
  .line-tab .ic { width: 38px; height: 38px; grid-row: auto; }
  .line-tab { align-items: center; }
}

/* ---------- Facts strip ---------- */
.facts { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 22px 20px 24px 0; font-size: .95rem; line-height: 1.4; }
.facts li strong { display: block; color: #fff; font-size: 1.05rem; }
@media (max-width: 900px) { .facts ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .facts ul { grid-template-columns: 1fr; } .facts li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); } }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000); }
.page-head::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; z-index: -1; background: radial-gradient(closest-side, rgba(240,122,34,.22), rgba(240,122,34,0)); }
.page-head.has-img { background-size: cover; background-position: center; }
.page-head .bgimg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.6); }
.page-head h1 { color: #fff; font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.25rem); max-width: 18ch; }
.page-head .lead { color: #cdd6e8; }
.crumbs { font-size: var(--step--1); color: var(--on-dark-muted); margin-bottom: 16px; }
.crumbs a { color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .lead, .section.dark .muted { color: var(--on-dark-muted); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 14px; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Bento: what we build ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 26px; min-height: 300px; color: #fff; text-decoration: none; background: var(--navy-9);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,34,.05) 15%, rgba(7,15,34,.55) 55%, rgba(7,15,34,.94) 100%); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile h3 { color: #fff; margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-stretch: 108%; }
.tile p { margin: 0; color: #d6ddeb; font-size: .975rem; max-width: 46ch; }
.tile .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; list-style: none; padding: 0; }
.tile .tags li { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.tile .go { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); transition: background-color .25s, transform .25s; }
.tile .go svg { width: 20px; height: 20px; }
.tile:hover .go { background: var(--orange); color: #180b02; transform: rotate(-45deg); }
.t-robot { grid-column: span 7; grid-row: span 2; min-height: 520px; }
.t-conv { grid-column: span 5; }
.t-pack { grid-column: span 5; }
.t-park { grid-column: span 12; min-height: 340px; }
.t-park::after { background: linear-gradient(90deg, rgba(7,15,34,.92) 0%, rgba(7,15,34,.5) 50%, rgba(7,15,34,.05) 100%); }
.t-park { justify-content: center; padding: clamp(26px, 4vw, 48px); }
.mini { grid-column: span 3; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); padding: 22px; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s, box-shadow .2s; }
.mini:hover { border-color: var(--orange); box-shadow: 0 14px 30px -18px rgba(12,26,56,.35); color: var(--text); }
.mini .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff1e6; color: var(--orange-text); margin-bottom: 8px; }
.mini .ic svg { width: 22px; height: 22px; }
.mini strong { font-size: 1.1rem; color: var(--navy-9); }
.mini span { font-size: .925rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 960px) {
  .t-robot, .t-conv, .t-pack { grid-column: span 12; grid-row: auto; min-height: 340px; }
  .mini { grid-column: span 6; }
}
@media (max-width: 520px) { .mini { grid-column: span 12; } .tile { min-height: 300px; padding: 20px; } }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.process li { counter-increment: step; padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); position: relative; }
.process li::before { content: counter(step, decimal-leading-zero); display: inline-grid; place-items: center; min-width: 46px; height: 32px; padding: 0 10px; border-radius: 999px; background: #fff1e6; color: var(--orange-text); font-weight: 800; font-size: .95rem; margin-bottom: 18px; }
.process h3 { font-size: 1.2rem; margin-bottom: 6px; }
.process p { font-size: .95rem; color: var(--muted); margin: 0; }
.section.dark .process li { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
.section.dark .process li::before { background: rgba(240,122,34,.16); color: var(--orange-2); }
.section.dark .process p { color: var(--on-dark-muted); }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.industries li { padding: 18px 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.industries strong { display: block; color: var(--navy-9); font-size: 1.075rem; }
.industries span { color: var(--muted); font-size: .925rem; }
@media (max-width: 860px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .industries { grid-template-columns: 1fr; } }

/* ---------- Parking band ---------- */
.parkband { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.parkband .imgs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.parkband .imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); min-height: 180px; }
.parkband .imgs img.tall { grid-row: span 2; background: #fff; object-fit: contain; padding: 12px; }
.syslist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.syslist li { padding: 14px 18px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.syslist strong { color: #fff; display: block; }
.syslist span { color: var(--on-dark-muted); font-size: .95rem; }
@media (max-width: 900px) { .parkband { grid-template-columns: 1fr; } }

/* ---------- Platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platforms > div { padding: 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.platforms h3 { font-size: 1.15rem; margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text); }
@media (max-width: 860px) { .platforms { grid-template-columns: 1fr; } }

/* ---------- Work strip / gallery ---------- */
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; }
.strip figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper); }
.strip figure:first-child { grid-row: span 2; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(7,15,34,.7); backdrop-filter: blur(6px); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .strip figure:first-child { grid-column: span 2; grid-row: auto; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-weight: 600; font-size: .95rem; padding: 8px 18px; min-height: 42px; border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; cursor: pointer; }
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy-9); border-color: var(--navy-9); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery figure { margin: 0; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 4px 0; font-size: .95rem; }
.gallery figcaption strong { display: block; color: var(--navy-9); }
.gallery figcaption span { color: var(--muted); font-size: .875rem; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5,10,24,.94); display: grid; place-items: center; padding: 56px 16px 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); background: #fff; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font-size: 1.5rem; border-radius: 50%; cursor: pointer; }
.lb-btn:hover { background: var(--orange); color: #180b02; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; }
.lb-next { right: 12px; top: 50%; }

/* ---------- Capabilities detail page ---------- */
.capdoc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.capnav { position: sticky; top: calc(var(--header-h) + 24px); padding: 18px; border-radius: var(--r); background: var(--paper); }
.capnav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.capnav a { display: block; padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.capnav a:hover { color: var(--navy-9); background: #fff; }
.capnav a.is-active { color: var(--navy-9); background: #fff; box-shadow: inset 3px 0 0 var(--orange); }
.capnav a.btn { margin-top: 16px; width: 100%; color: #180b02; background: var(--orange); box-shadow: none; justify-content: center; border-radius: 999px; }
.cap { padding: 0 0 clamp(48px, 6vw, 80px); margin-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.cap:last-child { border-bottom: 0; margin-bottom: 0; }
.cap .kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--orange-text); margin-bottom: 10px; }
.cap .kicker .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff1e6; }
.cap .kicker svg { width: 20px; height: 20px; }
.cap-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; margin-top: 20px; }
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bullets li { position: relative; padding-left: 30px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: #fff1e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8530c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.spec { border-radius: var(--r); background: var(--navy-9); color: var(--on-dark); padding: 8px 22px 12px; align-self: start; }
.spec h4 { font-size: .9rem; margin: 14px 0 4px; color: var(--orange-2); font-stretch: 100%; font-weight: 700; letter-spacing: 0; }
.spec dl { margin: 0; }
.spec div { padding: 12px 0; border-top: 1px solid var(--line-dark); }
.spec div:first-child { border-top: 0; }
.spec dt { font-weight: 800; color: #fff; font-size: 1.1rem; }
.spec dd { margin: 2px 0 0; color: var(--on-dark-muted); font-size: .925rem; line-height: 1.4; }
.photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 28px; }
.photos img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-sm); background: var(--paper); }
.photos img.contain { object-fit: contain; background: #fff; border: 1px solid var(--line); }
@media (max-width: 1000px) { .cap-body { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .capdoc { grid-template-columns: 1fr; } .capnav { display: none; } }

/* ---------- Generic blocks ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding: 14px 18px 14px 50px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: #fff1e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8530c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.section.dark .ticks li { background: rgba(255,255,255,.04); border-color: var(--line-dark); color: var(--on-dark); }
.section.dark .ticks li::before { background-color: rgba(240,122,34,.18); }

.statement { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); line-height: 1.2; font-weight: 700; font-stretch: 105%; letter-spacing: -0.015em; color: var(--navy-9); max-width: 26ch; margin: 0; text-wrap: balance; }
.statement em { font-style: normal; color: var(--orange-text); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm > div { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.vm > div:last-child { background: var(--navy-9); border-color: var(--navy-9); }
.vm > div:last-child h2 { color: #fff; }
.vm > div:last-child .lead { color: var(--on-dark-muted); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values > div { padding: 24px; border-radius: var(--r); background: var(--paper); }
.values h3 { font-size: 1.25rem; }
.values p { color: var(--muted); font-size: .975rem; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.figure-wide { margin: 0; }
.figure-wide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.roles { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.roles li { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.roles h3 { font-size: 1.15rem; margin: 0 0 4px; }
.roles p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0 0 clamp(64px, 8vw, 104px); }
.section + .cta-wrap, .section.tint + .cta-wrap { padding-top: 0; }
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px);
  background: var(--orange); color: #180b02;
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between;
}
.cta-band::after { content: ""; position: absolute; right: -8%; top: -60%; width: 50%; height: 220%; z-index: -1; background: radial-gradient(closest-side, rgba(255,255,255,.35), rgba(255,255,255,0)); }
.cta-band h2 { color: #180b02; margin: 0 0 8px; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost-dark { border-color: #180b02; color: #180b02; }
.cta-band .btn-ghost-dark:hover { background: #180b02; color: #fff; }
.tint-bg { background: var(--paper); padding-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(12,26,56,.35); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--text); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; min-height: 50px; border: 1.5px solid #c9d1df; border-radius: 12px; background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(240,122,34,.25); }
.field .err { display: block; color: #b42318; font-size: .875rem; margin-top: 4px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b42318; }
.form-note { font-size: .875rem; color: var(--muted); margin: 0; }
.form-status { padding: 14px 16px; border-radius: 12px; background: var(--paper); border-left: 4px solid var(--orange); }
.form-status[hidden] { display: none; }
.info { list-style: none; margin: 0; padding: 22px; border-radius: var(--r-lg); background: var(--navy-9); color: var(--on-dark); }
.info li { padding: 14px 0; border-top: 1px solid var(--line-dark); }
.info li:first-child { border-top: 0; padding-top: 0; }
.info .k { font-size: .85rem; font-weight: 700; color: var(--orange-2); }
.info .v { font-weight: 600; color: #fff; }
.info a { color: #fff; font-weight: 700; }
.info a:hover { color: var(--orange-2); }
.map { border: 0; width: 100%; height: 300px; border-radius: var(--r-lg); background: var(--paper); margin-top: 16px; }
.checklist { counter-reset: c; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { padding: 14px 18px 14px 58px; position: relative; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); counter-increment: c; }
.checklist li::before { content: counter(c); position: absolute; left: 16px; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-9); color: #fff; font-size: .85rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--white); border: 1px solid var(--line); padding: 0 22px; }
.faq details[open] { border-color: #f3c49d; box-shadow: 0 14px 30px -24px rgba(12,26,56,.4); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 1.075rem; color: var(--navy-9); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; color: var(--orange-text); }
.faq details[open] summary::after { content: "\2212"; background: #fff1e6; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--muted); max-width: 72ch; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 28px; font-size: .975rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange-2); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-grid h2 { font-size: 1rem; color: #fff; font-stretch: 100%; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 4px 0; }
.foot-logo { height: 48px; width: auto; margin-bottom: 16px; }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .875rem; }
.foot-bottom p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-items: center; }
.notfound .hero-actions { margin-top: 24px; }

@media print { .site-header, .site-footer, .cta-wrap, .menu-btn { display: none; } }
.process.process-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .process.process-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .process.process-5 { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .tile { min-height: 380px; }
  .tile::after, .t-park::after { background: linear-gradient(180deg, rgba(7,15,34,.1) 0%, rgba(7,15,34,.7) 45%, rgba(7,15,34,.95) 75%); }
  .t-park { justify-content: flex-end; }
}

/* =========================================================
   v3: HD imagery, motion and new home sections
   ========================================================= */
.site-header .bar { transition: min-height .3s; }
.site-header.over-hero.scrolled .bar { min-height: 64px; }

/* page header photo */
.page-head .bgimg { opacity: .55; filter: none; transform: scale(1.06); animation: ph-zoom 14s ease-out forwards; }
.page-head::before { z-index: -1; background:
  linear-gradient(90deg, rgba(7,15,34,.94) 0%, rgba(7,15,34,.75) 45%, rgba(7,15,34,.35) 100%),
  linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: none; -webkit-mask-image: none; }
@keyframes ph-zoom { to { transform: scale(1); } }

/* hero intro */
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(240,122,34,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,122,34,.7); } 70% { box-shadow: 0 0 0 10px rgba(240,122,34,0); } 100% { box-shadow: 0 0 0 0 rgba(240,122,34,0); } }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }
.line-tab .bar { position: absolute; left: 0; right: 0; top: -1px; height: 3px; overflow: hidden; }
.line-tab .bar i { display: block; height: 100%; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.line-tab::before { display: none; }
.line-tab.is-active .bar i { animation: tabfill 3.8s linear forwards; }
.hero.paused .line-tab.is-active .bar i { animation: none; transform: scaleX(1); }
@keyframes tabfill { to { transform: scaleX(1); } }
.line.is-active img { animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: skewX(9deg) scale(1.12); } to { transform: skewX(9deg) scale(1.02); } }

@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero-in { opacity: 0; animation: fade-up .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, .1s); }
  .hero h1 .ln > span { transform: translateY(105%); animation: line-up .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero h1 .ln:nth-child(1) > span { animation-delay: .15s; }
  .hero h1 .ln:nth-child(2) > span { animation-delay: .25s; }
  .hero h1 .ln:nth-child(3) > span { animation-delay: .35s; }
  .lines .line { clip-path: inset(100% 0 0 0); animation: panel-in 1.1s cubic-bezier(.7,0,.2,1) forwards; animation-delay: calc(var(--i) * .12s); }
  .line-tab { opacity: 0; animation: fade-up .7s ease-out forwards; animation-delay: calc(.8s + var(--i) * .1s); }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes line-up { to { transform: translateY(0); } }
@keyframes panel-in { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) {
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
  .line img { filter: grayscale(.15) brightness(.7); }
}

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ticker */
.ticker { background: var(--orange); color: #180b02; overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(0,0,0,.08); }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; width: max-content; animation: tick 48s linear infinite; }
.ticker li { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; font-stretch: 108%; white-space: nowrap; }
.ticker svg { width: 18px; height: 18px; opacity: .7; }
.ticker:hover ul { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker ul { animation-duration: 120s; } }

/* parking showcase carousel */
.park-show { overflow: hidden; }
.park-show .section-head > div:last-child { display: grid; gap: 18px; justify-items: start; }
.car-ctrl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cbtn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, color .2s; }
.cbtn:hover { background: var(--orange); color: #180b02; border-color: var(--orange); }
.cbtn svg { width: 20px; height: 20px; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(46vw, 640px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 8px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.slide { margin: 0; position: relative; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; height: clamp(320px, 38vw, 520px); background: var(--navy-9); }
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.slide:hover img { transform: scale(1.05); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,15,34,0) 30%, rgba(7,15,34,.55) 55%, rgba(7,15,34,.95)); }
.slide figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: #fff; }
.slide figcaption strong { display: block; font-size: 1.5rem; font-stretch: 108%; line-height: 1.15; }
.slide figcaption span { color: #d3dbec; font-size: .975rem; }
@media (max-width: 760px) { .carousel { grid-auto-columns: 84vw; } }

/* facts list in statement section */
.facts-list { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 10px; }
.facts-list li { padding: 14px 18px; border-radius: var(--r-sm); background: var(--paper); border-left: 3px solid var(--orange); }
.facts-list strong { display: block; color: var(--navy-9); }
.facts-list span { color: var(--muted); font-size: .95rem; }

/* industries with photos */
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind { position: relative; overflow: hidden; border-radius: var(--r); min-height: 220px; display: flex; align-items: flex-end; isolation: isolate; background: var(--navy-9); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,15,34,.1) 20%, rgba(7,15,34,.9)); }
.ind:hover img { transform: scale(1.06); }
.ind div { padding: 20px; color: #fff; }
.ind strong { display: block; font-size: 1.15rem; }
.ind span { color: #cfd7e8; font-size: .925rem; }
@media (max-width: 860px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ind-grid { grid-template-columns: 1fr; } }

/* capability banners */
.cap-banner { margin: 22px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; background: var(--paper); }
.cap-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.cap-banner:hover img { transform: scale(1.04); }

/* parking page grid */
.pgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; margin-top: 36px; }
.pgrid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); grid-column: span 2; background: var(--navy-9); }
.pgrid .pg-a { grid-column: span 4; grid-row: span 2; }
.pgrid .pg-b { grid-column: span 2; grid-row: span 2; }
.pgrid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.pgrid figure:hover img { transform: scale(1.05); }
.pgrid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; background: rgba(7,15,34,.7); backdrop-filter: blur(6px); }
@media (max-width: 760px) { .pgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .pgrid figure, .pgrid .pg-a, .pgrid .pg-b { grid-column: span 2; grid-row: auto; } }

/* CTA with photo */
.cta-band { background: var(--navy-9); color: #fff; }
.cta-band .cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(240,122,34,.97) 0%, rgba(240,122,34,.9) 45%, rgba(240,122,34,.35) 100%); }
.cta-band::after { display: none; }
.cta-band h2, .cta-band p { color: #180b02; }

/* gallery & strip polish */
.strip figure img, .gallery img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.strip figure:hover img { transform: scale(1.05); }
.figure-wide { overflow: hidden; border-radius: var(--r-lg); }
.figure-wide img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.figure-wide:hover img { transform: scale(1.04); }

/* WhatsApp: floating button + contact cards */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; display: grid; justify-items: end; gap: 10px; }
.wa-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .2s; position: relative; }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (prefers-reduced-motion: reduce) { .wa-btn::before { animation: none; } }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-menu { width: min(300px, calc(100vw - 40px)); padding: 14px; border-radius: var(--r); background: #fff; box-shadow: 0 24px 50px -20px rgba(7,15,34,.5); border: 1px solid var(--line); animation: fade-up .25s ease-out; }
.wa-menu[hidden] { display: none; }
.wa-menu p { margin: 0 0 8px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.wa-menu a { display: grid; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--text); }
.wa-menu a:hover { background: #e9faf0; }
.wa-menu a strong { color: var(--navy-9); }
.wa-menu a span { color: var(--muted); font-size: .9rem; }
.info .person .v { font-size: 1.1rem; }
.pacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; }
.info a.pbtn { color: #fff; }
.pbtn:hover { background: #fff; color: var(--navy-9) !important; }
.pbtn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.pbtn.wa:hover { background: #1ebe5a; color: #fff !important; }
.pbtn svg { width: 18px; height: 18px; }

/* header: profile download + quote */
.header-ctas { display: flex; align-items: center; gap: 10px; flex: none; }
.header-profile { gap: 8px; }
.header-profile svg { width: 17px; height: 17px; }
.nav .nav-quote + .nav-quote { margin-top: 10px; }
.nav .nav-quote .btn-glass { color: #fff; display: flex; justify-content: center; }
@media (max-width: 1280px) { .header-ctas { display: none; } }
@media (min-width: 1281px) and (max-width: 1400px) { .nav a { padding: 8px 10px; font-size: .93rem; } .header-profile { padding: 0 16px; } }
.site-header .container { max-width: 1440px; }
.nav a { white-space: nowrap; }
.site-header .bar { gap: 20px; }
@media (min-width: 1281px) and (max-width: 1400px) { .nav ul { gap: 0; } .nav a { padding: 8px 9px; } .header-cta { padding: 0 16px; } }

/* =========================================================
   Performance pass: only transform/opacity animate, no blur
   ========================================================= */
.site-header, .site-header.over-hero.scrolled, .btn-glass, .hero-kicker, .tile .tags li,
.strip figcaption, .pgrid figcaption { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header { background: rgba(7, 15, 34, .97); }
.site-header.over-hero.scrolled { background: rgba(7, 15, 34, .97); }
.btn-glass { background: rgba(255, 255, 255, .1); }
.hero-kicker { background: rgba(7, 15, 34, .6); }
.tile .tags li { background: rgba(7, 15, 34, .55); }
.strip figcaption, .pgrid figcaption { background: rgba(7, 15, 34, .85); }

/* hero panels: fixed widths; colour comes from fading a dark layer, not from filters */
.line { transition: none; flex-grow: 1 !important; }
.line img, .line.is-active img { filter: none; transition: none; transform: skewX(9deg) scale(1.04); will-change: transform; backface-visibility: hidden; }
.line::after { mix-blend-mode: normal; background: linear-gradient(180deg, rgba(7,15,34,.62), rgba(7,15,34,.78)); opacity: 1; transition: opacity .9s ease; will-change: opacity; }
.line.is-active::after { opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .lines .line { clip-path: none; opacity: 0; animation: fade-in-panel .9s ease-out forwards; animation-delay: calc(var(--i) * .12s); }
}
@keyframes fade-in-panel { to { opacity: 1; } }
@media (max-width: 900px) {
  .line img, .line.is-active img { transform: none; }
  .line::after { opacity: .45; }
  .line.is-active::after { opacity: .15; }
}

/* pulses: scale + opacity ring instead of animated shadows */
.hero-kicker .dot { position: relative; box-shadow: none; animation: none; }
.hero-kicker .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: ring 2s ease-out infinite; will-change: transform, opacity; }
.wa-btn::before { box-shadow: none !important; background: rgba(37, 211, 102, .45); z-index: -1; animation: ring 2.6s ease-out infinite; will-change: transform, opacity; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-kicker .dot::after, .wa-btn::before { animation: none; opacity: 0; } }

/* keep moving layers on the GPU */
.ticker ul { will-change: transform; }
.page-head .bgimg { will-change: transform; }
