/* ==========================================================================
   Dream Contractors - Main Stylesheet
   Developed by Rstudys Design - www.rstudys.com
   Typography, colors and sizes follow the current site (Elementor kit).
   Tested for Safari (macOS / iOS), Chrome, Edge and Firefox.
   ========================================================================== */

:root {
  /* Global colors - Elementor kit */
  --text: #7F7F90;          /* Basic font */
  --ink: #171717;           /* Header font */
  --ink-2: #212121;         /* Dark BG 1 / eyebrows */
  --white: #FFFFFF;
  --blue: #007EFF;          /* Button / Accent 1 */
  --blue-hover: #504E5B;    /* Button hover / Accent 2 */
  --line: #D0CDCD;          /* Line color */
  --light: #F6F6F6;         /* Light background */

  /* Typography - the look of the current site (Helvetica on Apple devices, Arial on Windows) */
  --font: Helvetica, Arial, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 40px);
  --max: 1200px;
  --header-h: 76px;
  --section: clamp(70px, 8vw, 110px);

  --ease: cubic-bezier(.25, .46, .45, .94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); font-weight: 700; color: var(--ink); line-height: 1.2; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
::selection { background: var(--blue); color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10000; background: var(--blue); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.ico { width: 1em; height: 1em; flex: none; }
.ico .f { fill: currentColor; stroke: none; }
.glyph { width: 1em; height: 1em; flex: none; }

/* ---------- Typography (kit sizes) ---------- */
.eyebrow {
  display: block;
  font-size: 14px; font-weight: 600; line-height: 24px;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.eyebrow--light { color: #fff; }
.eyebrow--blue { color: var(--blue); margin-bottom: 6px; }

.h1 { font-size: 48px; line-height: 1.2; letter-spacing: -.5px; }
.h2 { font-size: 39px; line-height: 1.2; letter-spacing: -1.2px; margin-bottom: 20px; }
.on-dark { color: #fff; }
.center { text-align: center; }

/* Blue gradient headline text (Safari prefixes included) */
.grad {
  background: linear-gradient(90deg, var(--blue) 0%, #5DB0FF 60%, #A9D4FF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(720px + var(--gutter) * 2); }
.section { position: relative; padding: var(--section) 0; }

/* ---------- Buttons (kit: 14px, 20px 40px, square) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 40px;
  font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 1;
  border: 0; border-radius: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { font-size: 15px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #fff; }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ==========================================================================
   Header - left menu | logo centered | right menu
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
  -webkit-transform: translateZ(0); transform: translateZ(0);   /* own layer - no jitter while scrolling */
}
.site-header.is-scrolled { background-color: var(--ink); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.site-header__inner {
  position: relative; height: 100%;
  padding: 0 clamp(16px, 2vw, 30px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.nav--left { justify-self: start; }
.nav--right { justify-self: end; }
.brand { display: block; width: 170px; }
.brand__logo { width: 100%; height: auto; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 15px;
  font-size: 16px; font-weight: 700; letter-spacing: 1px;
  color: #fff;
}
.nav__list > .nav__item > .nav__link:hover,
.nav__list > .nav__item.is-active > .nav__link { color: var(--blue); }
.nav__caret { font-size: 12px; }

.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav--right .nav__sub { left: auto; right: 0; }
.nav__sub .nav__link { color: var(--ink); padding: 9px 20px; font-size: 15px; font-weight: 400; letter-spacing: 0; justify-content: space-between; }
.nav__sub .nav__link:hover, .nav__sub .nav__item.is-active > .nav__link { color: var(--blue); }
.nav__sub--2 { top: -8px; left: 100%; }

.burger { display: none; width: 44px; height: 44px; position: relative; justify-self: end; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 850;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 10px) var(--gutter) 40px;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-open .site-header { background-color: var(--ink); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.1); }
.mnav__row a { flex: 1; padding: 14px 0; font-weight: 700; font-size: 18px; letter-spacing: 1px; }
.mnav--sub .mnav__row a { font-size: 15px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.8); padding: 11px 0; }
.mnav__toggle { width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px; }
.mnav__toggle .ico { transition: transform .3s var(--ease); }
.mnav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mnav__panel { display: none; }
.mnav__panel > .mnav { padding-left: 16px; }
.mnav__item.is-open > .mnav__panel { display: block; }
.mobile-menu__foot { margin-top: 30px; display: grid; gap: 14px; }
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__mail { color: rgba(255,255,255,.7); text-align: center; }

/* ==========================================================================
   Entrance animation - soft fade (similar to Elementor "fadeIn / fadeInUp")
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: var(--ink-2); color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }

.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); pointer-events: none; }
.hero__video.is-ready { opacity: 1; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0;
}
.hero__shade { position: absolute; inset: 0; background: rgba(33,33,33,.55); }
.hero--scrub .hero__shade { background: linear-gradient(180deg, rgba(23,23,23,.55) 0%, rgba(23,23,23,.4) 45%, rgba(23,23,23,.15) 100%); }
.hero__content { position: relative; z-index: 2; max-width: calc(760px + var(--gutter) * 2); text-align: center; padding-top: var(--header-h); }
.hero__title {
  font-size: 65px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--blue) 0%, #6DB6FF 55%, #FFFFFF 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__tag { margin: 26px 0 0; font-size: 16px; color: #fff; }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin-top: 40px; }
.hero__ctas .btn { min-width: 200px; }

/* Hero - scroll-scrub mode (enabled from includes/config.php) */
.hero-scrub-wrap { position: relative; }
.hero--scrub { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; }
.hero__frame0, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity .6s; }
.hero--scrub.is-ready .hero__canvas { opacity: 1; }

/* ==========================================================================
   Shared icon box (light square with dark glyph - as on the current site)
   ========================================================================== */
.icon-box { width: 70px; height: 70px; flex: none; display: grid; place-items: center; background: var(--light); color: var(--ink); font-size: 35px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.icon-box--lg { width: 84px; height: 84px; font-size: 44px; }

/* ==========================================================================
   WHO WE ARE
   ========================================================================== */
.who { background: #fff url('../img/home/bg-silk.webp') center / cover no-repeat; }
.who::before { content: ""; position: absolute; inset: 0; background: rgba(246,246,246,.5); }
.who__panel { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; }
.who__text .h2 { margin-bottom: 18px; }
.who__photo { margin: 0; overflow: hidden; }
.who__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--ease); }
.who__panel:hover .who__photo img { transform: scale(1.03); }
/* stats: clean row with hairline dividers */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 32px 0 34px; padding: 0; list-style: none; border-top: 1px solid #E6E6EA; border-bottom: 1px solid #E6E6EA; }
.stat { padding: 22px 12px 20px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid #E6E6EA; }
.stat strong { display: block; font-size: 42px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; color: var(--blue); }
.stat > span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; letter-spacing: .3px; }
/* content enters in sequence once the panel is in view */
.js .who__in { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0s) + .25s); }
.js .who__panel.is-in .who__in { opacity: 1; transform: none; }
.js .who__photo.who__in { transform: translate3d(0, 30px, 0) scale(.97); }
.js .who__panel.is-in .who__photo.who__in { transform: none; }

/* Scroll-frame mode: the section rises as a panel over the final frame (no white gap between the animation and the content) */
.hero-scrub-wrap { height: auto; }
.scrub-spacer { height: 220vh; }
.hero--scrub { z-index: 1; }
.hero--scrub .hero__media { overflow: hidden; }
.who--joined { z-index: 2; background: none; padding: 34vh 0 14vh; }
.who--joined::before { display: none; }
.who--joined .who__panel { padding: 64px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 100px rgba(0,0,0,.28); }
.who--joined .who__panel::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #6DB6FF 60%, transparent); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
.who--joined .who__panel.is-in::before { transform: scaleX(1); }
.js .who--joined .who__panel[data-reveal] { transform: translate3d(0, 80px, 0) scale(.985); transition-duration: 1.2s; }
.js .who--joined .who__panel[data-reveal].is-in { transform: none; }

/* ==========================================================================
   OUR VALUE
   ========================================================================== */
.values { position: relative; padding-bottom: var(--section); }
.values__band { position: relative; padding: var(--section) 0 calc(var(--section) + 90px); overflow: hidden; background: var(--ink-2); }
.values__bg { position: absolute; inset: 0; }
.values__bg img { width: 100%; height: 100%; object-fit: cover; }
.values__bg::after { content: ""; position: absolute; inset: 0; background: rgba(33,33,33,.72); }
.values__intro { position: relative; }
.values__cards { position: relative; margin-top: -90px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vcard { background: #fff; padding: 40px 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.vcard .icon-box { margin: 0 auto 20px; }
.vcard h3 { font-size: 25px; font-weight: 400; line-height: 1.3; margin-bottom: 12px; }
.vcard:hover .icon-box { background: var(--blue); color: #fff; }

/* ==========================================================================
   WHY CHOOSE
   ========================================================================== */
.why { padding-top: 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.why__media { position: relative; padding: 0 0 60px 60px; }
.why__photo img { width: 100%; aspect-ratio: 508 / 600; object-fit: cover; }
.why__badge { position: absolute; left: 0; bottom: 0; width: 225px; padding: 10px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
.why__badge-inner { background: var(--light); padding: 42px 16px 50px; text-align: center; }
.why__badge strong { display: block; font-size: 69px; font-weight: 700; line-height: 1; letter-spacing: -1.2px; color: var(--blue); }
.why__badge-inner > span { display: block; max-width: 130px; margin: 18px auto 0; font-size: 14px; font-weight: 400; line-height: 24px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.features { display: grid; gap: 20px; margin-top: 10px; }
.feature { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; }
.feature h3 { font-size: 20px; line-height: 1.4; margin: 0 0 6px; }
.feature p { font-size: 14px; line-height: 1.5; }
.feature:hover .icon-box { background: var(--blue); color: #fff; }

/* ==========================================================================
   FLORIDA & NEW ENGLAND
   ========================================================================== */
.regions { padding-top: 0; }
.regions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.regions__map img { width: 100%; }
.regions__text .h1 { margin-bottom: 26px; }
.regions__text p { color: var(--ink); }
.regions__strong { font-weight: 700; }
.regions .btn { padding: 20px 30px; }

/* ==========================================================================
   WHAT WE DO
   ========================================================================== */
.whatwedo { background: linear-gradient(180deg, #fff 0%, var(--line) 100%); }
.whatwedo .h2 { margin-bottom: 50px; }
.whatwedo__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: stretch; }
.svc-col { display: grid; gap: 20px; }
.svc {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 30px 20px; min-height: 150px; text-align: center;
  background: rgba(255,255,255,.45); border: 1px solid rgba(208,205,205,.9);
  color: var(--ink);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.svc__icon { font-size: 34px; }
.svc__label { font-size: 20px; font-weight: 700; line-height: 1.4; }
.svc:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.compare { position: relative; overflow: hidden; min-height: 460px; user-select: none; -webkit-user-select: none; --pos: 50%; }
.compare__img { position: absolute; inset: 0; }
.compare__img img { width: 100%; height: 100%; object-fit: cover; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare__handle { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 18px; box-shadow: 0 4px 14px rgba(0,0,0,.2); pointer-events: none; z-index: 2; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; -webkit-appearance: none; appearance: none; }

/* ==========================================================================
   START YOUR PROJECT
   ========================================================================== */
.cta-band { position: relative; padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; background: var(--ink-2); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(33,33,33,.7); }
.cta-band__inner { position: relative; }
.cta-band .h1 { margin-bottom: 20px; }
.cta-band .btn { margin-top: 26px; }
.grad--light { background-image: linear-gradient(90deg, var(--blue) 0%, #6DB6FF 60%, #CFE6FF 100%); }

/* ==========================================================================
   RECENT PROJECTS - coming soon accordion
   ========================================================================== */
.recent__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 50px; }
.recent__head .h2 { margin-bottom: 0; }
.recent__head .btn { margin-top: 24px; }
.accordion { display: flex; gap: 10px; height: 460px; }
.accordion__item { position: relative; flex: 1; min-width: 0; overflow: hidden; outline: none; transition: flex-grow .7s var(--ease); }
.accordion__item.is-open { flex-grow: 3; }
.accordion__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.accordion__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0) 50%, rgba(23,23,23,.75) 100%); }
.accordion__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px; color: #fff; }
.accordion__soon { display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #fff; border-bottom: 1px solid var(--blue); padding-bottom: 4px; }
.accordion__meta h3 { margin-top: 10px; color: #fff; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .4s var(--ease); }
.accordion__item.is-open .accordion__meta h3 { opacity: 1; transition-delay: .3s; }
.accordion__item:not(.is-open) .accordion__soon { opacity: 0; }

/* ==========================================================================
   READY TO BUILD
   ========================================================================== */
.ready { padding-top: 0; }
.ready__card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: var(--light); padding: 60px 70px; }
.ready__text .btn { margin-top: 20px; }
.ready__img img { width: 100%; max-width: 420px; margin-left: auto; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-2); color: rgba(255,255,255,.75); padding: 90px 0 30px; }
.footer__big { font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -.5px; color: #fff; padding: 6px 0 6px 24px; border-left: 2px solid var(--blue); margin-bottom: 60px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__value { font-size: 25px; font-weight: 400; line-height: 1.3; color: #fff; }
.footer__value:hover { color: var(--blue); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 14px; }
.footer__bottom a:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; font-size: 16px; background: rgba(255,255,255,.06); transition: background-color .3s; }
.social a:hover { background: var(--blue); color: #fff; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 44px; height: 44px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 18px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s, background-color .3s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.to-top:hover { background: var(--blue-hover); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .nav__link { padding: 10px 10px; font-size: 15px; letter-spacing: .5px; }
  .brand { width: 150px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .site-header { background-color: rgba(23,23,23,.2); }
  .site-header__inner { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .burger { display: block; }
  .brand { width: 130px; justify-self: start; }
  .hero__title { font-size: 44px; }
  .h1 { font-size: 38px; }
  .h2 { font-size: 32px; }
  .who__panel, .why__grid, .regions__grid, .recent__head { grid-template-columns: 1fr; gap: 40px; }
  .who--joined { padding: 26vh 0 10vh; }
  .who--joined .who__panel { padding: 44px 36px; }
  .who__photo img { aspect-ratio: 16 / 10; }
  .values__cards { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .why__media { max-width: 560px; }
  .whatwedo__grid { grid-template-columns: 1fr 1fr; }
  .compare { grid-column: 1 / -1; order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .accordion { flex-direction: column; height: auto; }
  .accordion__item, .accordion__item.is-open { flex: none; height: 260px; }
  .accordion__item .accordion__meta h3, .accordion__item .accordion__soon { opacity: 1 !important; }
  .ready__card { grid-template-columns: 1fr; padding: 40px 30px; }
  .ready__img img { margin: 0 auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__big { font-size: 38px; }
}
@media (max-width: 640px) {
  .hero__title { font-size: 34px; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .who--joined .who__panel { padding: 32px 22px; }
  .stat strong { font-size: 30px; }
  .stat + .stat { padding-left: 12px; }
  .stat > span { font-size: 12px; }
  .scrub-spacer { height: 180vh; }
  .h1 { font-size: 32px; }
  .h2 { font-size: 28px; letter-spacing: -.8px; }
  .whatwedo__grid { grid-template-columns: 1fr; }
  .why__media { padding: 0 0 50px 30px; }
  .why__badge { width: 180px; }
  .why__badge strong { font-size: 52px; }
  .btn-row .btn { flex: 1 1 100%; }
  .accordion__item, .accordion__item.is-open { height: 220px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__value { font-size: 21px; }
}

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

/* ==========================================================================
   PROJECTS - coming soon
   ========================================================================== */
.soon__head { max-width: calc(760px + var(--gutter) * 2); margin-bottom: 50px; }
.soon__head p { font-size: 16px; }
.soon__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.soon__card { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.soon__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.soon__card:hover img { transform: scale(1.03); }
.soon__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,23,0) 50%, rgba(23,23,23,.75) 100%); }
.soon__card figcaption { position: absolute; left: 26px; bottom: 24px; z-index: 1; color: #fff; }
.soon__card strong { display: block; margin-top: 10px; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; }
.soon__note { margin-top: 40px; text-align: center; font-size: 20px; font-weight: 700; color: var(--ink); }
.soon__note strong { color: var(--blue); }
@media (max-width: 767px) { .soon__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   UPCOMING PROJECT CARDS (Home "Recent Projects" + Projects page)
   ========================================================================== */
.pj-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pj-card { position: relative; background: #fff; padding: 34px 28px 30px; display: flex; flex-direction: column; box-shadow: 0 0 60px rgba(0,0,0,.04); transition: transform .5s var(--ease), box-shadow .5s var(--ease); overflow: hidden; }
.pj-card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pj-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.08); }
.pj-card:hover::before { transform: scaleX(1); }
.pj-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.pj-card__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--light); color: var(--ink); font-size: 26px; transition: background-color .4s, color .4s; }
.pj-card:hover .pj-card__icon { background: var(--blue); color: #fff; }
.pj-card__num { font-size: 13px; letter-spacing: 2px; color: var(--line); font-weight: 600; }
.pj-card__title { font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0 0 10px; }
.pj-card__desc { font-size: 15px; line-height: 1.6; margin: 0 0 26px; flex: 1; }
.pj-card__status span { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-2); }
.pj-mini { margin-top: 12px; height: 2px; background: #ECECEC; overflow: hidden; }
.pj-mini i { display: block; height: 100%; width: 0; background: var(--blue); transition: width 1.8s cubic-bezier(.22,.61,.36,1) .3s; }
.pj-card.is-in .pj-mini i { width: var(--p); }
.pj-card__status span i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.pj-card__status span i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pjPulse 2s ease-out infinite; }
@keyframes pjPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.recent .pj-card { background: var(--light); box-shadow: none; }
.recent .pj-card__icon { background: #fff; }
@media (max-width: 1024px) { .pj-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .pj-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pj-card__status span i::after { animation: none; } }
