/* ==========================================================================
   All Adelaide Electrical — design system
   Single stylesheet. Mobile-first. No build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colour — premium red + black */
    --color-bg:          #0a0a0b;
    --color-surface:     #15151a;
    --color-surface-2:   #1f1f24;
    --color-surface-3:   #2a2a30;
    --color-light:       #f6f6f7;
    --color-light-2:     #ececee;
    --color-light-3:     #dcdde0;
    --color-text:        #ffffff;
    --color-text-dark:   #0a0a0b;
    --color-muted:       #9ca3af;
    --color-muted-dark:  #6b7280;
    --color-accent:      #dc2626;       /* premium red */
    --color-accent-2:    #ef4444;       /* lighter red on dark */
    --color-accent-hover:#b91c1c;       /* deeper red on hover */
    --color-accent-soft: #fee2e2;       /* red-tinted soft background */
    --color-border:      rgba(255,255,255,0.08);
    --color-border-dark: rgba(0,0,0,0.10);

    /* Reusable accent rgbs for rgba() */
    --accent-rgb:        220, 38, 38;

    /* Type */
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Spacing — 8pt grid with extras */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-7: 32px;
    --space-8: 40px;
    --space-9: 48px;
    --space-10: 64px;
    --space-11: 80px;
    --space-12: 96px;
    --space-13: 128px;

    /* Layout */
    --container-max: 1240px;
    --container-pad: clamp(20px, 4vw, 48px);
    --section-y: clamp(64px, 9vw, 128px);

    /* Radius / shadow / motion */
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 14px;
    --shadow-1:  0 4px 16px rgba(0,0,0,0.10);
    --shadow-2:  0 12px 32px rgba(0,0,0,0.18);
    --shadow-red:0 8px 24px rgba(220,38,38,0.35);
    --transition: 220ms cubic-bezier(.2,.7,.2,1);

    /* Header height */
    --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text-dark);
    background: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, picture, video {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input,
select,
textarea {
    font: inherit;
    color: inherit;
}

::selection { background: var(--color-accent); color: #fff; }

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    padding: 12px 16px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    z-index: 1000;
}
.skip-link:focus { left: 12px; outline: 2px solid #fff; outline-offset: 2px; }

/* Visually hidden */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Focus rings */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
    margin: 0 0 var(--space-4);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: inherit;
}

h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; }
h4 { font-size: 18px; letter-spacing: -0.005em; }

p { margin: 0 0 var(--space-4); }

.lead {
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.6;
    color: var(--color-muted-dark);
    max-width: 56ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   4. Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.section {
    padding-block: var(--section-y);
}

.section--dark {
    background: var(--color-bg);
    color: var(--color-text);
}
.section--dark .lead,
.section--dark .text-muted { color: var(--color-muted); }

.section--charcoal {
    background: var(--color-surface);
    color: var(--color-text);
}
.section--charcoal .lead { color: var(--color-muted); }

.text-muted { color: var(--color-muted-dark); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; }

.btn--primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-red);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(255,255,255,0.30);
}
.btn--ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.06);
}

.btn--ghost-dark {
    background: transparent;
    color: var(--color-text-dark);
    border-color: rgba(0,0,0,0.20);
}
.btn--ghost-dark:hover {
    border-color: var(--color-text-dark);
    background: rgba(0,0,0,0.04);
}

.btn--lg { padding: 18px 32px; font-size: 16px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--color-accent);
    text-transform: uppercase;
}
.link-arrow svg { width: 14px; height: 14px; transition: transform var(--transition); }
.link-arrow:hover { color: var(--color-accent-hover); }
.link-arrow:hover svg { transform: translateX(4px); }

.section--dark .link-arrow { color: var(--color-accent-2); }
.section--dark .link-arrow:hover { color: #fca5a5; }

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: rgba(10,10,11,0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition);
}
.site-header.is-scrolled {
    background: rgba(10,10,11,0.94);
    border-bottom-color: var(--color-border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: 15px;
}
.brand__mark {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text small {
    font-size: 9px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.24em;
    margin-top: 4px;
}

.nav { display: none; }
.nav__list {
    display: flex;
    gap: var(--space-7);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    display: inline-block;
    color: rgba(255,255,255,0.84);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: #fff; }

.header-cta {
    display: none;
    align-items: center;
    gap: var(--space-4);
}
.header-cta__phone {
    color: rgba(255,255,255,0.84);
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.header-cta__phone:hover { color: #fff; }
.header-cta__phone svg { width: 16px; height: 16px; color: var(--color-accent); }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    color: #fff;
    background: transparent;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-block; }

/* Mobile drawer */
.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-bg);
    z-index: 99;
    padding: var(--space-9) var(--container-pad) var(--space-9);
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    overflow-y: auto;
}
.mobile-nav[data-open="true"] { transform: translateX(0); }
.mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.mobile-nav__link {
    display: block;
    padding: var(--space-4) 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: -0.01em;
}
.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] { color: var(--color-accent); }
.mobile-nav__cta {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.mobile-nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-muted);
    font-size: 14px;
    margin-top: var(--space-4);
}

@media (min-width: 900px) {
    .nav { display: block; }
    .header-cta { display: inline-flex; }
    .nav-toggle, .mobile-nav { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--color-text);
    overflow: hidden;
    isolation: isolate;
    padding-top: var(--header-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.85) 100%),
        linear-gradient(120deg, rgba(220,38,38,0.18) 0%, transparent 55%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-block: var(--space-11) var(--space-12);
}

.hero__content { max-width: 820px; }

.hero h1 {
    color: #fff;
    margin-bottom: var(--space-5);
}
.hero h1 em {
    font-style: normal;
    color: var(--color-accent-2);
    position: relative;
    white-space: nowrap;
}

.hero__sub {
    color: rgba(255,255,255,0.82);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.55;
    max-width: 60ch;
    margin-bottom: var(--space-8);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hero__meta {
    margin-top: var(--space-9);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-7);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    letter-spacing: 0.02em;
}
.hero__meta strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.hero--page {
    min-height: 56vh;
    min-height: 56svh;
}
.hero--page .hero__inner {
    padding-block: var(--space-10) var(--space-10);
}
.hero--page h1 { font-size: clamp(34px, 5vw, 56px); }

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--color-surface-2);
    color: var(--color-muted);
    border-block: 1px solid var(--color-border);
    padding-block: var(--space-5);
}
.trust-strip__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-3) var(--space-6);
    text-align: center;
}
.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.86);
}
.trust-strip__item svg {
    width: 16px; height: 16px;
    color: var(--color-accent-2);
}
.trust-strip__sep {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-accent);
    flex-shrink: 0;
}
@media (max-width: 700px) {
    .trust-strip__sep { display: none; }
}

/* --------------------------------------------------------------------------
   9. Section heads
   -------------------------------------------------------------------------- */
.section-head {
    max-width: 720px;
    margin: 0 auto var(--space-10);
    text-align: center;
}
.section-head--left {
    margin-inline: 0;
    text-align: left;
    max-width: 720px;
}
.section-head h2 { margin-bottom: var(--space-3); }

/* --------------------------------------------------------------------------
  10. Service cards (signature 3-up)
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
    position: relative;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-7) var(--space-7) var(--space-6);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    isolation: isolate;
}
.service-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--color-accent);
    transition: width var(--transition);
}
.service-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(600px circle at 0% 0%, rgba(220,38,38,0.10), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: -1;
}
.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(220,38,38,0.45);
    box-shadow: var(--shadow-2);
}
.service-card:hover::before { width: 6px; }
.service-card:hover::after { opacity: 1; }

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    border-radius: 12px;
    background: rgba(220,38,38,0.12);
    color: var(--color-accent-2);
    margin-bottom: var(--space-5);
}
.service-card__icon svg { width: 28px; height: 28px; }

.service-card h3 {
    margin-bottom: var(--space-3);
    color: #fff;
}

.service-card p {
    color: var(--color-muted);
    font-size: 15px;
    margin-bottom: var(--space-5);
}

/* --------------------------------------------------------------------------
  11. Service deep sections
   -------------------------------------------------------------------------- */
.service-deep {
    padding-block: var(--section-y);
}
.service-deep + .service-deep {
    border-top: 1px solid var(--color-border-dark);
}
.service-deep--dark + .service-deep--dark { border-top-color: var(--color-border); }

.service-deep__grid {
    display: grid;
    gap: var(--space-9);
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 900px) {
    .service-deep__grid { grid-template-columns: 1.1fr 1fr; gap: var(--space-11); }
    .service-deep--reverse .service-deep__grid { grid-template-columns: 1fr 1.1fr; }
    .service-deep--reverse .service-deep__copy { order: 2; }
}

.service-deep__copy h2 { margin-bottom: var(--space-5); }
.service-deep__copy p { font-size: 17px; line-height: 1.65; }

.feature-list {
    list-style: none;
    margin: var(--space-6) 0 var(--space-7);
    padding: 0;
    display: grid;
    gap: var(--space-3);
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}
.feature-list li svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--color-accent);
    margin-top: 1px;
}

.brand-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px dashed var(--color-border-dark);
}
.section--dark .brand-row,
.section--charcoal .brand-row { border-top-color: var(--color-border); }
.brand-row__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted-dark);
}
.section--dark .brand-row__label,
.section--charcoal .brand-row__label { color: var(--color-muted); }
.brand-row__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-6);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted-dark);
}
.section--dark .brand-row__list,
.section--charcoal .brand-row__list { color: rgba(255,255,255,0.55); }
.brand-row__list span { white-space: nowrap; }

/* Visual panel — abstract installation art (no photo dependency) */
.service-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-2);
}
.service-visual--light {
    background: linear-gradient(135deg, #f1f1f3 0%, #e3e4e8 100%);
    border-color: var(--color-light-3);
}
.service-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.service-visual__caption {
    position: absolute;
    left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 1;
}
.service-visual__caption strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.005em;
    margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
  12. Why-us tiles
   -------------------------------------------------------------------------- */
.why-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 600px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-tile {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    transition: background var(--transition), border-color var(--transition);
}
.why-tile:hover {
    background: rgba(220,38,38,0.06);
    border-color: rgba(220,38,38,0.30);
}
.why-tile__icon {
    width: 40px; height: 40px;
    border-radius: var(--radius);
    background: rgba(220,38,38,0.14);
    color: var(--color-accent-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
}
.why-tile__icon svg { width: 22px; height: 22px; }
.why-tile h3 {
    font-size: 17px;
    margin-bottom: var(--space-2);
    color: #fff;
}
.why-tile p {
    color: var(--color-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
  13. Service area
   -------------------------------------------------------------------------- */
.areas {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .areas { grid-template-columns: 1.2fr 1fr; gap: var(--space-11); }
}
.area-groups {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .area-groups { grid-template-columns: repeat(3, 1fr); } }
.area-group h4 {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border-dark);
}
.section--dark .area-group h4,
.section--charcoal .area-group h4 { border-bottom-color: var(--color-border); }
.area-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: 14px;
    color: var(--color-muted-dark);
}
.section--dark .area-group ul,
.section--charcoal .area-group ul { color: var(--color-muted); }

.map-art {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.map-art svg { width: 100%; height: 100%; }
.map-art__label {
    position: absolute;
    left: var(--space-5);
    bottom: var(--space-5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
  14. Testimonials
   -------------------------------------------------------------------------- */
.testimonials {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    position: relative;
}
.testimonial__quote {
    font-family: Georgia, serif;
    font-size: 64px;
    line-height: 1;
    color: var(--color-accent);
    position: absolute;
    top: 8px; left: var(--space-5);
    pointer-events: none;
}
.testimonial p {
    color: rgba(255,255,255,0.92);
    font-size: 16px;
    line-height: 1.6;
    margin: var(--space-5) 0;
    font-weight: 500;
}
.testimonial__stars {
    display: inline-flex;
    gap: 2px;
    color: var(--color-accent-2);
    margin-bottom: var(--space-4);
}
.testimonial__stars svg { width: 16px; height: 16px; }
.testimonial__name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.01em;
}
.testimonial__suburb {
    font-size: 12px;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
  15. CTA banner
   -------------------------------------------------------------------------- */
.cta-banner {
    position: relative;
    padding-block: clamp(64px, 8vw, 112px);
    color: var(--color-text);
    background:
        radial-gradient(900px circle at 12% 50%, rgba(220,38,38,0.18), transparent 55%),
        linear-gradient(135deg, #15151a 0%, #0a0a0b 60%, #1f1f24 100%);
    overflow: hidden;
    isolation: isolate;
}
.cta-banner::before {
    content: "";
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(220,38,38,0.10), transparent 60%);
    z-index: -1;
}
.cta-banner__inner {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 900px) {
    .cta-banner__inner { grid-template-columns: 1.4fr 1fr; gap: var(--space-9); }
    .cta-banner__cta { justify-self: end; }
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--space-3); }
.cta-banner p { color: var(--color-muted); margin: 0; max-width: 50ch; }
.cta-banner__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

/* --------------------------------------------------------------------------
  16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: #060607;
    color: var(--color-muted);
    padding-block: var(--space-11) var(--space-6);
    border-top: 1px solid var(--color-border);
}
.footer-grid {
    display: grid;
    gap: var(--space-9);
    grid-template-columns: 1fr;
    margin-bottom: var(--space-9);
}
@media (min-width: 720px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-7); }
}
.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -1px; left: 0;
    width: 28px; height: 2px;
    background: var(--color-accent);
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 14px;
}
.footer-col a:hover { color: #fff; }

.footer-brand .brand { margin-bottom: var(--space-4); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 38ch; }

.footer-contact-list { font-size: 14px; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.footer-contact-list svg {
    flex-shrink: 0;
    width: 16px; height: 16px;
    color: var(--color-accent);
    margin-top: 3px;
}
.footer-contact-list strong { color: #fff; font-weight: 600; display: block; }

.footer-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-4);
}
.footer-creds span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    border: 1px solid var(--color-border);
}

.footer-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    padding-top: var(--space-6);
    border-top: 1px solid var(--color-border);
    font-size: 12px;
    color: var(--color-muted);
}
.footer-bar__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* --------------------------------------------------------------------------
  17. About page
   -------------------------------------------------------------------------- */
.story {
    display: grid;
    gap: var(--space-9);
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .story { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-11); }
}
.story__portrait {
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
}
.story__portrait img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.story__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5) 100%);
}
.story__caption {
    position: absolute;
    left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
    color: #fff;
    z-index: 1;
}
.story__caption strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}
.story__caption span { font-size: 13px; color: rgba(255,255,255,0.78); }

.story__copy h2 { margin-bottom: var(--space-5); }
.story__copy p { font-size: 17px; line-height: 1.7; }

.pillars {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar {
    padding: var(--space-7);
    background: var(--color-light);
    border: 1px solid var(--color-light-3);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), transform var(--transition);
}
.pillar:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.pillar__num {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}
.pillar h3 { margin-bottom: var(--space-3); }
.pillar p { color: var(--color-muted-dark); font-size: 15px; margin: 0; }

.creds-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: repeat(2, 1fr);
    margin-top: var(--space-6);
}
@media (min-width: 720px) { .creds-grid { grid-template-columns: repeat(4, 1fr); } }
.cred {
    padding: var(--space-5);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-align: center;
}
.cred__num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.cred__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent-2);
}

/* --------------------------------------------------------------------------
  18. Contact page
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    gap: var(--space-9);
    grid-template-columns: 1fr;
    align-items: start;
}
@media (min-width: 900px) {
    .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--space-10); }
}

.form {
    display: grid;
    gap: var(--space-5);
}
.form-row {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-dark);
}
.field label .req { color: var(--color-accent); margin-left: 2px; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--color-light-3);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--color-text-dark);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.15);
}
.field[data-error="true"] input,
.field[data-error="true"] select,
.field[data-error="true"] textarea {
    border-color: var(--color-accent);
}
.field__error {
    display: none;
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 600;
}
.field[data-error="true"] .field__error { display: block; }

.form-status {
    display: none;
    padding: var(--space-5);
    border-radius: var(--radius);
    font-size: 14px;
}
.form-status[data-state="success"] {
    display: block;
    background: rgba(40,167,69,0.10);
    border: 1px solid rgba(40,167,69,0.40);
    color: #1d7a36;
}

.form-fineprint {
    font-size: 12px;
    color: var(--color-muted-dark);
    margin: 0;
}

/* Contact card aside */
.contact-card {
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px circle at 100% 0%, rgba(220,38,38,0.18), transparent 50%);
    pointer-events: none;
}
.contact-card > * { position: relative; }
.contact-card h3 { color: #fff; margin-bottom: var(--space-5); }
.contact-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-5);
}
.contact-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.contact-card__list svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--color-accent-2);
    margin-top: 2px;
}
.contact-card__list .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 4px;
}
.contact-card__list .value { color: #fff; font-size: 15px; line-height: 1.4; }
.contact-card__list a:hover { color: var(--color-accent-2); }

.contact-emergency {
    margin-top: var(--space-6);
    padding: var(--space-5);
    border-radius: var(--radius);
    background: rgba(220,38,38,0.10);
    border: 1px solid rgba(220,38,38,0.40);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-emergency svg {
    flex-shrink: 0;
    width: 22px; height: 22px;
    color: var(--color-accent-2);
}
.contact-emergency strong { display: block; color: #fff; margin-bottom: 4px; font-size: 14px; }
.contact-emergency p { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.5; }

.map-embed {
    margin-top: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-dark);
    aspect-ratio: 16 / 9;
    background: var(--color-light-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
  19. 404
   -------------------------------------------------------------------------- */
.notfound {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--space-9) var(--container-pad);
    background: var(--color-bg);
    color: var(--color-text);
}
.notfound__num {
    font-size: clamp(120px, 22vw, 220px);
    font-weight: 900;
    line-height: 1;
    color: var(--color-accent);
    letter-spacing: -0.04em;
    margin-bottom: var(--space-5);
    text-shadow: 0 8px 40px rgba(220,38,38,0.35);
}
.notfound h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--space-3); }
.notfound p { color: var(--color-muted); margin-bottom: var(--space-7); }

/* --------------------------------------------------------------------------
  EDITORIAL / SPEC-SHEET COMPONENTS (redesign overlay)
   -------------------------------------------------------------------------- */

/* Section label — numbered chapter marker, sits above section heads */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-4);
}
.section-label::before { content: "//"; color: var(--color-accent); opacity: 0.7; }

/* Wide editorial hero ----------------------------------------------------- */
.hero--editorial {
    min-height: 100vh;
    min-height: 100svh;
    color: var(--color-text);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    padding-top: var(--header-h);
    background: var(--color-bg);
    display: flex;
    align-items: center;
}

.hero--editorial .hero__inner {
    width: 100%;
    padding-block: clamp(48px, 8vw, 96px);
}

/* Giant decorative watermark — huge faded letterforms behind the hero text */
.hero__watermark {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.hero__watermark::before,
.hero__watermark::after {
    position: absolute;
    font-family: var(--font-sans);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--color-accent);
    opacity: 0.06;
    white-space: nowrap;
}
.hero__watermark::before {
    content: "AAE";
    top: 50%;
    right: -8%;
    transform: translateY(-50%);
    font-size: clamp(420px, 60vw, 900px);
}
.hero__watermark::after {
    content: "// SECURITY · AUTOMATION · DOMESTIC";
    bottom: 18px;
    left: 0;
    right: 0;
    font-size: 11px;
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--color-accent);
    opacity: 0.30;
    transform: none;
    text-align: center;
}

.hero__split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}
@media (min-width: 1000px) {
    .hero__split {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: var(--space-11);
    }
}

.hero--editorial h1 {
    font-size: clamp(40px, 8vw, 104px);
    line-height: 1.0;
    letter-spacing: -0.035em;
    margin-bottom: var(--space-6);
    color: #fff;
}
.hero--editorial h1 em {
    font-style: normal;
    color: var(--color-accent);
    display: block;
}
.hero--editorial h1 .rule {
    display: inline-block;
    width: 80px; height: 4px;
    background: var(--color-accent);
    vertical-align: middle;
    margin: 0 18px 14px 0;
}
.hero--editorial .hero__sub {
    color: rgba(255,255,255,0.78);
    max-width: 52ch;
    margin-bottom: var(--space-7);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.55;
}

/* Right-side media block: framed image + spec tab */
.hero__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-2);
}
.hero__media img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,11,0.20) 0%, rgba(10,10,11,0.85) 100%);
}
.hero__media-tag {
    position: absolute;
    left: 0; bottom: 0;
    z-index: 1;
    padding: 14px 18px;
    background: var(--color-accent);
    color: #14213d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero__media-caption {
    position: absolute;
    right: 18px; bottom: 18px;
    z-index: 1;
    color: #fff;
    font-size: 12px;
    text-align: right;
    line-height: 1.4;
}
.hero__media-caption strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

/* Vertical spec list under the hero copy */
.hero__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    padding-top: var(--space-7);
    margin-top: var(--space-2);
    border-top: 1px solid var(--color-border);
    max-width: 640px;
}
@media (min-width: 600px) {
    .hero__specs { grid-template-columns: repeat(4, 1fr); }
}
.hero__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__spec-num {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}
.hero__spec-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
}

/* Section head — editorial variant ---------------------------------------- */
.section-head--editorial {
    max-width: none;
    margin: 0 0 var(--space-10);
    text-align: left;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}
@media (min-width: 900px) {
    .section-head--editorial {
        grid-template-columns: 1fr minmax(0, 480px);
        gap: var(--space-9);
        align-items: end;
    }
}
.section-head--editorial h2 { margin: 0; }
.section-head--editorial p { margin: 0; }

/* Service ledger ---------------------------------------------------------- */
.ledger {
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-7);
}
.section--dark .ledger { border-top-color: var(--color-border); }
.ledger__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-6);
    align-items: center;
    padding: var(--space-7) 0;
    border-bottom: 1px solid var(--color-border);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 240ms cubic-bezier(.2,.7,.2,1), padding 240ms cubic-bezier(.2,.7,.2,1);
    position: relative;
    overflow: hidden;
}
@media (min-width: 900px) {
    .ledger__row {
        grid-template-columns: 100px minmax(0, 320px) 1fr 60px;
        padding: var(--space-9) 0;
    }
}
.ledger__row::before {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 320ms cubic-bezier(.2,.7,.2,1);
}
.ledger__row:hover::before { width: 100%; }
.ledger__row:hover {
    background: linear-gradient(90deg, rgba(220,38,38,0.04), transparent 70%);
    padding-left: var(--space-3);
}
.ledger__row:hover .ledger__title { color: var(--color-accent); }
.ledger__row:hover .ledger__arrow { transform: translateX(8px); color: var(--color-accent); }

.ledger__num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
    align-self: start;
}
.ledger__title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.15;
    transition: color 240ms cubic-bezier(.2,.7,.2,1);
}
.ledger__desc {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
    grid-column: 1 / -1;
}
@media (min-width: 900px) {
    .ledger__desc { grid-column: auto; }
}
.ledger__arrow {
    color: rgba(255,255,255,0.6);
    transition: transform 240ms cubic-bezier(.2,.7,.2,1), color 240ms cubic-bezier(.2,.7,.2,1);
    align-self: center;
}
.ledger__arrow svg { width: 28px; height: 28px; }

/* Why-us ticker (replaces card grid) ------------------------------------- */
.why-ticker {
    display: grid;
    gap: var(--space-7);
    grid-template-columns: 1fr;
    margin-top: var(--space-7);
}
@media (min-width: 700px) { .why-ticker { grid-template-columns: repeat(2, 1fr); gap: var(--space-7) var(--space-9); } }
@media (min-width: 1100px) { .why-ticker { grid-template-columns: repeat(3, 1fr); } }

.why-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}
.why-item__num {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--color-accent);
    margin-bottom: var(--space-1);
}
.why-item h3 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.005em;
}
.why-item p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-muted);
    margin: 0;
    max-width: 38ch;
}

/* Pull-quote testimonial ------------------------------------------------- */
.pull-quote {
    padding-block: clamp(80px, 12vw, 160px);
    color: var(--color-text);
    background:
        radial-gradient(900px circle at 80% 30%, rgba(220,38,38,0.08), transparent 55%),
        var(--color-bg);
    position: relative;
    overflow: hidden;
}
.pull-quote__mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(180px, 22vw, 320px);
    color: var(--color-accent);
    opacity: 0.18;
    line-height: 0.7;
    position: absolute;
    top: 60px;
    left: -8px;
    pointer-events: none;
    user-select: none;
}
.pull-quote__inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.pull-quote blockquote {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: clamp(28px, 4.2vw, 52px);
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0 0 var(--space-7);
    font-weight: 400;
}
.pull-quote__attr {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
    padding-top: var(--space-5);
    border-top: 1px solid var(--color-border);
}
.pull-quote__rule {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
}
.pull-quote__name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.pull-quote__suburb {
    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pull-quote__stars {
    color: var(--color-accent);
    display: inline-flex;
    gap: 3px;
    margin-left: auto;
}
.pull-quote__stars svg { width: 18px; height: 18px; }

.pull-quote__nav {
    display: flex;
    gap: 10px;
    margin-top: var(--space-7);
    padding: 0;
    list-style: none;
}
.pull-quote__nav button {
    width: 36px;
    height: 4px;
    background: rgba(255,255,255,0.18);
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 220ms ease;
}
.pull-quote__nav button[aria-current="true"],
.pull-quote__nav button:hover { background: var(--color-accent); }

.pull-quote__slide { display: none; }
.pull-quote__slide[data-active="true"] { display: block; }

/* Service deep section refinements (overrides for new aesthetic) --------- */
.service-deep .section-label { margin-bottom: var(--space-5); }
.service-deep__copy h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
  MODERN UI ENHANCEMENT LAYER
   -------------------------------------------------------------------------- */

/* ----- View transitions (cross-document, Chrome 126+) ------------------- */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 320ms;
    animation-timing-function: cubic-bezier(.2,.7,.2,1);
}
::view-transition-old(root) { animation-name: vt-fade-out; }
::view-transition-new(root) { animation-name: vt-fade-in; }
@keyframes vt-fade-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-fade-in  { from { opacity: 0; transform: translateY(8px); } }

/* ----- Scroll-driven entrance animations (CSS-native) ------------------- */
@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .reveal {
            animation: reveal-rise linear both;
            animation-timeline: view();
            animation-range: entry 5% cover 30%;
        }
        .reveal-stagger > * {
            animation: reveal-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 25%;
        }
        .reveal-stagger > *:nth-child(2) { animation-delay: 60ms; }
        .reveal-stagger > *:nth-child(3) { animation-delay: 120ms; }
        .reveal-stagger > *:nth-child(4) { animation-delay: 180ms; }
        .reveal-stagger > *:nth-child(5) { animation-delay: 240ms; }
        .reveal-stagger > *:nth-child(6) { animation-delay: 300ms; }
    }
    @keyframes reveal-rise {
        from { opacity: 0; transform: translateY(28px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ----- Glass header refinement ----------------------------------------- */
.site-header {
    background: linear-gradient(180deg, rgba(10,10,11,0.74) 0%, rgba(10,10,11,0.45) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.site-header.is-scrolled {
    background: rgba(10,10,11,0.92);
    border-bottom-color: rgba(var(--accent-rgb), 0.18);
    box-shadow:
        0 1px 0 rgba(var(--accent-rgb), 0.08),
        0 12px 32px rgba(0,0,0,0.48);
}

/* ----- Magnetic buttons + cursor-tracked spotlight --------------------- */
[data-magnet] {
    transition: transform 280ms cubic-bezier(.2,.7,.2,1), background var(--transition), box-shadow var(--transition);
    will-change: transform;
}

/* Cursor spotlight (driven by --mx, --my JS vars) */
.hero--editorial::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        500px circle at var(--mx, 50%) var(--my, 50%),
        rgba(var(--accent-rgb), 0.18),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 320ms ease;
}
.hero--editorial:hover::before { opacity: 1; }
@media (hover: none) {
    .hero--editorial::before { display: none; }
}

/* ----- Auto-scrolling brand marquee ------------------------------------ */
.marquee {
    overflow: hidden;
    padding-block: var(--space-5);
    border-block: 1px solid var(--color-border-dark);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.section--dark .marquee,
.section--charcoal .marquee {
    border-block-color: var(--color-border);
}
.marquee__track {
    display: flex;
    align-items: center;
    gap: var(--space-9);
    width: max-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; transform: none; }
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
    to { transform: translateX(-50%); }
}
.marquee__item {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted-dark);
    opacity: 0.8;
    transition: color var(--transition), opacity var(--transition);
}
.section--dark .marquee__item,
.section--charcoal .marquee__item,
.pull-quote .marquee__item { color: rgba(255,255,255,0.55); }
.marquee__item:hover { color: var(--color-accent); opacity: 1; }
.marquee__dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.5;
}

/* ----- Animated stat counter (hero specs) ----------------------------- */
.hero__spec-num[data-counter] {
    font-variant-numeric: tabular-nums;
}

/* ----- Floating mobile CTA -------------------------------------------- */
.floating-cta {
    position: fixed;
    bottom: 18px;
    right: 18px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    border-radius: 999px;
    box-shadow:
        0 10px 28px rgba(var(--accent-rgb), 0.35),
        0 2px 8px rgba(0,0,0,0.30);
    transform: translateY(140%);
    opacity: 0;
    transition: transform 380ms cubic-bezier(.2,.7,.2,1), opacity 280ms ease, background 220ms ease;
    text-decoration: none;
}
.floating-cta:hover { background: var(--color-accent-hover); }
.floating-cta svg { width: 16px; height: 16px; }
.floating-cta.is-visible { transform: translateY(0); opacity: 1; }
@media (min-width: 900px) {
    .floating-cta { display: none; }
}

/* ----- Bold red CTA section variant ----------------------------------- */
.cta-banner--red {
    background:
        radial-gradient(900px circle at 80% 50%, rgba(255,255,255,0.10), transparent 55%),
        linear-gradient(135deg, #b91c1c 0%, #dc2626 50%, #ef4444 100%);
    color: #fff;
}
.cta-banner--red::before {
    background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%);
    width: 900px; height: 900px;
}
.cta-banner--red h2 { color: #fff; }
.cta-banner--red p { color: rgba(255,255,255,0.85); }
.cta-banner--red .btn--primary {
    background: #0a0a0b;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,0.30);
}
.cta-banner--red .btn--primary:hover { background: #1f1f24; }
.cta-banner--red .btn--ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.40);
}
.cta-banner--red .btn--ghost:hover {
    background: rgba(255,255,255,0.10);
    border-color: #fff;
}

/* ----- Section divider — thin red rule -------------------------------- */
.divider-rule {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent) 50%, transparent);
    opacity: 0.40;
    border: 0;
    margin: 0;
}

/* ----- Service ledger — hover image preview --------------------------- */
.ledger__row { position: relative; }
.ledger__preview {
    position: absolute;
    right: 90px;
    top: 50%;
    width: 220px;
    aspect-ratio: 4 / 3;
    transform: translateY(-50%) scale(0.92);
    border-radius: var(--radius);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: opacity 280ms ease, transform 280ms cubic-bezier(.2,.7,.2,1);
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    z-index: 2;
}
.ledger__preview img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.ledger__preview::after {
    content: "";
    position: absolute; inset: 0;
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.30);
}
@media (min-width: 1100px) {
    .ledger__row:hover .ledger__preview {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}
@media (max-width: 1099px) {
    .ledger__preview { display: none; }
}

/* ----- Pull-quote — accent ribbon ------------------------------------- */
.pull-quote::after {
    content: "";
    position: absolute;
    left: 0; top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--color-accent);
    opacity: 0.7;
}

/* ----- Subtle hover-lift on service cards & tiles --------------------- */
.service-card,
.why-tile,
.pillar { transition: transform 280ms cubic-bezier(.2,.7,.2,1), border-color var(--transition), box-shadow var(--transition), background var(--transition); }

/* --------------------------------------------------------------------------
  20. Print
   -------------------------------------------------------------------------- */
@media print {
    .site-header, .mobile-nav, .hero__bg, .cta-banner, .nav-toggle { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}
