:root {
  --bg:#070809;
  --soft:#0d0f11;
  --surface:#131517;
  --text:#f5f4f2;
  --muted:#a9aaad;
  --line:rgba(255,255,255,.11);
  --brand:#bf1922;
  --brand2:#d93b42;
  --deep:#6f0f15;
  --max:1240px;
  --radius:24px;
  --shadow:0 28px 80px rgba(0,0,0,.36)
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:radial-gradient(circle at 80% 8%,rgba(159,29,34,.13),transparent 28rem),var(--bg);
  color:var(--text);
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  line-height:1.65;
  -webkit-font-smoothing:antialiased
}

body.menu-open {
  overflow:hidden
}

a {
  color:inherit
}

img {
  display:block;
  max-width:100%
}

button,input,select,textarea {
  font:inherit
}

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

.shell {
  width:min(calc(100% - 40px),var(--max));
  margin:auto
}

.section {
  padding:110px 0;
  position:relative
}

.section--soft {
  background:var(--soft);
  border-block:1px solid var(--line)
}

.heading {
  max-width:780px;
  margin-bottom:52px
}

.heading.center {
  text-align:center;
  margin-inline:auto
}

.eyebrow {
  margin:0 0 14px;
  color:#d9666b;
  font-size:.77rem;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  line-height:1.07;
  letter-spacing:-.035em
}

h1 {
  font-size:clamp(3.2rem,7.3vw,7rem)
}

h2 {
  font-size:clamp(2.2rem,4.3vw,4.2rem)
}

h3 {
  font-size:clamp(1.4rem,2vw,2rem)
}

.lead {
  color:#cacacc;
  font-size:clamp(1.05rem,1.7vw,1.25rem);
  max-width:720px
}

.muted {
  color:var(--muted)
}

.site-header {
  position:fixed;
  inset:0 0 auto;
  z-index:100;
  border-bottom:1px solid transparent;
  transition:.3s
}

.site-header.scrolled {
  background:rgba(7,8,9,.84);
  border-color:var(--line);
  backdrop-filter:blur(18px)
}

.header-shell {
  width:min(calc(100% - 40px),var(--max));
  height:88px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  text-decoration:none
}

.brand-logo {
  display:block;
  width:auto;
  height:clamp(30px,3.6vw,38px);
  margin-left:60px
}

.primary-nav ul {
  display:flex;
  gap:38px;
  padding:0;
  margin:0;
  list-style:none
}

.primary-nav a {
  position:relative;
  padding:31px 0 27px;
  color:#d1d1d2;
  font-size:.9rem;
  font-weight:600;
  text-decoration:none
}

.primary-nav a:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
  height:2px;
  background:var(--brand2);
  transform:scaleX(0);
  transform-origin:right;
  transition:.25s
}

.primary-nav a:hover:after,.primary-nav a[aria-current=page]:after {
  transform:scaleX(1);
  transform-origin:left
}

.primary-nav a[aria-current=page] {
  color:#fff
}

.menu-toggle {
  display:none;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.035)
}

.menu-toggle span:not(.sr-only) {
  display:block;
  width:20px;
  height:2px;
  margin:4px auto;
  background:#fff;
  transition:.25s
}

.hero {
  min-height:620px;
  display:grid;
  align-items:center;
  position:relative;
  overflow:hidden;
  background:linear-gradient(90deg,rgba(4,5,6,.97) 2%,rgba(5,6,7,.84) 39%,rgba(5,6,7,.24) 72%,rgba(5,6,7,.58)),url("../images/hero-tech.svg") center/cover no-repeat
}

.hero:before,.page-hero:before {
  content:"";
  position:absolute;
  inset:0;
  background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(to bottom,#000,transparent 90%)
}

.hero:after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:180px;
  background:linear-gradient(transparent,var(--bg))
}

.hero-content {
  position:relative;
  z-index:2;
  width:min(calc(100% - 40px),var(--max));
  margin:90px auto 0
}

.hero-copy {
  max-width:900px
}

.hero h1 {
  margin-bottom:24px
}

.hero h1 span {
  background:linear-gradient(115deg,#fff 20%,#d9b3b5 55%,#bf1922);
  color:transparent;
  background-clip:text;
  -webkit-background-clip:text
}

.hero .lead {
  margin-bottom:34px;
  max-width:690px
}

.actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px
}

.button {
  min-height:54px;
  padding:0 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:.91rem;
  font-weight:700;
  text-decoration:none;
  transition:.2s
}

.button:hover {
  transform:translateY(-2px)
}

.button.primary {
  background:linear-gradient(135deg,var(--brand2),var(--deep));
  box-shadow:0 14px 35px rgba(159,29,34,.28),inset 0 1px rgba(255,255,255,.18)
}

.button.secondary {
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.035)
}

.service-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.service-card {
  min-height:420px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  text-decoration:none;
  isolation:isolate;
  box-shadow:0 20px 55px rgba(0,0,0,.18);
  transition:.35s
}

.service-card-bg {
  position:absolute;
  inset:0;
  z-index:-2;
  background-size:cover;
  background-position:center;
  transition:.65s
}

.service-card:after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(to top,rgba(3,4,5,.98) 5%,rgba(3,4,5,.56) 58%,rgba(3,4,5,.08)),radial-gradient(circle at 85% 8%,rgba(159,29,34,.28),transparent 34%)
}

.service-card:hover {
  transform:translateY(-8px);
  border-color:rgba(194,56,61,.72);
  box-shadow:0 32px 75px rgba(0,0,0,.35)
}

.service-card:hover .service-card-bg {
  transform:scale(1.06)
}

.service-card .num {
  position:absolute;
  top:22px;
  right:24px;
  color:rgba(255,255,255,.34);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.16em
}

.service-card .content {
  position:absolute;
  inset:auto 28px 28px
}

.service-card h3 {
  max-width:330px;
  margin-bottom:13px;
  color:#fff
}

.service-card .content>p:not(.eyebrow) {
  max-width:430px;
  margin-bottom:22px;
  color:#b8b9bb;
  font-size:.91rem
}

.text-link {
  display:inline-flex;
  gap:8px;
  font-size:.82rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#fff
}

.text-link span {
  color:#dd5a60;
  transition:.25s
}

.service-card:hover .text-link span {
  transform:translate(4px,-4px)
}

.split {
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:72px;
  align-items:center
}

.features {
  display:grid;
  gap:18px;
  margin-top:32px
}

.feature {
  display:grid;
  grid-template-columns:44px 1fr;
  gap:16px;
  padding-top:18px;
  border-top:1px solid var(--line)
}

.feature>span {
  color:#d9666b;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.13em
}

.feature h3 {
  margin-bottom:7px;
  font-size:1.03rem;
  letter-spacing:-.01em
}

.feature p {
  color:var(--muted);
  font-size:.91rem;
  margin-bottom:0
}

.process {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.process article {
  min-height:280px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018))
}

.process span {
  color:#d9666b;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.15em
}

.process h3 {
  margin:70px 0 14px
}

.process p {
  color:var(--muted)
}

.process-cta {
  margin-top:40px;
  text-align:center
}

.cta {
  padding:70px;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(194,56,61,.34);
  border-radius:30px;
  background:radial-gradient(circle at 85% 20%,rgba(194,56,61,.28),transparent 22rem),linear-gradient(135deg,#171315,#0d0f11 55%);
  box-shadow:var(--shadow)
}

.cta h2 {
  max-width:780px;
  margin-bottom:18px
}

.cta p {
  max-width:650px;
  color:#bdbdc0;
  margin-bottom:28px
}

.page-hero {
  min-height:590px;
  padding-top:170px;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  border-bottom:1px solid var(--line);
  /* Each page supplies its own photo via an inline background-image. The old
     shorthand referenced an undefined --page-img, which made the whole
     declaration invalid and silently dropped center/cover no-repeat. */
  background-image:linear-gradient(90deg,rgba(5,6,7,.97),rgba(5,6,7,.62) 58%,rgba(5,6,7,.25));
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat
}

.page-hero-content {
  position:relative;
  z-index:2;
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto 80px
}

.page-hero h1 {
  max-width:980px;
  font-size:clamp(3.1rem,6vw,6.1rem);
  margin-bottom:22px
}

/* Smaller hero heading on the Services page only. */
.services-page .page-hero h1 {
  font-size:clamp(2.2rem,4vw,4.2rem)
}

/* Smaller hero heading on the About page only. */
.about-page .page-hero h1 {
  font-size:clamp(2.2rem,4vw,4.2rem)
}

/* Services page: light body band, same treatment as the homepage. */
.services-page .page-body {
  background:#ededE9;
  color:#1c1e20
}

.services-page .page-body .eyebrow {
  color:var(--brand)
}

.services-page .page-body .cta,
.services-page .page-body .cta h2 {
  color:#f5f4f2
}

.services-page .page-body .cta .eyebrow {
  color:#e08a8f
}

/* "Find the right solution..." matches the hero heading size. */
.services-page .heading h2 {
  font-size:clamp(2.2rem,4vw,4.2rem)
}

.page-hero p {
  max-width:730px;
  color:#c1c2c4;
  font-size:1.14rem
}

.detail {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:70px;
  align-items:start
}

.detail-list {
  display:grid;
  padding:0;
  margin:30px 0 0;
  border-top:1px solid var(--line)
}

.detail-list li {
  list-style:none;
  padding:22px 0;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  color:#d5d5d6
}

.detail-list li:after {
  content:"↗";
  color:#d9666b
}

.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:34px
}

.stat {
  padding:24px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025)
}

.stat strong {
  display:block;
  font-size:1.45rem
}

.stat span {
  color:var(--muted);
  font-size:.83rem
}

.contact-layout {
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:70px;
  align-items:start
}

.contact-panel {
  padding:34px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018))
}

.contact-panel h2 {
  font-size:1.45rem
}

.contact-item {
  padding:21px 0;
  border-top:1px solid var(--line)
}

.contact-item strong {
  display:block;
  font-size:.85rem
}

.contact-item a,.contact-item span {
  color:var(--muted);
  text-decoration:none
}

.form-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px
}

.field {
  display:grid;
  gap:8px
}

.field.full {
  grid-column:1/-1
}

.field label {
  font-size:.84rem;
  font-weight:600
}

.field input,.field select,.field textarea {
  width:100%;
  border:1px solid var(--line);
  border-radius:13px;
  background:rgba(255,255,255,.035);
  color:#fff;
  outline:none;
  padding:15px 16px
}

.field textarea {
  min-height:155px;
  resize:vertical
}

.field input:focus,.field select:focus,.field textarea:focus {
  border-color:rgba(194,56,61,.8);
  box-shadow:0 0 0 4px rgba(159,29,34,.12)
}

/* The <select> box itself picks up the dark styling above, but most
   browsers render the OPENED options list with their own default
   (often white) background regardless — style the options directly
   so "Smart Home", "Security", etc. stay legible when the list opens. */
.field select {
  background-color:#14161a
}

.field select option {
  background-color:#14161a;
  color:#fff
}

.field input[type="file"] {
  padding:12px 16px;
  color:var(--muted)
}

.field input[type="file"]::file-selector-button {
  margin-right:14px;
  padding:10px 18px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand2),var(--deep));
  color:#fff;
  font-weight:700;
  font-size:.82rem;
  cursor:pointer
}

.form-note,.form-status {
  color:#777a7e;
  font-size:.78rem
}

.form-status {
  color:#e08a8f;
  min-height:25px
}

.site-footer {
  border-top:1px solid var(--line);
  background:#050607
}

.footer-shell {
  width:min(calc(100% - 40px),var(--max));
  margin:auto;
  padding:76px 0 56px;
  display:grid;
  grid-template-columns:1.5fr .6fr .9fr;
  gap:60px
}

.footer-brand p {
  max-width:410px;
  color:var(--muted);
  font-size:.9rem
}

.footer-col {
  display:grid;
  align-content:start;
  gap:10px
}

.footer-col h2 {
  margin-bottom:9px;
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase
}

.footer-col a,.footer-col span {
  color:var(--muted);
  font-size:.88rem;
  text-decoration:none
}

.footer-bottom {
  width:min(calc(100% - 40px),var(--max));
  margin:auto;
  padding:23px 0 30px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:25px;
  color:#777a7e;
  font-size:.76rem
}

.footer-bottom p {
  margin:0
}

.js .reveal {
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s,transform .65s
}

.reveal.visible {
  opacity:1;
  transform:none
}

@media(max-width:980px) {
  .service-grid {
    grid-template-columns:repeat(2,1fr)
  }
  .split,.detail,.contact-layout {
    grid-template-columns:1fr;
    gap:46px
  }
  .process {
    grid-template-columns:1fr
  }
  .process article {
    min-height:220px
  }
  .process h3 {
    margin-top:45px
  }
}

@media(max-width:760px) {
  .section {
    padding:78px 0
  }
  .header-shell {
    height:74px
  }
  .menu-toggle {
    display:block
  }
  .primary-nav {
    position:fixed;
    inset:74px 0 0;
    padding:30px 20px;
    background:rgba(7,8,9,.98);
    transform:translateX(100%);
    visibility:hidden;
    transition:transform .3s,visibility 0s .3s
  }
  .primary-nav.open {
    transform:none;
    visibility:visible;
    transition:transform .3s,visibility 0s
  }
  .primary-nav ul {
    display:grid;
    gap:0
  }
  .primary-nav li {
    border-bottom:1px solid var(--line)
  }
  .primary-nav a {
    display:block;
    padding:20px 4px;
    font-size:1.2rem
  }
  .primary-nav a:after {
    bottom:12px;
    right:auto;
    width:38px
  }
  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    transform:translateY(6px) rotate(45deg)
  }
  .menu-toggle[aria-expanded=true] span:nth-child(3) {
    opacity:0
  }
  .menu-toggle[aria-expanded=true] span:nth-child(4) {
    transform:translateY(-6px) rotate(-45deg)
  }
  .hero {
    min-height:720px
  }
  .hero h1 {
    font-size:clamp(3rem,15vw,5rem)
  }
  .actions {
    display:grid;
    max-width:330px
  }
  .service-grid {
    grid-template-columns:1fr
  }
  .service-card {
    min-height:390px
  }
  .cta {
    padding:45px 25px
  }
  .page-hero {
    min-height:520px;
    padding-top:130px
  }
  .page-hero-content {
    margin-bottom:55px
  }
  .stats,.form-grid {
    grid-template-columns:1fr
  }
  .field.full {
    grid-column:auto
  }
  .footer-shell {
    grid-template-columns:1fr;
    gap:34px;
    padding-top:58px
  }
  .footer-bottom {
    display:grid
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition-duration:.01ms!important
  }
  .reveal {
    opacity:1;
    transform:none
  }
}

/* ========================================================= HOME HERO: interactive particle network layer The existing hero background and layout remain unchanged. ========================================================= */
 .hero {
  isolation: isolate;
}

.hero::before, .hero::after {
  z-index: 0;
  pointer-events: none;
}

.hero-artwork {
  position: absolute;
  right: -3.9vw;
  left: auto;
  top: 55%;
  transform: translateY(-50%);
  width: clamp(520px, 47vw, 880px);
  max-width: 47vw;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

#tsparticles {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;
  pointer-events: none;
}

#tsparticles canvas {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}


/* =========================================================
   HOME PAGE: final header and hero alignment
   These rules are scoped to index.html only via .home-page.
   ========================================================= */


.home-page .hero-content {
  width: 42vw;
  max-width: 42vw;
  margin: 60px 0 0 5vw;
}

.home-page .hero-copy {
  width: 100%;
  max-width: none;
}

.home-page .hero h1 {
  font-size: clamp(2.0rem, 4.0vw, 4.5rem);
}

.home-page .hero h1 span {
  display: block;
}

.home-page .hero .lead {
  max-width: 100%;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

@media (min-width: 761px) {
  .home-page .header-shell {
    position: relative;
    width: 86.4vw;
    max-width: none;
    height: clamp(72px, 6vw, 92px);
  }

  .home-page .primary-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 47.4vw;
    right: 6.2vw;
    display: flex;
    align-items: center;
  }

  .home-page .primary-nav ul {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .home-page .primary-nav a {
    font-size: clamp(1rem, 1vw, 1.125rem);
  }
}

@media (max-width: 760px) {
  .home-page .header-shell {
    width: min(calc(100% - 32px), var(--max));
  }


  .home-page .hero-content {
    width: 90vw;
    max-width: 90vw;
    margin: 96px 0 0 5vw;
  }

  .home-page .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .home-page .hero-artwork {
    right: 4vw;
    top: 101%;
    width: 60vw;
    max-width: 60vw;
    opacity: 0.45;
  }
}

/* =========================================================
   V5 GLOBAL HEADER + HOME HERO ARTWORK ALIGNMENT
   Applied to every page so the logo and navigation are consistent.
   ========================================================= */


@media (min-width: 761px) {
  .header-shell,
  .home-page .header-shell {
    position: relative;
    width: 86.4vw;
    max-width: none;
    height: clamp(72px, 6vw, 92px);
  }

  .primary-nav,
  .home-page .primary-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 47.4vw;
    right: 6.2vw;
    display: flex;
    align-items: center;
  }

  .primary-nav ul,
  .home-page .primary-nav ul {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .primary-nav a,
  .home-page .primary-nav a {
    font-size: clamp(1rem, 1vw, 1.125rem);
  }

  .hero-artwork,
  .home-page .hero-artwork {
    right: 2vw;
    left: auto;
    top: 44%;
    width: min(47.5vw, 910px);
    max-width: 49.5vw;
    height: auto;
    transform: translateY(-50%);
  }
}

@media (max-width: 760px) {

  .hero-artwork,
  .home-page .hero-artwork {
    right: -10vw;
    left: auto;
    top: 72%;
    width: 112vw;
    max-width: none;
    opacity: 0.36;
  }
}

/* Home mid-page sections use the standard dark theme. */


/* =========================================
   HOME EXPERIENCE CARDS
========================================= */

.home-page .experience-strip {
  position: relative;
  padding: 28px 24px 32px;
  background: var(--soft);
}

.home-page .experience-grid {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.home-page .experience-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;

  min-height: 430px;
  overflow: hidden;

  /* The photo + dark gradient are set per-card via an inline
     background-image (document-relative so it also works from file://).
     This color is only a fallback if that inline style is missing. */
  background-color: #0b0d10;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  text-decoration: none;
  isolation: isolate;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.home-page .experience-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;

  z-index: -1;
}

.home-page .experience-card span {
  position: relative;
  z-index: 2;

  padding: 0 18px 34px;

  color: #ffffff;
  font-size: clamp(1.25rem, 1.45vw, 1.7rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;

  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);

  transition: transform 0.35s ease;
}

.home-page .experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-page .experience-card:hover::before {
  background: rgba(0, 0, 0, 0.12);
}

.home-page .experience-card:hover span {
  transform: translateY(-5px);
}


/* TABLET */

@media (max-width: 1200px) {

  .home-page .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .experience-card {
    min-height: 400px;
  }

}


/* MOBILE */

@media (max-width: 700px) {

  .home-page .experience-strip {
    padding: 18px;
  }

  .home-page .experience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-page .experience-card {
    min-height: 280px;
  }

  .home-page .experience-card span {
    padding-bottom: 22px;
    font-size: 1.1rem;
  }

}

/* =========================================================
   HOME PAGE — LIGHT BODY BAND
   Everything between the hero and the footer sits on a light
   ground. The hero, the showcase photos and the CTA card stay
   dark by design and provide the contrast.
   ========================================================= */

.home-page .page-body {
  background: #ededE9;
  color: #1c1e20;
}

.home-page .page-body .section--soft {
  background: #e3e4df;
  border-block: 1px solid rgba(0, 0, 0, .08);
}

.home-page .page-body .experience-strip {
  background: transparent;
}

.home-page .page-body .eyebrow,
.home-page .page-body .feature > span,
.home-page .page-body .process span {
  color: var(--brand);
}

.home-page .page-body .lead {
  color: #4a4d50;
}

.home-page .page-body .muted {
  color: #5c5f63;
}

.home-page .page-body .feature {
  border-top: 1px solid rgba(0, 0, 0, .12);
}

.home-page .page-body .feature p {
  color: #5c5f63;
}

.home-page .page-body .process article {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .09);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.home-page .page-body .process p {
  color: #5c5f63;
}

.service-area {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service-area .eyebrow {
  margin-bottom: 6px;
}

.service-area .muted {
  font-size: .85rem;
}

.home-page .page-body .service-area {
  border-top-color: rgba(0, 0, 0, .12);
}

/* The CTA is a dark card sitting on the light band — keep its text light. */
.home-page .page-body .cta,
.home-page .page-body .cta h2 {
  color: #f5f4f2;
}

.home-page .page-body .cta .eyebrow {
  color: #e08a8f;
}

.button.primary {
  color: #fff;
}


/* =========================================================
   HOME PAGE — ROTATING SHOWCASE
   Full-bleed installation photos that cross-fade on a timer
   (assets/js/main.js). Text sits over a dark gradient.
   ========================================================= */

.showcase {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
}

.showcase-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.showcase-slide.is-active {
  opacity: 1;
}

.showcase-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(3, 4, 5, .92) 6%, rgba(3, 4, 5, .45) 55%, rgba(3, 4, 5, .32)),
    radial-gradient(circle at 85% 12%, rgba(191, 25, 34, .3), transparent 42%);
}

.showcase-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: clamp(120px, 20vw, 220px) 0 clamp(48px, 7vw, 96px);
  color: #f5f4f2;
}

.showcase-inner h2 {
  max-width: 760px;
  margin-bottom: 16px;
}

.showcase-inner .lead {
  margin-bottom: 26px;
}

/* Higher specificity than .home-page .page-body .eyebrow / .lead so the
   showcase text stays legible over its dark photo background. */
.home-page .page-body .showcase-inner .eyebrow {
  color: #ddd9d3;
}

.home-page .page-body .showcase-inner .lead {
  color: #ffffff;
}

@media (max-width: 760px) {
  .showcase {
    min-height: 60vh;
  }
}


/* =========================================================
   Reusable prev/next arrow buttons for any [data-slideshow]
   carousel (used by the homepage showcase; not currently on
   the About hero, which is a static image again).
   ========================================================= */

.slideshow-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(5, 6, 7, .45);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: .25s;
}

.slideshow-arrow:hover {
  background: var(--brand);
  border-color: transparent;
}

.slideshow-arrow--prev {
  left: 24px;
}

.slideshow-arrow--next {
  right: 24px;
}

@media (max-width: 760px) {
  .slideshow-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .slideshow-arrow--prev {
    left: 12px;
  }

  .slideshow-arrow--next {
    right: 12px;
  }
}


/* =========================================================
   ABOUT PAGE — PORTFOLIO PANEL (Our story)
   Replaces the old static image-panel with a slideshow: an
   auto-playing before/after comparison as the first slide,
   then regular portfolio photos (assets/js/main.js drives it
   via [data-slideshow], same mechanism as the hero carousel).
   ========================================================= */

.image-panel-carousel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-img--after {
  clip-path: inset(0 100% 0 0);
}

.ba-label {
  position: absolute;
  top: 20px;
  z-index: 3;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 6, 7, .55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
}

.ba-label--before {
  right: 20px;
}

.ba-label--after {
  left: 20px;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5%;
  width: 3px;
  z-index: 2;
  background: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, .45);
  transform: translateX(-50%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 5%;
  z-index: 3;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .ba-handle {
    width: 38px;
    height: 38px;
    font-size: .95rem;
  }
}


/* =========================================================
   ABOUT PAGE — LIGHT BODY BAND
   Same treatment as the home/services light band: everything
   between the hero and the footer sits on the light ground.
   ========================================================= */

.about-page .page-body {
  background: #ededE9;
  color: #1c1e20;
}

.about-page .page-body .section--soft {
  background: #e3e4df;
  border-block: 1px solid rgba(0, 0, 0, .08);
}

.about-page .page-body .eyebrow,
.about-page .page-body .process span {
  color: var(--brand);
}

.about-page .page-body .lead {
  color: #4a4d50;
}

.about-page .page-body .muted {
  color: #5c5f63;
}

.about-page .page-body .stat {
  border-color: rgba(0, 0, 0, .12);
  background: rgba(0, 0, 0, .02);
}

.about-page .page-body .stat span {
  color: #5c5f63;
}

.about-page .page-body .process article {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .09);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.about-page .page-body .process p {
  color: #5c5f63;
}

/* Four "What guides us" cards instead of three — desktop only,
   the existing max-width:980px rule still collapses to 1 column. */
@media (min-width: 981px) {
  .about-page .process {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* =========================================================
   LAUNCH AUDIT — accessibility additions
   Keyboard focus ring for links/buttons (form fields keep their
   own :focus border+glow), visible affordance on e-mail links,
   and the carousel pause control (WCAG 2.2.2).
   ========================================================= */

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand2);
  outline-offset: 3px;
  border-radius: 3px;
}

.button:focus-visible,
.slideshow-arrow:focus-visible,
.slideshow-pause:focus-visible {
  outline-color: #fff;
  outline-offset: 2px;
}

.contact-item a,
.footer-col a[href^="mailto:"] {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
  text-underline-offset: 3px;
}

.contact-item a:hover,
.footer-col a[href^="mailto:"]:hover {
  text-decoration-color: currentColor;
}

.slideshow-pause {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(5, 6, 7, .45);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: .25s;
}

.slideshow-pause:hover {
  background: var(--brand);
  border-color: transparent;
}

.slideshow-pause svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.slideshow-pause .icon-play,
.slideshow-pause[aria-pressed="true"] .icon-pause {
  display: none;
}

.slideshow-pause[aria-pressed="true"] .icon-play {
  display: block;
}

.form-status.is-success {
  color: #9bd9b0;
}

.form-status.is-error {
  color: #e08a8f;
}

form[aria-busy="true"] .button {
  opacity: .7;
  cursor: progress;
}

/* Text enlarged to 200% on narrow screens (WCAG 1.4.4 / 1.4.10): the e-mail
   address is one unbreakable word and grid tracks default to min-width:auto,
   so either could force horizontal scrolling. Neither rule changes layout
   while the content still fits. */
.contact-item a {
  overflow-wrap: break-word;
}

.contact-layout > *,
.split > *,
.detail > *,
.process > *,
.field > * {
  min-width: 0;
}

/* Inputs have an intrinsic width from size=20; at 200% text zoom that would
   force the form grid wider than a 320 px screen. */
.form-grid > *,
.field input,
.field select,
.field textarea {
  min-width: 0;
}

@media (max-width: 760px) {
  .footer-shell > *,
  .footer-col > * {
    min-width: 0;
  }
  .footer-col a[href^="mailto:"] {
    overflow-wrap: break-word;
  }
}

/* Formspree honeypot: hidden from people, visible to bots (see _gotcha in contact.html). */
.hp {
  display: none !important;
}

/* Last-resort wrapping when a single word is wider than a very narrow,
   text-zoomed viewport. No effect while words fit. */
h1, h2, h3, .lead, .button, .form-note {
  overflow-wrap: break-word;
}

.button {
  max-width: 100%;
}
