/* Rayven website (WordPress theme)
   Type: Instrument Sans (variable, self-hosted, OFL), a free stand-in for ABC Arizona Sans.
   Colours come from the Rayven logo: blue #0066d6, red #e30613, plus a deep navy. */

@font-face {
  font-family: "Instrument Sans Variable";
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2-variations"),
       url("../fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #081f5c;
  --navy-deep: #06174a;
  --blue: #0066d6;
  --blue-ink: #0052ad;
  --red: #e30613;
  --ink: #0e1b33;
  --muted: #4a5873;
  --line: #d3dbe8;
  --mist: #f1f4f9;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

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

body {
  margin: 0;
  font-family: "Instrument Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0; color: #fff; }

h1, h2, h3 {
  font-stretch: 80%;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; font-stretch: 86%; line-height: 1.15; }
p { margin: 0 0 1em; max-width: var(--measure); }
ul { padding-left: 1.2rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-deep); color: #d7e1f3; }
.section--navy h2, .section--navy h3 { color: #fff; }
.lede { font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 52ch; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 0.85rem; }
.brand { display: block; line-height: 0; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; order: 3; width: 100%; }
.nav a { font-stretch: 92%; font-weight: 600; color: var(--ink); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--blue); color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.site-header .btn { padding: 0.65rem 1.05rem; }
@media (min-width: 900px) {
  .nav { order: 0; width: auto; margin-left: auto; margin-right: 0.5rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.35rem; border: 2px solid var(--navy); border-radius: 3px;
  background: var(--navy); color: #fff; font: inherit; font-weight: 650; font-stretch: 95%; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--mist); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0; max-width: none; }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-copy__inner { position: relative; z-index: 1; padding: clamp(2.5rem, 6vw, 4.75rem) var(--gutter) clamp(2.5rem, 5vw, 3.5rem); }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 0.45em; }
.hero .lede { color: #c9d6ee; margin-bottom: 0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin: 2.5rem 0 0; max-width: 34rem; }
.facts div { border-top: 1px solid rgba(255, 255, 255, 0.28); padding: 0.7rem 0 0.9rem; }
.facts dt { font-size: 0.88rem; color: #9fb4d9; }
.facts dd { margin: 0.1rem 0 0; font-stretch: 88%; font-weight: 650; font-size: 1.12rem; color: #fff; }
.wing { position: absolute; right: -6%; bottom: -3%; width: min(92%, 760px); opacity: 0.95; pointer-events: none; }

.hero-index { padding: clamp(2.25rem, 5vw, 3.5rem) var(--gutter); background: #fff; }
.hero-index h2 { font-size: 1.1rem; font-stretch: 100%; font-weight: 650; color: var(--muted); margin-bottom: 0.9rem; letter-spacing: 0; }
.index { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.index a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: center;
  padding: 0.8rem 0.35rem; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
}
.index strong { font-stretch: 82%; font-weight: 700; font-size: 1.32rem; line-height: 1.15; color: var(--navy); }
.index span { grid-column: 1; font-size: 0.9rem; line-height: 1.4; color: var(--muted); }
.index a::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 0.65rem; height: 0.65rem;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); transition: transform 0.15s ease;
}
.index a:hover, .index a:focus-visible { background: var(--mist); }
.index a:hover::after { transform: translateX(4px) rotate(45deg); }

@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero-copy__inner { padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-right: clamp(2rem, 4vw, 4rem); min-height: 100%; }
  .hero-index { padding-left: clamp(2rem, 4vw, 4rem); padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}

/* The one page-load moment: the index rows settle in once. */
@keyframes settle { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.index li { animation: settle 0.45s ease both; }
.index li:nth-child(1) { animation-delay: 0.05s; } .index li:nth-child(2) { animation-delay: 0.10s; }
.index li:nth-child(3) { animation-delay: 0.15s; } .index li:nth-child(4) { animation-delay: 0.20s; }
.index li:nth-child(5) { animation-delay: 0.25s; } .index li:nth-child(6) { animation-delay: 0.30s; }
.index li:nth-child(7) { animation-delay: 0.35s; } .index li:nth-child(8) { animation-delay: 0.40s; }
.index li:nth-child(9) { animation-delay: 0.45s; } .index li:nth-child(10) { animation-delay: 0.50s; }
.index li:nth-child(11) { animation-delay: 0.55s; }
@media (prefers-reduced-motion: reduce) { .index li { animation: none; } .index a::after { transition: none; } }

/* ---------- Page heads ---------- */
.page-head { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-head .wrap { padding-block: clamp(2.5rem, 6vw, 4.25rem); position: relative; z-index: 1; }
.page-head h1 { color: #fff; margin-bottom: 0.35em; max-width: 20ch; }
.page-head p { color: #c9d6ee; font-size: 1.2rem; line-height: 1.5; margin-bottom: 0; max-width: 56ch; }
.page-head .wing { right: -8%; bottom: -35%; width: min(70%, 620px); opacity: 0.55; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 2.5rem; margin-top: 2.5rem; }
.sector { border-top: 3px solid var(--navy); padding-top: 1rem; }
.sector h3 { margin-bottom: 0.4rem; }
.sector p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Why ---------- */
.why { display: grid; gap: 2.5rem; }
.why .claim { font-stretch: 74%; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; color: var(--navy); max-width: 14ch; margin: 0; }
.why .claim::after { content: ""; display: block; width: 4.5rem; height: 4px; background: var(--red); margin-top: 1.25rem; border-radius: 2px; }
.reasons { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.reasons li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.reasons h3 { margin-bottom: 0.25rem; }
.reasons p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: start; } }

/* ---------- Clients ---------- */
.clients { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.25); }
.clients li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); font-stretch: 80%; font-weight: 650; font-size: 1.6rem; line-height: 1.15; color: #fff; }
.clients--light { border-top-color: var(--line); }
.clients--light li { border-bottom-color: var(--line); color: var(--navy); }

/* ---------- Contact band and notices ---------- */
.band { display: grid; gap: 2rem; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; } }
.ways { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.ways a { display: block; padding: 1rem 0.35rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.ways a:hover { background: #fff; }
.ways strong { display: block; font-stretch: 84%; font-size: 1.3rem; color: var(--navy); line-height: 1.2; }
.ways span { color: var(--muted); font-size: 0.95rem; }
.notice { border-left: 4px solid var(--red); background: #fff; padding: 1rem 1.25rem; margin: 0; max-width: 60ch; }
.notice p { margin: 0; }
.notice a { font-weight: 600; }

/* ---------- Products ---------- */
.catalogue { display: grid; gap: 2.5rem; }
.toc { font-size: 0.98rem; }
.toc h2 { font-size: 1.05rem; font-stretch: 100%; font-weight: 650; color: var(--muted); margin-bottom: 0.6rem; letter-spacing: 0; }
.toc ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.toc a { display: block; padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 550; }
.toc a:hover { background: var(--mist); color: var(--navy); }
@media (min-width: 960px) {
  .catalogue { grid-template-columns: 270px minmax(0, 1fr); gap: 4rem; }
  .toc { position: sticky; top: 1.5rem; align-self: start; }
}
.group { padding-block: 2.25rem; border-top: 2px solid var(--navy); scroll-margin-top: 1rem; }
.group:first-child { padding-top: 0.5rem; border-top: 0; }
.group h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.75rem; }
.group ul { columns: 2 16rem; column-gap: 2.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.group li { break-inside: avoid; padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.group p { color: var(--muted); }
.group .more { font-weight: 650; }
.download { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin-top: 3rem; padding: 1.25rem 1.5rem; background: var(--mist); border-radius: 3px; }
.download p { margin: 0; }

/* ---------- About ---------- */
.split { display: grid; gap: 2rem; }
@media (min-width: 900px) { .split { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; } }
.caps { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.caps li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.caps strong { font-stretch: 84%; font-size: 1.25rem; color: var(--navy); display: block; line-height: 1.2; }
.caps span { color: var(--muted); }
.person { margin-top: 1.5rem; padding-top: 1rem; border-top: 3px solid var(--navy); max-width: 22rem; }
.person strong { display: block; font-stretch: 84%; font-size: 1.4rem; color: var(--navy); line-height: 1.2; }
.person span { color: var(--muted); }
.photos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.75rem; }
.photo-slot { aspect-ratio: 4 / 3; border: 2px dashed #9aa8c2; border-radius: 3px; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--muted); background: #fff; font-size: 0.95rem; }
.visit { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .visit { grid-template-columns: 1fr 1fr; gap: 3rem; } .visit--solo { grid-template-columns: minmax(0, 36rem); } }

dl.details { margin: 0; border-top: 2px solid var(--navy); }
dl.details div { display: grid; gap: 0.1rem 1.5rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
dl.details dt { font-weight: 650; color: var(--navy); }
dl.details dd { margin: 0; }
@media (min-width: 640px) { dl.details div { grid-template-columns: 11rem minmax(0, 1fr); } }

/* ---------- Contact form ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 0.85fr 1.15fr; gap: 5rem; } }
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.form .hint { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #8f9db8; border-radius: 3px; padding: 0.7rem 0.8rem;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form .check { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.form .check input { width: 1.2rem; height: 1.2rem; margin-top: 0.25rem; }
.form .check label { font-weight: 400; margin: 0; }
.form .buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-status { min-height: 1.5rem; margin: 0; font-weight: 600; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { color: #1b6b3a; }
.fine { font-size: 0.92rem; color: var(--muted); }

/* ---------- Prose pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3d0e8; padding-block: 3rem 2rem; font-size: 0.98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #cfe0ff; }
.foot { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; } }
.foot img { height: 52px; width: auto; margin-bottom: 0.9rem; }
.foot h2 { font-size: 1rem; font-stretch: 100%; font-weight: 650; color: #fff; letter-spacing: 0; margin-bottom: 0.6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 0.15rem 0; }
.foot p { margin-bottom: 0.4rem; max-width: 34ch; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.2); margin-top: 2.25rem; padding-top: 1.1rem; font-size: 0.9rem; color: #9fb4d9; }
.legal p { max-width: none; margin: 0; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.center-page { text-align: left; }

@media print {
  .site-header .btn, .nav, .hero-copy .wing, .page-head .wing, .form { display: none; }
  .hero-copy, .page-head, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1 { color: #000; }
}


/* ---------- WordPress additions ---------- */
.nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; padding: 0; }
@media (max-width: 479px) { .nav ul { gap: 0.2rem 1.1rem; } }

.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: 0.3rem 0; }
.prose .wp-block-heading { font-stretch: 80%; font-weight: 700; line-height: 1.05; color: var(--navy); text-wrap: balance; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.25rem 0 0.6em; }
.prose .wp-block-heading:first-child { margin-top: 0; }
.prose img { border-radius: 3px; }
.group .wp-block-list { columns: 2 16rem; column-gap: 2.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.person { margin-top: 2rem; }
.clients--light + .actions { margin-top: 1.5rem; }
.admin-bar .site-header { position: relative; }


/* =====================================================================
   Version 2: modern layer. Soft gradients, rounded cards, glass assistant,
   scrolling client strip and a gradient footer anchored by the logo.
   ===================================================================== */
:root {
  --radius: 20px;
  --radius-sm: 12px;
  --glow: #3d8bf0;
  --shadow: 0 1px 2px rgba(8, 31, 92, 0.06), 0 12px 32px -12px rgba(8, 31, 92, 0.18);
}
body { background: #fff; }
h1, h2, h3 { font-stretch: 88%; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.9rem); line-height: 1; }

/* Header: light, sticky, pill button */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(8, 31, 92, 0.08); }
.admin-bar .site-header { top: 32px; }
.nav a { border-bottom: 0; padding: 0.4rem 0.85rem; border-radius: 999px; font-weight: 600; }
.nav a:hover { background: var(--mist); }
.nav a[aria-current="page"] { background: #e8eefb; color: var(--navy); }

/* Buttons */
.btn { border-radius: 999px; padding: 0.85rem 1.5rem; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(8, 31, 92, 0.55); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.06); }
.btn--line { border-color: rgba(8, 31, 92, 0.25); }

/* Hero */
.hero2 { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 520px at 85% -10%, rgba(61, 139, 240, 0.55), transparent 62%),
  radial-gradient(700px 500px at 0% 110%, rgba(0, 102, 214, 0.45), transparent 60%),
  linear-gradient(160deg, #081f5c 0%, #06174a 100%); }
.hero2-glow { position: absolute; inset: auto -10% -45% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 6, 19, 0.28), transparent 65%); pointer-events: none; }
.hero2 .wing { opacity: 0.35; right: -8%; bottom: auto; top: 6%; width: min(70%, 640px); }
.hero2-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(4rem, 8vw, 7rem); align-items: center; }
.hero2 h1 { color: #fff; max-width: 15ch; margin-bottom: 0.4em; }
.hero2 .lede { color: #cddaf2; }
.badge { display: inline-block; margin: 0 0 1.25rem; padding: 0.35rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.92rem; color: #dbe6fa; max-width: none; }
@media (min-width: 960px) { .hero2-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4rem; } }

/* The glass "ask" card */
.ask { background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 28px; padding: clamp(1.25rem, 3vw, 1.9rem); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55); }
.ask-title { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
.ask-box { display: flex; align-items: center; gap: 0.5rem; background: #fff; border-radius: 999px; padding: 0.4rem 0.4rem 0.4rem 1.1rem; }
.ask-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 0.55rem 0; outline: none; }
.ask-box:focus-within { outline: 3px solid var(--glow); outline-offset: 2px; }
.ask-box button { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer; transition: transform 0.15s ease; }
.ask-box button:hover { transform: scale(1.06); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 0.9rem; padding: 0; }
.chips a { display: block; padding: 0.4rem 0.85rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; text-decoration: none; font-size: 0.93rem; background: rgba(255, 255, 255, 0.08); }
.chips a:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.ask .fine { color: #cddaf2; margin: 0; }

/* Stats strip overlapping the hero */
.stats { position: relative; z-index: 2; margin-top: -2.6rem; }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(8, 31, 92, 0.08); padding: 0; margin: 0 auto; max-width: calc(var(--max) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); overflow: hidden; }
.stats-grid div { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.stats-grid dt { font-size: 0.9rem; color: var(--muted); }
.stats-grid dd { margin: 0.1rem 0 0; font-stretch: 88%; font-weight: 700; font-size: 1.25rem; color: var(--navy); line-height: 1.25; }
@media (min-width: 860px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats-grid div { border-bottom: 0; border-right: 1px solid var(--line); } .stats-grid div:last-child { border-right: 0; } }

/* Product tiles */
.tiles { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.tiles a { display: flex; flex-direction: column; gap: 0.45rem; height: 100%; padding: 1.35rem 1.4rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%); text-decoration: none; color: inherit; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.tiles a:hover, .tiles a:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9c9e6; }
.tiles strong { font-stretch: 88%; font-weight: 700; font-size: 1.25rem; line-height: 1.15; color: var(--navy); }
.tiles span { font-size: 0.96rem; color: var(--muted); line-height: 1.45; }
.tiles a::after { content: "View products"; margin-top: auto; padding-top: 0.6rem; font-weight: 600; font-size: 0.92rem; color: var(--blue-ink); }

/* Client strip: slow scroll, static when motion is reduced */
.logos { padding-block: 2.25rem 2.5rem; background: var(--mist); border-block: 1px solid var(--line); overflow: hidden; }
.logos-title { font-size: 1rem; font-stretch: 100%; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-bottom: 1.1rem; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-track { display: flex; flex: none; gap: 3.5rem; list-style: none; margin: 0; padding: 0 1.75rem; }
.marquee-track li { white-space: nowrap; font-stretch: 85%; font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #4d6797; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; width: auto; flex-wrap: wrap; padding-inline: var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* Cards for sectors, reasons, ways to contact */
.sectors { gap: 1rem; }
.sector { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; background: #fff; box-shadow: none; border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.sector::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--glow)); }
.sector h3 { margin-top: 0.4rem; }
.why .claim::after { background: linear-gradient(90deg, var(--red), #ff4d55); width: 5rem; }
.reasons { border-top: 0; display: grid; gap: 0.9rem; }
.reasons li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.ways { border-top: 0; display: grid; gap: 0.7rem; }
.ways li a { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.ways a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.notice { border-radius: var(--radius-sm); border: 1px solid var(--line); border-left: 4px solid var(--red); }
.section--mist { background: linear-gradient(180deg, #f3f6fb 0%, #eaf0fa 100%); }

/* Inner page heads share the hero gradient */
.page-head { background:
  radial-gradient(700px 380px at 90% 0%, rgba(61, 139, 240, 0.5), transparent 62%),
  linear-gradient(160deg, #081f5c 0%, #06174a 100%); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

/* Details, forms, catalogue in softer shapes */
dl.details { border-top: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.3rem; background: #fff; }
dl.details div:last-child { border-bottom: 0; }
.form input, .form select, .form textarea { border-radius: var(--radius-sm); border-color: #b4c0d6; }
.toc ul { border-top: 0; }
.toc a { border-radius: 10px; border-bottom: 0; }
.group { border-top: 1px solid var(--line); }
.group:first-child { border-top: 0; }
.download { border-radius: var(--radius); background: linear-gradient(135deg, #eef3fc, #e3ecfa); }
.person { border-top: 0; padding: 1rem 1.2rem; border-left: 4px solid var(--red); background: var(--mist); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.photos img { border-radius: var(--radius); }
.photo-slot { border-radius: var(--radius); }
.clients li { font-stretch: 85%; }

/* Footer: near-black navy fading into deep brand blue, logo at the base */
.site-footer { padding-block: 4rem 2rem; color: #b9c8e4; background:
  radial-gradient(900px 420px at 15% 105%, rgba(61, 139, 240, 0.55), transparent 65%),
  radial-gradient(700px 360px at 95% 100%, rgba(227, 6, 19, 0.22), transparent 65%),
  linear-gradient(180deg, #030c2a 0%, #06174a 55%, #0a47a8 100%); }
.foot { padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 800px) { .foot { grid-template-columns: 1fr 1fr 1.2fr 1fr; } }
.foot-brand { display: grid; gap: 1.1rem; align-items: end; padding-block: 2.75rem 1rem; }
.foot-brand img { height: clamp(72px, 11vw, 120px); width: auto; }
.foot-brand p { margin: 0; max-width: 40ch; color: #cbd8ef; }
.foot-brand .btn { justify-self: start; }
@media (min-width: 800px) { .foot-brand { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; } .foot-brand .btn { justify-self: end; } }
.legal { border-top: 0; margin-top: 0.5rem; }

/* Assistant */
.assistant { position: fixed; right: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 60; }
.assistant[hidden] { display: none; }
.assistant-launch { display: inline-flex; align-items: center; gap: 0.55rem; border: 0; cursor: pointer; font: inherit; font-weight: 650; color: #fff; padding: 0.85rem 1.25rem; border-radius: 999px; background: linear-gradient(135deg, #081f5c, #0052ad); box-shadow: 0 16px 34px -12px rgba(8, 31, 92, 0.7); }
.assistant-launch:hover { transform: translateY(-1px); }
.assistant-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #55e08a; box-shadow: 0 0 0 4px rgba(85, 224, 138, 0.25); }
.assistant-panel { position: absolute; right: 0; bottom: calc(100% + 0.75rem); width: min(380px, calc(100vw - 1.5rem)); max-height: min(560px, calc(100vh - 7rem)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(8, 31, 92, 0.55); overflow: hidden; }
.assistant-panel[hidden] { display: none; }
.assistant-head { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem; color: #fff; background: linear-gradient(135deg, #081f5c, #0052ad); }
.assistant-close { border: 1px solid rgba(255, 255, 255, 0.4); background: transparent; color: #fff; border-radius: 999px; padding: 0.25rem 0.8rem; font: inherit; font-size: 0.9rem; cursor: pointer; }
.assistant-body { padding: 1rem 1.1rem; overflow-y: auto; display: flex; flex-direction: column; gap: 0.6rem; }
.assistant-body p { margin: 0; max-width: none; }
.bot { background: var(--mist); border-radius: 16px 16px 16px 4px; padding: 0.7rem 0.9rem; align-self: flex-start; max-width: 92%; }
.me { background: var(--navy); color: #fff; border-radius: 16px 16px 4px 16px; padding: 0.55rem 0.9rem; align-self: flex-end; max-width: 88%; }
.choices { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.choice { display: inline-block; font: inherit; font-size: 0.95rem; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid #b4c4e2; border-radius: 999px; padding: 0.45rem 0.9rem; cursor: pointer; text-decoration: none; }
.choice:hover { background: #e8eefb; color: var(--navy); }
.choice--go { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice--go:hover { background: var(--navy-deep); color: #fff; }
.choice--quiet { border-style: dashed; font-weight: 500; }
.assistant-text, .assistant-input { width: 100%; font: inherit; border: 1px solid #b4c0d6; border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; }
.assistant-text { resize: vertical; }
.assistant-msg { font-weight: 600; font-size: 0.92rem; color: var(--blue-ink); min-height: 1.2rem; }
.assistant-foot { margin: 0; padding: 0.6rem 1.1rem; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); max-width: none; }
@media print { .assistant { display: none; } }

/* Fixes after review */
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--navy); }
.assistant-body > * { flex: none; }
.assistant-text { min-height: 6rem; }
@media (max-width: 899px) { .site-header { position: relative; } }


/* =====================================================================
   Version 3: industrial layout. Top info bar, red call to action,
   photo cards for products, dark industry cards, client grid and a
   four-column footer. Builds on the variables above.
   ===================================================================== */
:root {
  --red-ink: #b8050f;
  --tint: #f3f6fb;
  --shadow-lg: 0 2px 4px rgba(8, 31, 92, 0.05), 0 24px 48px -20px rgba(8, 31, 92, 0.35);
}

.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-ink); border-color: var(--red-ink); color: #fff; box-shadow: 0 12px 24px -10px rgba(227, 6, 19, 0.6); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.7); }

/* Eyebrow label with a red dash */
.eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.9rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); max-width: none; }
.eyebrow::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--red); flex: none; }
.eyebrow--light { color: #dbe6fa; }

/* Top info bar */
.topbar { background: var(--navy-deep); color: #c9d6ee; font-size: 0.86rem; }
.topbar-row { display: flex; align-items: center; gap: 0.5rem 2rem; padding-block: 0.5rem; }
.topbar-item { display: flex; align-items: center; gap: 0.5rem; margin: 0; max-width: none; }
.topbar-item .icon { color: #8fb0e6; }
.topbar-sep { margin-inline: 0.6rem; opacity: 0.5; }
.topbar-address { display: none; }
.topbar .social { margin-left: auto; }
@media (min-width: 900px) { .topbar-address { display: flex; margin-right: auto; } .topbar .social { margin-left: 0; } }
@media (max-width: 559px) { .topbar-row { justify-content: center; } .topbar-item { font-size: 0.8rem; } }

.social { display: flex; gap: 0.5rem; }
.social a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, 0.1); transition: background 0.15s ease; }
.social a:hover { background: var(--blue); color: #fff; }
.social .icon { width: 1rem; height: 1rem; }

/* Header */
.site-header { background: rgba(255, 255, 255, 0.94); }
.site-header .header-row { padding-block: 0.75rem; gap: 0.6rem 1.5rem; }
.brand img { height: 50px; }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-phone { display: none; align-items: center; gap: 0.5rem; font-weight: 700; font-stretch: 92%; color: var(--navy); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--red); }
.header-phone:hover { color: var(--blue-ink); }
.site-header .btn { padding: 0.7rem 1.2rem; }
.nav a { font-weight: 600; color: var(--navy); }
.nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
@media (max-width: 899px) {
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .nav ul { flex-wrap: nowrap; }
  .nav a { white-space: nowrap; }
}
@media (min-width: 900px) { .nav { margin-inline: auto; } }
@media (min-width: 1180px) { .header-phone { display: inline-flex; } }

/* Hero */
.hero3 { position: relative; overflow: hidden; color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); background:
  radial-gradient(900px 560px at 88% 10%, rgba(0, 102, 214, 0.55), transparent 62%),
  radial-gradient(640px 420px at 70% 100%, rgba(227, 6, 19, 0.18), transparent 65%),
  linear-gradient(150deg, #081f5c 0%, #06174a 60%, #041238 100%); }
.hero3::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero3 .wing { position: absolute; right: -10%; top: -4%; width: min(75%, 720px); opacity: 0.16; }
.hero3-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero3 h1 { color: #fff; max-width: 16ch; margin-bottom: 0.45em; }
.hero3 .lede { color: #cddaf2; max-width: 46ch; }
@media (min-width: 960px) { .hero3-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; } }

.hero3-visual { position: relative; height: clamp(20rem, 38vw, 27rem); }
.float { position: absolute; margin: 0; background: #fff; border-radius: var(--radius); padding: 0.6rem; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); animation: bob 7s ease-in-out infinite; }
.float img { width: 100%; height: auto; border-radius: 14px; }
.float figcaption { position: absolute; left: 1rem; bottom: 1rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(8, 31, 92, 0.88); color: #fff; font-size: 0.8rem; font-weight: 600; line-height: 1.3; max-width: calc(100% - 2rem); }
.float--1 { left: 0; top: 4%; width: 62%; z-index: 2; }
.float--2 { right: 0; top: 0; width: 42%; animation-delay: -2.3s; }
.float--3 { right: 4%; bottom: 0; width: 48%; z-index: 3; animation-delay: -4.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 959px) { .hero3-visual { display: none; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

.highlights { position: relative; z-index: 1; list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.highlights li { display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.highlights li:last-child { border-bottom: 0; }
.highlights .icon { width: 2rem; height: 2rem; color: #8fb0e6; }
.highlights strong { display: block; font-stretch: 90%; font-size: 1.05rem; color: #fff; line-height: 1.25; }
.highlights span { display: block; font-size: 0.86rem; color: #b9c8e4; line-height: 1.35; }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } .highlights li:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.12); } .highlights li:nth-child(3) { border-bottom: 0; } }
@media (min-width: 1040px) { .highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); } .highlights li { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.12); } .highlights li:last-child { border-right: 0; } }

/* Section heading row */
.section-head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 0; max-width: 22ch; }
.section-intro { color: var(--muted); margin: 0; max-width: 46ch; }
@media (min-width: 900px) { .section-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.section--tint { background: linear-gradient(180deg, var(--tint) 0%, #e9eff9 100%); }

/* Product cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
a.card:hover, a.card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #b9c9e6; color: inherit; }
.card-media { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.card-body strong { font-stretch: 88%; font-size: 1.2rem; line-height: 1.2; color: var(--navy); }
.card-body > span { font-size: 0.94rem; line-height: 1.45; color: var(--muted); }
.card-go { margin-top: auto; padding-top: 0.6rem; color: var(--red); }
.card-body > .card-go { color: var(--red); }
.card-go .icon { width: 1.3rem; height: 1.3rem; transition: transform 0.2s ease; }
a.card:hover .card-go .icon { transform: translateX(5px); }
.card--more { padding: 1.5rem 1.4rem; gap: 0.9rem; color: #d7e1f3; border: 0; background:
  radial-gradient(420px 260px at 100% 0%, rgba(0, 102, 214, 0.6), transparent 65%),
  linear-gradient(160deg, #081f5c, #06174a); }
.card--more strong { font-stretch: 88%; font-size: 1.35rem; color: #fff; }
.card-more-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--red); color: #fff; }
.card-more-icon .icon { width: 1.4rem; height: 1.4rem; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.mini-list a { color: #d7e1f3; text-decoration: none; font-size: 0.95rem; display: block; padding: 0.3rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mini-list a:hover { color: #fff; }
.card--more .btn { margin-top: auto; align-self: flex-start; }

/* Industries */
.industries { display: grid; gap: 2.5rem; align-items: center; }
.industries-copy h2 { max-width: 16ch; }
.industries-copy p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.text-link .icon { color: var(--red); transition: transform 0.15s ease; }
.text-link:hover .icon { transform: translateX(4px); }
.sector-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.sector-card { position: relative; overflow: hidden; border-radius: var(--radius); padding: 1.5rem 1.4rem; color: #c9d6ee; min-height: 13rem; display: flex; flex-direction: column; background:
  radial-gradient(360px 220px at 100% 0%, rgba(0, 102, 214, 0.55), transparent 65%),
  linear-gradient(160deg, #0b2a78, #06174a); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sector-card h3 { color: #fff; margin: auto 0 0.4rem; }
.sector-card p { margin: 0; font-size: 0.93rem; line-height: 1.5; }
.sector-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.5rem; border-radius: 14px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.sector-icon .icon { width: 1.5rem; height: 1.5rem; }
.sector-card:nth-child(odd) .sector-icon { background: var(--red); border-color: var(--red); }
@media (min-width: 960px) { .industries { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }

/* Clients */
.proof { display: grid; gap: 2.5rem; align-items: center; }
.proof-copy p { color: var(--muted); }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: 0.9rem; }
.client-grid li { display: grid; place-items: center; text-align: center; min-height: 6rem; padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-stretch: 82%; font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--navy); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.client-grid li:hover { border-color: #b9c9e6; box-shadow: var(--shadow); }
@media (min-width: 960px) { .proof { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; } }

/* Why Rayven */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.features li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.features h3 { margin-bottom: 0.4rem; }
.features p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.feature-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.1rem; border-radius: 50%; background: #e8eefb; color: var(--blue-ink); }
.feature-icon .icon { width: 1.45rem; height: 1.45rem; }

/* Quote band */
.quote-band { position: relative; overflow: hidden; color: #cddaf2; padding-block: clamp(3rem, 7vw, 5rem); background:
  radial-gradient(800px 400px at 100% 100%, rgba(0, 102, 214, 0.55), transparent 65%),
  linear-gradient(120deg, #06174a 0%, #081f5c 55%, #0a3a8f 100%); }
.quote-band .wing { position: absolute; left: -12%; bottom: -30%; width: min(60%, 620px); opacity: 0.12; }
.quote-band-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.quote-band h2 { color: #fff; max-width: 18ch; }
.quote-band p { color: #cddaf2; }
.pay-check { margin: 1.5rem 0 0; padding: 0.8rem 1rem; border-left: 3px solid var(--red); background: rgba(255, 255, 255, 0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.92rem; }
.pay-check strong { color: #fff; }
.quote-band a:not(.btn) { color: #fff; }
.quote-band .ask { margin: 0; }
.ask-label { display: block; color: #fff; font-stretch: 88%; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.9rem; }
.quote-band .ask-box { flex-wrap: wrap; border-radius: var(--radius-sm); padding: 0.45rem; gap: 0.45rem; }
.quote-band .ask-box input { padding: 0.6rem 0.7rem; flex: 1 1 14rem; }
.quote-band .ask-box button { width: auto; height: auto; border-radius: 10px; font-size: 1rem; padding: 0.75rem 1.2rem; flex: 0 0 auto; }
.quote-band .ask-box button:hover { transform: none; }
.quote-band .ask .fine { margin: 0.9rem 0 0; }
@media (min-width: 960px) { .quote-band-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }

/* Footer */
.site-footer { padding-block: 4rem 1.5rem; }
.foot { gap: 2.5rem; }
@media (min-width: 700px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .foot { grid-template-columns: 1.4fr 0.8fr 1.1fr 1.4fr; gap: 3rem; } }
.foot-about img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.foot-about p { color: #b9c8e4; margin-bottom: 1.2rem; }
.foot h2 { font-size: 1.05rem; margin-bottom: 1rem; }
.foot li { padding: 0.25rem 0; }
.foot a { text-decoration: none; color: #d7e1f3; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot-contact li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.4rem 0; }
.foot-contact .icon { margin-top: 0.2rem; color: var(--red); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-top: 1.5rem; }
.legal a { color: #b9c8e4; text-decoration: none; }
.legal a:hover { color: #fff; }
.legal span { margin-inline: 0.6rem; opacity: 0.5; }

@media print { .topbar, .hero3-visual, .quote-band .ask { display: none; } .hero3, .quote-band { background: #fff !important; color: #000 !important; } .hero3 h1, .quote-band h2 { color: #000; } }

/* Version 3 tuning */
.hero3 h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); max-width: 18ch; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.client-grid { display: flex; flex-wrap: wrap; }
.client-grid li { flex: 1 1 11.5rem; }
.quote-band .ask-box button { background: var(--red); border-color: var(--red); color: #fff; }
.quote-band .ask-box button:hover { background: var(--red-ink); border-color: var(--red-ink); }
@media (max-width: 899px) { .nav { scrollbar-width: none; -webkit-overflow-scrolling: touch; } .nav::-webkit-scrollbar { display: none; } }


/* =====================================================================
   Version 4: inner pages to match the mockups. Photo heroes with a
   breadcrumb, fact bars, photo slots with branded placeholders, and
   new layouts for Products, Our work, About and Contact.
   ===================================================================== */

/* Photo slots: a real photo, or a branded placeholder until one is added */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--contain { object-fit: contain; background: #fff; }
.ph { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 10rem; overflow: hidden; background:
  radial-gradient(420px 260px at 85% 0%, rgba(61, 139, 240, 0.55), transparent 65%),
  linear-gradient(150deg, #123f96 0%, #081f5c 70%); }
.ph .wing { position: absolute; width: 70%; right: -8%; bottom: -10%; opacity: 0.22; }
.ph-note { position: relative; z-index: 1; margin: 1rem; padding: 0.6rem 0.8rem; border-radius: 10px; background: rgba(255, 255, 255, 0.92); color: var(--navy); font-size: 0.8rem; line-height: 1.35; text-align: center; max-width: 26rem; }
.ph-note code { font-size: 0.75rem; color: var(--red-ink); word-break: break-all; }

/* Buttons */
.btn--outline-red { background: transparent; border-color: var(--red); color: var(--red-ink); }
.btn--outline-red:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Page hero */
.page-hero { position: relative; overflow: hidden; color: #fff; min-height: clamp(15rem, 26vw, 20rem); display: flex; align-items: center; background:
  radial-gradient(700px 380px at 90% 0%, rgba(61, 139, 240, 0.45), transparent 62%),
  linear-gradient(150deg, #081f5c 0%, #06174a 100%); }
.page-hero > .wing { position: absolute; right: -6%; bottom: -40%; width: min(55%, 560px); opacity: 0.18; z-index: 1; pointer-events: none; }
.page-hero-photo { position: absolute; inset: 0 0 0 auto; width: 58%; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #081f5c 0%, rgba(8, 31, 92, 0.75) 30%, rgba(8, 31, 92, 0.1) 75%); }
.page-hero-photo .ph { min-height: 100%; }
.page-hero-inner { position: relative; z-index: 2; padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 0.35em; max-width: 16ch; }
.page-hero p { color: #d7e1f3; font-size: 1.15rem; line-height: 1.5; margin: 0; max-width: 46ch; }
.crumbs { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.9rem; color: #c9d6ee; }
.crumbs::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--red); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 759px) { .page-hero-photo { width: 100%; opacity: 0.35; } }

/* Fact bar */
.trust { position: relative; z-index: 3; list-style: none; margin: -1.75rem 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: #eef3fb; border: 1px solid #d9e3f3; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.trust li { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.25rem; border-bottom: 1px solid #d9e3f3; background: #f4f7fc; }
.trust li:last-child { border-bottom: 0; }
.trust .icon { width: 2rem; height: 2rem; color: var(--navy); }
.trust strong { display: block; font-stretch: 90%; font-size: 1.02rem; color: var(--navy); line-height: 1.25; }
.trust span { display: block; font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust li:nth-child(odd) { border-right: 1px solid #d9e3f3; } .trust li:nth-child(3) { border-bottom: 0; } }
@media (min-width: 1040px) { .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } .trust li { border-bottom: 0; border-right: 1px solid #d9e3f3; } .trust li:last-child { border-right: 0; } }
.trust--stats { margin-top: 0; }
.trust--stats strong { font-size: 1.35rem; }

/* Section intro block */
div.section-intro p { margin: 0 0 0.6rem; color: var(--muted); }

/* Product card grids */
.card-media .ph { min-height: 0; }
@media (min-width: 1100px) { .cards--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .cards--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cards--5 .card-body strong { font-size: 1.08rem; } .cards--5 .card-body > span { font-size: 0.88rem; } }
.groups { min-width: 0; }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; margin-bottom: 1rem; scroll-margin-top: 6rem; }
.group:first-child { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.download { align-items: center; }
.download-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--navy); color: #fff; }
.download-icon .icon { width: 1.4rem; height: 1.4rem; }
.toc a { color: var(--navy); }
.toc a:hover { background: #fff; }

/* Authorised supplier */
.partner { padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.partner-inner h2 { margin-bottom: 0.4rem; }
.partner-inner p { color: var(--muted); }

/* Closing band with photo */
.cta-band { position: relative; overflow: hidden; color: #cddaf2; background: linear-gradient(120deg, #06174a 0%, #081f5c 55%, #0a3a8f 100%); }
.cta-band-photo { position: absolute; inset: 0 0 0 auto; width: 50%; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.cta-band-photo .ph { min-height: 100%; }
.cta-band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 31, 92, 0.6), transparent 60%); }
.cta-band-inner { position: relative; z-index: 1; padding-block: clamp(2.75rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-bottom: 0.4em; }
.cta-band h2::before { content: ""; display: inline-block; vertical-align: middle; width: 2rem; height: 3px; margin-right: 0.8rem; border-radius: 2px; background: var(--red); }
.cta-band p { color: #cddaf2; max-width: 46ch; }
.cta-band .actions { margin-top: 1.25rem; }
.cta-band .pay-check { max-width: 40rem; }
.cta-band a:not(.btn) { color: #fff; }
@media (max-width: 899px) { .cta-band-photo { display: none; } }

/* Clients strip */
.clients-strip { background: linear-gradient(180deg, var(--tint), #e9eff9); padding-block: 2rem; border-block: 1px solid var(--line); }
.clients-strip-inner { display: grid; gap: 1.25rem; align-items: center; }
.clients-strip h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; display: flex; align-items: center; gap: 0.8rem; }
.clients-strip h2::before { content: ""; width: 2rem; height: 3px; border-radius: 2px; background: var(--red); flex: none; }
.clients-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 0; }
.clients-strip li { padding: 0.3rem 1.25rem; border-right: 1px solid #c7d3e8; font-stretch: 82%; font-weight: 700; font-size: 1.15rem; color: var(--navy); line-height: 1.3; }
.clients-strip li:last-child { border-right: 0; }
@media (min-width: 960px) { .clients-strip-inner { grid-template-columns: 14rem minmax(0, 1fr); } }

/* Our work: industry rows */
.industry-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .industry-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.industry { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.industry:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.industry-photo { aspect-ratio: 16 / 9; }
.industry-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.3rem; }
.industry-icon { color: var(--blue-ink); margin-bottom: 0.3rem; }
.industry-icon .icon { width: 2.2rem; height: 2.2rem; }
.industry h3 { margin-bottom: 0.2rem; font-size: 1.55rem; }
.industry p { color: var(--muted); font-size: 0.97rem; }
.industry .text-link { margin-top: auto; color: var(--red-ink); }
@media (min-width: 560px) { .industry { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); } .industry-photo { aspect-ratio: auto; min-height: 15rem; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); } }

/* Home: industry photo cards */
.sector-card { isolation: isolate; min-height: 15rem; }
.sector-photo { position: absolute; inset: 0; z-index: -2; }
.sector-photo .ph { min-height: 100%; }
.sector-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 23, 74, 0.15) 0%, rgba(6, 23, 74, 0.92) 70%); }

/* Home hero with a photo */
.hero3--photo .hero3-bg { position: absolute; inset: 0; z-index: 0; }
.hero3--photo .hero3-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 23, 74, 0.95) 0%, rgba(6, 23, 74, 0.75) 40%, rgba(6, 23, 74, 0.2) 100%); }
.hero3--photo::after { display: none; }

/* About */
.company { display: grid; gap: 2.5rem; align-items: start; }
.company-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.company-text .prose { max-width: none; }
.company-text .prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
@media (min-width: 960px) { .company { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; } .company-photo { position: sticky; top: 7rem; } }

.expertise { display: grid; background: linear-gradient(120deg, #06174a, #081f5c 60%, #0a3a8f); color: #cddaf2; margin-top: var(--section); }
.expertise-photo { min-height: 18rem; }
.expertise-photo .ph { min-height: 100%; }
.expertise-body { padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter); max-width: 40rem; }
.expertise h2 { color: #fff; }
.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { display: flex; align-items: center; gap: 0.75rem; color: #fff; }
.ticks .icon { width: 1.5rem; height: 1.5rem; padding: 0.2rem; border-radius: 6px; background: var(--red); color: #fff; }
@media (min-width: 900px) { .expertise { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .expertise-photo { clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%); } }

.market { display: grid; gap: 2.5rem; align-items: start; }
.market-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; }
.market-list li { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; padding: 1.25rem 0.75rem; border-radius: var(--radius-sm); background: var(--tint); font-weight: 700; font-stretch: 90%; color: var(--navy); line-height: 1.25; }
.market-list .icon { width: 2.4rem; height: 2.4rem; color: var(--blue-ink); }
.coverage { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.coverage h3 { margin-bottom: 1rem; }
.country-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.country-list li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--navy); padding: 0.55rem 0.8rem; border-radius: 10px; background: var(--tint); }
.country-list .icon { color: var(--red); }
@media (min-width: 960px) { .market { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 4rem; } }

.visit-wrap { display: grid; gap: 2.5rem; align-items: center; }
.visit-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .visit-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }

/* Contact */
.contact { align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3.5rem; } }
.contact-list { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: 1.25rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list strong { display: block; font-stretch: 88%; font-size: 1.2rem; color: var(--navy); line-height: 1.2; margin-bottom: 0.2rem; }
.contact-list span { color: var(--ink); }
.contact-icon { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: #e8eefb; color: var(--navy); }
.contact-icon .icon { width: 1.5rem; height: 1.5rem; }
.help-card { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius); min-height: 12rem; display: flex; align-items: flex-end; color: #cddaf2; }
.help-card-photo { position: absolute; inset: 0; z-index: -2; }
.help-card-photo .ph { min-height: 100%; }
.help-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 23, 74, 0.95) 0%, rgba(6, 23, 74, 0.55) 70%, rgba(6, 23, 74, 0.2)); }
.help-card-body { padding: 1.5rem; }
.help-card h3 { color: #fff; font-size: 1.6rem; margin-bottom: 0.2rem; }
.help-card p { color: #cddaf2; margin-bottom: 1rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); scroll-margin-top: 6rem; }
.form-card h2 { margin-bottom: 0.3rem; }
.form-card > .fine { margin-bottom: 1.5rem; }
.form label { color: var(--navy); }
.form input, .form select, .form textarea { background: #fbfcfe; }
.req { color: var(--red); }
.form .buttons .btn { flex: 1 1 12rem; }
.find-us { display: grid; gap: 2.5rem; align-items: center; }
.find-us h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 20ch; }
.map-card { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 18rem; background: #e6ecf5; border: 1px solid var(--line); display: grid; place-items: center; }
.map-grid { position: absolute; inset: 0; background:
  linear-gradient(115deg, transparent 46%, #f7d98a 46%, #f7d98a 50%, transparent 50%),
  linear-gradient(25deg, transparent 58%, #fff 58%, #fff 61%, transparent 61%),
  linear-gradient(160deg, transparent 30%, #fff 30%, #fff 32%, transparent 32%),
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(8, 31, 92, 0.05) 46px 47px),
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(8, 31, 92, 0.05) 46px 47px); }
.map-pin { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; box-shadow: 0 14px 26px -12px rgba(227, 6, 19, 0.8); }
@media (min-width: 900px) { .find-us { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 4rem; } }

@media print { .page-hero-photo, .cta-band-photo, .help-card-photo, .map-card, .expertise-photo { display: none; } .page-hero, .cta-band, .expertise { background: #fff !important; color: #000 !important; } .page-hero h1, .cta-band h2, .expertise h2 { color: #000; } }
.card-media .ph { background: linear-gradient(160deg, #f5f8fd 0%, #e3eaf6 100%); }
.card-media .ph .wing { opacity: 0.35; width: 85%; right: -12%; bottom: -18%; }

/* Client logos */
.client-grid li { min-height: 7.5rem; padding: 1.1rem 1.4rem; }
.client-logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 3.4rem; object-fit: contain; }
.client-name { display: block; font-stretch: 82%; font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--navy); text-align: center; }
.clients-strip li { display: flex; align-items: center; min-height: 4rem; padding: 0.4rem 1.5rem; }
.clients-strip .client-logo { max-height: 2.6rem; max-width: 9rem; }
.clients-strip .client-name { font-size: 1.05rem; }


/* Type: Arizona-style setting. Normal width throughout, tighter headings. */
body, body * { font-stretch: 100%; }
body { font-size: 1.04rem; letter-spacing: -0.005em; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
h3 { letter-spacing: -0.015em; }
.btn, .nav a, .eyebrow { letter-spacing: 0; }
.eyebrow { letter-spacing: 0.1em; }

/* Rayven logo: keep at least 100 px wide (brand guide) */
.brand img { height: 56px; width: auto; }
@media (max-width: 559px) { .brand img { height: 48px; } }

/* =====================================================================
   Version 5: phone menu and the team section on the About page.
   ===================================================================== */
.nav-toggle { display: none; }
@media (min-width: 900px) {
  .nav-panel { display: contents; }
}
@media (max-width: 899px) {
  .site-header { position: sticky; top: 0; }
  .nav-panel { order: 3; width: 100%; }
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-left: auto; padding: 0.5rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
  .js .nav-toggle:hover { border-color: var(--navy); }
  .nav-toggle .icon { width: 1.35rem; height: 1.35rem; }
  .nav-toggle .icon + .icon, .is-open .nav-toggle .icon:first-child { display: none; }
  .is-open .nav-toggle .icon + .icon { display: block; }
  .js .nav-panel { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior: contain; padding: 0.25rem var(--gutter) 1.5rem; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 24px 48px -20px rgba(8, 31, 92, 0.35); }
  .js .is-open .nav-panel { display: block; animation: rayven-drop 0.18s ease-out; }
  .js .nav { width: 100%; overflow: visible; }
  .js .nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .js .nav li + li { border-top: 1px solid var(--line); }
  .js .nav a { display: flex; padding: 0.95rem 0.25rem; font-size: 1.1rem; white-space: normal; border-radius: 0; box-shadow: none; background: transparent; }
  .js .nav a[aria-current="page"] { color: var(--red-ink); box-shadow: inset 4px 0 0 var(--red); padding-left: 1rem; }
  .js .nav-panel .header-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 1rem; }
  .js .nav-panel .header-phone { display: inline-flex; justify-content: center; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 999px; }
  .js .nav-panel .btn { display: flex; justify-content: center; align-items: center; gap: 0.5rem; padding: 0.9rem 1.2rem; }
  html.nav-locked { overflow: hidden; }
}
@keyframes rayven-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Team */
.team .section-intro { margin-bottom: 0; }
.team-lead, .team-card { display: grid; width: 100%; height: 100%; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.team-lead:hover, .team-card:hover, .team-lead:focus-visible, .team-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9c9e6; }
.team-lead:focus-visible, .team-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.team-lead-photo, .team-card-photo, .team-dialog-photo { display: block; overflow: hidden; background: var(--mist); }
.team-lead-photo .ph, .team-card-photo .ph, .team-dialog-photo .ph { min-height: 0; }
.team-lead-photo, .team-dialog-photo { aspect-ratio: 4 / 3; }
.team-card-photo { aspect-ratio: 1 / 1; }
.team-lead { margin-top: 2rem; grid-template-rows: auto 1fr; }
.team-lead-body { display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; padding: clamp(1.4rem, 4vw, 3rem); }
.team-role { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-ink); }
.team-name { display: block; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--navy); }
.team-lead .team-name { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.team-summary { color: var(--muted); line-height: 1.5; }
.team-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.4rem; font-weight: 600; font-size: 0.95rem; color: var(--blue-ink); }
.team-lead .team-more { margin-top: 0.4rem; }
.team-more .icon { width: 1rem; height: 1rem; transition: transform 0.18s ease; }
.team-lead:hover .team-more .icon, .team-card:hover .team-more .icon { transform: translateX(3px); }
.team-lead:hover .team-name, .team-card:hover .team-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.team-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.team-grid li { margin: 0; display: grid; }
.team-card { grid-template-rows: auto 1fr; }
.team-card-body { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 1rem 1.1rem; }
.team-card .team-name { font-size: 1.05rem; }
.team-card .team-role { font-size: 0.72rem; letter-spacing: 0.06em; }
.team-card .team-summary { display: none; font-size: 0.92rem; }
@media (min-width: 640px) {
  .team-grid { gap: 1.25rem; }
  .team-card .team-name { font-size: 1.2rem; }
  .team-card .team-summary { display: block; }
  .team-card-body { padding: 1.1rem 1.25rem 1.35rem; }
}
@media (min-width: 760px) {
  .team-lead { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-rows: none; }
  .team-lead-photo { aspect-ratio: auto; min-height: 22rem; }
}
@media (min-width: 1040px) { .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Team pop-up */
.team-dialog { width: min(calc(100% - 1.5rem), 58rem); max-width: none; max-height: calc(100dvh - 1.5rem); margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.team-dialog::backdrop { background: rgba(6, 23, 74, 0.62); backdrop-filter: blur(3px); }
.team-dialog[open] { animation: rayven-pop 0.2s ease-out; }
html:has(.team-dialog[open]) { overflow: hidden; }
.team-dialog-close { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; margin: 0; }
.team-dialog-close button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: 0 2px 10px rgba(8, 31, 92, 0.25); cursor: pointer; }
.team-dialog-close button:hover { background: var(--navy); color: #fff; }
.team-dialog-close .icon { width: 1.3rem; height: 1.3rem; }
.team-dialog-grid { display: grid; }
.team-dialog-body { padding: clamp(1.4rem, 4vw, 2.6rem); }
.team-dialog-body h3 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); }
.team-dialog-body p { color: var(--muted); }
.team-dialog-body h4 { margin: 1.6rem 0 0; font-size: 1.05rem; color: var(--navy); }
.team-dialog .ticks { margin-top: 0.85rem; }
.team-dialog .ticks li { align-items: flex-start; color: var(--ink); line-height: 1.45; }
.team-dialog .ticks .icon { flex: none; }
@media (min-width: 760px) {
  .team-dialog-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .team-dialog-photo { aspect-ratio: auto; min-height: 100%; }
}
@keyframes rayven-pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .is-open .nav-panel, .team-dialog[open] { animation: none; }
  .team-lead, .team-card, .team-more .icon { transition: none; }
}
@media print { .nav-toggle, .team-dialog { display: none; } }

/* ==========================================================================
   Version 6: product photo pop-ups with zoom, and photos in product details.
   ========================================================================== */
.card-media { position: relative; }
.zoom-badge { position: absolute; right: 0.6rem; bottom: 0.6rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--navy); box-shadow: 0 2px 10px rgba(8, 31, 92, 0.22); transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.zoom-badge .icon { width: 1.2rem; height: 1.2rem; }
a.card--zoom:hover .zoom-badge, .group-photo:hover .zoom-badge { background: var(--red); color: #fff; transform: scale(1.06); }

/* Photo inside each product's details: on top on phones, on the right from tablet width. */
.group-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 1.25rem; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: calc(var(--radius) * 0.75); background: #fff; cursor: zoom-in; }
.group-photo .photo { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.group-photo:hover .photo { transform: scale(1.04); }
.group-photo .ph { min-height: 0; background: linear-gradient(160deg, #f5f8fd 0%, #e3eaf6 100%); }
.group-photo:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; }
@media (min-width: 640px) {
  .group--photo { display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 32%, 280px); column-gap: 1.75rem; align-content: start; }
  .group--photo > * { grid-column: 1; }
  .group--photo > .group-photo { grid-column: 2; grid-row: 1 / span 12; align-self: start; margin: 0; }
}

/* Product pop-up */
.product-dialog { width: min(calc(100% - 1.5rem), 64rem); }
.zoom-stage { position: relative; height: min(62vh, 36rem); overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.zoom-img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.zoom-stage.is-zoomed { overscroll-behavior: contain; }
.zoom-stage--empty { height: min(40vh, 20rem); }
.zoom-stage--empty .ph { min-height: 100%; background: linear-gradient(160deg, #f5f8fd 0%, #e3eaf6 100%); }
.zoom-soon { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); padding: 0.4rem 0.9rem; border-radius: 999px; background: #fff; color: var(--muted); font-size: 0.88rem; box-shadow: 0 2px 10px rgba(8, 31, 92, 0.15); }
.product-dialog-body { display: grid; gap: 1.25rem; padding: clamp(1.2rem, 3.5vw, 2rem); }
.product-dialog-body h3 { margin: 0 0 0.5rem; font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--navy); }
.product-dialog-body p { margin: 0; color: var(--muted); }
.product-dialog-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.zoom-toggle { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.75rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.zoom-toggle:hover { border-color: var(--navy); }
.zoom-toggle[hidden] { display: none; }
.zoom-toggle .icon { width: 1.15rem; height: 1.15rem; }
.zoom-toggle .zi-in, .zoom-toggle .zi-out { display: inline-grid; }
.zoom-toggle[aria-pressed="true"] .zi-in, .zoom-toggle[aria-pressed="false"] .zi-out { display: none; }
@media (min-width: 760px) {
  .product-dialog-body { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .product-dialog-actions { justify-content: flex-end; }
}
@media (max-width: 480px) {
  .product-dialog-actions .btn { flex: 1 1 100%; }
  .zoom-toggle { flex: 1 1 100%; justify-content: center; }
  .zoom-stage { height: 44vh; }
  .zoom-stage--empty { height: 30vh; }
}
html:has(.product-dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .zoom-badge, .group-photo .photo { transition: none; }
}
@media print { .zoom-badge, .product-dialog { display: none; } .group-photo { cursor: auto; } }

/* ==========================================================================
   Version 7: Managing Director's message, Our work portfolio and project pages.
   ========================================================================== */

/* Message from the Managing Director (About) */
.md-message-inner { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.md-message-photo { aspect-ratio: 4 / 5; max-width: 22rem; overflow: hidden; border-radius: var(--radius); background: var(--mist); box-shadow: var(--shadow); }
.md-message-photo .ph { min-height: 100%; }
.md-message-photo .photo { width: 100%; height: 100%; object-fit: cover; }
.md-message-body h2 { margin-bottom: 1.25rem; }
.md-quote { position: relative; margin: 0; padding: 0 0 0 1.5rem; border-left: 4px solid var(--red); }
.md-quote p { color: var(--ink); font-size: 1.08rem; line-height: 1.65; max-width: 68ch; }
.md-quote p + p { margin-top: 0.9rem; }
.md-sign { margin: 1.5rem 0 0 1.5rem; }
.md-sign strong { display: block; color: var(--navy); font-size: 1.2rem; font-stretch: 90%; }
.md-sign span { color: var(--muted); }
@media (min-width: 860px) { .md-message-inner { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } }

/* Hero label on dark */
.page-hero .eyebrow { margin-bottom: 0.6rem; }

/* Project cards */
.project-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.project-grid--featured { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.project-item[hidden] { display: none; }
.project-card .card-media { aspect-ratio: 16 / 10; }
.project-card .card-body { gap: 0.55rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.project-tags span { padding: 0.2rem 0.6rem; border-radius: 999px; background: #e8eefb; color: var(--navy); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.02em; }
.project-tags span + span { background: var(--mist); color: var(--muted); }
.project-title { margin: 0.1rem 0 0; font-size: 1.25rem; color: var(--navy); line-height: 1.2; }
.project-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; color: var(--muted); font-size: 0.88rem; }
.project-meta > span { display: inline-flex; align-items: center; gap: 0.35rem; }
.project-meta .icon { width: 1rem; height: 1rem; color: var(--blue-ink); flex: none; }
.project-desc { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.project-go { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 0.4rem; font-weight: 700; color: var(--red-ink); }
.project-go .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.15s ease; }
.project-card:hover .project-go .icon { transform: translateX(4px); }
.project-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-bottom: 1rem; }
.filters[hidden] { display: none; }
.filter-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.75rem; padding: 0.55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:focus-visible, .filter-select select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.chip-count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 0.78rem; }
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, 0.18); color: #fff; }
.filter-select { display: flex; align-items: center; gap: 0.6rem; }
.filter-select label { font-weight: 600; color: var(--navy); }
.filter-select select { min-height: 2.75rem; padding: 0.5rem 2.2rem 0.5rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; }
.filter-status { min-height: 1.5em; margin: 0 0 0.75rem; color: var(--muted); font-size: 0.92rem; }
.filter-empty { display: grid; justify-items: start; gap: 0.75rem; padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; }
.filter-empty[hidden] { display: none; }
.load-more { display: flex; justify-content: center; margin: 2rem 0 0; }
.load-more .btn[hidden] { display: none; }

/* Empty portfolio */
.portfolio-empty { display: grid; gap: 1.25rem; align-items: center; padding: clamp(1.4rem, 4vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.portfolio-empty-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #e8eefb; color: var(--navy); }
.portfolio-empty-icon .icon { width: 1.7rem; height: 1.7rem; }
.portfolio-empty h3 { margin: 0 0 0.4rem; color: var(--navy); }
.portfolio-empty p { color: var(--muted); max-width: 62ch; }
.portfolio-empty .btn { justify-self: start; }
.portfolio-empty .ph-note-inline { margin-top: 0.75rem; padding: 0.6rem 0.8rem; border-radius: 8px; background: #fff6d6; color: #5a4600; font-size: 0.88rem; }
@media (min-width: 860px) { .portfolio-empty { grid-template-columns: auto minmax(0, 1fr) auto; } .portfolio-empty .btn { justify-self: end; } }

/* What our work covers */
.capabilities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.85rem; }
.capabilities li { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 600; color: var(--navy); line-height: 1.3; }
.capabilities .icon { flex: none; width: 2.4rem; height: 2.4rem; padding: 0.45rem; border-radius: 10px; background: #e8eefb; color: var(--blue-ink); }

/* Project page */
.project-facts { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); margin: -1.75rem 0 0; padding: 0; background: #f4f7fc; border: 1px solid #d9e3f3; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.project-facts div { padding: 1rem 1.25rem; border-bottom: 1px solid #d9e3f3; }
.project-facts dt { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { margin: 0.2rem 0 0; font-weight: 600; color: var(--navy); line-height: 1.3; }
.project-layout { display: grid; gap: 2.5rem; align-items: start; }
.project-story { display: grid; gap: 2.25rem; min-width: 0; }
.project-block h2 { margin-bottom: 0.75rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--navy); }
.project-block h2::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.6rem; border-radius: 2px; background: var(--red); }
.project-block .prose p { color: var(--ink); line-height: 1.65; }
.supplied { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 0.6rem; }
.supplied li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; line-height: 1.4; }
.supplied .icon { flex: none; width: 1.3rem; height: 1.3rem; padding: 0.15rem; border-radius: 5px; background: var(--red); color: #fff; }
.project-aside-card { display: grid; gap: 0.9rem; padding: 1.5rem; border-radius: var(--radius); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.project-aside-card h2 { margin: 0; font-size: 1.45rem; color: #fff; }
.project-aside-card p { color: #d7e1f3; }
.project-aside-card .btn { justify-content: center; }
.project-aside-card .text-link { color: #fff; }
@media (min-width: 960px) {
  .project-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; }
  .project-aside { position: sticky; top: 7rem; }
}

/* Project gallery */
.gallery-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 0.85rem; }
.gallery-item { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: zoom-in; }
.gallery-item .photo { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover .photo { transform: scale(1.04); }
.gallery-item:hover .zoom-badge { background: var(--red); color: #fff; }
.gallery-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gallery-dialog .product-dialog-body p { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .chip, .project-go .icon, .gallery-item .photo { transition: none; }
}
@media print { .filters, .load-more, .project-aside { display: none; } }
.demo-note { margin: 0 0 1.25rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: #fff6d6; color: #5a4600; font-size: 0.9rem; max-width: none; }
.page-hero-photo .photo--contain { background: #fff; }

/* ==========================================================================
   Version 8: project page to the mockup (facts with icons, overview + photo,
   three panels, gallery with captions, related cards).
   ========================================================================== */
.project-facts { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr)); }
.project-facts div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; align-items: center; padding: 1rem 1.25rem; }
.project-facts dt { display: contents; }
.project-facts dt .icon { grid-row: 1 / 3; width: 1.9rem; height: 1.9rem; color: var(--navy); }
.project-facts .fact-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.project-facts dd { grid-column: 2; margin: 0.1rem 0 0; }

.project-intro { display: grid; gap: 2rem; align-items: start; }
.project-main-photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); background: var(--mist); box-shadow: var(--shadow); }
.project-main-photo .photo { width: 100%; height: 100%; object-fit: cover; }
.project-intro .prose p { color: var(--ink); line-height: 1.65; }
.project-intro .prose ul { margin: 0.75rem 0; }
@media (min-width: 900px) { .project-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; } }

.project-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); }
.project-panel { padding: 1.4rem 1.5rem; border: 1px solid #d9e3f3; border-radius: var(--radius); background: #f4f7fc; }
.project-panel h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-size: 1.3rem; color: var(--navy); }
.project-panel h2 .icon { flex: none; width: 1.7rem; height: 1.7rem; color: var(--blue-ink); }
.project-panel p { color: var(--ink); line-height: 1.6; }
.project-panel--outcome { background: #e8f0fd; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.steps li { display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.45; }
.steps .icon { flex: none; width: 1.35rem; height: 1.35rem; padding: 0.2rem; border-radius: 50%; background: var(--blue); color: #fff; }
.panel-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.45rem; line-height: 1.45; }
.panel-list li::marker { color: var(--red); }
.panel-sub { margin: 1rem 0 0.5rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted) !important; }
.range-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.range-links a { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.range-links a:hover { border-color: var(--navy); }
.range-links .icon { width: 0.95rem; height: 0.95rem; color: var(--red); }

.project-gallery { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.project-block-h { margin-bottom: 1.1rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--navy); }
.project-block-h::after { content: ""; display: block; width: 2.5rem; height: 3px; margin-top: 0.6rem; border-radius: 2px; background: var(--red); }
.project-intro .project-block h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); color: var(--navy); }
.gallery-grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.gallery-item--placeholder .photo { object-fit: cover; }
.gallery-caption { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }

.project-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.text-link--back .icon { transform: rotate(180deg); }
.text-link--back:hover .icon { transform: rotate(180deg) translateX(4px); }

.related-inner { display: grid; gap: 1.25rem; align-items: center; }
.related-inner h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.mini-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 0.9rem; }
.mini-card { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: stretch; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mini-card-media { display: block; min-height: 5.5rem; background: var(--mist); }
.mini-card-media .photo { width: 100%; height: 100%; object-fit: cover; }
.mini-card-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.75rem 0.9rem; }
.mini-card-body strong { color: var(--navy); font-size: 0.95rem; line-height: 1.3; }
.mini-card-body > span { color: var(--blue-ink); font-size: 0.85rem; }
.mini-card-go { margin-top: auto; color: var(--red) !important; }
.mini-card-go .icon { width: 1.1rem; height: 1.1rem; }
@media (min-width: 960px) { .related-inner { grid-template-columns: 12rem minmax(0, 1fr); gap: 2rem; } }
@media (prefers-reduced-motion: reduce) { .mini-card { transition: none; } }

/* Version 9: photo pop-ups zoom in steps (fit, 1.5x, 2.25x) on click or double-tap; drag to move. */
.zoom-stage { touch-action: manipulation; }
.zoom-stage .zoom-img { cursor: zoom-in; }
.zoom-stage.is-zoomed { overflow: auto; }
.zoom-stage.is-zoomed .zoom-img { max-width: none; height: auto; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.zoom-stage.zoom-2 .zoom-img { width: 150%; }
.zoom-stage.zoom-3 .zoom-img { width: 225%; cursor: zoom-out; }
.zoom-stage.is-dragging, .zoom-stage.is-dragging .zoom-img { cursor: grabbing; }
.zoom-stage::after { content: "Click to zoom"; position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%); padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(8, 31, 92, 0.75); color: #fff; font-size: 0.8rem; pointer-events: none; transition: opacity 0.2s ease; }
@media (hover: none) { .zoom-stage::after { content: "Double-tap to zoom"; } }
.zoom-stage.is-zoomed::after { opacity: 0; }
.gallery-caption { display: none; }
.zoom-stage.is-tall.zoom-2 .zoom-img { width: auto; height: 150%; margin-inline: auto; }
.zoom-stage.is-tall.zoom-3 .zoom-img { width: auto; height: 225%; margin-inline: auto; }

/* Version 10: floating WhatsApp chat button (replaces the scripted assistant). */
.wa-float { position: fixed; right: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); z-index: 60; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.8rem 1.2rem 0.8rem 0.95rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(7, 94, 84, 0.6); transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.wa-float:hover { background: #1ebe5b; color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -10px rgba(7, 94, 84, 0.7); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa-icon { width: 1.7rem; height: 1.7rem; flex: none; }
@media (max-width: 600px) { .wa-float { padding: 0.85rem; } .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .wa-icon { width: 1.9rem; height: 1.9rem; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }
@media print { .wa-float { display: none; } }

/* v11: home hero photo. On wide screens the photo sits on the right so the people stay visible beside the text. */
.hero3--photo .hero3-bg .photo { width: 100%; height: 100%; object-fit: cover; object-position: 22% center; }
@media (min-width: 960px) {
  .hero3--photo .hero3-bg { left: 40%; }
  .hero3--photo .hero3-bg .photo { object-position: left center; }
  .hero3--photo .hero3-bg::after { background: linear-gradient(90deg, #06174a 0%, rgba(6, 23, 74, 0.55) 10%, rgba(6, 23, 74, 0) 26%, rgba(6, 23, 74, 0) 100%), linear-gradient(0deg, rgba(6, 23, 74, 0.7) 0%, rgba(6, 23, 74, 0) 35%); }
  .hero3--photo .wing { display: none; }
}

/* v12: home page slider. Slides share one grid cell and fade; the tallest sets the height. */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0s linear 0.9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s ease, visibility 0s; }
.hero3 .hero3-title { color: #fff; max-width: 16ch; margin: 0 0 0.45em; font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.05; }
.hero3--slider .hero-slide .photo { transform: scale(1.04); transition: transform 7s ease-out; }
.hero3--slider .hero-slide.is-active .photo { transform: scale(1); }
.hero-controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.6rem; margin-top: 1.75rem; }
.hero-controls[hidden] { display: none; }
.hero-ctl { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%; background: rgba(6, 23, 74, 0.45); color: #fff; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease; }
.hero-ctl:hover, .hero-ctl:focus-visible { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.hero-ctl .icon { width: 1.15rem; height: 1.15rem; }
.hero-ctl--pause { margin-left: 0.4rem; }
.hero-ctl--pause .icon:last-child, .hero3--slider.is-paused .hero-ctl--pause .icon:first-child { display: none; }
.hero3--slider.is-paused .hero-ctl--pause .icon:last-child { display: block; }
.hero-dots { display: flex; gap: 0.35rem; }
.hero-dot { position: relative; width: 2.25rem; height: 2.6rem; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); transition: background 0.2s ease; }
.hero-dot[aria-current="true"]::before { background: var(--red); }
.hero-dot:hover::before { background: rgba(255, 255, 255, 0.75); }
.hero-dot[aria-current="true"]:hover::before { background: var(--red); }
.hero3--slider .highlights { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-active { transition: none; }
  .hero3--slider .hero-slide .photo { transform: none; transition: none; }
}
.hero3--slider .hero3-bg { overflow: hidden; }
@media (min-width: 960px) { .hero3--slider .hero3-bg::after { background: linear-gradient(90deg, #06174a 0%, rgba(6, 23, 74, 0.8) 12%, rgba(6, 23, 74, 0) 34%, rgba(6, 23, 74, 0) 100%), linear-gradient(0deg, rgba(6, 23, 74, 0.7) 0%, rgba(6, 23, 74, 0) 35%); } }

/* v13: shorter slider, dots only. */
.hero3--slider { padding-block: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.5rem, 3vw, 2.25rem); }
.hero3 .hero3-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 17ch; line-height: 1.08; }
.hero3--slider .lede { margin-bottom: 0; }
.hero3--slider .actions { margin-top: 1.4rem; }
.hero-controls { margin-top: 1.25rem; }
.hero-dots { gap: 0.25rem; margin-left: -0.45rem; }
.hero-dot { width: 1.6rem; height: 1.6rem; }
.hero-dot::before { left: 50%; right: auto; top: 50%; width: 0.6rem; height: 0.6rem; margin: -0.3rem 0 0 -0.3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: background 0.2s ease, width 0.25s ease, margin 0.25s ease; }
.hero-dot[aria-current="true"]::before { width: 1.5rem; margin-left: -0.75rem; border-radius: 999px; }
.hero3--slider .highlights { margin-top: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 1040px) { .hero3--slider .highlights li { padding-block: 1rem; } }
@media (min-width: 960px) { .hero3--slider .hero3-bg .photo { object-position: left 15%; } }

/* v14: taller slider; the photo panel is sized close to the photos' 16:9 shape so they show whole, not zoomed. */
@media (min-width: 960px) {
  .hero3--slider { min-height: min(36vw, 660px); display: flex; flex-direction: column; justify-content: center; }
  .hero3--slider .hero3-bg { left: 36%; }
  .hero3--slider .hero3-bg .photo { object-position: center; }
  .hero3--slider .hero-slide .photo, .hero3--slider .hero-slide.is-active .photo { transform: none; transition: none; }
}

/* v15: previous and next arrows. In the row with the dots on smaller screens; at the sides of the banner on wide screens. */
.hero-controls { gap: 0.75rem; }
.hero-dots { margin-left: 0; }
.hero-arrow { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; background: rgba(6, 23, 74, 0.55); color: #fff; cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--red); border-color: var(--red); }
.hero-arrow .icon { width: 1.3rem; height: 1.3rem; }
@media (min-width: 1200px) {
  .hero3--slider .hero-controls { position: static; }
  .hero3--slider .hero-arrow { position: absolute; z-index: 3; top: 42%; width: 3.25rem; height: 3.25rem; transform: translateY(-50%); }
  .hero3--slider .hero-arrow--prev { left: 1.25rem; }
  .hero3--slider .hero-arrow--next { right: 1.25rem; }
}

/* v16: show the Rayven Complex photos whole. */
.company-photo, .visit-photo { aspect-ratio: 16 / 9; }
@media (min-width: 960px) {
  .page-hero--fit { min-height: min(32.6vw, 560px); }
  .page-hero--fit .page-hero-photo::after { background: linear-gradient(90deg, #081f5c 0%, rgba(8, 31, 92, 0.55) 14%, rgba(8, 31, 92, 0) 40%); }
}

/* v17: phones and tablets. The slide photo sits whole above the text instead of behind it. */
@media (max-width: 959px) {
  .hero3--slider { padding-top: 0; }
  .hero3--slider .wing { display: none; }
  .hero3--slider .hero3-bg { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
  .hero3--slider .hero3-bg .photo { object-position: center; }
  .hero3--slider .hero3-bg::after { background: linear-gradient(180deg, rgba(6, 23, 74, 0) 70%, rgba(6, 23, 74, 0.85) 100%); }
  .hero3 .hero3-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-controls { margin-top: 1rem; }
}

/* v18: product photo galleries. Extra photos show as small thumbnails under the main photo and
   in the pop-up, with previous and next arrows, a counter and swipe on phones. */
.group-media { margin: 0 0 1.25rem; }
.group-media .group-photo { margin: 0; }
.group-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.4rem; margin-top: 0.45rem; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--navy); }
.thumb:focus-visible { outline: 3px solid var(--royal); outline-offset: 2px; }
.thumb-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(8, 31, 92, 0.72); color: #fff; font-weight: 700; font-size: 1rem; }
@media (min-width: 640px) {
  .group--photo > .group-media { grid-column: 2; grid-row: 1 / span 12; align-self: start; margin: 0; }
}
.zoom-count { position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(8, 31, 92, 0.78); color: #fff; font-size: 0.82rem; font-weight: 600; }
.zoom-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; margin-top: -1.45rem; padding: 0; border: 0; border-radius: 50%; background: rgba(8, 31, 92, 0.8); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.zoom-nav:hover { background: var(--red); }
.zoom-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.zoom-nav .icon { width: 1.4rem; height: 1.4rem; }
.zoom-nav--prev { left: 0.75rem; }
.zoom-nav--next { right: 0.75rem; }
.zoom-stage.is-zoomed .zoom-nav, .zoom-stage.is-zoomed .zoom-count { display: none; }
.zoom-thumbs { display: flex; gap: 0.45rem; padding: 0.6rem 1rem; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--mist); }
.zoom-thumbs .thumb { flex: 0 0 4.75rem; }
.zoom-thumbs .thumb[aria-current="true"] { border-color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
@media (max-width: 639px) {
  .zoom-nav { width: 2.5rem; height: 2.5rem; margin-top: -1.25rem; }
  .zoom-thumbs .thumb { flex-basis: 4rem; }
}
@media (prefers-reduced-motion: reduce) { .zoom-nav { transition: none; } }
