/* ==========================================================================
   Mair Built Pty Ltd — preview by Horizon Digitech
   Palette: brand yellow #FFF112 + brand indigo #383BAC (from the logo).
   Indigo leads the structure; yellow is the punctuation. ~60/30/10.
   ========================================================================== */

:root {
  /* Brand */
  --indigo: #383BAC;
  --indigo-deep: #2C2E8C;
  --indigo-darker: #1C1D52;
  --indigo-ink: #14153a;
  --yellow: #FFF112;          /* signature — bands, logo, hero CTA */
  --gold: #E9C400;            /* deeper accent for legibility on white */
  --gold-ink: #8A7400;        /* star glyphs on white — 4.5:1 AA */
  --yellow-soft: #FFF8B8;     /* tinted chip background */
  --yellow-glow: rgba(255, 241, 18, 0.28);

  /* Surfaces */
  --bg: #0D0E15;              /* near-black base, faint indigo */
  --bg-alt: #14151E;          /* lifted charcoal for alternating sections */
  --bg-dark: #191B55;         /* indigo band — keeps the blue presence */
  --bg-darker: #080910;       /* deepest — footer */
  --surface: #181A25;         /* card surface on black */

  /* Text (light on dark) */
  --ink: #F2F3F9;
  --muted: #A3A6BE;
  --on-dark: #F2F3F9;
  --on-dark-muted: #AEB0D8;

  /* Lighter periwinkle accent — the indigo brand colour is too dark to
     read as text/icons on black, so use this where indigo was on light. */
  --accent-lt: #9DA0F3;

  /* Lines */
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --field-border: rgba(255, 255, 255, 0.24);
  --border-on-dark: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows (multi-stop) */
  --shadow-sm: 0 1px 2px rgba(23,23,40,0.05), 0 1px 3px rgba(23,23,40,0.08);
  --shadow-md: 0 4px 6px rgba(23,23,40,0.05), 0 12px 22px rgba(23,23,40,0.10);
  --shadow-lg: 0 12px 18px rgba(23,23,40,0.06), 0 28px 54px rgba(23,23,40,0.16);
  --shadow-hover: 0 10px 16px rgba(23,23,40,0.08), 0 26px 48px rgba(40,42,140,0.20);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --maxw: 1180px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Subtle film grain for dark sections */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 6vw + 0.5rem, 5rem); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.95rem, 3.6vw + 0.5rem, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + 0.6rem, 1.45rem); }
p a { color: var(--accent-lt); text-decoration: underline; text-underline-offset: 2px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-md); }

section { padding: clamp(4rem, 8vw, 7.5rem) 0; background: var(--bg); }
section.alt { background: var(--bg-alt); }
section.dark { background-color: var(--bg-dark); background-image: var(--noise); color: var(--on-dark); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--indigo); color: #fff; padding: 0.6rem 1.2rem; border-radius: 0 0 8px 8px;
  z-index: 200; transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 0; }

/* ---------- Section heads / eyebrows ---------- */
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__eyebrow {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow); display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem;
}
.section__eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: var(--yellow); box-shadow: 0 0 0 1px rgba(40,42,140,0.18);
}
.dark .section__eyebrow { color: var(--yellow); }
.dark .section__eyebrow::before { background: var(--yellow); box-shadow: none; }
.section__title { color: inherit; }
.section__intro { color: var(--muted); font-size: 1.08rem; margin-top: 0.9rem; max-width: 60ch; }
.dark .section__intro { color: var(--on-dark-muted); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; letter-spacing: 0.02em;
  padding: 0.8em 1.55em; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out),
              transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn--primary {
  background: linear-gradient(150deg, #FFF85C 0%, #FCEB00 52%, #EFD800 100%);
  color: var(--indigo-ink); border-color: rgba(255,255,255,0.55);
  box-shadow:
    0 4px 14px rgba(31,33,96,0.18),
    inset 2px 2px 1px -1px rgba(255,255,255,0.95),
    inset -2px -2px 2px -1px rgba(176,150,0,0.55),
    inset 0 0 9px 2px rgba(255,255,255,0.12);
}
.btn--primary:hover {
  transform: translateY(-2px); filter: brightness(1.04);
  box-shadow:
    0 8px 22px rgba(31,33,96,0.26),
    inset 2px 2px 1px -1px #fff,
    inset -2px -2px 2px -1px rgba(176,150,0,0.5),
    inset 0 0 11px 2px rgba(255,255,255,0.18);
}
.btn--primary:active { transform: translateY(0) scale(0.99); }
.btn--ghost {
  background: transparent; color: var(--indigo); border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); transform: translateY(-2px); }
.btn--lg { padding: 0.92em 1.85em; font-size: 1.02rem; }
.btn--sm { padding: 0.6em 1.15em; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

/* Liquid-glass surface — for buttons over photos / dark sections */
.btn--glass {
  background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.34);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow:
    0 2px 10px rgba(10,12,40,0.20),
    inset 2px 2px 0.5px -2px rgba(255,255,255,0.95),
    inset -2px -2px 0.5px -2px rgba(255,255,255,0.75),
    inset 0 0 8px 2px rgba(255,255,255,0.06);
}
.btn--glass:hover {
  background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px); filter: brightness(1.06);
  box-shadow:
    0 6px 18px rgba(10,12,40,0.28),
    inset 2px 2px 0.5px -2px #fff,
    inset -2px -2px 0.5px -2px rgba(255,255,255,0.85),
    inset 0 0 10px 2px rgba(255,255,255,0.10);
}
.btn--glass:active { transform: scale(0.98); }

/* Pointer colour-blob (the "liquid" feel). Above the bg, below the label. */
.btn .blob {
  position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  filter: blur(15px); pointer-events: none; opacity: 0; z-index: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.85), rgba(255,255,255,0));
  transition: opacity 320ms ease-out;
}
.btn .blob.is-in { opacity: 0.7; }
.btn .blob.is-out { opacity: 0; transition-duration: 1100ms; }
.btn--primary .blob { background: radial-gradient(circle, rgba(255,255,255,0.92), rgba(255,255,255,0)); }
.btn--glass .blob { background: radial-gradient(circle, rgba(255,241,18,0.75), rgba(255,255,255,0)); }
.btn > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .btn .blob { display: none; } }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
/* Frosted glass on a pseudo-element, NOT on .site-nav itself — keeps the blur
   look without making the bar a containing block that traps the fixed menu. */
.site-nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(12, 13, 22, 0.72);
  backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px);
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.7rem var(--space-md);
  display: flex; align-items: center; gap: var(--space-md);
}
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 52px; width: auto; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); margin-left: auto; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink);
  padding: 0.4rem 0; position: relative; transition: color 160ms var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2.5px;
  background: var(--yellow); border-radius: 2px; transition: right 220ms var(--ease-out);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 600; color: var(--accent-lt); white-space: nowrap;
  transition: color 160ms var(--ease-out);
}
.nav-phone:hover { color: var(--yellow); }
.nav-phone svg { color: var(--accent-lt); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--border-strong);
  border-radius: 10px; background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 200ms; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
/* ==========================================================================
   Mobile menu — "Blueprint Index" full-screen overlay
   ========================================================================== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 99; display: none;       /* shown on mobile only */
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background:
    radial-gradient(120% 85% at 82% -5%, rgba(56,59,172,0.45) 0%, rgba(20,21,58,0) 55%),
    linear-gradient(160deg, var(--indigo-darker) 0%, var(--indigo-ink) 100%);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 320ms var(--ease-out), visibility 320ms;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

/* faint blueprint grid, faded toward the edges */
.menu-overlay__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,0.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.05) 0 1px, transparent 1px 34px);
  -webkit-mask-image: radial-gradient(125% 100% at 50% 28%, #000 52%, transparent 100%);
          mask-image: radial-gradient(125% 100% at 50% 28%, #000 52%, transparent 100%);
}

.menu-overlay__inner {
  position: relative; z-index: 1; min-height: 100%;
  display: flex; flex-direction: column; padding: 92px 2rem 2.2rem; color: #fff;
}

.menu-overlay__eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.36em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.5rem;
}
.menu-overlay__eyebrow::after { content: ""; display: block; height: 2px; width: 46px; margin-top: 0.55rem; background: var(--yellow); }

/* numbered architectural index */
.menu-overlay__list { counter-reset: idx; border-left: 1px solid rgba(255,255,255,0.12); }
.menu-overlay__list li { position: relative; }
.menu-overlay__list a {
  display: flex; align-items: baseline; gap: 0.85rem;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 2.85rem); line-height: 1.16; letter-spacing: 0.01em;
  color: #F4F2EA; padding: 0.3rem 0 0.3rem 1.3rem;
  transition: color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.menu-overlay__list a::before {
  counter-increment: idx; content: counter(idx, decimal-leading-zero);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; color: var(--yellow);
  transform: translateY(-0.5em); min-width: 1.7em;
}
.menu-overlay__list a::after {
  content: ""; position: absolute; left: -1px; top: 50%; height: 60%; width: 3px;
  background: var(--yellow); transform: translateY(-50%) scaleY(0); transform-origin: center;
  transition: transform 200ms var(--ease-out);
}
.menu-overlay__list a:hover, .menu-overlay__list a:focus-visible { color: #fff; transform: translateX(7px); }
.menu-overlay__list a:hover::after,
.menu-overlay__list a:focus-visible::after,
.menu-overlay__list a:active::after { transform: translateY(-50%) scaleY(1); }

/* footer: trust + phone + CTA */
.menu-overlay__foot { margin-top: auto; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.12); }
.menu-overlay__trust {
  font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-bottom: 1rem;
}
.menu-overlay__phone {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; color: #fff; margin-bottom: 1.1rem;
}
.menu-overlay__phone svg { color: var(--yellow); }
.menu-overlay__foot .btn { width: 100%; }

/* staggered entrance — replays each time the menu opens */
.menu-overlay__list li, .menu-overlay__foot { opacity: 0; transform: translateY(16px); }
.menu-overlay.is-open .menu-overlay__list li { animation: nav-rise 0.5s var(--ease-out) forwards; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(1) { animation-delay: 0.06s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(2) { animation-delay: 0.12s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(3) { animation-delay: 0.18s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(4) { animation-delay: 0.24s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(5) { animation-delay: 0.30s; }
.menu-overlay.is-open .menu-overlay__list li:nth-child(6) { animation-delay: 0.36s; }
.menu-overlay.is-open .menu-overlay__foot { animation: nav-rise 0.5s var(--ease-out) 0.44s forwards; }
@keyframes nav-rise { to { opacity: 1; transform: none; } }

/* never leave links invisible when motion is reduced */
@media (prefers-reduced-motion: reduce) {
  .menu-overlay__list li, .menu-overlay__foot { opacity: 1; transform: none; animation: none; }
  .menu-overlay { transition: opacity 200ms linear, visibility 200ms; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(78vh, 700px); display: flex; align-items: center; overflow: hidden; padding: 5.25rem 0 2.75rem; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--indigo-ink); }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 38%;
  filter: contrast(1.05) saturate(1.05);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(14,15,40,0.28) 0%, rgba(14,15,40,0.12) 46%, rgba(10,11,34,0.62) 100%),
    radial-gradient(120% 100% at 50% 44%, rgba(14,15,40,0) 0%, rgba(12,13,38,0.16) 60%, rgba(10,11,34,0.46) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-md); color: #fff; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--indigo-ink); background: var(--yellow); padding: 0.5rem 0.95rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md); margin-bottom: 1.1rem;
}
.hero__title { color: #F7F3EA; font-size: clamp(2.4rem, 4.6vw + 0.4rem, 4rem); max-width: 16ch; margin: 0 auto 1.1rem; text-shadow: 0 2px 22px rgba(10,11,34,0.62); }
.hero__title .hero__word { display: block; padding-bottom: 0.04em; }
.hero__title .hero__word:nth-child(3) { color: var(--yellow); }
.hero__lead { max-width: 52ch; font-size: 1.08rem; color: #F1EEE6; margin: 0 auto 1.4rem; text-shadow: 0 1px 14px rgba(10,11,34,0.6); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-bottom: 1.6rem; }
/* Hero entrance — smooth cinematic focus-pull: the content fades up out of a
   soft blur. Not a one-by-one cascade, not a flat block slide. */
.hero__inner { opacity: 0; filter: blur(14px); transform: scale(1.012); will-change: opacity, filter, transform; animation: hero-focus 1.1s var(--ease-out) 0.1s forwards; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.hero .btn--ghost:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem 1.7rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.22); }
.hero__trust li { font-size: 0.95rem; color: #f0f0ff; text-shadow: 0 1px 12px rgba(10,11,34,0.55); }
.hero__trust strong { font-family: var(--font-display); color: var(--yellow); font-size: 1.04rem; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { padding: clamp(2.6rem, 5vw, 3.6rem) 0; background: var(--bg-dark); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust__item { text-align: center; padding: 0.6rem 1rem; border-right: 1px solid var(--border-on-dark); }
.trust__item:last-child { border-right: none; }
.trust__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1; color: var(--yellow); }
.trust__num--text { letter-spacing: 0.02em; }
.trust__num--licence { font-size: clamp(1.45rem, 2.4vw + 0.4rem, 2.05rem); white-space: nowrap; }
.trust__num .count-suffix { color: var(--yellow); }
.trust__label { display: block; margin-top: 0.5rem; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--on-dark-muted); }

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about__badge {
  position: absolute; left: -10px; bottom: -18px; background: var(--surface); color: var(--ink);
  padding: 0.85rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-md);
  border-left: 4px solid var(--yellow); display: flex; flex-direction: column; line-height: 1.2;
  font-size: 0.82rem; color: var(--muted);
}
.about__badge strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-lt); letter-spacing: 0.02em; }
.about__body .section__title { margin: 0.4rem 0 1rem; }
.about__body p { color: var(--muted); margin-bottom: 1rem; }
.about__points { margin: 1.4rem 0 1.8rem; display: grid; gap: 0.7rem; }
.about__points li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.about__points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow); }
.about__points li::after {
  content: ""; position: absolute; left: 6.5px; top: 7px; width: 7px; height: 4px;
  border-left: 2px solid var(--indigo-ink); border-bottom: 2px solid var(--indigo-ink); transform: rotate(-45deg);
}

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.svc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); border-color: rgba(255,241,18,0.45); }
.svc-card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: var(--yellow-soft); color: var(--indigo); margin-bottom: 1rem;
  transition: background 240ms var(--ease-out);
}
.svc-card:hover .svc-card__icon { background: var(--yellow); }
.svc-card h3 { margin-bottom: 0.4rem; }
.svc-card p { color: var(--muted); font-size: 0.96rem; }
.svc-foot { text-align: center; margin-top: 2rem; font-family: var(--font-display); font-size: 1.15rem; color: var(--yellow); }

/* ==========================================================================
   Our Work / marquee + lightbox
   ========================================================================== */
.work { padding-bottom: clamp(4rem, 8vw, 7.5rem); }
.marquee { margin-top: 0.5rem; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1.1rem; width: max-content; will-change: transform; }
.marquee[data-running="true"] .marquee__track { animation: marquee-x var(--marquee-dur, 60s) linear infinite; }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.work-tile {
  flex: 0 0 auto; width: clamp(260px, 32vw, 420px); aspect-ratio: 16 / 10; padding: 0; border: none;
  border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--bg-alt);
  box-shadow: var(--shadow-sm); transition: box-shadow 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.work-tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.work-tile:hover img { transform: scale(1.06); }
.work-tile:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(15,16,46,0.92); opacity: 0; visibility: hidden; transition: opacity 240ms var(--ease-out), visibility 240ms;
  padding: 4vw;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-stage { max-width: 92vw; max-height: 86vh; }
.lightbox-stage img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); transform: scale(0.96); transition: transform 280ms var(--ease-out); }
.lightbox.is-open .lightbox-stage img { transform: scale(1); }
.lightbox button { position: absolute; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 160ms; }
.lightbox button:hover { background: var(--yellow); color: var(--indigo-ink); border-color: var(--yellow); }
.lightbox-close { top: 4vw; right: 4vw; }
.lightbox-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ==========================================================================
   Why us (dark)
   ========================================================================== */
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2.5rem; }
.why__item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.2rem 0; }
.why__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,241,18,0.14); color: var(--yellow); border: 1px solid rgba(255,241,18,0.3); }
.why__item h3 { color: #fff; margin-bottom: 0.3rem; }
.why__item p { color: var(--on-dark-muted); font-size: 0.98rem; }

/* ==========================================================================
   Callout band (signature yellow)
   ========================================================================== */
.callout { background: var(--yellow); padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.callout::before, .callout::after { content: ""; position: absolute; border: 2px solid rgba(28,29,82,0.16); border-radius: 4px; }
.callout::before { width: 120px; height: 120px; right: 4%; top: -40px; transform: rotate(12deg); }
.callout::after { width: 80px; height: 80px; left: 3%; bottom: -30px; transform: rotate(-8deg); }
.callout__inner { text-align: center; position: relative; z-index: 1; }
.callout__label { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--indigo-deep); margin-bottom: 0.6rem; }
.callout__phone { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; color: var(--indigo-ink); letter-spacing: -0.01em; transition: transform 200ms var(--ease-out); }
.callout__phone:hover { transform: scale(1.03); }
.callout__note { color: var(--indigo-deep); margin-top: 0.8rem; font-size: 1.05rem; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 0.7rem; }
.review blockquote { color: var(--ink); font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.review__by { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--accent-lt); }
.review__by span { color: var(--muted); font-weight: 400; font-family: var(--font-body); font-size: 0.9rem; }
.review--badge { background: var(--indigo); color: #fff; align-items: center; justify-content: center; text-align: center; gap: 0.4rem; }
.review--badge .review__rating { font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--yellow); }
.review--badge .review__stars { color: var(--yellow); }
.review__badge-text { color: var(--on-dark-muted); font-size: 0.92rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ==========================================================================
   Areas
   ========================================================================== */
.areas__list { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.areas__list li {
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
  padding: 0.55rem 1.15rem; transition: background 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms;
}
.areas__list li:hover { background: var(--yellow); color: var(--indigo-ink); border-color: var(--yellow); }

/* ==========================================================================
   FAQ / accordion
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__intro .section__title { margin: 0.4rem 0 0.9rem; }
.faq__intro p { color: var(--muted); }
.accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden; transition: box-shadow 200ms var(--ease-out), border-color 200ms; }
.accordion-item.is-open { box-shadow: var(--shadow-md); border-color: transparent; }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; background: none; border: none; padding: 1.15rem 1.3rem; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.06rem; color: var(--ink); }
.accordion-trigger:hover { color: var(--accent-lt); }
.accordion-trigger:focus-visible { outline: 3px solid var(--indigo); outline-offset: -3px; border-radius: var(--radius); }
.accordion-icon { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; background: var(--accent-lt); border-radius: 2px; transition: transform 240ms var(--ease-out), opacity 200ms; }
.accordion-icon::before { top: 10px; left: 2px; width: 18px; height: 2.4px; }
.accordion-icon::after { left: 10px; top: 2px; width: 2.4px; height: 18px; }
.accordion-item.is-open .accordion-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel__inner { overflow: hidden; }
.accordion-panel__inner p { color: var(--muted); padding: 0 1.3rem 1.25rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info .section__title { margin: 0.4rem 0 0.8rem; }
.contact__info > p { color: var(--muted); margin-bottom: 1.6rem; }
.contact__list { display: grid; gap: 1rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow-soft); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; }
.contact__k { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.contact__list a, .contact__list div > span:last-child { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.contact__list a:hover { color: var(--accent-lt); }

.contact__formwrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 0.8rem 0.95rem; border: 1.5px solid var(--field-border); border-radius: 10px; background: var(--bg);
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background 160ms;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid transparent; outline-offset: 2px; border-color: var(--accent-lt); background: #20222E; box-shadow: 0 0 0 4px var(--yellow-glow); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.quote-form__req { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.req { color: #C0392B; font-weight: 700; }
.quote-form__note { text-align: center; font-size: 0.9rem; color: var(--muted); margin-top: 0.9rem; }

.contact__map { margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact__map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); filter: grayscale(0.2) contrast(1.05); }

/* ==========================================================================
   Footer + call bar
   ========================================================================== */
.site-footer { background-color: var(--bg-darker); background-image: var(--noise); color: var(--on-dark); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 56px; width: auto; border-radius: 8px; margin-bottom: 1rem; }
.footer__brand p { color: var(--on-dark-muted); font-size: 0.96rem; max-width: 34ch; }
.footer__col h3 { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a, .footer__col li { color: var(--on-dark-muted); font-size: 0.96rem; transition: color 160ms; }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-on-dark); }
.footer__bar p { color: var(--on-dark-muted); font-size: 0.88rem; }
.footer__credit { font-weight: 500; }
.footer__credit a { color: var(--yellow); font-weight: 600; text-decoration: none; transition: color 160ms; }
.footer__credit a:hover { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.footer__credit a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; border-radius: 2px; }

.call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; align-items: center; justify-content: center; gap: 0.5rem; background: var(--indigo); color: #fff; font-family: var(--font-display); font-weight: 600; padding: 0.85rem; box-shadow: 0 -4px 18px rgba(20,21,58,0.25); }

/* ==========================================================================
   Scroll-reveal
   ========================================================================== */
.reveal, .reveal-l, .reveal-r, .reveal-scale { transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), filter 0.75s var(--ease-out); }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(34px); }
.js-reveal-ready .reveal-l { opacity: 0; transform: translateX(-46px); }
.js-reveal-ready .reveal-r { opacity: 0; transform: translateX(46px); }
.js-reveal-ready .reveal-scale { opacity: 0; transform: scale(0.9); filter: blur(4px); }
.js-reveal-ready .reveal.is-visible,
.js-reveal-ready .reveal-l.is-visible,
.js-reveal-ready .reveal-r.is-visible,
.js-reveal-ready .reveal-scale.is-visible { opacity: 1; transform: none; filter: none; }
.js-reveal-ready .reveal-group > * { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.js-reveal-ready .reveal-group.is-visible > * { opacity: 1; transform: none; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.22s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.28s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.34s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.40s; }
.js-reveal-ready .reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.46s; }

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes hero-focus { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes soft-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes marquee-x { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .why__grid { grid-template-columns: 1fr; gap: 0.4rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }                 /* desktop bar list hidden on mobile */
  .menu-overlay { display: block; }             /* full-screen Blueprint Index takes over */
  .nav-quote, .nav-phone { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 0.5rem; }
  .trust__item:nth-child(2) { border-right: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .call-bar { display: flex; }
  body { padding-bottom: 54px; }
}
@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 1rem 1.4rem; }
  .about__badge { left: 0; }
}

/* ==========================================================================
   Reduced motion — keep everything visible (MISTAKES #3, #4, #13)
   ========================================================================== */
/* Reduced motion: we DON'T blank the page (that just makes it look dead, esp. on
   Windows where reduced-motion is often on by default). We remove the large,
   auto-playing motion (hero zoom, bobbing cue) and keep gentle, opacity-led
   reveals + a slower marquee so the site still feels alive but never lurches. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Reveals: opacity-led, minimal travel */
  .js-reveal-ready .reveal,
  .js-reveal-ready .reveal-l,
  .js-reveal-ready .reveal-r,
  .js-reveal-ready .reveal-group > * { transform: translateY(10px); }
  .js-reveal-ready .reveal.is-visible,
  .js-reveal-ready .reveal-l.is-visible,
  .js-reveal-ready .reveal-r.is-visible,
  .js-reveal-ready .reveal-group.is-visible > * { transform: none; }
  .js-reveal-ready .reveal-scale { transform: none; filter: none; }
  /* Hero entrance: fade only (no blur / scale) */
  .hero__inner { animation-name: soft-fade; filter: none !important; transform: none !important; }
  /* Marquee runs at the same (fast) speed as normal — it's gentle decorative motion. */
}
