/* ============================================================
   ROCKY'S MECHANICAL CONTRACTING — DESIGN TOKENS
   ============================================================ */
:root{
  /* brand colors sampled from the rocky logo badge */
  --black-950:#050505;
  --black-900:#0D0D0D;
  --black-800:#171717;
  --black-700:#232323;
  --black-600:#333333;

  --blue-600:#1854A8;
  --blue-500:#2E6BC4;
  --blue-400:#5C8FDD;
  --blue-200:#B9D2F2;
  --blue-100:#EAF1FC;

  --red-600:#E42424;
  --red-500:#FF3B3B;
  --red-400:#FF6E6E;
  --red-100:#FFE3E3;

  --paper-100:#F7F7F7;
  --paper-200:#ECECEC;
  --paper-300:#DDDDDD;

  --white:#FFFFFF;
  --ink:#0D0D0D;
  --muted-700:#454545;
  --muted-500:#6E6E6E;
  --muted-300:#9C9C9C;
  --muted-on-dark:#B0B0B0;

  --font-display: 'Anton', 'Arial Narrow Bold', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:auto; -webkit-text-size-adjust:100%; }
body{
  font-family: var(--font-body);
  background: var(--paper-100);
  color: var(--ink);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; background:none; border:none; cursor:pointer; color:inherit; }
ul{ list-style:none; }
svg{ width:100%; height:100%; display:block; }
h1,h2,h3,h4{ font-family:var(--font-display); font-weight:400; text-transform:uppercase; line-height:1.05; letter-spacing:-0.01em; }

::selection{ background: var(--red-500); color:var(--white); }

/* position:fixed (not just overflow:hidden) so iOS Safari's elastic bounce-scroll can't drag the fixed nav along with it while the mobile menu is open */
body.no-scroll{ position:fixed; overflow:hidden; width:100%; }

/* hide native cursor when custom cursor active (desktop only, see JS toggling .has-cursor) */
html.has-cursor, html.has-cursor *{ cursor:none !important; }

/* ============================================================
   SHARED UTILITIES
   ============================================================ */
.section-head{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(36px, 6vw, 72px);
}
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight:700;
  font-size:.8rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--red-600);
  margin-bottom:14px;
}
.section-kicker::before{
  content:"";
  width:26px; height:2px;
  background: var(--red-600);
  display:inline-block;
}
.section-kicker--light{ color: var(--blue-400); }
.section-kicker--light::before{ background: var(--blue-400); }

.section-title{
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--black-900);
}

.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 17px 34px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.01em;
  overflow:hidden;
  isolation:isolate;
  transition: transform .45s var(--ease-spring), box-shadow .4s var(--ease-out), color .3s;
}
.btn span{ position:relative; z-index:2; }
.btn::before{
  content:"";
  position:absolute; inset:0;
  z-index:1;
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before{ transform: translateY(0); }
.btn:active{ transform: scale(.96); }

.btn--primary{
  background: var(--red-600);
  color:var(--white);
  box-shadow: 0 8px 24px -8px rgba(228,36,36,.55);
}
.btn--primary::before{ background: var(--black-900); }
.btn--primary:hover{ box-shadow: 0 12px 30px -6px rgba(5,5,5,.45); }

.btn--ghost{
  background: transparent;
  color: var(--white);
  border:1.5px solid rgba(255,255,255,.55);
}
.btn--ghost::before{ background: var(--white); }
.btn--ghost:hover{ color: var(--black-900); }

.btn--light{
  background: var(--white);
  color: #000000;
}
.btn--light::before{ background: var(--red-600); }
.btn--light:hover{ color: var(--white); }

.btn--small{ padding: 12px 22px; font-size:.85rem; }
.btn--large{ padding: 20px 46px; font-size:1.05rem; margin-top:8px; }

/* scroll reveal base state (activated by JS/GSAP) */
[data-reveal]{
  opacity:0;
  transform: translateY(36px);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor{
  position:fixed; top:0; left:0;
  width:0; height:0;
  pointer-events:none;
  z-index:9999;
  display:none;
}
html.has-cursor .cursor{ display:block; }

.cursor__dot{
  position:absolute;
  width:7px; height:7px;
  margin:-3.5px 0 0 -3.5px;
  background: var(--red-600);
  border-radius:50%;
}
.cursor__ring{
  position:absolute;
  width:28px; height:28px;
  margin:-14px 0 0 -14px;
  border:1.5px solid rgba(17,17,17,.55);
  border-radius:50%;
  transition: width .3s var(--ease-spring), height .3s var(--ease-spring),
              margin .3s var(--ease-spring), border-color .3s, background .3s, opacity .3s;
  display:flex; align-items:center; justify-content:center;
}
.cursor__ring::after{
  content: attr(data-label);
  font-family: var(--font-body);
  font-weight:700;
  font-size:.68rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--white);
  opacity:0;
  transition:opacity .25s;
  white-space:nowrap;
}
.cursor--link .cursor__ring{ width:56px; height:56px; margin:-28px 0 0 -28px; border-color: var(--red-600); }
.cursor--view .cursor__ring{
  width:84px; height:84px; margin:-42px 0 0 -42px;
  background: var(--black-900); border-color: var(--black-900);
}
.cursor--view .cursor__ring::after{ content:"View"; opacity:1; }
.cursor--drag .cursor__ring::after{ content:"Drag"; opacity:1; }
.cursor--hidden .cursor__ring, .cursor--hidden .cursor__dot{ opacity:0; }
.cursor.is-down .cursor__ring{ width:30px; height:30px; margin:-15px 0 0 -15px; }

@media (hover:none), (pointer:coarse){
  .cursor{ display:none !important; }
  html.has-cursor{ cursor:auto !important; }
  html.has-cursor *{ cursor:auto !important; }
}

/* ============================================================
   LOADER
   ============================================================ */
.loader{
  position:fixed; inset:0;
  z-index:10000;
  background: var(--black-950);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:22px;
}
.loader__mark{
  width:74px; height:74px;
  opacity:0;
  animation: loaderPop .7s var(--ease-spring) forwards;
}
.loader__mark img{ width:100%; }
@keyframes loaderPop{
  0%{ opacity:0; transform:scale(.6) rotate(-8deg); }
  100%{ opacity:1; transform:scale(1) rotate(0); }
}
.loader__bar{
  width:200px; height:2px;
  background: rgba(255,255,255,.14);
  border-radius:2px;
  overflow:hidden;
}
.loader__bar span{
  display:block; height:100%; width:0%;
  background: linear-gradient(90deg, var(--red-600), var(--blue-500));
  transition: width .25s var(--ease-out);
}
.loader__label{
  font-size:.72rem;
  letter-spacing:.18em;
  color: var(--muted-on-dark);
  display:flex; gap:8px;
}
.loader__label span{ color:var(--white); }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0;
  z-index:500;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13,13,13,.07);
  transition: box-shadow .3s, transform .4s var(--ease-out);
}
.nav.is-scrolled{ box-shadow: 0 12px 30px -16px rgba(13,13,13,.22); }
.nav.is-hidden{ transform: translateY(-100%); }

.nav__inner{
  position:relative; z-index:410; /* .nav__mobile is a sibling inside .nav with z-index:400 — without this, the open mobile menu stacks over its own burger */
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  gap:24px;
  padding: 16px var(--gutter);
}

.nav__brand{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav__logo{ width:46px; height:46px; object-fit:contain; transition: transform .5s var(--ease-spring); }
.nav__brand:hover .nav__logo{ transform: rotate(-8deg) scale(1.08); }
.nav__brand-text{
  font-family: var(--font-display); font-weight:400; font-size:1rem; color: var(--black-900);
  white-space:nowrap;
}
.nav__brand-text em{ font-style:normal; font-weight:500; color:var(--muted-500); font-size:.82em; }

.nav__links{
  display:flex; align-items:center; gap:6px;
}
.nav__links a{
  position:relative;
  font-size:.86rem; font-weight:600; color: var(--black-800);
  padding:10px 15px;
  transition: color .3s;
}
.nav__links a::after{
  content:"";
  position:absolute; left:15px; right:15px; bottom:4px;
  height:2px;
  background: var(--red-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover{ color: var(--black-900); }
.nav__links a:hover::after{ transform: scaleX(1); }

.nav__cta{
  flex-shrink:0;
  background: var(--black-900); color:var(--white);
  font-size:.85rem; font-weight:700;
  padding:12px 20px; border-radius:999px;
  transition: transform .35s var(--ease-spring), background .3s;
  white-space:nowrap;
}
.nav__cta:hover{ background: var(--red-600); transform: scale(1.04); }

.nav__burger{
  display:none;
  width:44px; height:44px;
  border-radius:50%;
  align-items:center; justify-content:center;
  flex-direction:column; gap:5px;
  background: var(--black-900);
  flex-shrink:0;
}
.nav__burger span{
  width:18px; height:2px; background:var(--white); border-radius:2px;
  transition: transform .35s var(--ease-out), opacity .3s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav__mobile{
  position:fixed; inset:0;
  background: var(--black-950);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap:6px;
  padding: 0 32px;
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform .55s var(--ease-out), visibility 0s linear .55s;
  z-index:400;
}
.nav__mobile.is-open{
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .55s var(--ease-out), visibility 0s linear 0s;
}
.nav__mobile a{
  font-family: var(--font-display); font-weight:400;
  font-size:clamp(1.8rem, 8vw, 2.6rem);
  color: var(--white);
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.08);
  width:100%;
}
.nav__mobile-cta{ color: var(--red-500) !important; margin-top:10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  height:100svh;
  min-height:600px;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: var(--black-950);
}
.hero__bg{ position:absolute; inset:0; background: var(--black-950); }
.hero__bg img,
.hero__bg video{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.16);
  will-change: transform;
}
.hero__scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.35) 32%, rgba(8,8,8,.62) 78%, rgba(8,8,8,.92) 100%),
    linear-gradient(90deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.05) 45%, rgba(8,8,8,.05) 55%, rgba(8,8,8,.5) 100%);
}
.hero__grain{
  position:absolute; inset:0;
  opacity:.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__content{
  position:relative; z-index:2;
  max-width:1100px;
  padding: 90px var(--gutter) 0;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
}
.hero__logo{
  width:clamp(150px, 20vw, 240px);
  margin-bottom:28px;
  filter: drop-shadow(0 14px 36px rgba(0,0,0,.4));
  opacity:0;
}
.hero__brand{
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6.4rem);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: .96;
  margin-bottom: 30px;
  opacity: 0;
}
.hero__brand span{
  display: block;
  font-family: var(--font-body);
  font-size: .24em;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue-200);
  margin-top: 14px;
}
.hero__kicker{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:10px;
  font-size:.76rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color: var(--blue-200);
  margin-bottom:22px;
  opacity:0;
}
.hero__kicker i{ width:4px; height:4px; border-radius:50%; background: var(--red-500); display:inline-block; }

.hero__title{
  color: var(--white);
  font-size: clamp(2.4rem, 6.6vw, 5.4rem);
  margin-bottom:24px;
}
.hero__title .line{ display:block; overflow:hidden; padding-bottom:.08em; }
.hero__title .word{ display:inline-block; will-change:transform; transform:translateY(130%); }


.hero__scroll{
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
  z-index:2;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color: var(--blue-100);
  opacity:0;
}
.hero__scroll-line{
  width:1px; height:44px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  position:relative; overflow:hidden;
}
.hero__scroll-line::after{
  content:""; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--red-500);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }
.hero__scroll-text{ font-size:.68rem; letter-spacing:.2em; text-transform:uppercase; }

/* ============================================================
   ENGINEERED / SCROLL-SCRUBBED VIDEO
   ============================================================ */
.engineered{
  position:relative;
  height: 342vh;
  background: var(--black-950);
}
.engineered__pin{
  position:relative; top:0; left:0;
  height:100vh; width:100%;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: var(--black-950);
}
.engineered__canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
}
.engineered__vignette{
  position:absolute; inset:0;
  background: radial-gradient(120% 90% at 50% 100%, rgba(8,8,8,.05) 0%, rgba(8,8,8,.75) 100%),
              linear-gradient(0deg, rgba(8,8,8,.8) 0%, rgba(8,8,8,0) 30%);
  pointer-events:none;
}
.engineered__progress{
  position:absolute; left:0; top:0;
  width:100%; height:3px;
  background: rgba(255,255,255,.1);
  z-index:3;
}
.engineered__progress span{
  display:block; height:100%; width:0%;
  background: linear-gradient(90deg, var(--red-600), var(--blue-500));
}
.engineered__copy{
  position:relative; z-index:2;
  color:var(--white);
  text-align:center;
  padding: 0 var(--gutter);
  max-width:800px;
}
.engineered__beat{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; transform: translateY(16px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  pointer-events:none;
}
.engineered__beat.is-active{ opacity:1; transform:translateY(0); }
.engineered__kicker{
  font-size:.78rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color: var(--red-400); margin-bottom:16px;
}
.engineered__beat h2{
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height:1.12;
}
.engineered__loading{
  position:absolute; bottom:28px; left:0; right:0;
  z-index:3; text-align:center;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color: var(--muted-on-dark);
  transition: opacity .5s;
}
.engineered__loading.is-hidden{ opacity:0; pointer-events:none; }

/* ============================================================
   WHY US
   ============================================================ */
.why-us{
  position:relative;
  height: 340vh;
  background: var(--paper-100);
}
.why-us__pin{
  position:relative;
  height:100vh; width:100%;
  overflow:hidden;
  display:flex; flex-direction:column; justify-content:center;
  padding: clamp(50px,7vw,90px) 0;
}
.why-us__track{
  display:flex;
  align-items:stretch;
  gap:24px;
  padding: 8px var(--gutter) 28px;
  will-change: transform;
}
.why-card{
  position:relative;
  overflow:hidden;
  flex: 0 0 auto;
  width: min(920px, 78vw);
  display:flex; flex-direction:column; justify-content:center;
  background: #000000;
  border-radius: var(--radius-lg);
  padding: clamp(44px,5vw,72px);
  border:1.5px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(0,0,0,.3);
  transition: box-shadow .5s var(--ease-out), border-color .5s var(--ease-out), transform .5s var(--ease-out);
  transform-origin: center center;
}
.why-card::before{
  content:"";
  position:absolute; inset:0;
  z-index:0;
  background: radial-gradient(75% 65% at 12% -8%, rgba(255,255,255,.28), transparent 60%),
              linear-gradient(115deg, rgba(255,255,255,.09) 0%, transparent 35%);
  pointer-events:none;
}
.why-card > *{ position:relative; z-index:1; }
.why-card:hover{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 30px 50px -24px rgba(0,0,0,.65);
  border-color: rgba(255,255,255,.3);
}
.why-card__icon{
  width:64px; height:64px;
  color: var(--red-500);
  margin-bottom:28px;
  transition: transform .5s var(--ease-spring);
}
.why-card:hover .why-card__icon{ transform: scale(1.15) rotate(-6deg); color: var(--blue-400); }
.why-card h3{ font-family:var(--font-display); text-transform:uppercase; font-size:clamp(1.5rem,2.6vw,2.1rem); color:var(--white); margin-bottom:18px; letter-spacing:-0.01em; }
.why-card p{ color: var(--muted-on-dark); font-size:clamp(1rem,1.3vw,1.2rem); line-height:1.7; max-width:560px; }

.why-card--cta{
  display:flex; flex-direction:column; justify-content:center; gap:14px;
}
.why-card--cta .btn{ align-self:flex-start; margin-top:6px; }

.why-us__progress{
  max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
  width:100%;
  height:3px;
}
.why-us__progress::before{
  content:"";
  display:block; width:100%; height:100%;
  background: rgba(17,17,17,.1);
  border-radius:2px;
}
.why-us__progress span{
  display:block; height:3px; width:0%;
  margin-top:-3px;
  background: linear-gradient(90deg, var(--red-600), var(--blue-500));
  border-radius:2px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services{ padding: clamp(60px,8vw,110px) 0 clamp(80px,10vw,140px); background: var(--black-950); }
.services .section-kicker{ color: var(--red-400); }
.services .section-kicker::before{ background: var(--red-400); }
.services .section-title{ color:var(--white); }

.services__list{ max-width: var(--container); margin:0 auto; padding:0 var(--gutter); }
.service-row{
  position:relative;
  display:grid;
  grid-template-columns: 90px 1fr auto;
  align-items:center;
  gap:28px;
  padding: 34px 26px;
  border-top:1px solid rgba(255,255,255,.1);
  transition: background .5s var(--ease-out), padding .5s var(--ease-out);
  border-radius: var(--radius-md);
}
.services__list .service-row:last-child{ border-bottom:1px solid rgba(255,255,255,.1); }
.service-row:hover{ background: rgba(255,255,255,.045); padding-left:36px; padding-right:16px; }
.service-row__num{
  font-family: var(--font-display); font-weight:400; font-size:1.6rem;
  color: rgba(255,255,255,.18);
  transition: color .4s;
}
.service-row:hover .service-row__num{ color: var(--red-500); }
.service-row__body h3{ color:var(--white); font-size:1.3rem; margin-bottom:10px; }
.service-row__body p{ color: var(--muted-on-dark); max-width:640px; line-height:1.7; font-size:.96rem; }
.service-row__tag{
  font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color: var(--blue-400);
  border:1px solid rgba(92,143,221,.4);
  padding:8px 16px; border-radius:999px;
  white-space:nowrap;
}

/* ============================================================
   PROJECTS / TABS
   ============================================================ */
.projects{ padding: clamp(80px,10vw,140px) 0; background: var(--paper-100); }
.projects__wrap{ max-width: var(--container); margin:0 auto; padding:0 var(--gutter); }
.projects__tabs{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom:40px;
}
.projects__tab{
  padding: 13px 26px;
  border-radius:999px;
  font-weight:700; font-size:.9rem;
  background: var(--white);
  color: var(--black-800);
  border:1px solid rgba(17,17,17,.1);
  transition: all .4s var(--ease-out);
}
.projects__tab.is-active{ background: var(--black-900); color:var(--white); border-color:var(--black-900); }
.projects__tab:hover:not(.is-active){ background: var(--paper-300); }

.projects__panels{ position:relative; }
.projects__panel{
  display:none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items:center;
}
.projects__panel.is-active{ display:grid; }
.projects__media{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 4/3.4;
  background: var(--black-950);
}
.projects__media img{ width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease-out); }
.projects__media:hover img{ transform: scale(1.06); }
.projects__video{
  width:100%; height:100%; object-fit:cover;
  display:block;
  transition: opacity .4s ease;
}
.projects__text h3{ font-size:clamp(1.5rem,2.6vw,2rem); color:var(--black-900); margin-bottom:16px; }
.projects__text p{ color:var(--muted-700); line-height:1.75; margin-bottom:20px; }
.projects__list{ display:grid; gap:11px; }
.projects__list li{
  position:relative; padding-left:26px;
  color: var(--black-800); font-weight:500; font-size:.95rem;
}
.projects__list li::before{
  content:""; position:absolute; left:0; top:7px;
  width:14px; height:14px; border-radius:4px;
  background: var(--red-600);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery{ padding: clamp(80px,10vw,140px) 0; background: var(--black-950); }
.gallery .section-kicker{ color: var(--red-400); }
.gallery .section-kicker::before{ background: var(--red-400); }
.gallery .section-title{ color:var(--white); }

.scroll-cards{ position:relative; }
.scroll-card-wrap{
  height:100vh;
  display:flex; align-items:center; justify-content:center;
  position:sticky; top:0;
}
.scroll-card-wrap:nth-child(1){ z-index:1; }
.scroll-card-wrap:nth-child(2){ z-index:2; }
.scroll-card-wrap:nth-child(3){ z-index:3; }

.scroll-card{
  position:relative;
  width:min(760px, 84vw);
  height:min(480px, 62vh);
  border-radius: var(--radius-lg);
  overflow:hidden;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.7);
  transform-origin: center center;
  will-change: transform;
}
.scroll-card img{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
  transition: transform 1s var(--ease-out);
}
.scroll-card:hover img{ transform: scale(1.06); }
.scroll-card::after{
  content:"";
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(0deg, rgba(5,5,5,.8) 0%, rgba(5,5,5,.1) 45%, rgba(5,5,5,.35) 100%);
}
.scroll-card__content{
  position:relative; z-index:2;
  text-align:center;
  padding: 0 30px;
}
.scroll-card__content h3{
  font-family: var(--font-display); text-transform:uppercase;
  color:var(--white); font-size:clamp(2.2rem,6vw,4rem); letter-spacing:-0.01em;
  line-height:1;
  text-shadow: 0 4px 24px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.8);
}
.scroll-card__content p{
  color: rgba(255,255,255,.85);
  font-size:clamp(1rem,1.6vw,1.25rem);
  margin-top:14px;
  text-shadow: 0 2px 14px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.8);
}

.gallery__more{
  display:flex; margin: 40px auto 0;
}

.gallery__full{
  max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
  height:0; opacity:0; overflow:hidden;
}
.gallery__grid{
  padding-top: 44px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap:16px;
}
.gallery__item{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  grid-column: span 2;
  grid-row: span 1;
  cursor:pointer;
}
.gallery__item--tall{ grid-row: span 2; }
.gallery__item--wide{ grid-column: span 4; }
.gallery__item img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .9s var(--ease-out), filter .5s;
  filter: saturate(1.04);
}
.gallery__item:hover img{ transform: scale(1.09); filter: saturate(1.15); }
.gallery__item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(8,8,8,.82) 0%, rgba(8,8,8,0) 45%);
  opacity:.8; transition: opacity .4s;
}
.gallery__item:hover::after{ opacity:1; }
.gallery__item figcaption{
  position:absolute; left:18px; bottom:16px; z-index:2;
  color:var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.8);
}
.gallery__item figcaption span{
  font-weight:700; font-size:.94rem;
  display:inline-block;
}

@media (hover:hover) and (pointer:fine){
  .gallery__item figcaption span{
    transform: translateY(10px); opacity:0;
    transition: transform .45s var(--ease-out), opacity .45s;
  }
  .gallery__item:hover figcaption span{ transform: translateY(0); opacity:1; }
}

/* ============================================================
   ABOUT / OWNER
   ============================================================ */
.about{
  max-width: var(--container);
  margin:0 auto;
  padding: clamp(80px,10vw,140px) var(--gutter);
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items:center;
}
.about__media{ position:relative; }
.about__photo-frame{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  aspect-ratio: 3/4;
  background: var(--black-800);
}
.about__photo-frame img{
  width:100%; height:100%; object-fit:cover;
  filter: contrast(1.06) saturate(1.05);
}
.about__badge{
  position:absolute; bottom:-24px; right:-24px;
  background: var(--red-600); color:var(--white);
  width:118px; height:118px; border-radius:50%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  text-align:center;
  font-size:.68rem; font-weight:700; line-height:1.25;
  box-shadow: 0 20px 40px -14px rgba(228,36,36,.55);
}
.about__badge svg{ width:26px; height:26px; }

.about__name{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:var(--black-900); }
.about__name span{ color: var(--muted-300); font-weight:500; font-size:.6em; }
.about__role{
  font-weight:700; color:var(--red-600); text-transform:uppercase; letter-spacing:.1em; font-size:.82rem;
  margin: 10px 0 22px;
}
.about__bio{ color:var(--muted-700); line-height:1.75; margin-bottom:26px; max-width:520px; }
.about__checklist{ display:grid; grid-template-columns:1fr 1fr; gap:13px 20px; }
.about__checklist li{
  position:relative; padding-left:28px;
  font-size:.9rem; font-weight:600; color:var(--black-800);
}
.about__checklist li::before{
  content:"✓";
  position:absolute; left:0; top:-2px;
  width:19px; height:19px; border-radius:50%;
  background: var(--blue-600); color:var(--white);
  font-size:.65rem; font-weight:900;
  display:flex; align-items:center; justify-content:center;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{
  position:relative;
  background: var(--black-950);
  padding: clamp(90px,12vw,160px) var(--gutter);
  overflow:hidden;
}
.contact::before{
  content:"";
  position:absolute; width:900px; height:900px;
  background: radial-gradient(circle, rgba(24,84,168,.28), transparent 70%);
  top:-400px; right:-300px;
}
.contact::after{
  content:"";
  position:absolute; width:700px; height:700px;
  background: radial-gradient(circle, rgba(228,36,36,.22), transparent 70%);
  bottom:-350px; left:-250px;
}
.contact__inner{
  position:relative; z-index:2;
  max-width:760px; margin:0 auto; text-align:center;
}
.contact__title{ color:var(--white); font-size:clamp(2.1rem,4.6vw,3.6rem); margin-bottom:20px; }
.contact__sub{ color:var(--muted-on-dark); font-size:1.05rem; line-height:1.7; margin-bottom:50px; max-width:560px; margin-left:auto; margin-right:auto; }

.contact__grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
  max-width:960px; margin-left:auto; margin-right:auto;
}
.contact-card{
  position:relative;
  overflow:hidden;
  width:100%;
  background: rgba(255,255,255,.045);
  border:1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  display:flex; flex-direction:column; align-items:center; gap:10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .5s var(--ease-spring), background .4s, border-color .4s, box-shadow .4s;
  cursor:pointer;
}
.contact-card::before{
  content:"";
  position:absolute; inset:0;
  z-index:0;
  background: radial-gradient(120% 90% at 15% -15%, rgba(255,255,255,.14), transparent 55%);
  pointer-events:none;
}
.contact-card > *{ position:relative; z-index:1; }
.contact-card:hover{
  transform: translateY(-6px);
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 24px 40px -20px rgba(0,0,0,.5);
}
.contact-card__icon{ width:30px; height:30px; color: var(--red-400); margin-bottom:4px; }
.contact-card__label{ font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted-on-dark); }
.contact-card__value{ font-weight:700; color:var(--white); font-size:1rem; word-break:break-word; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ background: var(--black-950); border-top:1px solid rgba(255,255,255,.08); }
.footer__inner{
  max-width: var(--container); margin:0 auto;
  padding: 56px var(--gutter) 40px;
  display:grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap:40px;
}
.footer__logo{ width:52px; margin-bottom:16px; }
.footer__brand p{ color:var(--white); font-weight:700; margin-bottom:6px; }
.footer__motto{ color: var(--muted-on-dark) !important; font-weight:400 !important; font-size:.9rem; }
.footer__links{ display:flex; flex-direction:column; }
.footer__links a, .footer__contact a{ color: var(--muted-on-dark); font-size:.92rem; padding:9px 0; transition: color .3s, padding-left .3s; }
.footer__links a:hover, .footer__contact a:hover{ color:var(--white); padding-left:4px; }
.footer__contact{ display:flex; flex-direction:column; align-items:flex-start; }
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.08);
  text-align:center; padding: 22px var(--gutter);
}
.footer__bottom p{ color: var(--muted-300); font-size:.8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .nav__cta{ display:none; }

  .service-row{ grid-template-columns: 50px 1fr; }
  .service-row__tag{ display:none; }

  .projects__panel{ grid-template-columns:1fr; }
  .projects__media{ aspect-ratio:3/3.4; }

  .about{ grid-template-columns:1fr; }
  .about__media{ max-width:300px; margin:0 auto; }
  .about__badge{ width:96px; height:96px; bottom:-14px; right:-14px; font-size:.62rem; }
  .about__badge svg{ width:22px; height:22px; }

  .about__checklist{ grid-template-columns:1fr; }

  .contact__grid{ grid-template-columns:1fr; }

  .footer__inner{ grid-template-columns:1fr; gap:28px; }
}

@media (max-width:600px){
  .engineered{ height:290vh; }
  .why-us{ height:300vh; }
  .why-card{ width:82vw; padding:28px 24px; }
  .gallery__grid{ grid-template-columns:repeat(2,1fr); }
  .gallery__item{ grid-column:span 2; }
  .gallery__item--tall{ grid-row:span 1; aspect-ratio:4/3; }
  .gallery__item--wide{ grid-column:span 2; }
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox{
  position:fixed; inset:0; z-index:2000;
  background: rgba(8,8,8,.92);
  backdrop-filter: blur(6px);
  display:flex; align-items:center; justify-content:center;
  padding: 40px;
  opacity:0; visibility:hidden;
  transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
}
.lightbox.is-open{ opacity:1; visibility:visible; transition: opacity .4s var(--ease-out), visibility 0s; }
.lightbox img{
  max-width:100%; max-height:88vh;
  border-radius: var(--radius-md);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
}
.lightbox__close{
  position:absolute; top:26px; right:32px;
  width:48px; height:48px; border-radius:50%;
  background: rgba(255,255,255,.1);
  color:var(--white);
  font-size:1.8rem; line-height:1;
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, transform .3s var(--ease-spring);
}
.lightbox__close:hover{ background: var(--red-600); transform: rotate(90deg); }
@media (max-width:980px){
  .lightbox{ padding:16px; }
  .lightbox__close{ top:14px; right:14px; width:44px; height:44px; }
}

/* ============================================================
   COPY TOAST
   ============================================================ */
.copy-toast{
  position:fixed;
  left:50%; bottom:36px;
  transform: translateX(-50%) translateY(16px);
  background: var(--black-900);
  color:var(--white);
  padding:15px 24px;
  border-radius:999px;
  display:flex; align-items:center; gap:10px;
  font-size:.9rem; font-weight:600;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 20px 44px -14px rgba(0,0,0,.5);
  opacity:0;
  pointer-events:none;
  z-index:3000;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.copy-toast.is-visible{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}
.copy-toast__icon{ width:18px; height:18px; color: var(--red-500); flex-shrink:0; }
