/* ============================================================
   Premium UI layer v2 — loaded after styles.css.
   Uses ONLY the existing brand tokens (navy, navy-deep, orange,
   soft-blue, light-grey). No content or colour changes.
   ============================================================ */

:root {
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 2px color-mix(in oklab, var(--navy-deep) 6%, transparent),
                  0 12px 32px -16px color-mix(in oklab, var(--navy-deep) 22%, transparent);
  --shadow-deep: 0 2px 4px color-mix(in oklab, var(--navy-deep) 6%, transparent),
                 0 32px 64px -28px color-mix(in oklab, var(--navy-deep) 45%, transparent);
  --hairline: color-mix(in oklab, var(--navy) 10%, transparent);
}

body { letter-spacing: -0.005em; text-rendering: optimizeLegibility; }
::selection { background: color-mix(in oklab, var(--orange) 30%, transparent); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--orange), color-mix(in oklab, var(--orange) 60%, var(--background)));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Typography ── */
h1, h2, .h2-navy { letter-spacing: -0.02em; }
h2, .h2-navy { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem) !important; line-height: 1.08; }
.lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.8; }
.eyebrow { letter-spacing: 0.26em; font-size: 0.75rem; font-weight: 800; }
.section-heading { max-width: 50rem; margin-inline: auto; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem) !important; }
.heading-rule {
  width: 72px !important; height: 4px !important; border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), color-mix(in oklab, var(--orange) 25%, transparent)) !important;
}

/* ── Sections: taller + richer backgrounds ── */
.section { padding-block: clamp(6rem, 4.5rem + 7vw, 10rem); position: relative; overflow: clip; }

.section-white {
  background:
    radial-gradient(70rem 34rem at 110% -10%, color-mix(in oklab, var(--soft-blue) 65%, transparent), transparent 55%),
    radial-gradient(50rem 28rem at -15% 110%, color-mix(in oklab, var(--orange) 7%, transparent), transparent 60%),
    var(--background);
}

.section-soft-blue {
  background:
    radial-gradient(60rem 30rem at 100% 0%, color-mix(in oklab, var(--background) 75%, transparent), transparent 60%),
    radial-gradient(46rem 26rem at 0% 100%, color-mix(in oklab, var(--navy) 8%, transparent), transparent 60%),
    var(--soft-blue);
}

.section-grey {
  background:
    radial-gradient(56rem 30rem at 100% 100%, color-mix(in oklab, var(--soft-blue) 80%, transparent), transparent 60%),
    radial-gradient(40rem 24rem at 0% 0%, color-mix(in oklab, var(--orange) 6%, transparent), transparent 55%),
    var(--light-grey, var(--soft-blue));
}

/* Decorative dot texture on light sections */
.section-white::before, .section-soft-blue::before, .section-grey::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in oklab, var(--navy) 7%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(45rem 30rem at 85% 15%, black, transparent 70%);
          mask-image: radial-gradient(45rem 30rem at 85% 15%, black, transparent 70%);
}
.section > .container { position: relative; z-index: 1; }

/* ── Header ── */
.site-header {
  transition: background-color .4s var(--ease-premium), box-shadow .4s var(--ease-premium), backdrop-filter .4s;
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--background) 82%, transparent) !important;
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--hairline), 0 10px 30px -20px color-mix(in oklab, var(--navy-deep) 35%, transparent);
}
.nav-links > li > a, .nav-dropdown-toggle { position: relative; transition: color .25s; }
.nav-links > li > a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px; transition: left .35s var(--ease-premium), right .35s var(--ease-premium);
}
.nav-links > li > a:hover::after { left: 0; right: 0; }
.nav-dropdown-menu {
  border-radius: var(--radius-xl) !important; border: 1px solid var(--hairline) !important;
  box-shadow: var(--shadow-deep) !important; padding: .5rem !important;
}
.nav-dropdown-menu a { border-radius: var(--radius-md); transition: background .2s, color .2s, padding .25s var(--ease-premium); }
.nav-dropdown-menu a:hover { background: var(--soft-blue); color: var(--navy); padding-left: 1.25rem; }

/* ── Buttons ── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-premium), box-shadow .35s var(--ease-premium), background-color .25s, color .25s;
}
.btn-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, color-mix(in oklab, var(--background) 35%, transparent) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease-premium);
}
.btn-cta:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-cta:hover { box-shadow: var(--shadow-orange); }
.btn .icon { transition: transform .35s var(--ease-premium); }
.btn:hover .icon { transform: translateX(4px); }
.btn-ghost-light { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ── Hero ── */
.hero { min-height: min(100svh, 980px); display: flex; align-items: center; }
.hero-img { animation: heroZoom 18s var(--ease-premium) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 100px; pointer-events: none;
  background: linear-gradient(to top, color-mix(in oklab, var(--navy-deep) 30%, transparent), transparent);
}
.hero-inner { display: flex; justify-content: center; }
.hero-content {
  text-align: center;
  align-items: center;
  max-width: 64rem !important;
}
.eyebrow-hero { justify-content: center; }
.hero-actions { justify-content: center; }
.hero-sub { margin-inline: auto; }

.hero h1 {
  font-size: clamp(2.2rem, 1.6rem + 3.5vw, 4rem); line-height: 1.08; max-width: 22ch;
  margin-inline: auto;
  text-shadow: 0 2px 24px color-mix(in oklab, var(--navy-deep) 65%, transparent);
}
.hero-sub {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.7; max-width: 38rem; opacity: .95;
  text-shadow: 0 1px 14px color-mix(in oklab, var(--navy-deep) 60%, transparent);
}
.hero-content > * { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease-premium) forwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .6s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ── About: big visual collage ── */
.about-grid { align-items: center; gap: clamp(2.5rem, 2rem + 3vw, 5rem) !important; }
.about-collage {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto;
  gap: clamp(.9rem, .6rem + 1vw, 1.4rem);
}
.about-collage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-deep);
  transition: transform .6s var(--ease-premium), box-shadow .6s var(--ease-premium);
}
.about-collage img:hover { transform: translateY(-6px) scale(1.02); }
.about-collage .collage-main {
  grid-row: 1 / 3; min-height: clamp(22rem, 30vw, 30rem);
  border-radius: var(--radius-3xl, var(--radius-2xl));
}
.about-collage .collage-small { min-height: clamp(10rem, 14vw, 14rem); }
.about-collage::before {
  content: ""; position: absolute; inset: -1.5rem auto auto -1.5rem; width: 9rem; height: 9rem; z-index: -1;
  border-radius: var(--radius-2xl);
  background: repeating-linear-gradient(45deg, color-mix(in oklab, var(--orange) 30%, transparent) 0 6px, transparent 6px 14px);
}
.about-collage-badge {
  position: absolute; right: -0.75rem; bottom: -1.25rem; z-index: 2;
  background: var(--navy-deep); color: var(--background);
  border-radius: var(--radius-xl); padding: 1rem 1.4rem;
  box-shadow: var(--shadow-deep);
  text-align: center;
}
.about-collage-badge strong {
  display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1;
  color: var(--orange);
}
.about-collage-badge span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

/* ── Reveal (smoother + stagger via --d) ── */
.reveal { transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium) !important; transition-delay: var(--d, 0s) !important; }

/* ── Generic premium cards ── */
.about-card, .service-card, .serve-card, .why-card, .testimonial-card, .contact-card, .process-step {
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium), border-color .3s, background-color .3s;
}
.about-card { border-radius: var(--radius-2xl) !important; box-shadow: var(--shadow-soft); }
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

/* Stats: richer band */
.section-stats {
  background:
    radial-gradient(40rem 20rem at 20% 0%, color-mix(in oklab, var(--orange) 14%, transparent), transparent 60%),
    radial-gradient(40rem 20rem at 85% 100%, color-mix(in oklab, var(--navy) 70%, transparent), transparent 65%),
    var(--navy-deep) !important;
  padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) !important;
}
.stat-number { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem) !important; }

/* Services */
.services-grid { gap: clamp(1.25rem, .8rem + 1.6vw, 2rem) !important; }
.service-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-2xl) !important;
  border: 1px solid var(--hairline) !important;
  background: var(--card) !important;
  box-shadow: var(--shadow-soft) !important;
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) !important;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-premium);
}
.service-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -100px; top: -100px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--orange) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity .5s; pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-deep) !important; border-color: color-mix(in oklab, var(--orange) 30%, transparent) !important; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-icon { transition: transform .5s var(--ease-premium), background-color .3s, color .3s; }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.08); }
.service-num { font-variant-numeric: tabular-nums; opacity: .5; transition: opacity .3s; }
.service-card:hover .service-num { opacity: 1; }
.service-link .icon { transition: transform .35s var(--ease-premium); }
.service-card:hover .service-link .icon { transform: translateX(5px); }

/* Who we serve */
.serve-card { border-radius: var(--radius-2xl) !important; border: 1px solid var(--hairline) !important; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem) !important; }
.serve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }
.serve-icon { transition: transform .5s var(--ease-premium); }
.serve-card:hover .serve-icon { transform: scale(1.1); }

/* Why us (navy) */
.section-navy {
  background:
    radial-gradient(50rem 26rem at 0% 0%, color-mix(in oklab, var(--orange) 12%, transparent), transparent 60%),
    radial-gradient(44rem 28rem at 100% 100%, color-mix(in oklab, var(--navy) 85%, transparent), transparent 60%),
    var(--navy-deep) !important;
}
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in oklab, var(--background) 6%, transparent) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(50rem 32rem at 15% 85%, black, transparent 70%);
          mask-image: radial-gradient(50rem 32rem at 15% 85%, black, transparent 70%);
}
.why-card {
  border-radius: var(--radius-2xl) !important;
  background: color-mix(in oklab, var(--background) 5%, transparent) !important;
  border: 1.5px solid rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(6px);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) !important;
}
.why-card:hover { transform: translateY(-6px); border-color: color-mix(in oklab, var(--orange) 70%, transparent) !important; background: color-mix(in oklab, var(--background) 9%, transparent) !important; }

/* Process */
.process-num { transition: transform .5s var(--ease-premium), box-shadow .5s; }
.process-step:hover .process-num { transform: scale(1.1); box-shadow: var(--shadow-orange); }

/* Testimonials */
.testimonial-card { border-radius: var(--radius-2xl) !important; border: 1px solid var(--hairline) !important; box-shadow: var(--shadow-soft) !important; position: relative; padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) !important; }
.testimonial-card::before {
  content: "\201C"; position: absolute; top: .25rem; right: 1.25rem; font-family: var(--font-display);
  font-size: 5rem; line-height: 1; color: color-mix(in oklab, var(--orange) 22%, transparent); pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep) !important; }

/* FAQ */
.faq-item { border-radius: var(--radius-xl) !important; transition: box-shadow .4s var(--ease-premium), border-color .3s, background-color .3s; }
.faq-item:hover { box-shadow: var(--shadow-soft); }
.faq-icon { transition: transform .4s var(--ease-premium) !important; }

/* Contact */
.contact-card { border-radius: var(--radius-xl) !important; }
.contact-card:hover { transform: translateX(4px); }
.contact-form-wrap { border-radius: var(--radius-3xl) !important; box-shadow: var(--shadow-deep) !important; border: 1px solid var(--hairline); }
.contact-form input, .contact-form select, .contact-form textarea {
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange) !important;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--orange) 16%, transparent) !important;
}

/* Footer */
.site-footer { position: relative; }
.site-footer::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--orange) 60%, transparent), transparent);
}
.site-footer a { transition: color .25s, transform .3s var(--ease-premium); }
.footer-social a:hover { transform: translateY(-3px); }

/* Floating buttons */
.float-btn { transition: transform .4s var(--ease-premium), box-shadow .4s; }
.float-btn:hover { transform: translateY(-4px) scale(1.06); }

/* ── Responsive refinements ── */
@media (max-width: 1024px) {
  .hero { min-height: 760px; }
}
@media (max-width: 860px) {
  .about-collage { grid-template-columns: 1fr 1fr; }
  .about-collage .collage-main { grid-row: auto; grid-column: 1 / 3; min-height: 16rem; }
  .about-collage-badge { right: .5rem; bottom: -1rem; }
}
@media (max-width: 640px) {
  .hero { min-height: 660px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .service-card:hover, .serve-card:hover, .why-card:hover, .testimonial-card:hover, .about-card:hover { transform: translateY(-3px); }
  .about-collage .collage-small { min-height: 8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero-content > * { opacity: 1; transform: none; }
}


/* ============================================================
   SERVICE CARD IMAGES + BACKGROUND GRID DESIGNS
   ============================================================ */

/* ── Service Card with Image ─────────────────────────────── */
.service-card-img {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-img-wrap {
  position: relative;
  width: 100%;
  height: 13rem;
  overflow: hidden;
  flex-shrink: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-premium, cubic-bezier(0.22,1,0.36,1));
}

.service-card-img:hover .service-img {
  transform: scale(1.08);
}

/* Gradient fade over image bottom */
.service-img-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(
    to top,
    color-mix(in oklab, var(--navy-deep) 60%, transparent),
    transparent
  );
  pointer-events: none;
}

/* Overlay number badge */
.service-img-num {
  position: absolute;
  bottom: .75rem;
  left: 1.25rem;
  z-index: 2;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--orange);
  text-shadow: 0 1px 6px color-mix(in oklab, var(--navy-deep) 80%, transparent);
}

.service-card-body {
  padding: clamp(1.25rem, 1rem + .8vw, 1.75rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .6rem;
}

.service-card-body .service-icon {
  margin-top: 0;
}

.service-card-body h3 {
  margin-top: .25rem;
  color: var(--navy-deep);
}

.service-desc {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--muted-foreground, #6b7799);
  flex: 1;
}

.service-card-body .service-link {
  margin-top: .5rem;
}

/* Remove old top-line since we now have a full-image top */
.service-card-img .service-topline { display: none; }

/* ── 1. ABOUT — Crosshatch Grid ──────────────────────────── */
.section-crosshatch { overflow: hidden; }

.bg-crosshatch {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Two sets of lines crossing at 45° */
  background-image:
    linear-gradient(45deg,  color-mix(in oklab, var(--navy) 5%, transparent) 1px, transparent 1px),
    linear-gradient(-45deg, color-mix(in oklab, var(--navy) 5%, transparent) 1px, transparent 1px);
  background-size: 40px 40px;
  /* Fade to nothing outside the top-right corner */
  -webkit-mask-image:
    radial-gradient(ellipse 60% 50% at 100% 0%, black 30%, transparent 75%);
          mask-image:
    radial-gradient(ellipse 60% 50% at 100% 0%, black 30%, transparent 75%);
}

/* ── 2. SERVICES — Vertical Line Grid ───────────────────── */
.section-grid-lines { overflow: hidden; }

.bg-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right,  color-mix(in oklab, var(--navy) 6%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--navy) 6%, transparent) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image:
    linear-gradient(to bottom, black 0%, transparent 100%),
    linear-gradient(to right, transparent, black 20%, black 80%, transparent);
          mask-image:
    linear-gradient(to bottom, black 0%, transparent 100%),
    linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-composite: intersect;
          mask-composite: intersect;
  opacity: .7;
}

/* ── 3. WHY US (NAVY) — Hex / Honeycomb SVG Pattern ─────── */
.section-hex-grid { overflow: hidden; }

.bg-hex-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* SVG hex pattern encoded inline */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32z' fill='none' stroke='rgba(255%2C255%2C255%2C0.05)' stroke-width='1'/%3E%3Cpath d='M28 100L0 84V52l28-16 28 16v32z' fill='none' stroke='rgba(255%2C255%2C255%2C0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 100px;
  -webkit-mask-image:
    radial-gradient(ellipse 70% 55% at 80% 100%, black 25%, transparent 70%);
          mask-image:
    radial-gradient(ellipse 70% 55% at 80% 100%, black 25%, transparent 70%);
}

/* ── 4. PROCESS — Isometric Dot Grid ────────────────────── */
.section-iso-grid { overflow: hidden; }

.bg-iso-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  /* Dot at every corner of a 30° rotated grid */
  background-image:
    radial-gradient(circle, color-mix(in oklab, var(--navy) 12%, transparent) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  -webkit-mask-image:
    radial-gradient(ellipse 55% 50% at 0% 50%, black 20%, transparent 70%);
          mask-image:
    radial-gradient(ellipse 55% 50% at 0% 50%, black 20%, transparent 70%);
}

/* ── 5. TESTIMONIALS — Diagonal Stripe + Dot Wave ────────── */
.section-wave-grid { overflow: hidden; }

.bg-wave-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    /* dots */
    radial-gradient(circle, color-mix(in oklab, var(--navy) 9%, transparent) 1.5px, transparent 1.5px),
    /* diagonal lines */
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--orange) 8%, transparent) 0,
      color-mix(in oklab, var(--orange) 8%, transparent) 1px,
      transparent 1px,
      transparent 28px
    );
  background-size: 28px 28px, 28px 28px;
  -webkit-mask-image:
    radial-gradient(ellipse 65% 55% at 5% 95%, black 20%, transparent 68%);
          mask-image:
    radial-gradient(ellipse 65% 55% at 5% 95%, black 20%, transparent 68%);
}

/* Ensure containers sit above all bg layers */
.section-crosshatch > .container,
.section-grid-lines > .container,
.section-hex-grid   > .container,
.section-iso-grid   > .container,
.section-wave-grid  > .container {
  position: relative;
  z-index: 1;
}

/* ── Responsive: tighter image height on mobile ─────────── */
@media (max-width: 640px) {
  .service-img-wrap { height: 10rem; }
  .service-card-body { padding: 1.25rem; }
}


/* ============================================================
   GEOMETRIC BLOCK PATTERN  ─  3 variants
   A staggered checkerboard of filled squares + hollow squares
   layered to create the classic "geometric block" / 3-D cube
   illusion using only CSS background-image.
   ============================================================ */

/* ── Shared base ─────────────────────────────────────────── */
.section-geo-blocks,
.section-geo-blocks-light,
.section-geo-blocks-warm {
  position: relative;
  overflow: hidden;
}

/* Ensure content sits on top */
.section-geo-blocks     > .container,
.section-geo-blocks     > .stats-grid,
.section-geo-blocks-light > .container,
.section-geo-blocks-warm  > .container {
  position: relative;
  z-index: 1;
}

/* ── Variant 1 — DARK (Stats / navy band) ────────────────── */
/*   White-on-navy staggered blocks, right-side accent         */
.bg-geo-blocks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    /* Top-left filled squares */
    linear-gradient(
      to right,
      rgba(255,255,255,0.06) 50%,
      transparent 50%
    ),
    /* Offset row — stagger by half a tile */
    linear-gradient(
      to right,
      transparent 50%,
      rgba(255,255,255,0.06) 50%
    ),
    /* Vertical dividers */
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px,
      transparent 1px, transparent 40px
    ),
    /* Horizontal dividers */
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px,
      transparent 1px, transparent 40px
    ),
    /* Orange accent squares scattered top-right */
    radial-gradient(
      rect at 100% 0%,
      color-mix(in oklab, var(--orange) 18%, transparent) 0%,
      transparent 55%
    );

  background-size:
    80px 80px,
    80px 80px,
    40px 40px,
    40px 40px,
    100% 100%;

  background-position:
    0 0,
    40px 40px,
    0 0,
    0 0,
    0 0;

  /* Fade away from the left so text stays clean */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 35%,
    black 65%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 35%,
    black 65%,
    transparent 100%
  );
}

/* ── Variant 2 — LIGHT (FAQs / white bg) ────────────────── */
/*   Navy-on-white staggered blocks, bottom-right accent       */
.bg-geo-blocks-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    /* Filled block rows */
    linear-gradient(
      to right,
      color-mix(in oklab, var(--navy) 5%, transparent) 50%,
      transparent 50%
    ),
    linear-gradient(
      to right,
      transparent 50%,
      color-mix(in oklab, var(--navy) 5%, transparent) 50%
    ),
    /* Grid lines */
    repeating-linear-gradient(
      90deg,
      color-mix(in oklab, var(--navy) 6%, transparent) 0,
      color-mix(in oklab, var(--navy) 6%, transparent) 1px,
      transparent 1px, transparent 40px
    ),
    repeating-linear-gradient(
      0deg,
      color-mix(in oklab, var(--navy) 6%, transparent) 0,
      color-mix(in oklab, var(--navy) 6%, transparent) 1px,
      transparent 1px, transparent 40px
    ),
    /* Orange glow bottom-right */
    radial-gradient(
      ellipse 50% 40% at 100% 100%,
      color-mix(in oklab, var(--orange) 10%, transparent),
      transparent 65%
    );

  background-size:
    80px 80px,
    80px 80px,
    40px 40px,
    40px 40px,
    100% 100%;

  background-position:
    0 0,
    40px 40px,
    0 0,
    0 0,
    0 0;

  /* Visible on the right half only */
  -webkit-mask-image:
    radial-gradient(
      ellipse 60% 70% at 100% 50%,
      black 30%,
      transparent 75%
    );
  mask-image:
    radial-gradient(
      ellipse 60% 70% at 100% 50%,
      black 30%,
      transparent 75%
    );
}

/* ── Variant 3 — WARM (Contact / grey bg) ───────────────── */
/*   Full-bleed subtle block + orange accent top-left          */
.bg-geo-blocks-warm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image:
    /* Staggered filled squares (very subtle) */
    linear-gradient(
      to right,
      color-mix(in oklab, var(--navy) 4%, transparent) 50%,
      transparent 50%
    ),
    linear-gradient(
      to right,
      transparent 50%,
      color-mix(in oklab, var(--navy) 4%, transparent) 50%
    ),
    /* Fine grid */
    repeating-linear-gradient(
      90deg,
      color-mix(in oklab, var(--navy) 5%, transparent) 0,
      color-mix(in oklab, var(--navy) 5%, transparent) 1px,
      transparent 1px, transparent 32px
    ),
    repeating-linear-gradient(
      0deg,
      color-mix(in oklab, var(--navy) 5%, transparent) 0,
      color-mix(in oklab, var(--navy) 5%, transparent) 1px,
      transparent 1px, transparent 32px
    ),
    /* Bold orange accent top-left */
    radial-gradient(
      ellipse 45% 50% at 0% 0%,
      color-mix(in oklab, var(--orange) 12%, transparent),
      transparent 70%
    ),
    /* Soft navy bottom-right */
    radial-gradient(
      ellipse 50% 50% at 100% 100%,
      color-mix(in oklab, var(--navy) 8%, transparent),
      transparent 65%
    );

  background-size:
    64px 64px,
    64px 64px,
    32px 32px,
    32px 32px,
    100% 100%,
    100% 100%;

  background-position:
    0 0,
    32px 32px,
    0 0,
    0 0,
    0 0,
    0 0;

  /* Full coverage with gentle edge fade */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 80%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 80%,
    transparent 100%
  );
  opacity: 0.9;
}

/* ── Corner accent tiles — pure CSS cubes on stats bar ───── */
/* Small absolute block decorations at corners of stats bar  */
.section-geo-blocks::before,
.section-geo-blocks::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 0;
  /* 3-face isometric cube illusion */
  background-image:
    /* top face */
    linear-gradient(
      135deg,
      rgba(255,255,255,0.12) 0% 50%,
      transparent 50%
    ),
    /* left face */
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.06) 0%,
      transparent 100%
    ),
    /* right face */
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.04) 0%,
      transparent 100%
    );
  background-size: 40px 40px, 20px 40px, 20px 40px;
  background-repeat: repeat;
}
.section-geo-blocks::before {
  top: 0; left: 0;
  -webkit-mask-image: radial-gradient(ellipse at 0% 0%, black 40%, transparent 75%);
          mask-image: radial-gradient(ellipse at 0% 0%, black 40%, transparent 75%);
}
.section-geo-blocks::after {
  bottom: 0; right: 0;
  -webkit-mask-image: radial-gradient(ellipse at 100% 100%, black 40%, transparent 75%);
          mask-image: radial-gradient(ellipse at 100% 100%, black 40%, transparent 75%);
}

/* Ensure .section-stats stacking is correct */
.section-stats { position: relative; }
.section-stats > .container,
.section-stats .stats-grid { position: relative; z-index: 1; }


/* ============================================================
   FINE GRID LINES  —  thin horizontal + vertical lines
   Corporate structured look for About Us & Who We Serve
   ============================================================ */

.section-fine-grid {
  position: relative;
  overflow: hidden;
}

.section-fine-grid > .container {
  position: relative;
  z-index: 1;
}

.bg-fine-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* Two sets of thin lines — vertical + horizontal */
  background-image:
    /* Vertical lines */
    repeating-linear-gradient(
      to right,
      color-mix(in oklab, var(--navy) 7%, transparent) 0px,
      color-mix(in oklab, var(--navy) 7%, transparent) 1px,
      transparent 1px,
      transparent 48px
    ),
    /* Horizontal lines */
    repeating-linear-gradient(
      to bottom,
      color-mix(in oklab, var(--navy) 7%, transparent) 0px,
      color-mix(in oklab, var(--navy) 7%, transparent) 1px,
      transparent 1px,
      transparent 48px
    );

  background-size: 48px 48px;

  /* Fade: visible in top-right, invisible bottom-left — gives depth */
  -webkit-mask-image: radial-gradient(
    ellipse 75% 70% at 100% 0%,
    black 20%,
    rgba(0,0,0,0.4) 50%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 75% 70% at 100% 0%,
    black 20%,
    rgba(0,0,0,0.4) 50%,
    transparent 80%
  );
}

/* Orange accent dot at grid intersections — top-right cluster only */
.bg-fine-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    color-mix(in oklab, var(--orange) 30%, transparent) 1.5px,
    transparent 1.5px
  );
  background-size: 96px 96px;         /* every other grid intersection */
  background-position: 48px 48px;     /* offset half a cell */
  -webkit-mask-image: radial-gradient(
    ellipse 45% 40% at 100% 0%,
    black 15%,
    transparent 65%
  );
  mask-image: radial-gradient(
    ellipse 45% 40% at 100% 0%,
    black 15%,
    transparent 65%
  );
}


/* ============================================================
   DECORATIVE RINGS / CIRCLES — left side of About Us
   ============================================================ */

/* Container that holds the text side needs relative positioning */
.about-grid > .reveal:first-child {
  position: relative;
  z-index: 1;
}

#about .about-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Ring 1 — large, navy outline, left-center */
#about .about-rings::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 12%, transparent);
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
}

/* Ring 2 — medium, orange outline, top-left */
#about .about-rings::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--orange) 30%, transparent);
  top: -60px;
  left: -60px;
}

/* Ring 3 — small, navy, bottom-left */
#about .about-ring-inner {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 10%, transparent);
  bottom: 20px;
  left: -30px;
  pointer-events: none;
}


/* ============================================================
   SECTION DECORATIVE RINGS — solid outline circles
   Used on: Who We Serve, Why Us, Process, Testimonials
   ============================================================ */

/* Shared base */
.deco-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* All ring elements share this shape */
.deco-rings::before,
.deco-rings::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ── WHO WE SERVE — rings left side ──────────────────────── */
.deco-rings--serve::before {
  width: 420px;
  height: 420px;
  border: 1.5px solid color-mix(in oklab, var(--navy) 10%, transparent);
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
}
.deco-rings--serve::after {
  width: 220px;
  height: 220px;
  border: 1.5px solid color-mix(in oklab, var(--orange) 25%, transparent);
  top: 10%;
  left: -60px;
}
/* Third ring via child */
.deco-rings--serve .deco-ring-extra {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 8%, transparent);
  bottom: 10%;
  left: 2%;
  pointer-events: none;
}

/* ── WHY CHOOSE US (navy) — rings right side ─────────────── */
.deco-rings--navy::before {
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(255,255,255,0.07);
  top: 50%;
  right: -140px;
  left: auto;
  transform: translateY(-50%);
}
.deco-rings--navy::after {
  width: 200px;
  height: 200px;
  border: 1.5px solid color-mix(in oklab, var(--orange) 30%, transparent);
  bottom: -40px;
  right: 80px;
  left: auto;
}
/* Left-side small ring */
.deco-rings--navy .deco-ring-extra {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.06);
  top: -30px;
  left: 40px;
  pointer-events: none;
}

/* ── PROCESS — rings both sides ──────────────────────────── */
.deco-rings--process::before {
  width: 300px;
  height: 300px;
  border: 1.5px solid color-mix(in oklab, var(--navy) 9%, transparent);
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
}
.deco-rings--process::after {
  width: 160px;
  height: 160px;
  border: 1.5px solid color-mix(in oklab, var(--orange) 22%, transparent);
  bottom: 15%;
  right: -40px;
}
.deco-rings--process .deco-ring-extra {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 6%, transparent);
  top: -60px;
  right: -80px;
  pointer-events: none;
}

/* ── TESTIMONIALS — rings left + bottom ──────────────────── */
.deco-rings--testimonials::before {
  width: 350px;
  height: 350px;
  border: 1.5px solid color-mix(in oklab, var(--navy) 9%, transparent);
  bottom: -120px;
  left: -100px;
}
.deco-rings--testimonials::after {
  width: 180px;
  height: 180px;
  border: 1.5px solid color-mix(in oklab, var(--orange) 22%, transparent);
  top: 20%;
  left: 2%;
}
.deco-rings--testimonials .deco-ring-extra {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 10%, transparent);
  top: -20px;
  left: 120px;
  pointer-events: none;
}

/* Keep section containers above rings */
#who-we-serve > .container,
#why-us       > .container,
#process      > .container,
#testimonials > .container {
  position: relative;
  z-index: 1;
}


/* ── CONTACT — rings decoration ─────────────────────────── */
.deco-rings--contact::before {
  width: 400px;
  height: 400px;
  border: 1.5px solid color-mix(in oklab, var(--navy) 10%, transparent);
  top: 50%;
  left: -160px;
  transform: translateY(-50%);
}
.deco-rings--contact::after {
  width: 200px;
  height: 200px;
  border: 1.5px solid color-mix(in oklab, var(--orange) 25%, transparent);
  bottom: -50px;
  right: 80px;
  left: auto;
}
.deco-rings--contact .deco-ring-extra {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in oklab, var(--navy) 7%, transparent);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

#contact > .container { position: relative; z-index: 1; }

/* Fine grid — also apply mask from left side for contact */
#contact .bg-fine-grid {
  -webkit-mask-image: radial-gradient(
    ellipse 65% 70% at 0% 50%,
    black 20%,
    rgba(0,0,0,0.3) 50%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 65% 70% at 0% 50%,
    black 20%,
    rgba(0,0,0,0.3) 50%,
    transparent 80%
  );
}
