:root:root { --primary: #13335f; --secondary: #2d74e6; --accent: #f4a024; --background: #ffffff; --surface: #f4f7fb; --text: #0e1a2b; --text-muted: #566580; --border: #e0e7f1; --success: #138a55; --warning: #f4a024; --error: #d8392b; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 18px; --radius-pill: 9999px; --shadow-sm: 0 1px 2px rgba(14,26,43,0.06); --shadow-md: 0 6px 18px rgba(14,26,43,0.08); --shadow-lg: 0 18px 44px rgba(14,26,43,0.14); --font-heading: Sora, sans-serif; --font-body: Inter, sans-serif; --font-size: 16px; --line-height: 1.6; }
:root:root[data-theme="dark"] { --background: #0a1c34; --surface: #0e2748; --text: #eaf1fb; --text-muted: #9fb2cd; --border: rgba(234,241,251,0.14); }
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');
/* ============================================================================
   DynamoElectric Inc. — design tokens
   Theme is fixed by the style guide; every colour, font, radius and spacing
   value below drives the whole site. Do not introduce off-palette values.
   ========================================================================== */
:root {
  --primary: #13335f;
  --secondary: #2d74e6;
  --accent: #f4a024;
  --background: #ffffff;
  --surface: #f4f7fb;
  --text: #0e1a2b;
  --text-muted: #566580;
  --border: #e0e7f1;
  --success: #138a55;
  --warning: #f4a024;
  --error: #d8392b;
  --surface-alt: #ecf1f8;
  --info: #2d74e6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(14,26,43,0.06);
  --shadow-md: 0 6px 18px rgba(14,26,43,0.08);
  --shadow-lg: 0 18px 44px rgba(14,26,43,0.14);

  --font-heading: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-size: 16px;
  --line-height: 1.6;

  /* derived helpers (kept on-palette) */
  --primary-700: #0e2748;
  --primary-900: #0a1c34;
  --accent-600: #d98712;
  --ink-on-dark: #eaf1fb;
  --muted-on-dark: #9fb2cd;
  --line-on-dark: rgba(234,241,251,0.14);

  --container: 1200px;
  --container-wide: 1320px;
  --section-y: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
}

/* ---- dark mode (toggled via data-theme on <html>) ---- */
html[data-theme="dark"] {
  --background: #0a1c34;
  --surface: #0e2748;
  --surface-alt: #13335f;
  --text: #eaf1fb;
  --text-muted: #9fb2cd;
  --border: rgba(234,241,251,0.14);
  --primary-700: #0e2748;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.35);
  --shadow-lg: 0 18px 44px rgba(0,0,0,0.5);
}
html[data-theme="dark"] body { background: var(--background); }
html[data-theme="dark"] .stat .n { color: #fff; }
html[data-theme="dark"] .price-card .amt { color: #fff; }
html[data-theme="dark"] .btn-ghost { --fg: var(--text); }
html[data-theme="dark"] .btn-primary { --bg: var(--secondary); --bd: var(--secondary); }
html[data-theme="dark"] .link-arrow { color: var(--text); }
html[data-theme="dark"] .faq-q { color: var(--text); }
html { transition: background .25s ease; }
body, .svc-card, .tcard, .price-card, .lead-form, .member .ph, .post-card .cover { transition: background .25s ease, border-color .25s ease, color .25s ease; }

/* theme toggle button */
.theme-toggle { width: 42px; height: 42px; border-radius: var(--radius-pill); border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: rgba(234,241,251,0.85); transition: .2s ease; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle .sun, .theme-toggle .moon { grid-area: 1/1; transition: opacity .25s ease, transform .35s ease; }
html:not([data-theme="dark"]) .theme-toggle .sun { opacity: 0; transform: rotate(90deg) scale(.5); }
html[data-theme="dark"] .theme-toggle .moon { opacity: 0; transform: rotate(-90deg) scale(.5); }

/* --------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  font-size: var(--font-size);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--primary-900); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }

/* --------------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.container.wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); }
.section.tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* surfaces */
.bg-surface { background: var(--surface); }
.bg-surface-alt { background: var(--surface-alt); }
.bg-primary { background: var(--primary); color: var(--ink-on-dark); }
.bg-primary-900 { background: var(--primary-900); color: var(--ink-on-dark); }
.on-dark { color: var(--ink-on-dark); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

/* --------------------------------------------------------------------- type kit */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.on-dark .eyebrow { color: var(--accent); }
.eyebrow.center { justify-content: center; }

.display { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 0.98; letter-spacing: -0.03em; }
.h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.accent-it { color: var(--accent); font-style: italic; }
.secondary-it { color: var(--secondary); font-style: italic; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--text-muted); }
.on-dark .lead { color: var(--muted-on-dark); }
.muted { color: var(--text-muted); }
.measure { max-width: 40ch; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* --------------------------------------------------------------------- buttons */
.btn {
  --bg: var(--primary); --fg: #fff; --bd: var(--primary);
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  padding: 0.82rem 1.4rem; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1;
  white-space: nowrap; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease;
}
.btn .i { transition: transform .22s ease; font-size: 0.85em; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-accent { --bg: var(--accent); --fg: var(--primary-900); --bd: var(--accent); }
.btn-accent:hover { --bg: var(--accent-600); --bd: var(--accent-600); }
.btn-secondary { --bg: var(--secondary); --fg: #fff; --bd: var(--secondary); }
.btn-primary { --bg: var(--primary); --fg: #fff; --bd: var(--primary); }
.btn-ghost { --bg: transparent; --fg: var(--primary); --bd: var(--border); }
.btn-ghost:hover { --bd: var(--primary); background: var(--surface); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: var(--line-on-dark); }
.btn-outline-light:hover { --bd: #fff; background: rgba(255,255,255,0.06); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.95rem; color: var(--primary); }
.link-arrow .i { transition: transform .2s ease; }
.link-arrow:hover { color: var(--secondary); }
.link-arrow:hover .i { transform: translateX(3px); }
.on-dark .link-arrow { color: #fff; }
.on-dark .link-arrow:hover { color: var(--accent); }

/* --------------------------------------------------------------------- section heads */
.sec-head { max-width: 46rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head .h2 { margin-top: 0.8rem; }
.sec-head p { margin-top: 0.9rem; }

/* --------------------------------------------------------------------- scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

.vh { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }

/* ============================================================================
   DynamoElectric Inc. — section & component styles
   ========================================================================== */

/* ============================================================ HEADER */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--primary-900) 90%, transparent);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line-on-dark); color: var(--ink-on-dark); }
.util-strip { border-bottom: 1px solid var(--line-on-dark); background: rgba(10,28,52,0.5); }
.util-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 38px;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-dark); font-weight: 500; }
.util-strip .lic { display: inline-flex; align-items: center; gap: 0.5rem; }
.util-strip .lic .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 24%, transparent); }
.util-strip .u-right { display: inline-flex; align-items: center; gap: 1.4rem; }
.util-strip a:hover { color: #fff; }
.util-strip .u-phone { color: var(--ink-on-dark); display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.util-strip .u-phone .i { color: var(--accent); }

.site-header .bar { display: flex; align-items: center; gap: 1.6rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: #fff; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.brand .dot-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 0.15rem; margin-left: 0.8rem; }
.nav a { padding: 0.55rem 0.85rem; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500; color: rgba(234,241,251,0.82); position: relative; transition: color .18s ease, background .18s ease; }
.nav a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav a.active { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 0.7rem; margin-left: auto; }
.header-actions .call { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: rgba(234,241,251,0.9); }
.header-actions .call .i { color: var(--accent); }
.header-actions .call:hover { color: var(--accent); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-on-dark); position: relative; color: #fff; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content:""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: currentColor; transform: translate(-50%,-50%); transition: .25s; }
.menu-toggle span::before { transform: translate(-50%,-6px); }
.menu-toggle span::after { transform: translate(-50%,6px); }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translate(-50%,-50%) rotate(45deg); }
.menu-toggle.open span::after { transform: translate(-50%,-50%) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: calc(var(--header-h) + 38px) 0 auto 0; background: var(--primary-900); border-bottom: 1px solid var(--line-on-dark); padding: 1rem clamp(20px,5vw,44px) 1.6rem; flex-direction: column; gap: 0.1rem; z-index: 55; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.9rem 0.3rem; font-weight: 500; color: rgba(234,241,251,0.85); border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav a:hover { color: #fff; }
.mobile-nav .m-actions { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.mobile-nav .m-actions .btn { flex: 1; justify-content: center; }

@media (max-width: 1024px) {
  .nav, .header-actions .call, .header-actions .btn-accent { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 600px) {
  .util-strip { display: none; }
  .mobile-nav { inset: var(--header-h) 0 auto 0; }
}

/* ============================================================ PAGE HERO (interior pages) */
.page-hero { position: relative; isolation: isolate; background: var(--primary-900); color: var(--ink-on-dark); overflow: hidden; }
.page-hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: -2; }
.page-hero .hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,28,52,0.55), rgba(10,28,52,0.92)); }
.page-hero .container { padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .crumb { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--muted-on-dark); display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1.2rem; }
.page-hero .crumb a:hover { color: var(--accent); }
.page-hero .crumb .sep { opacity: 0.5; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.03em; }
.page-hero .lead { color: rgba(234,241,251,0.82); margin-top: 1.1rem; max-width: 40rem; }

/* ============================================================ HERO */
.hero { position: relative; isolation: isolate; min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--primary-900); color: #fff; }
.hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero .hero-overlay { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,28,52,0.45) 0%, rgba(10,28,52,0.82) 64%, rgba(10,28,52,0.98) 100%),
  linear-gradient(90deg, rgba(10,28,52,0.85) 0%, rgba(10,28,52,0.35) 62%, transparent 100%); }
.hero .container { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: end; }
.hero h1 { margin-top: 1.3rem; }
.hero .hero-side p { font-size: 1.1rem; color: rgba(234,241,251,0.82); line-height: 1.6; max-width: 30rem; }
.hero .btn-row { margin-top: 1.7rem; }
.hero-chips { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.6rem; border-top: 1px solid var(--line-on-dark);
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; font-size: 0.9rem; color: rgba(234,241,251,0.78); }
.hero-chips span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-chips .i { color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; align-items: start; } }

/* ============================================================ MARQUEE */
.marquee { background: var(--primary); border-block: 1px solid var(--line-on-dark); padding-block: 1.1rem; overflow: hidden; }
.marquee-track { display: flex; gap: 3.5rem; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-heading); font-weight: 600; font-size: clamp(1.2rem, 2.5vw, 1.7rem); color: rgba(234,241,251,0.6); }
.marquee-track .grp { display: inline-flex; align-items: center; gap: 3.5rem; }
.marquee-track .i { color: var(--accent); font-size: 0.7em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================ STATS */
.stats .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat .n { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.95; color: var(--primary); letter-spacing: -0.03em; }
.stat .n .u { color: var(--accent); }
.stat .l { margin-top: 0.7rem; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; color: var(--text-muted); }
@media (max-width: 760px) { .stats .grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }

/* ============================================================ SERVICES */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.svc-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.7rem 1.5rem; transition: transform .3s ease, border-color .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.svc-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--shadow-md); }
.svc-card .ic { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--surface); color: var(--secondary); display: grid; place-items: center; font-size: 1.4rem; transition: background .25s ease, color .25s ease; }
.svc-card:hover .ic { background: var(--accent); color: var(--primary-900); }
.svc-card .ic svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc-card h3 { font-size: 1.18rem; margin-top: 1.2rem; }
.svc-card p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.55rem; flex: 1; }
.svc-card .more { margin-top: 1.1rem; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--secondary); display: inline-flex; align-items: center; gap: 0.4rem; }
.svc-card .more .i { transition: transform .2s ease; }
.svc-card:hover .more .i { transform: translateX(3px); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============================================================ WHY / FEATURES */
.why .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; border-top: 1px solid var(--border); padding-top: 2.8rem; }
.why-item .ic { font-size: 1.7rem; color: var(--accent); }
.why-item .ic svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-item .k { margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.why-item h3 { margin-top: 0.7rem; font-size: 1.35rem; }
.why-item p { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 980px) { .why .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .why .grid { grid-template-columns: 1fr; } }

/* ============================================================ SEARCH / FACETS / PROJECTS */
.collection-bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.search-box { position: relative; flex: 1; min-width: 240px; max-width: 420px; }
.search-box .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-box input { width: 100%; padding: 0.8rem 1rem 0.8rem 2.6rem; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--background); font-size: 0.95rem; }
.on-dark .search-box input { background: rgba(255,255,255,0.06); border-color: var(--line-on-dark); color: #fff; }
.on-dark .search-box .i { color: var(--muted-on-dark); }
.search-box input:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 22%, transparent); }
.facets { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facets button { padding: 0.5rem 1rem; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--background); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); transition: .18s ease; }
.facets button:hover { border-color: var(--secondary); color: var(--secondary); }
.facets button.is-active, .facets button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.on-dark .facets button { background: rgba(255,255,255,0.05); border-color: var(--line-on-dark); color: var(--muted-on-dark); }
.on-dark .facets button:hover { color: #fff; border-color: var(--accent); }
.on-dark .facets button.is-active { background: var(--accent); border-color: var(--accent); color: var(--primary-900); }
.count { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.on-dark .count { color: var(--muted-on-dark); }

.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.proj-card { position: relative; display: block; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary); }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.9,.3,1); }
.proj-card:hover img { transform: scale(1.06); }
.proj-card .scrim { position: absolute; inset: 0; background: linear-gradient(to top, var(--primary-900) 4%, rgba(10,28,52,0.25) 46%, transparent 78%); }
.proj-card .meta { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; transition: transform .35s ease; }
.proj-card:hover .meta { transform: translateY(-5px); }
.proj-card .cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.proj-card h3 { color: #fff; font-size: 1.4rem; margin-top: 0.5rem; line-height: 1.12; }
.proj-card .sub { color: rgba(234,241,251,0.78); font-size: 0.85rem; margin-top: 0.5rem; font-family: var(--font-body); }
@media (max-width: 980px) { .proj-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .proj-grid { grid-template-columns: 1fr; } }

.collection-foot { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line-on-dark); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.collection-foot .big { font-family: var(--font-heading); font-size: 1.3rem; color: #fff; }

/* ============================================================ SPLIT / SAFETY */
.split { position: relative; overflow: hidden; }
.split .bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; z-index: 0; }
.split .bg-photo + .scrim { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, var(--primary-900) 30%, rgba(10,28,52,0.55) 100%); }
.split .container { position: relative; z-index: 1; }
.split .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.2rem; max-width: 30rem; }
.metric { border: 1px solid var(--line-on-dark); border-radius: var(--radius-md); padding: 1.2rem; }
.metric .n { font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.metric .n .sm { font-size: 0.9rem; }
.metric .l { font-size: 0.85rem; color: var(--muted-on-dark); margin-top: 0.55rem; }
.cert-list { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1.4rem; }
.cert { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line-on-dark); border-radius: var(--radius-md); background: rgba(10,28,52,0.4); }
.cert .i { color: var(--accent); font-size: 1.3rem; margin-top: 2px; }
.cert .t { font-weight: 600; color: #fff; }
.cert .d { font-size: 0.85rem; color: var(--muted-on-dark); margin-top: 0.2rem; }
@media (max-width: 900px) { .split .grid { grid-template-columns: 1fr; } }

/* ============================================================ CAREERS / POSITIONS */
.careers { position: relative; background: var(--accent); color: var(--primary-900); overflow: hidden; }
.stripe { height: 6px; background-image: repeating-linear-gradient(135deg, var(--primary) 0 8px, transparent 8px 16px); }
.careers .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.careers .eyebrow { color: rgba(10,28,52,0.7); }
.careers .eyebrow::before { background: var(--primary); }
.careers h2 { color: var(--primary-900); }
.careers p { color: rgba(10,28,52,0.82); font-size: 1.1rem; margin-bottom: 1.4rem; }
.pos-list { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.4rem; }
.pos { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; background: rgba(10,28,52,0.06); border: 1px solid rgba(10,28,52,0.14); border-radius: var(--radius-md); transition: .2s ease; }
.pos:hover { background: var(--primary-900); border-color: var(--primary-900); }
.pos:hover .pos-t, .pos:hover .pos-m, .pos:hover .i { color: #fff; }
.pos-t { font-weight: 700; font-family: var(--font-heading); }
.pos-m { font-size: 0.82rem; color: rgba(10,28,52,0.7); margin-top: 0.2rem; }
.pos .i { color: var(--primary); }
@media (max-width: 860px) { .careers .grid { grid-template-columns: 1fr; } }

/* ============================================================ TESTIMONIALS */
.tcard { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; height: 100%; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.tcard .stars { display: inline-flex; gap: 3px; color: var(--accent); font-size: 0.95rem; }
.tcard blockquote { font-size: 1.05rem; line-height: 1.5; color: var(--text); margin-top: 1rem; flex: 1; }
.tcard .who { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--border); }
.tcard .who img, .tcard .who .ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; }
.tcard .who .nm { font-weight: 600; font-size: 0.95rem; }
.tcard .who .rl { font-size: 0.82rem; color: var(--text-muted); }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }

/* ============================================================ TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.member .ph { aspect-ratio: 1/1.12; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); position: relative; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; }
.member .nm { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; margin-top: 1rem; }
.member .rl { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--secondary); margin-top: 0.25rem; }
.member p { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.55rem; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; } }

/* ============================================================ BLOG / POSTS */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.post-card { display: flex; flex-direction: column; }
.post-card .cover { aspect-ratio: 16/10; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .cover img { transform: scale(1.05); }
.post-meta { display: flex; gap: 0.7rem; align-items: center; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; margin-top: 1rem; }
.post-meta .cat { color: var(--secondary); }
.post-card h3 { font-size: 1.3rem; font-weight: 700; margin-top: 0.7rem; line-height: 1.18; }
.post-card:hover h3 { color: var(--secondary); }
.post-card p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.55rem; flex: 1; }
@media (max-width: 880px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }

/* ============================================================ FAQ */
.faq .grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: 1.12rem; color: var(--text); }
.faq-q .pm { width: 20px; height: 20px; flex: none; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content:""; position: absolute; background: var(--accent); transition: transform .25s ease; }
.faq-q .pm::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-q .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > div { padding-bottom: 1.3rem; color: var(--text-muted); max-width: 46rem; }
@media (max-width: 820px) { .faq .grid { grid-template-columns: 1fr; } }

/* ============================================================ PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.price-card { background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; position: relative; }
.price-card.is-featured { border-color: var(--primary); box-shadow: var(--shadow-md); }
.price-card.is-featured::before { content: "Most requested"; position: absolute; top: -12px; left: 1.7rem; background: var(--accent); color: var(--primary-900); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: var(--radius-sm); }
.price-card .pname { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.price-card .amt { font-family: var(--font-heading); font-weight: 800; font-size: 2.8rem; line-height: 1; margin-top: 0.9rem; color: var(--primary); }
.price-card .amt .per { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.price-card .psum { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.8rem; min-height: 2.6em; }
.price-card .btn { margin-top: 1.3rem; width: 100%; justify-content: center; }
.price-card ul { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.price-card li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.9rem; color: var(--text); }
.price-card li .i { color: var(--success); flex: none; margin-top: 2px; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; } }

/* ============================================================ CONTACT / LEAD FORM */
.contact .grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info .clist { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.8rem; }
.contact-info .citem { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info .ic { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); display: grid; place-items: center; background: rgba(255,255,255,0.08); color: var(--accent); }
.contact-info .ic svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact-info .k { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-on-dark); }
.contact-info .v { font-weight: 600; margin-top: 0.15rem; color: #fff; }
.contact-info .v a:hover { color: var(--accent); }
.lead-form { background: var(--background); color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.lead-form .fh { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.lead-form .fh h3 { font-size: 1.3rem; }
.lead-form .fh .tag { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--secondary); }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; padding: 0.78rem 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 0.95rem; transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--secondary) 18%, transparent); background: var(--background); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-foot .btn { width: 100%; justify-content: center; }
.form-note { font-size: 0.76rem; color: var(--text-muted); margin-top: 0.9rem; text-align: center; }
@media (max-width: 900px) { .contact .grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================ FOOTER */
.site-footer { background: var(--primary-900); color: var(--ink-on-dark); }
.site-footer .top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem) 3rem; border-bottom: 1px solid var(--line-on-dark); }
.site-footer .brand { margin-bottom: 1.2rem; }
.site-footer .blurb { color: var(--muted-on-dark); font-size: 0.9rem; line-height: 1.6; max-width: 26rem; }
.site-footer .fcontact { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.9rem; color: rgba(234,241,251,0.8); }
.site-footer .fcontact .row { display: flex; gap: 0.7rem; align-items: flex-start; }
.site-footer .fcontact .i { color: var(--accent); margin-top: 3px; }
.site-footer .fcontact a:hover { color: var(--accent); }
.site-footer h5 { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 700; }
.site-footer .fcol ul { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer .fcol a, .site-footer .fcol li { font-size: 0.9rem; color: rgba(234,241,251,0.8); }
.site-footer .fcol a:hover { color: var(--accent); }
.socials { display: flex; gap: 0.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: rgba(234,241,251,0.78); transition: .2s ease; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary-900); }
.socials a svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; align-items: center; padding-block: 1.6rem; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-on-dark); }
.footer-bottom .legal { display: inline-flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 940px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .fbrand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .site-footer .top { grid-template-columns: 1fr; } }

/* breadcrumb separator (renderer clones crumbs; separator is CSS-only) */
.page-hero .crumb [data-zar-crumb] + [data-zar-crumb]::before { content: "/"; margin-right: 0.6rem; opacity: 0.5; }

/* ============================================================ DETAIL PAGES */
.detail-wrap { max-width: 52rem; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--text-muted); margin-bottom: 1.6rem; }
.detail-meta .cat { color: var(--secondary); }
.meta-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.meta-chips .chip { padding: 0.45rem 0.95rem; border-radius: var(--radius-pill); border: 1px solid var(--line-on-dark); font-size: 0.8rem; font-weight: 600; color: var(--ink-on-dark); }
.detail-body { color: var(--text); font-size: 1.02rem; }
.detail-body p { margin-bottom: 1.1rem; color: var(--text); }
.detail-body p + p { margin-top: 0; }
.detail-body h2, .detail-body h3 { margin: 1.8rem 0 0.7rem; }
.detail-body ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; color: var(--text); }
.detail-body img { border-radius: var(--radius-md); margin-block: 1.4rem; }
.detail-hero-img { aspect-ratio: 21/9; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; background: var(--surface); }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1rem 1.2rem; }
.fact .k { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }
.fact .v { font-weight: 600; margin-top: 0.3rem; }
@media (max-width: 640px) { .detail-facts { grid-template-columns: 1fr; } }
.team-detail-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .team-detail-grid { grid-template-columns: 1fr; max-width: 30rem; } }

/* image placeholder (for assets the design ships without a real photo) */
.ph-fill { width: 100%; height: 100%; object-fit: cover; display: block; }