/*
Theme Name: ALG Construction Management
Theme URI: https://algconstruct.com/
Author: ALG Construction Management & Development
Description: Custom high-end WordPress theme for ALG Construction Management & Development, LLC. Includes founder-focused Who We Are, services, portfolio project management, responsive navigation, and a native WordPress contact form.
Version: 1.0.20
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: alg-construction
*/

:root {
  --navy-950: #031321;
  --navy-900: #051b2f;
  --navy-850: #08233b;
  --navy-800: #0b2a46;
  --navy-700: #123a5a;
  --blue-300: #9fc1d9;
  --cream-50: #fbf8f2;
  --cream-100: #f4efe6;
  --cream-200: #e9dfd1;
  --white: #fffdf9;
  --orange-500: #ee6a17;
  --orange-600: #cf5510;
  --gold-400: #d99850;
  --text: #152234;
  --muted: #667586;
  --shadow-sm: 0 12px 30px rgba(0, 14, 30, .12);
  --shadow-lg: 0 28px 70px rgba(0, 14, 30, .22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream-50);
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(238, 106, 23, .24); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--cream-50);
  color: var(--navy-950);
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: var(--container); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section-tight { padding: 68px 0; }
.section-dark {
  background:
    radial-gradient(circle at 88% 12%, rgba(238,106,23,.08), transparent 28%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  overflow: hidden;
}
.section-dark::before,
.architectural-lines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(159,193,217,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,193,217,.14) 1px, transparent 1px),
    linear-gradient(30deg, transparent 49.5%, rgba(217,152,80,.12) 50%, transparent 50.5%);
  background-size: 72px 72px, 72px 72px, 240px 240px;
}
.section-cream { background: var(--cream-100); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-500);
  font-size: .76rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.display-title,
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }
.display-title {
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.035em;
}
.section-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.025em;
}
.section-copy { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 1.04rem; }
.section-dark .section-copy { color: rgba(255,255,255,.72); }
.accent { color: var(--orange-500); }
.rule {
  width: 86px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange-500), transparent);
  margin: 18px 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .84rem;
  letter-spacing: .02em;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(180deg, #f17624, #d85b0d);
  color: white;
  box-shadow: 0 12px 26px rgba(210, 82, 10, .24);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(210, 82, 10, .34); }
.btn-outline { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(5,27,47,.22); }
.btn-outline:hover { border-color: var(--orange-500); }
.btn-dark { color: var(--navy-950); border-color: rgba(3,19,33,.23); background: transparent; }
.btn-dark:hover { border-color: var(--orange-500); }
.btn-arrow::after { content: "→"; font-size: 1.15em; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(4px); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 88px;
  background: linear-gradient(180deg, rgba(3,19,33,.88), rgba(3,19,33,.36));
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(3,19,33,.96);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 84px; height: auto; transition: width .25s ease; }
.site-header.scrolled .brand img { width: 76px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  color: rgba(255,255,255,.88);
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 12px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--orange-500);
  transition: right .2s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.header-cta { margin-left: 12px; white-space: nowrap; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(3,19,33,.35);
  color: white;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: 780px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 70px;
  color: var(--white);
  background-image:
    radial-gradient(circle at 80% 42%, rgba(3,19,33,.58) 0%, rgba(3,19,33,.32) 24%, transparent 48%),
    linear-gradient(90deg, rgba(3,19,33,.98) 0%, rgba(3,19,33,.91) 34%, rgba(3,19,33,.55) 60%, rgba(3,19,33,.38) 100%),
    linear-gradient(0deg, rgba(3,19,33,.82) 0%, transparent 38%),
    url('assets/images/nashville-hero-clean.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: -7vw;
  top: 0;
  width: 45vw;
  height: 100%;
  border-right: 1px solid rgba(159,193,217,.12);
  background:
    linear-gradient(rgba(159,193,217,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,193,217,.08) 1px, transparent 1px);
  background-size: 52px 52px;
  transform: skewX(-6deg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(0deg, var(--navy-950), transparent);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 730px; }
.hero .eyebrow { color: var(--cream-200); }
.hero .display-title .accent-line { display: block; color: var(--blue-300); }
.hero-subhead {
  margin: 22px 0 0;
  max-width: 630px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--orange-500);
}
.hero-copy { max-width: 660px; margin: 18px 0 0; color: rgba(255,255,255,.82); font-size: 1.02rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(3,19,33,.28);
  backdrop-filter: blur(5px);
}
.stat { padding: 20px 28px; border-right: 1px solid rgba(255,255,255,.14); }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: .9;
  color: var(--white);
}
.stat span { display: block; margin-top: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.62); }

.page-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 78px;
  color: white;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3,19,33,.98), rgba(3,19,33,.68) 55%, rgba(3,19,33,.26)),
    url('assets/images/nashville-dusk.webp') center/cover no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(0deg, rgba(3,19,33,.9), transparent);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.3rem); line-height: .93; }
.page-hero p { max-width: 720px; margin: 18px 0 0; color: rgba(255,255,255,.8); }

.featured-project {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--navy-900);
  color: white;
  overflow: hidden;
  border: 1px solid rgba(217,152,80,.34);
  box-shadow: var(--shadow-lg);
}
.featured-project-media { min-height: 430px; position: relative; }
.featured-project-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(5,27,47,.55)); }
.featured-project-copy { position: relative; padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.featured-project-copy::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -80px;
  bottom: -110px;
  border: 1px solid rgba(217,152,80,.16);
  border-radius: 50% 50% 0 0;
}
.featured-project h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: .98; }
.featured-project p { color: rgba(255,255,255,.72); max-width: 520px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative;
  min-height: 310px;
  padding: 34px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(217,152,80,.38);
  overflow: hidden;
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 125px;
  height: 125px;
  right: -30px;
  bottom: -35px;
  border: 1px solid rgba(217,152,80,.18);
  border-radius: 90px 90px 0 0;
  transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-7px); background: rgba(255,255,255,.055); border-color: rgba(238,106,23,.8); }
.service-card:hover::before { transform: scale(1.25); }
.icon-box {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(238,106,23,.55);
  color: var(--orange-500);
  margin-bottom: 28px;
}
.icon-box svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.service-card h3 { margin: 0 0 10px; font-size: 2rem; line-height: 1; }
.service-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }
.service-card a { display: inline-flex; margin-top: 20px; color: var(--orange-500); font-weight: 700; font-size: .83rem; }

.project-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.project-card {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(3,19,33,.09);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card-media { aspect-ratio: 1.42; overflow: hidden; background: var(--navy-900); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.045); }
.project-card-copy { padding: 16px; }
.project-card h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.project-card small { display: block; margin-top: 7px; color: var(--navy-700); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; font-weight: 700; }

.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 38px; border-top: 1px solid rgba(217,152,80,.34); border-bottom: 1px solid rgba(217,152,80,.34); }
.why-item { padding: 30px 24px; text-align: center; border-right: 1px solid rgba(217,152,80,.28); }
.why-item:last-child { border-right: 0; }
.why-item svg { width: 36px; height: 36px; stroke: var(--orange-500); fill: none; stroke-width: 1.5; }
.why-item h3 { margin: 16px 0 6px; font-size: 1.4rem; line-height: 1; }
.why-item p { margin: 0; color: rgba(255,255,255,.66); font-size: .81rem; line-height: 1.5; }

.quote-slider { position: relative; margin-top: 30px; }
.quote-track { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote-card {
  position: relative;
  min-height: 240px;
  padding: 36px 40px 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.quote-card::before { content: "“"; position: absolute; top: 8px; left: 22px; font-family: var(--serif); font-size: 5rem; color: var(--orange-500); line-height: 1; opacity: .8; }
.quote-card blockquote { margin: 22px 0 18px; font-family: var(--serif); font-size: 1.28rem; line-height: 1.35; font-style: italic; color: rgba(255,255,255,.9); }
.quote-card cite { color: var(--orange-500); font-style: normal; font-size: .82rem; font-weight: 700; }
.quote-card cite span { color: rgba(255,255,255,.52); font-weight: 500; }

.cta-band {
  padding: 70px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(3,19,33,.97), rgba(3,19,33,.86)),
    url('assets/images/plans-hardhat.webp') center/cover no-repeat;
  border-top: 1px solid rgba(238,106,23,.5);
}
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center; }
.cta-band h2 { margin: 0; max-width: 780px; font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: .98; }
.cta-band p { max-width: 760px; margin: 14px 0 0; color: rgba(255,255,255,.68); }

.site-footer { position: relative; background: #02111e; color: white; border-top: 1px solid rgba(217,152,80,.28); }
.footer-main { padding: 62px 0 38px; display: grid; grid-template-columns: 1.2fr .75fr .75fr 1fr; gap: 42px; }
.footer-brand img { width: 160px; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.58); font-size: .88rem; }
.footer-heading { margin: 0 0 15px; color: var(--orange-500); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; }
.footer-links a:hover { color: white; }
.contact-lines { display: grid; gap: 10px; color: rgba(255,255,255,.7); font-size: .85rem; }
.contact-lines a:hover { color: var(--orange-500); }
.footer-bottom { padding: 18px 0 24px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.42); font-size: .73rem; display: flex; justify-content: space-between; gap: 20px; }

/* Services */
.services-list { display: grid; gap: 28px; }
.service-detail {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 0;
  background: white;
  border: 1px solid rgba(3,19,33,.09);
  box-shadow: var(--shadow-sm);
}
.service-detail-head { position: relative; padding: 42px; background: var(--navy-900); color: white; overflow: hidden; }
.service-detail-head::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 180px; height: 180px; border: 1px solid rgba(238,106,23,.24); border-radius: 120px 120px 0 0; }
.service-detail-head h2 { margin: 12px 0 0; font-size: 2.5rem; line-height: 1; }
.service-detail-head p { color: rgba(255,255,255,.67); }
.service-detail-body { padding: 42px; }
.service-detail-body ul { columns: 2; column-gap: 46px; margin: 0; padding: 0; list-style: none; }
.service-detail-body li { position: relative; break-inside: avoid; padding: 0 0 13px 22px; color: #455362; font-size: .92rem; }
.service-detail-body li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--orange-500); }

/* Who we are */
.founder-feature { display: grid; grid-template-columns: .86fr 1.14fr; min-height: 720px; background: white; box-shadow: var(--shadow-lg); }
.founder-photo { position: relative; overflow: hidden; background: var(--navy-900); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.founder-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, rgba(3,19,33,.84), transparent); }
.founder-tag { position: absolute; z-index: 2; left: 32px; bottom: 28px; color: white; }
.founder-tag strong { display: block; font-family: var(--serif); font-size: 2.1rem; }
.founder-tag span { display: block; margin-top: -4px; color: var(--orange-500); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.founder-copy { padding: clamp(38px, 5vw, 68px); }
.founder-copy h2 { margin: 0; font-size: clamp(3rem, 5vw, 4.8rem); line-height: .95; }
.founder-copy p { color: #566475; }
.founder-quote { margin: 30px 0 0; padding: 24px 0 0 28px; border-left: 2px solid var(--orange-500); font-family: var(--serif); font-size: 1.55rem; line-height: 1.2; color: var(--navy-700); }

.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.vm-card { padding: 34px; border: 1px solid rgba(217,152,80,.32); background: rgba(255,255,255,.035); }
.vm-card h3 { margin: 0 0 12px; font-size: 2rem; }
.vm-card p { margin: 0; color: rgba(255,255,255,.7); }

.approach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; }
.approach-card { padding: 26px 22px; background: white; border: 1px solid rgba(3,19,33,.08); box-shadow: var(--shadow-sm); }
.approach-card b { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.05; color: var(--navy-900); }
.approach-card p { margin: 0; color: var(--muted); font-size: .84rem; }

.markets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.market { min-height: 132px; padding: 24px; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: rgba(255,255,255,.035); border: 1px solid rgba(217,152,80,.25); }
.market::before { content: ""; position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-top: 1px solid rgba(238,106,23,.55); border-right: 1px solid rgba(238,106,23,.55); }
.market span { position: relative; z-index: 1; font-family: var(--serif); font-size: 1.45rem; line-height: 1; }

.testimonials-long { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 34px; }
.testimonial-long { padding: 38px; background: white; border: 1px solid rgba(3,19,33,.08); box-shadow: var(--shadow-sm); }
.testimonial-long .quote-mark { font-family: var(--serif); font-size: 5rem; color: var(--orange-500); line-height: .6; }
.testimonial-long blockquote { margin: 18px 0 24px; color: #465465; font-family: var(--serif); font-size: 1.15rem; line-height: 1.48; }
.testimonial-long cite { color: var(--navy-900); font-style: normal; font-size: .79rem; font-weight: 700; }
.testimonial-long cite span { color: var(--orange-600); }

/* Portfolio */
.portfolio-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 38px; }
.filter-btn { padding: 9px 14px; border: 1px solid rgba(3,19,33,.15); background: white; color: var(--navy-900); border-radius: 99px; font-size: .76rem; font-weight: 700; }
.filter-btn.active, .filter-btn:hover { background: var(--navy-900); color: white; border-color: var(--navy-900); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.portfolio-project { position: relative; background: white; border: 1px solid rgba(3,19,33,.09); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.portfolio-project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-project[hidden] { display: none; }
.portfolio-project img { width: 100%; height: 330px; object-fit: cover; }
.portfolio-project .project-body { padding: 26px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--orange-600); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.portfolio-project h2 { margin: 10px 0 8px; font-size: 2.25rem; line-height: .98; }
.portfolio-project p { margin: 0; color: var(--muted); font-size: .9rem; }
.project-detail-btn { margin-top: 18px; border: 0; padding: 0; background: none; color: var(--navy-900); font-weight: 700; font-size: .82rem; }
.project-detail-btn:hover { color: var(--orange-600); }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,12,22,.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-dialog { width: min(920px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: var(--cream-50); box-shadow: 0 40px 100px rgba(0,0,0,.42); }
.modal-media { height: 340px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { padding: 34px; }
.modal-copy h2 { margin: 4px 0 12px; font-size: 2.8rem; line-height: .95; }
.modal-close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(3,19,33,.7); color: white; font-size: 1.35rem; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; }
.contact-card { padding: 38px; background: var(--navy-900); color: white; box-shadow: var(--shadow-lg); }
.contact-card h2 { margin: 0; font-size: 3rem; line-height: 1; }
.contact-card p { color: rgba(255,255,255,.67); }
.contact-card .contact-lines { margin-top: 26px; font-size: .95rem; }
.form-card { padding: 38px; background: white; border: 1px solid rgba(3,19,33,.09); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .75rem; font-weight: 700; color: var(--navy-900); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfd8df;
  background: #fff;
  color: var(--text);
  border-radius: 4px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(238,106,23,.12); }
.form-note { margin: 13px 0 0; color: var(--muted); font-size: .74rem; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.alert { display: none; margin-bottom: 18px; padding: 14px 16px; border-left: 3px solid var(--orange-500); background: #fff3e9; color: #71320f; }
.alert.show { display: block; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1050px) {
  .nav { gap: 20px; }
  .header-cta { display: none; }
  .project-strip { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-item:nth-child(3) { border-right: 0; }
  .why-item:nth-child(n+4) { border-top: 1px solid rgba(217,152,80,.28); }
  .why-item:nth-child(4) { border-right: 1px solid rgba(217,152,80,.28); }
  .why-item:nth-child(5) { border-right: 0; }
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .markets-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 28px, 720px); }
  .section { padding: 72px 0; }
  .site-header, .site-header.scrolled { height: 72px; background: rgba(3,19,33,.97); }
  .brand img, .site-header.scrolled .brand img { width: 105px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 0 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 30px 28px;
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .menu-open .nav { transform: translateX(0); }
  .nav a { padding: 17px 4px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .hero { min-height: 720px; padding-top: 122px; background-position: 57% center; }
  .hero::before { width: 75vw; }
  .hero-stats { grid-template-columns: 1fr; margin-top: 36px; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 17px 20px; }
  .stat:last-child { border-bottom: 0; }
  .featured-project, .service-detail, .founder-feature, .contact-layout { grid-template-columns: 1fr; }
  .featured-project-media { min-height: 320px; }
  .cards-3 { grid-template-columns: 1fr; }
  .project-strip { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(n) { border-right: 1px solid rgba(217,152,80,.28); border-top: 1px solid rgba(217,152,80,.28); }
  .why-item:nth-child(odd) { border-left: 0; }
  .why-item:nth-child(even) { border-right: 0; }
  .quote-track { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .service-detail-body ul { columns: 1; }
  .founder-photo { min-height: 620px; }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-long { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 24px); }
  .hero { min-height: 760px; background-position: 62% center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .project-strip, .approach-grid, .markets-grid, .footer-main, .form-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item:nth-child(n) { border-right: 0; }
  .page-hero { min-height: 450px; }
  .featured-project-media { min-height: 250px; }
  .featured-project-copy, .service-card, .service-detail-head, .service-detail-body, .founder-copy, .testimonial-long, .contact-card, .form-card { padding: 28px; }
  .founder-photo { min-height: 520px; }
  .vision-mission { grid-template-columns: 1fr; }
  .portfolio-project img { height: 250px; }
  .footer-bottom { flex-direction: column; }
  .modal-copy { padding: 24px; }
  .modal-media { height: 230px; }
}

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

/* Founder-focused Who We Are hero */
.page-hero.founder-page-hero {
  min-height: 680px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3,19,33,.99) 0%, rgba(3,19,33,.92) 38%, rgba(3,19,33,.48) 60%, rgba(3,19,33,.08) 100%),
    url('assets/images/allen-guillory.webp') 77% 31% / cover no-repeat;
}
.page-hero.founder-page-hero .container { padding-top: 34px; }
.page-hero.founder-page-hero h1,
.page-hero.founder-page-hero p { max-width: 650px; }
@media (max-width: 820px) {
  .page-hero.founder-page-hero {
    min-height: 700px;
    align-items: flex-end;
    background:
      linear-gradient(0deg, rgba(3,19,33,.98) 0%, rgba(3,19,33,.74) 45%, rgba(3,19,33,.18) 75%),
      url('assets/images/allen-guillory.webp') 54% 18% / cover no-repeat;
  }
  .page-hero.founder-page-hero .container { padding-top: 0; }
}

/* Homepage hero refinement — compact editorial treatment based on approved concept */
.home-page .hero {
  min-height: 700px;
  padding: 118px 0 48px;
}
.home-page .hero-content {
  max-width: 575px;
}
.home-page .hero .eyebrow {
  margin-bottom: 11px;
  color: var(--orange-500);
  font-size: .68rem;
  letter-spacing: .18em;
}
.home-page .hero .display-title {
  max-width: 575px;
  font-size: clamp(3.15rem, 5.25vw, 5.25rem);
  line-height: .9;
  letter-spacing: -.03em;
}
.home-page .hero .display-title > span {
  display: block;
}
.home-page .hero .display-title::after {
  content: "";
  display: block;
  width: min(315px, 72%);
  height: 2px;
  margin-top: 19px;
  background: var(--orange-500);
}
.home-page .hero-subhead {
  max-width: 400px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--white);
}
.home-page .hero-copy {
  max-width: 535px;
  margin-top: 13px;
  font-size: .88rem;
  line-height: 1.62;
}
.home-page .hero-actions {
  margin-top: 22px;
}
.home-page .hero .btn {
  min-height: 44px;
  padding: 10px 17px;
  font-size: .76rem;
}
.home-page .hero-stats {
  margin-top: 36px;
}
.home-page .stat {
  padding: 16px 24px;
}
.home-page .stat strong {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}
.home-page .stat span {
  margin-top: 6px;
  font-size: .66rem;
  line-height: 1.35;
}
.home-page .section-title {
  font-size: clamp(2.35rem, 4.2vw, 3.85rem);
}
.home-page .service-card h3,
.home-page .why-item h3,
.home-page .project-card h3 {
  line-height: 1.08;
}

@media (max-width: 820px) {
  .home-page .hero {
    min-height: 690px;
    padding-top: 112px;
  }
  .home-page .hero .display-title {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }
  .home-page .hero-copy {
    max-width: 500px;
  }
}

@media (max-width: 560px) {
  .home-page .hero {
    min-height: 720px;
    padding-top: 104px;
  }
  .home-page .hero .display-title {
    font-size: clamp(2.75rem, 14vw, 3.8rem);
  }
  .home-page .hero .display-title::after {
    width: 68%;
    margin-top: 15px;
  }
  .home-page .hero-subhead {
    font-size: .98rem;
  }
  .home-page .hero-copy {
    font-size: .82rem;
  }
}

/* === Refined v3 aesthetic updates === */
.section-heading-center { text-align: center; }
.hero-layout { position: relative; z-index: 2; }
.hero-mark {
  position: absolute;
  right: 16px;
  top: 146px;
  width: min(35vw, 470px);
  z-index: 2;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.45));
}
.hero-mark img { width: 100%; height: auto; }
.hero .container { position: relative; }
.hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-page .hero-content { max-width: 520px; }
.home-page .hero-copy { max-width: 470px; }
.home-page .hero .btn-outline { background: rgba(3,19,33,.18); }
.home-page .hero::before { opacity: .7; }

.page-hero-split {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 138px 0 72px;
}
.page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 36px;
  align-items: center;
}
.page-hero-copy h1 { margin: 0; }
.page-hero-copy p { max-width: 640px; }
.page-hero-media { position: relative; }
.hero-media-frame {
  position: relative;
  border: 1px solid rgba(217,152,80,.42);
  background: rgba(255,255,255,.04);
  box-shadow: 0 25px 60px rgba(0,0,0,.32);
  overflow: hidden;
}
.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 410px;
}
.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(3,19,33,.18));
  pointer-events: none;
}
.hero-media-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px 18px;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(180deg, rgba(3,19,33,0), rgba(3,19,33,.92));
}
.page-hero-services {
  background:
    linear-gradient(90deg, rgba(3,19,33,.98), rgba(3,19,33,.84) 46%, rgba(3,19,33,.4) 100%),
    url('assets/images/nashville-dusk.webp') center/cover no-repeat;
}
.page-hero-founder {
  background:
    linear-gradient(90deg, rgba(3,19,33,.98), rgba(3,19,33,.88) 40%, rgba(3,19,33,.46) 100%),
    url('assets/images/nashville-dusk.webp') center/cover no-repeat;
}
.split-founder-top .page-hero-copy { padding-right: 14px; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
.mini-stat {
  padding: 14px 14px 13px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(8px);
}
.mini-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: .95;
  color: var(--white);
}
.mini-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.74);
  font-size: .72rem;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.services-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-intro-card {
  padding: 24px 24px 22px;
  border: 1px solid rgba(217,152,80,.24);
  background: rgba(255,255,255,.03);
}
.service-intro-card h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1;
}
.service-intro-card p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: .92rem;
}
.service-graphic::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 1px;
  background: rgba(217,152,80,.45);
  z-index: 1;
}
.founder-copywide { grid-template-columns: 1fr; }
.founder-copy-only { max-width: 900px; margin: 0 auto; }
.founder-copy-only h2 { font-size: clamp(3rem, 5vw, 4.8rem); line-height: .95; margin: 0; }
.founder-stat-grid .mini-stat strong { font-size: 1.9rem; }
.founder-portrait-card img { object-position: center top; }
.cta-band-hardhat {
  background:
    linear-gradient(90deg, rgba(3,19,33,.92), rgba(3,19,33,.82) 42%, rgba(3,19,33,.88)),
    url('assets/images/plans-hardhat.webp') left center/contain no-repeat,
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}

@media (max-width: 1200px) {
  .hero-mark { width: min(34vw, 390px); right: 10px; }
}

@media (max-width: 1050px) {
  .hero-mark { width: min(31vw, 320px); top: 170px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .page-hero-split { min-height: 0; padding: 112px 0 54px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-mark {
    position: static;
    width: min(66vw, 320px);
    margin: 22px 0 8px auto;
  }
  .mini-stats, .services-intro-grid { grid-template-columns: 1fr; }
  .hero-media-frame img { min-height: 330px; }
  .cta-band-hardhat { background-size: cover, 0 0, auto; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-mark { width: min(78vw, 290px); }
  .page-hero-copy h1 { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .service-intro-card, .mini-stat { padding-inline: 18px; }
  .hero-media-frame img { min-height: 250px; }
}

/* === WordPress integration === */
.admin-bar .site-header { top: 32px; }
.nav > li { list-style: none; margin: 0; padding: 0; }
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after { right: 0; }
.section-action { display: flex; justify-content: center; margin-top: 28px; }
.project-actions-inline { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; }
.project-detail-link { color: var(--orange-600); font-size: .82rem; font-weight: 700; }
.project-detail-link:hover { text-decoration: underline; }
.entry-content { max-width: 900px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3 { color: var(--navy-900); }
.standard-entry { padding: 28px 0; border-bottom: 1px solid rgba(3,19,33,.12); }
.standard-entry h2 { margin: 0 0 8px; font-size: 2.3rem; }
.project-single-hero {
  min-height: 600px;
  padding: 160px 0 72px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-single-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(3,19,33,.88), transparent); }
.project-single-hero .container { position: relative; z-index: 2; }
.project-single-hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.3rem, 6vw, 6rem); line-height: .94; }
.project-single-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: rgba(255,255,255,.8); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.project-single-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 54px; align-items: start; }
.project-single-copy h2 { margin: 0 0 28px; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; }
.project-single-copy .entry-content { font-size: 1rem; }
.project-single-aside { padding: 30px; background: var(--navy-900); color: var(--white); border-top: 3px solid var(--orange-500); box-shadow: var(--shadow-lg); }
.project-single-aside dl { margin: 0 0 26px; }
.project-single-aside dl div { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.project-single-aside dt { color: var(--orange-500); font-size: .69rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.project-single-aside dd { margin: 5px 0 0; color: rgba(255,255,255,.88); }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 820px) {
  .nav > li { width: 100%; }
  .nav > li > a { display: block; }
  .project-single-layout { grid-template-columns: 1fr; gap: 28px; }
  .project-single-hero { min-height: 500px; padding-top: 130px; }
}
@media (max-width: 560px) {
  .project-actions-inline { align-items: flex-start; flex-direction: column; gap: 8px; }
}


/* === Approved hero lockup v1.0.4 — match approved skyline concept === */
.home-page .hero {
  min-height: 760px;
  padding: 126px 0 52px;
  background-position: center center;
  background-size: cover;
}
.home-page .hero::before { opacity: .58; }
.home-page .hero-content {
  max-width: 520px;
}
.home-page .hero .eyebrow {
  color: var(--orange-500);
  margin-bottom: 10px;
}
.home-page .hero .display-title {
  max-width: 500px;
  font-size: clamp(3.6rem, 5.45vw, 5.6rem);
  line-height: .92;
  letter-spacing: -.03em;
  text-shadow: 0 4px 22px rgba(0,0,0,.3);
}
.home-page .hero .display-title::after {
  width: min(280px, 68%);
  margin-top: 16px;
}
.home-page .hero-subhead {
  max-width: 430px;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  line-height: 1.18;
  color: var(--white);
}
.home-page .hero-copy {
  max-width: 450px;
  margin-top: 14px;
  font-size: .89rem;
  line-height: 1.66;
}
.home-page .hero-actions { margin-top: 24px; }
.home-page .hero .btn {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .75rem;
}
.home-page .hero .btn-outline { background: rgba(3,19,33,.16); }
.home-page .hero-mark {
  right: clamp(18px, 3.2vw, 50px);
  top: 138px;
  width: min(38vw, 500px);
  padding: 0;
  isolation: isolate;
}
.home-page .hero-mark::before {
  content: "";
  position: absolute;
  inset: -18% -14% -14% -14%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(3,19,33,.54) 0%, rgba(3,19,33,.28) 46%, transparent 72%);
  filter: blur(4px);
  pointer-events: none;
}
.home-page .hero-mark img {
  width: 100%;
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.46));
}
.home-page .hero-stats {
  margin-top: 40px;
  grid-template-columns: repeat(4, minmax(0,1fr));
  background: rgba(3,19,33,.56);
  backdrop-filter: blur(8px);
}
.home-page .stat { padding: 18px 22px; }
.home-page .stat strong { font-size: clamp(1.8rem, 3vw, 2.65rem); }
.home-page .stat span { font-size: .66rem; line-height: 1.35; }

@media (max-width: 1150px) {
  .home-page .hero-mark { width: min(35vw, 420px); }
}
@media (max-width: 980px) {
  .home-page .hero {
    min-height: 820px;
    background-position: 60% center;
  }
  .home-page .hero-mark {
    width: min(33vw, 350px);
    top: 154px;
  }
}
@media (max-width: 820px) {
  .home-page .hero {
    min-height: 0;
    padding: 108px 0 44px;
    background-position: 62% center;
  }
  .home-page .hero .display-title {
    font-size: clamp(3rem, 10vw, 4.35rem);
  }
  .home-page .hero-mark {
    position: static;
    width: min(70vw, 310px);
    margin: 22px 0 6px auto;
  }
  .home-page .hero-mark::before { inset: -14%; }
  .home-page .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .home-page .hero { background-position: 66% center; }
  .home-page .hero .display-title {
    font-size: clamp(2.65rem, 14vw, 3.8rem);
  }
  .home-page .hero-copy { font-size: .83rem; }
  .home-page .hero-stats { grid-template-columns: 1fr; }
  .home-page .hero-mark { width: min(76vw, 290px); }
}


/* === Refinement pass v1.0.5 === */
html { scroll-behavior: smooth; }
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.site-header {
  background: linear-gradient(180deg, rgba(2,15,26,.88), rgba(2,15,26,.62));
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.site-header.scrolled {
  background: rgba(2,15,26,.88);
}
.header-inner { padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 98px; }
.site-header.scrolled .brand img { width: 90px; }
.nav a {
  position: relative;
  transition: color .25s ease, opacity .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange-500), transparent 85%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.btn, .service-card, .project-card, .why-item, .quote-card, .testimonial-long, .approach-card, .market {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background-color .35s ease;
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.hero {
  min-height: 760px;
  padding: 134px 0 62px;
  background-image:
    radial-gradient(circle at 82% 38%, rgba(11,24,39,.18) 0%, rgba(11,24,39,.06) 20%, transparent 40%),
    linear-gradient(90deg, rgba(3,19,33,.96) 0%, rgba(3,19,33,.89) 28%, rgba(3,19,33,.57) 58%, rgba(3,19,33,.26) 100%),
    linear-gradient(180deg, rgba(3,19,33,.18) 0%, rgba(3,19,33,.18) 26%, rgba(3,19,33,.74) 100%),
    url('assets/images/nashville-hero-clean.webp');
  background-size: cover;
  background-position: center 28%;
}
.hero::before {
  width: min(42vw, 580px);
  background:
    linear-gradient(rgba(159,193,217,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,193,217,.06) 1px, transparent 1px);
}
.hero::after { height: 155px; }
.hero-layout { position: relative; }
.hero-content { max-width: 510px; }
.hero .eyebrow { color: var(--orange-500); }
.hero .display-title {
  font-size: clamp(3.6rem, 5vw, 5.45rem);
  line-height: .92;
  letter-spacing: -.035em;
  text-shadow: 0 8px 30px rgba(0,0,0,.22);
}
.hero .display-title::after { width: min(280px, 68%); margin-top: 16px; }
.hero-subhead {
  margin-top: 18px;
  max-width: 430px;
  font-size: clamp(1.1rem, 1.65vw, 1.42rem);
  line-height: 1.22;
  color: var(--white);
}
.hero-copy {
  max-width: 455px;
  margin-top: 14px;
  font-size: .94rem;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
}
.hero-actions { margin-top: 24px; gap: 14px; }
.hero-mark {
  position: absolute;
  top: 112px;
  right: clamp(10px, 2vw, 34px);
  width: min(42vw, 560px);
  z-index: 2;
}
.hero-mark::before {
  content: "";
  position: absolute;
  inset: -10% -8% -8% -10%;
  z-index: -1;
  background: radial-gradient(circle at center, rgba(2,15,26,.32) 0%, rgba(2,15,26,.18) 42%, transparent 72%);
  filter: blur(6px);
}
.hero-mark img {
  width: 100%;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.42));
}
.hero-stats {
  margin-top: 38px;
  background: rgba(4,18,31,.5);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.stat { padding: 18px 22px; }
.stat strong { font-size: clamp(1.95rem, 2.8vw, 2.75rem); }
.section, .cta-band { position: relative; }
.service-card:hover,
.service-card:focus-within,
.project-card:hover,
.project-card:focus-visible,
.why-item:hover,
.quote-card:hover,
.approach-card:hover,
.market:hover,
.testimonial-long:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}
.service-card:hover, .service-card:focus-within, .why-item:hover, .approach-card:hover, .market:hover {
  border-color: rgba(237,126,33,.5);
}
.project-card-media img, .featured-project-media img, .hero-media-frame img {
  transition: transform .5s ease;
}
.project-card:hover .project-card-media img,
.featured-project:hover .featured-project-media img { transform: scale(1.035); }
.quote-card, .testimonial-long {
  background: linear-gradient(180deg, rgba(3,19,33,.04), rgba(3,19,33,.08));
}
.cta-band-hardhat {
  background-position: center center, left center, center center;
}
@media (max-width: 1200px) {
  .hero-mark { width: min(39vw, 500px); right: 6px; }
}
@media (max-width: 980px) {
  .brand img { width: 88px; }
  .site-header.scrolled .brand img { width: 82px; }
  .hero {
    min-height: 780px;
    padding-top: 120px;
    background-position: 58% 28%;
  }
  .hero-content { max-width: 490px; }
  .hero-mark { top: 132px; width: min(36vw, 380px); }
}
@media (max-width: 820px) {
  .hero {
    min-height: 0;
    padding: 110px 0 46px;
    background-position: 62% 30%;
  }
  .hero-content { max-width: 100%; }
  .hero .display-title { font-size: clamp(3rem, 10.6vw, 4.4rem); }
  .hero-mark {
    position: static;
    margin: 22px auto 8px;
    width: min(78vw, 320px);
  }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .brand img { width: 80px; }
  .hero {
    background-position: 64% 34%;
  }
  .hero-copy { font-size: .86rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { padding: 16px 18px; }
}


/* === Interaction + portrait refinement v1.0.7 === */
body { --scroll-progress: 0%; }
body::before {
  content: "";
  position: fixed;
  inset: 0 auto auto 0;
  width: var(--scroll-progress);
  height: 3px;
  z-index: 9998;
  background: linear-gradient(90deg, var(--orange-500), #f0a04c 65%, rgba(255,255,255,.9));
  box-shadow: 0 0 18px rgba(238,106,23,.45);
  pointer-events: none;
}
.page-hero-founder {
  background:
    linear-gradient(90deg, rgba(3,19,33,.95) 0%, rgba(3,19,33,.82) 46%, rgba(3,19,33,.55) 100%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    url('assets/images/nashville-dusk.webp');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}
.page-hero-founder .page-hero-copy { position: relative; z-index: 2; }
.page-hero-founder .page-hero-media { position: relative; z-index: 2; }
.founder-portrait-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 30px 60px rgba(0,0,0,.24);
}
.founder-portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 22%, transparent 70%, rgba(3,19,33,.18));
  pointer-events: none;
}
.founder-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.01);
  transition: transform .55s ease;
}
.founder-portrait-card:hover img { transform: scale(1.035); }
.founder-portrait-card .hero-media-note {
  background: linear-gradient(180deg, rgba(3,19,33,.1), rgba(3,19,33,.78));
}
.reveal { transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.interactive-surface {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.interactive-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.12), transparent 42%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 0;
}
.interactive-surface > * { position: relative; z-index: 1; }
.interactive-surface.is-hovering::after { opacity: 1; }
.project-card.interactive-surface:hover,
.service-card.interactive-surface:hover,
.why-item.interactive-surface:hover,
.approach-card.interactive-surface:hover,
.market.interactive-surface:hover,
.testimonial-long.interactive-surface:hover,
.vm-card.interactive-surface:hover,
.mini-stat.interactive-surface:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(0,14,30,.16);
}
.hero-mark img, .page-hero-founder .page-hero-media {
  will-change: transform;
}
.btn.btn-primary, .btn.btn-outline {
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn.btn-primary:hover, .btn.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0,14,30,.16);
}
.quote-card, .testimonial-long, .vm-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
@media (prefers-reduced-motion: reduce) {
  body::before { display:none; }
  .interactive-surface::after, .founder-portrait-card img, .hero-mark img, .page-hero-founder .page-hero-media { transition: none !important; }
}

/* === Signature motion pass v1.0.8 === */
/* Homepage: make the ALG mark feel constructed on screen. */
.home-page .hero-mark.hero-logo-build {
  width: min(46vw, 630px);
  aspect-ratio: 602 / 548;
  right: clamp(4px, 1.4vw, 24px);
  top: 88px;
  padding: 0;
  filter: none;
}
.home-page .hero-logo-build::before {
  content: "";
  position: absolute;
  inset: -8% -7%;
  z-index: -2;
  background:
    linear-gradient(rgba(159,193,217,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,193,217,.08) 1px, transparent 1px),
    radial-gradient(ellipse at center, rgba(3,19,33,.42), rgba(3,19,33,.12) 52%, transparent 72%);
  background-size: 42px 42px, 42px 42px, auto;
  opacity: 0;
  animation: algBlueprintIn .7s ease .08s forwards;
  pointer-events: none;
}
.home-page .hero-logo-build::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 2%;
  bottom: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238,106,23,.95) 18%, rgba(238,106,23,.35) 78%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: algBuildRule 1.05s cubic-bezier(.2,.8,.2,1) .5s forwards;
}
.home-page .hero-logo-build .logo-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.42));
  will-change: transform, opacity;
}
.home-page .hero-logo-build .logo-piece-top {
  clip-path: polygon(0 0,100% 0,100% 39%,0 39%);
  transform: translateY(-48px);
  animation: algPieceTop .72s cubic-bezier(.16,.84,.2,1) .12s forwards;
}
.home-page .hero-logo-build .logo-piece-left {
  clip-path: polygon(0 31%,42% 31%,42% 100%,0 100%);
  transform: translateX(-58px);
  animation: algPieceLeft .78s cubic-bezier(.16,.84,.2,1) .28s forwards;
}
.home-page .hero-logo-build .logo-piece-center {
  clip-path: polygon(34% 27%,72% 27%,72% 100%,34% 100%);
  transform: translateY(58px);
  animation: algPieceCenter .8s cubic-bezier(.16,.84,.2,1) .42s forwards;
}
.home-page .hero-logo-build .logo-piece-right {
  clip-path: polygon(64% 28%,100% 28%,100% 100%,64% 100%);
  transform: translateX(58px);
  animation: algPieceRight .78s cubic-bezier(.16,.84,.2,1) .54s forwards;
}
.home-page .hero-logo-build .logo-piece-final {
  clip-path: none;
  transform: scale(.992);
  animation: algLogoSettle .6s ease 1.2s forwards;
}
@keyframes algBlueprintIn { to { opacity: .68; } }
@keyframes algBuildRule { to { transform: scaleX(1); } }
@keyframes algPieceTop { to { opacity: 1; transform: translateY(0); } }
@keyframes algPieceLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes algPieceCenter { to { opacity: 1; transform: translateY(0); } }
@keyframes algPieceRight { to { opacity: 1; transform: translateX(0); } }
@keyframes algLogoSettle { 0% { opacity: 0; transform: scale(.992); } 100% { opacity: 1; transform: scale(1); } }

/* Homepage: elegant continuous testimonial movement at the bottom. */
.testimonial-marquee-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(238,106,23,.06), transparent 22%, transparent 78%, rgba(238,106,23,.06)),
    #02111e;
  border-top: 1px solid rgba(217,152,80,.24);
  border-bottom: 1px solid rgba(217,152,80,.24);
  padding: 28px 0 34px;
}
.testimonial-marquee-heading {
  width: var(--container);
  margin: 0 auto 20px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.testimonial-marquee-heading span {
  color: var(--orange-500);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.testimonial-marquee-heading strong {
  font-family: var(--serif);
  font-size: clamp(1.45rem,2.2vw,2.1rem);
  font-weight: 600;
}
.testimonial-marquee {
  position: relative;
  overflow: hidden;
  outline: none;
}
.testimonial-marquee::before,
.testimonial-marquee::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: min(12vw,130px);
  background: linear-gradient(90deg,#02111e,rgba(2,17,30,0));
  pointer-events: none;
}
.testimonial-marquee::after {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
.testimonial-marquee-track {
  display: flex;
  width: max-content;
  gap: 24px;
  padding: 2px 12px 8px;
  animation: algTestimonials 34s linear infinite;
  will-change: transform;
}
.testimonial-marquee:hover .testimonial-marquee-track,
.testimonial-marquee:focus-within .testimonial-marquee-track { animation-play-state: paused; }
.marquee-testimonial {
  position: relative;
  width: min(560px,78vw);
  min-height: 164px;
  padding: 26px 30px 22px 66px;
  border: 1px solid rgba(159,193,217,.18);
  background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
}
.marquee-quote-mark {
  position: absolute;
  left: 22px;
  top: 12px;
  font-family: Georgia,serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(159,193,217,.42);
}
.marquee-testimonial p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem,1.8vw,1.55rem);
  font-style: italic;
  line-height: 1.25;
  color: rgba(255,255,255,.9);
}
.marquee-testimonial cite {
  display: block;
  margin-top: 14px;
  color: var(--orange-500);
  font-style: normal;
  font-size: .79rem;
  font-weight: 700;
}
.marquee-testimonial cite small {
  margin-left: 7px;
  color: rgba(255,255,255,.56);
  font-weight: 500;
}
@keyframes algTestimonials { to { transform: translateX(calc(-50% - 12px)); } }

/* Contact page: LET'S BUILD and Allen's quote enter from opposite sides. */
.contact-build-moment {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 16% 50%,rgba(238,106,23,.10),transparent 30%),
    linear-gradient(180deg,var(--navy-900),var(--navy-950));
  border-top: 1px solid rgba(217,152,80,.24);
  border-bottom: 1px solid rgba(217,152,80,.24);
}
.contact-build-moment::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg,var(--orange-500),transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: algBuildRule 1.2s ease .35s forwards;
}
.build-moment-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(34px,7vw,100px);
  align-items: center;
}
.build-word {
  font-family: var(--serif);
  font-size: clamp(4.3rem,9vw,8.4rem);
  font-weight: 600;
  line-height: .72;
  letter-spacing: -.05em;
  color: var(--white);
  text-shadow: 0 14px 34px rgba(0,0,0,.25);
}
.build-word::first-line { color: var(--blue-300); }
.build-quote {
  position: relative;
  margin: 0;
  padding: 20px 0 20px 54px;
  border-left: 1px solid rgba(217,152,80,.46);
}
.build-quote-mark {
  position: absolute;
  left: 16px;
  top: 2px;
  font-family: Georgia,serif;
  font-size: 4.8rem;
  color: rgba(159,193,217,.38);
  line-height: 1;
}
.build-quote p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem,2.7vw,2.45rem);
  font-style: italic;
  line-height: 1.16;
  color: rgba(255,255,255,.9);
}
.build-quote cite {
  display: block;
  margin-top: 18px;
  color: var(--orange-500);
  font-size: .85rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .02em;
}
.build-quote cite small {
  margin-left: 8px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
}
.motion-in-left { opacity: 0; transform: translate3d(-80px,0,0); }
.motion-in-right { opacity: 0; transform: translate3d(80px,0,0); }
.motion-in-left.visible,
.motion-in-right.visible { opacity: 1; transform: translate3d(0,0,0); }

@media (max-width: 1120px) {
  .home-page .hero-mark.hero-logo-build { width: min(43vw,530px); top: 120px; }
}
@media (max-width: 820px) {
  .home-page .hero-mark.hero-logo-build {
    position: relative;
    inset: auto;
    width: min(84vw,390px);
    margin: 28px auto 6px;
  }
  .build-moment-grid { grid-template-columns: 1fr; gap: 32px; }
  .build-word { line-height: .78; }
  .testimonial-marquee-heading { flex-direction: column; gap: 4px; }
}
@media (max-width: 560px) {
  .home-page .hero-mark.hero-logo-build { width: min(88vw,340px); }
  .marquee-testimonial { width: 86vw; padding: 24px 24px 20px 56px; }
  .build-quote { padding-left: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-logo-build .logo-piece,
  .home-page .hero-logo-build::before,
  .home-page .hero-logo-build::after,
  .contact-build-moment::after { animation: none !important; }
  .home-page .hero-logo-build .logo-piece:not(.logo-piece-final) { display: none; }
  .home-page .hero-logo-build .logo-piece-final { opacity: 1; transform: none; }
  .testimonial-marquee { overflow-x: auto; }
  .testimonial-marquee-track { animation: none; }
  .motion-in-left, .motion-in-right { opacity: 1; transform: none; }
}


/* === Guaranteed motion engine v1.0.9 ===
   These rules intentionally sit at the end of the stylesheet so hosting/CDN
   optimizers cannot leave the earlier static state in control. */
.home-page .hero-mark.hero-logo-build {
  width: min(49vw, 690px);
  top: 72px;
  right: clamp(-8px, .4vw, 10px);
}

/* The logo pieces remain in a staged starting position until JS explicitly
   starts the construction sequence. This makes the animation visible even on
   cached/fast connections where a CSS-on-load animation can finish too early. */
.home-page .hero-logo-build[data-logo-build] .logo-piece,
.home-page .hero-logo-build[data-logo-build]::before,
.home-page .hero-logo-build[data-logo-build]::after {
  animation: none !important;
}
.home-page .hero-logo-build[data-logo-build]::before { opacity: 0; }
.home-page .hero-logo-build[data-logo-build]::after { transform: scaleX(0); }
.home-page .hero-logo-build[data-logo-build] .logo-piece-top { opacity:0; transform:translate3d(0,-72px,0); }
.home-page .hero-logo-build[data-logo-build] .logo-piece-left { opacity:0; transform:translate3d(-92px,0,0); }
.home-page .hero-logo-build[data-logo-build] .logo-piece-center { opacity:0; transform:translate3d(0,78px,0); }
.home-page .hero-logo-build[data-logo-build] .logo-piece-right { opacity:0; transform:translate3d(92px,0,0); }
.home-page .hero-logo-build[data-logo-build] .logo-piece-final { opacity:0; transform:scale(.965); }
.home-page .hero-logo-build[data-logo-build].is-building::before {
  animation: algBlueprintInV109 .85s ease .05s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building::after {
  animation: algBuildRuleV109 1.3s cubic-bezier(.2,.8,.2,1) .55s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-top {
  animation: algPieceTopV109 .9s cubic-bezier(.16,.84,.2,1) .12s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-left {
  animation: algPieceLeftV109 .95s cubic-bezier(.16,.84,.2,1) .34s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-center {
  animation: algPieceCenterV109 .95s cubic-bezier(.16,.84,.2,1) .54s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-right {
  animation: algPieceRightV109 .95s cubic-bezier(.16,.84,.2,1) .72s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-final {
  animation: algLogoSettleV109 .8s cubic-bezier(.16,.84,.2,1) 1.35s forwards !important;
}
.home-page .hero-logo-build[data-logo-build].is-built {
  animation: algLogoFloatV109 5.5s ease-in-out infinite;
}
.home-page .hero-logo-build[data-logo-build].is-built .logo-piece-final { opacity:1 !important; transform:none !important; }
@keyframes algBlueprintInV109 { from { opacity:0; } to { opacity:.78; } }
@keyframes algBuildRuleV109 { from { transform:scaleX(0); } to { transform:scaleX(1); } }
@keyframes algPieceTopV109 { from { opacity:0; transform:translate3d(0,-72px,0); } to { opacity:1; transform:none; } }
@keyframes algPieceLeftV109 { from { opacity:0; transform:translate3d(-92px,0,0); } to { opacity:1; transform:none; } }
@keyframes algPieceCenterV109 { from { opacity:0; transform:translate3d(0,78px,0); } to { opacity:1; transform:none; } }
@keyframes algPieceRightV109 { from { opacity:0; transform:translate3d(92px,0,0); } to { opacity:1; transform:none; } }
@keyframes algLogoSettleV109 { from { opacity:0; transform:scale(.965); filter:blur(2px); } to { opacity:1; transform:scale(1); filter:none; } }
@keyframes algLogoFloatV109 { 0%,100% { transform:translate3d(0,0,0); } 50% { transform:translate3d(0,-8px,0); } }

/* JS-driven marquee. CSS animation remains only as a no-JS fallback. */
.testimonial-marquee[data-marquee] .testimonial-marquee-track {
  animation: none !important;
  transform: translate3d(0,0,0);
}
.testimonial-marquee[data-marquee].marquee-fallback .testimonial-marquee-track {
  animation: algTestimonials 34s linear infinite !important;
}
.testimonial-marquee[data-marquee] .marquee-testimonial {
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.testimonial-marquee[data-marquee] .marquee-testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(238,106,23,.48);
  background: linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
}

/* Contact motion is deliberately obvious: both elements travel into position
   and the quote settles a beat after LET'S BUILD. */
.contact-build-moment [data-motion="left"],
.contact-build-moment [data-motion="right"] {
  opacity: 0;
  transition: opacity .95s cubic-bezier(.2,.8,.2,1), transform .95s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.contact-build-moment [data-motion="left"] { transform: translate3d(-150px,0,0) skewX(-3deg); }
.contact-build-moment [data-motion="right"] { transform: translate3d(150px,0,0); transition-delay:.18s; }
.contact-build-moment [data-motion].motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) skewX(0deg);
}
.contact-build-moment.motion-complete .build-word {
  animation: algBuildGlowV109 5s ease-in-out infinite 1.2s;
}
@keyframes algBuildGlowV109 {
  0%,100% { text-shadow:0 14px 34px rgba(0,0,0,.25); }
  50% { text-shadow:0 14px 34px rgba(0,0,0,.25), 0 0 28px rgba(159,193,217,.18); }
}

/* Keep motion accessible. Visitors who ask for reduced motion receive a stable
   layout; everyone else receives the full client-facing motion treatment. */
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-logo-build[data-logo-build] .logo-piece:not(.logo-piece-final) { display:none !important; }
  .home-page .hero-logo-build[data-logo-build] .logo-piece-final { opacity:1 !important; transform:none !important; animation:none !important; }
  .home-page .hero-logo-build[data-logo-build]::before { opacity:.5 !important; animation:none !important; }
  .home-page .hero-logo-build[data-logo-build]::after { transform:scaleX(1) !important; animation:none !important; }
  .home-page .hero-logo-build[data-logo-build] { animation:none !important; }
  .testimonial-marquee[data-marquee] { overflow-x:auto; }
  .testimonial-marquee[data-marquee] .testimonial-marquee-track { transform:none !important; animation:none !important; }
  .contact-build-moment [data-motion] { opacity:1 !important; transform:none !important; transition:none !important; }
}
@media (max-width:1120px) {
  .home-page .hero-mark.hero-logo-build { width:min(45vw,560px); top:112px; }
}
@media (max-width:820px) {
  .home-page .hero-mark.hero-logo-build { width:min(86vw,410px); top:auto; right:auto; }
}


/* === Homepage logo position + entrance refinement v1.0.10 ===
   This patch intentionally sits last so it overrides the older logo motion
   without changing the rest of the live GoDaddy design. */
.home-page .hero-mark.hero-logo-build {
  top: -55px;
  right: clamp(-10px, .2vw, 8px);
  width: min(50vw, 700px);
  transform-origin: 56% 52%;
}

/* Start slightly enlarged and lower/right, then move up and zoom OUT into
   its final position when the homepage first loads. */
.home-page .hero-logo-build[data-logo-build] {
  opacity: 0;
  transform: translate3d(78px, 118px, 0) scale(1.30);
  transition:
    opacity .72s ease,
    transform 1.45s cubic-bezier(.18,.82,.18,1);
  will-change: transform, opacity;
}
.home-page .hero-logo-build[data-logo-build].logo-entry-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

/* The older float animation used the same transform property and could fight
   with the entrance movement. Disable it until the entrance is finished. */
.home-page .hero-logo-build[data-logo-build].is-built {
  animation: none !important;
}
.home-page .hero-logo-build[data-logo-build].logo-entry-complete {
  animation: algLogoFloatV110 6s ease-in-out infinite !important;
}
@keyframes algLogoFloatV110 {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-6px,0) scale(1.006); }
}

/* Make the final logo settle a touch more crisply after the construction
   pieces assemble. */
.home-page .hero-logo-build[data-logo-build].is-building .logo-piece-final {
  animation: algLogoSettleV110 .9s cubic-bezier(.16,.84,.2,1) 1.20s forwards !important;
}
@keyframes algLogoSettleV110 {
  0% { opacity:0; transform:scale(1.08); filter:blur(3px); }
  100% { opacity:1; transform:scale(1); filter:none; }
}

@media (max-width:1120px) {
  .home-page .hero-mark.hero-logo-build {
    top: -20px;
    width: min(46vw, 590px);
  }
}
@media (max-width:820px) {
  .home-page .hero-mark.hero-logo-build {
    position: relative;
    top: auto;
    right: auto;
    width: min(88vw, 420px);
    margin: 8px auto 0;
  }
  .home-page .hero-logo-build[data-logo-build] {
    transform: translate3d(28px,54px,0) scale(1.18);
  }
  .home-page .hero-logo-build[data-logo-build].logo-entry-active {
    transform: translate3d(0,0,0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-logo-build[data-logo-build] {
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    animation:none !important;
  }
}


/* === Layout + portfolio refinement v1.0.11 === */
/* Home hero: keep the visual story in the first viewport and balance copy/logo. */
.home-page .hero {
  min-height: min(900px, 100svh);
  padding: 104px 0 28px;
  align-items: stretch;
}
.home-page .hero .container.hero-layout {
  min-height: calc(min(900px, 100svh) - 132px);
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(430px,1.08fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  column-gap: clamp(28px,4vw,72px);
}
.home-page .hero-content {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  max-width: 505px;
  padding-bottom: 10px;
}
.home-page .hero .display-title {
  font-size: clamp(3.25rem,4.7vw,5.2rem);
}
.home-page .hero-copy {
  max-width: 470px;
  font-size: clamp(.82rem,.9vw,.92rem);
  line-height: 1.62;
}
.home-page .hero-mark.hero-logo-build {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  top: auto;
  right: auto;
  width: min(100%, 700px);
  max-width: 700px;
  justify-self: center;
  align-self: center;
  margin: -26px auto 0;
}
.home-page .hero-stats {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 8px 0 0;
}
.home-page .stat { text-align:center; padding: 14px 18px; }
.home-page .stat strong { font-size: clamp(1.65rem,2.6vw,2.45rem); }
.home-page .stat span { font-size: .62rem; }
.home-page .section-heading-center .section-copy {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Client Perspective: one-pass presentation with more varied experience. */
.testimonial-marquee[data-marquee] .testimonial-marquee-track {
  animation: none !important;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.testimonial-marquee.marquee-complete .testimonial-marquee-track { will-change: auto; }
.marquee-experience { border-color: rgba(159,193,217,.25); }
.marquee-experience .experience-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange-500);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.marquee-experience .marquee-quote-mark { display:none; }

/* Portfolio: Project Details only; dates are intentionally not displayed. */
.project-actions-inline { justify-content:flex-start; }
.project-detail-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 0;
  color:var(--orange-600);
  font-weight:700;
  letter-spacing:.02em;
}
.project-detail-link:hover { transform:translateX(3px); }
.project-meta span:empty { display:none; }

/* Services: bring copy and hard-hat graphic higher so the first view feels complete. */
.page-hero.page-hero-split.page-hero-services {
  min-height: min(650px, 100svh);
  padding: 104px 0 34px;
  align-items: center;
}
.page-hero-services .page-hero-grid {
  gap: clamp(24px,3vw,46px);
  align-items: center;
}
.page-hero-services .page-hero-copy h1 {
  font-size: clamp(3.15rem,5.1vw,5.25rem);
  line-height:.92;
}
.page-hero-services .page-hero-copy > p:not(.eyebrow) {
  margin-top:14px;
  font-size:.95rem;
  line-height:1.62;
}
.page-hero-services .hero-actions { margin-top:20px; }
.page-hero-services .mini-stats { margin-top:20px; }
.page-hero-services .hero-media-frame img {
  min-height: 320px;
  max-height: 430px;
  object-fit: cover;
}

@media (max-height: 760px) and (min-width: 821px) {
  .home-page .hero { padding-top: 88px; }
  .home-page .hero .container.hero-layout { min-height: calc(100svh - 112px); }
  .home-page .hero .display-title { font-size: clamp(3rem,4.25vw,4.55rem); }
  .home-page .hero-copy { font-size:.81rem; line-height:1.52; }
  .home-page .hero-actions { margin-top:16px; }
  .home-page .hero-mark.hero-logo-build { max-width:590px; margin-top:-18px; }
  .home-page .hero-stats { margin-top:4px; }
  .page-hero.page-hero-split.page-hero-services { padding-top:88px; min-height:100svh; }
  .page-hero-services .page-hero-copy h1 { font-size:clamp(2.9rem,4.5vw,4.45rem); }
  .page-hero-services .hero-media-frame img { min-height:280px; max-height:360px; }
}

@media (max-width: 980px) {
  .home-page .hero { min-height:auto; padding:108px 0 36px; }
  .home-page .hero .container.hero-layout {
    min-height:0;
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
    gap:18px;
  }
  .home-page .hero-content { grid-column:1; grid-row:1; max-width:620px; }
  .home-page .hero-mark.hero-logo-build {
    grid-column:1; grid-row:2;
    width:min(82vw,500px);
    margin:-4px auto 0;
  }
  .home-page .hero-stats { grid-column:1; grid-row:3; margin-top:4px; }
}
@media (max-width: 820px) {
  .home-page .hero-stats { grid-template-columns:1fr 1fr 1fr; }
  .page-hero.page-hero-split.page-hero-services { min-height:0; padding:104px 0 44px; }
  .page-hero-services .hero-media-frame img { min-height:260px; max-height:360px; }
}
@media (max-width: 620px) {
  .home-page .hero-stats { grid-template-columns:1fr; }
  .home-page .hero-mark.hero-logo-build { width:min(88vw,390px); }
}


/* === v1.0.12 market-grid polish === */
.markets-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}
.market {
  min-height: 118px;
  padding: 24px 26px;
  align-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border-color: rgba(217,152,80,.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.market::before {
  width: 32px;
  height: 32px;
  top: 16px;
  right: 16px;
  opacity: .72;
}
.market span {
  max-width: 92%;
  font-size: clamp(1.18rem, 1.55vw, 1.42rem);
  line-height: 1.12;
  letter-spacing: -.01em;
}
.market:hover {
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(238,106,23,.035));
}
@media (max-width: 980px) {
  .markets-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .markets-grid { grid-template-columns: 1fr; gap: 12px; }
  .market { min-height: 96px; padding: 22px; }
}


/* === v1.0.13 Who We Are + Client Perspective refinement === */
.page-hero-founder.page-hero-split {
  min-height: 0;
  padding: 104px 0 42px;
  align-items: flex-start;
}
.page-hero-founder .page-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}
.page-hero-founder .page-hero-media {
  order: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transform: none !important;
}
.page-hero-founder .founder-portrait-card {
  width: min(350px, 78vw);
  height: 285px;
  margin: 0 auto;
  border-color: rgba(217,152,80,.45);
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.page-hero-founder .founder-portrait-card img {
  min-height: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 14%;
}
.page-hero-founder .page-hero-copy {
  order: 2;
  width: 100%;
  max-width: 820px;
  padding: 0;
  text-align: center;
}
.page-hero-founder .page-hero-copy .eyebrow,
.page-hero-founder .page-hero-copy h1,
.page-hero-founder .page-hero-copy > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-hero-founder .page-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5vw, 4.65rem);
  line-height: .94;
}
.page-hero-founder .page-hero-copy > p {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(255,255,255,.82);
}
.page-hero-founder .founder-stat-grid {
  width: min(720px, 100%);
  margin: 20px auto 0;
}
.page-hero-founder .mini-stat {
  text-align: center;
  padding: 12px 14px 11px;
}
.page-hero-founder .mini-stat strong { font-size: 1.65rem; }
.page-hero-founder .mini-stat span { font-size: .66rem; }

.client-perspective-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  color: var(--white);
  background:
    radial-gradient(circle at 14% 10%, rgba(238,106,23,.08), transparent 24%),
    linear-gradient(180deg,#041827,#02111e);
  border-top: 1px solid rgba(217,152,80,.24);
}
.client-perspective-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.client-perspective-heading .eyebrow { margin-bottom: 8px; }
.client-perspective-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem,4vw,3.6rem);
  line-height: .98;
}
.client-perspective-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
}
.client-perspective-card {
  position: relative;
  min-height: 220px;
  padding: 32px 32px 28px 66px;
  border: 1px solid rgba(159,193,217,.2);
  background: linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}
.client-perspective-card .marquee-quote-mark {
  left: 22px;
  top: 16px;
}
.client-perspective-card p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem,1.65vw,1.5rem);
  line-height: 1.35;
  font-style: italic;
  color: rgba(255,255,255,.92);
}
.client-perspective-card cite {
  display: block;
  margin-top: 18px;
  color: var(--orange-500);
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
}
.client-perspective-card cite small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.58);
  font-weight: 500;
}
@media (max-width:820px) {
  .page-hero-founder.page-hero-split { padding: 104px 0 38px; }
  .page-hero-founder .founder-portrait-card { width:min(320px,82vw); height:260px; }
  .page-hero-founder .page-hero-copy h1 { font-size:clamp(2.75rem,10vw,4rem); }
  .page-hero-founder .founder-stat-grid { grid-template-columns:1fr; gap:8px; max-width:480px; }
  .client-perspective-grid { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .page-hero-founder.page-hero-split { padding-top:94px; }
  .page-hero-founder .page-hero-grid { width:min(100% - 28px, 940px); gap:18px; }
  .page-hero-founder .founder-portrait-card { width:min(290px,88vw); height:235px; }
  .client-perspective-section { padding:44px 0 48px; }
  .client-perspective-card { padding:26px 22px 24px 56px; min-height:0; }
}


/* === v1.0.14 Founder layout, portfolio metadata + home CTA polish === */
/* Who We Are: keep the headline and portrait immediately visible, text left / portrait right. */
.page-hero-founder.page-hero-split {
  min-height: min(620px, 100svh);
  padding: 94px 0 36px;
  align-items: flex-start;
}
.page-hero-founder .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  width: var(--container);
  margin: 0 auto;
  text-align: left;
}
.page-hero-founder .page-hero-copy {
  order: 1;
  width: 100%;
  max-width: 650px;
  padding: 10px 0 0;
  text-align: left;
}
.page-hero-founder .page-hero-copy .eyebrow,
.page-hero-founder .page-hero-copy h1,
.page-hero-founder .page-hero-copy > p {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.page-hero-founder .page-hero-copy h1 {
  max-width: 640px;
  font-size: clamp(3.15rem, 5vw, 4.75rem);
  line-height: .93;
}
.page-hero-founder .page-hero-copy > p {
  max-width: 600px;
  margin-top: 16px;
  color: rgba(255,255,255,.82);
}
.page-hero-founder .founder-stat-grid {
  width: 100%;
  max-width: 620px;
  margin: 22px 0 0;
}
.page-hero-founder .page-hero-media {
  order: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 0;
  transform: none !important;
}
.page-hero-founder .founder-portrait-card {
  width: min(100%, 430px);
  height: 390px;
  margin: 0;
  border-color: rgba(217,152,80,.46);
  box-shadow: 0 26px 64px rgba(0,0,0,.30);
}
.page-hero-founder .founder-portrait-card img {
  min-height: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 12%;
}

/* Portfolio: project type left, location right directly beneath every image. */
.portfolio-grid { gap: 28px; }
.portfolio-project {
  border-color: rgba(3,19,33,.10);
  box-shadow: 0 14px 34px rgba(0,14,30,.10);
}
.portfolio-project img {
  height: 310px;
  object-fit: cover;
}
.portfolio-project .project-body { padding: 22px 24px 26px; }
.project-meta.project-meta-balanced {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(3,19,33,.10);
  font-size: .68rem;
  line-height: 1.35;
  letter-spacing: .11em;
}
.project-meta-balanced .project-type {
  color: var(--orange-600);
  font-weight: 800;
  text-align: left;
}
.project-meta-balanced .project-location {
  color: var(--navy-700);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.portfolio-project h2 { margin-top: 0; }
.project-single-meta { gap: 12px 22px; }
.project-single-meta span:first-child { color: var(--orange-500); font-weight: 700; }

/* Home CTA polish: keep Schedule a Conversation contained and balanced on all viewports. */
.home-page .hero-actions {
  max-width: 100%;
  align-items: center;
}
.home-page .hero-actions .btn,
.home-page .cta-band .btn-primary,
.home-page .header-cta {
  box-sizing: border-box;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.home-page .hero-actions .btn-primary {
  min-width: 194px;
  padding-left: 18px;
  padding-right: 18px;
}
.home-page .cta-band .btn-primary {
  min-width: 202px;
  padding-left: 18px;
  padding-right: 18px;
  justify-self: end;
}
.home-page .header-cta {
  min-width: 0;
  padding-left: 15px;
  padding-right: 15px;
  font-size: .74rem;
}

@media (max-width: 1050px) {
  .page-hero-founder.page-hero-split { padding-top: 96px; }
  .page-hero-founder .page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(300px,.82fr); gap: 30px; }
  .page-hero-founder .founder-portrait-card { height: 350px; }
  .page-hero-founder .page-hero-copy h1 { font-size: clamp(3rem, 5.7vw, 4.35rem); }
}
@media (max-width: 820px) {
  .page-hero-founder.page-hero-split { min-height: 0; padding: 104px 0 40px; }
  .page-hero-founder .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }
  .page-hero-founder .page-hero-copy { order: 1; max-width: 680px; padding-top: 0; }
  .page-hero-founder .page-hero-media { order: 2; justify-content: flex-start; }
  .page-hero-founder .founder-portrait-card { width: min(390px, 88vw); height: 320px; }
  .page-hero-founder .founder-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); max-width: 620px; }
  .home-page .cta-band .btn-primary { justify-self: start; }
}
@media (max-width: 620px) {
  .page-hero-founder .founder-stat-grid { grid-template-columns: 1fr; max-width: 460px; }
  .portfolio-project img { height: 250px; }
  .project-meta.project-meta-balanced {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .project-meta-balanced .project-location { text-align: left; white-space: normal; }
  .home-page .hero-actions .btn,
  .home-page .cta-band .btn-primary { width: 100%; min-width: 0; white-space: normal; }
}


/* === v1.0.15 Elegant interactive visual pass === */
/* Home: one complete ALG mark. It arrives slightly enlarged and to the right,
   zooms OUT into position, then remains completely static. */
.home-page .hero-mark.hero-logo-entrance {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  inset: auto;
  width: min(100%, 700px);
  max-width: 700px;
  justify-self: center;
  align-self: center;
  margin: -26px auto 0;
  padding: 0;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.42));
  z-index: 2;
}
.home-page .hero-logo-entrance::before,
.home-page .hero-logo-entrance::after { content: none !important; }
.home-page .hero-logo-entrance .hero-logo-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.home-page .hero-logo-entrance.motion-ready {
  opacity: 0;
  transform: translate3d(54px, 24px, 0) scale(1.19);
  filter: blur(1.2px) drop-shadow(0 20px 44px rgba(0,0,0,.46));
  will-change: transform, opacity, filter;
  transition:
    transform 1.55s cubic-bezier(.16,.84,.22,1),
    opacity .9s ease,
    filter 1.2s ease;
}
.home-page .hero-logo-entrance.motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0) drop-shadow(0 18px 40px rgba(0,0,0,.42));
}

/* Services: elegant entrance plus subtle pointer-responsive tilt. */
.page-hero-services .service-graphic-interactive {
  --service-rx: 0deg;
  --service-ry: 0deg;
  --service-x: 0px;
  --service-y: 0px;
  transform-origin: 52% 55%;
  will-change: transform, opacity;
  transition:
    transform .42s cubic-bezier(.2,.8,.2,1),
    border-color .35s ease,
    box-shadow .35s ease,
    opacity .7s ease;
}
.page-hero-services .service-graphic-interactive.motion-ready {
  opacity: 0;
  transform: perspective(1100px) translate3d(62px,18px,0) scale(1.075) rotateY(-2.2deg);
}
.page-hero-services .service-graphic-interactive.motion-ready.motion-active {
  opacity: 1;
  transform: perspective(1100px) translate3d(var(--service-x),var(--service-y),0) scale(1) rotateX(var(--service-rx)) rotateY(var(--service-ry));
  transition-duration: 1.15s, .35s, .35s, .72s;
}
.page-hero-services .service-graphic-interactive.motion-ready.motion-active.motion-settled {
  transition-duration: .24s, .35s, .35s, .35s;
}
.page-hero-services .service-graphic-interactive.motion-ready.motion-active:hover {
  border-color: rgba(217,152,80,.72);
  box-shadow: 0 30px 74px rgba(0,0,0,.38), 0 0 0 1px rgba(217,152,80,.08);
}
.page-hero-services .service-graphic-interactive img {
  transform: scale(1.015);
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .5s ease;
}
.page-hero-services .service-graphic-interactive:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.02);
}
.page-hero-services .service-graphic-interactive .hero-media-note {
  transition: transform .45s ease, background .45s ease;
}
.page-hero-services .service-graphic-interactive:hover .hero-media-note {
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(3,19,33,0), rgba(3,19,33,.96));
}

/* Who We Are: portrait slides/zooms in; proof-point boxes appear one at a time. */
.page-hero-founder .founder-portrait-card.motion-ready {
  opacity: 0;
  transform: translate3d(64px, 12px, 0) scale(1.075);
  filter: blur(1px);
  will-change: transform, opacity, filter;
  transition:
    transform 1.25s cubic-bezier(.16,.84,.22,1),
    opacity .78s ease,
    filter .9s ease;
}
.page-hero-founder .founder-portrait-card.motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
.page-hero-founder [data-founder-stat].motion-ready {
  opacity: 0;
  transform: translate3d(0,16px,0) scale(1.13);
  transform-origin: center center;
  will-change: transform, opacity;
  transition:
    transform .82s cubic-bezier(.16,.84,.22,1),
    opacity .55s ease,
    border-color .3s ease,
    background .3s ease;
}
.page-hero-founder [data-founder-stat].motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}
.page-hero-founder [data-founder-stat]:hover {
  border-color: rgba(217,152,80,.58);
  background: rgba(255,255,255,.075);
}

/* Contact: remove the old introductory hero. LET'S BUILD, Allen's quote and
   the inquiry form now make up the first screen together. */
.contact-hero-v15 {
  position: relative;
  overflow: hidden;
  padding: 106px 0 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 30%,rgba(238,106,23,.11),transparent 27%),
    radial-gradient(circle at 84% 28%,rgba(159,193,217,.08),transparent 24%),
    linear-gradient(180deg,#041827 0%,#02111e 100%);
  border-bottom: 1px solid rgba(217,152,80,.24);
}
.contact-hero-v15::after {
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:44%;
  height:1px;
  background:linear-gradient(90deg,var(--orange-500),transparent);
}
.contact-hero-grid-v15 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(430px,1.12fr);
  gap: clamp(34px,5vw,72px);
  align-items: start;
}
.contact-hero-message-v15 {
  padding-top: 18px;
}
.contact-hero-message-v15 .eyebrow { margin-bottom: 18px; }
.build-word-v15 {
  font-size: clamp(4.9rem,8.2vw,8.2rem);
  line-height: .74;
  margin: 0 0 32px;
}
.build-quote-v15 {
  max-width: 620px;
  padding: 18px 0 18px 48px;
}
.build-quote-v15 p {
  font-size: clamp(1.4rem,2.25vw,2.18rem);
  line-height: 1.16;
}
.contact-hero-prompt-v15 {
  max-width: 520px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  line-height: 1.65;
}
.contact-form-hero-v15 {
  padding: clamp(26px,3vw,36px);
  border-color: rgba(217,152,80,.18);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}
.contact-form-hero-v15 .eyebrow { margin-bottom: 7px; }
.contact-form-hero-v15 h1 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.6rem,4vw,3.75rem);
  line-height: .94;
}
.contact-form-intro-v15 {
  margin: 10px 0 20px;
  color: var(--slate-600);
  font-size: .88rem;
  line-height: 1.55;
}
.contact-form-grid-v15 { gap: 13px 15px; }
.contact-form-hero-v15 .field { gap: 5px; }
.contact-form-hero-v15 .field input,
.contact-form-hero-v15 .field select {
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact-form-hero-v15 .field textarea {
  min-height: 96px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact-submit-row-v15 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-submit-row-v15 .form-note {
  margin: 0;
  max-width: 210px;
  font-size: .66rem;
}
.contact-info-bar-v15 {
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(217,152,80,.24);
}
.contact-info-grid-v15 {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.contact-info-grid-v15 > * {
  min-width:0;
  padding: 20px 22px;
  border-right:1px solid rgba(255,255,255,.1);
  color:inherit;
}
.contact-info-grid-v15 > *:last-child { border-right:0; }
.contact-info-grid-v15 span {
  display:block;
  margin-bottom:5px;
  color:var(--orange-500);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.contact-info-grid-v15 strong {
  display:block;
  color:rgba(255,255,255,.82);
  font-size:.78rem;
  font-weight:500;
  line-height:1.5;
}
.contact-info-grid-v15 a:hover strong { color:var(--white); }
.contact-hero-message-v15.motion-ready {
  opacity:0;
  transform:translate3d(-58px,14px,0) scale(1.025);
  transition:transform 1.05s cubic-bezier(.16,.84,.22,1),opacity .7s ease;
}
.contact-hero-message-v15.motion-ready.motion-active {
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
.contact-form-hero-v15.motion-ready {
  opacity:0;
  transform:translate3d(58px,16px,0) scale(1.045);
  transition:transform 1.15s cubic-bezier(.16,.84,.22,1),opacity .78s ease;
}
.contact-form-hero-v15.motion-ready.motion-active {
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}

@media (max-height: 800px) and (min-width: 981px) {
  .contact-hero-v15 { padding-top: 92px; padding-bottom: 30px; }
  .build-word-v15 { font-size: clamp(4.25rem,7vw,6.7rem); margin-bottom: 24px; }
  .build-quote-v15 p { font-size: clamp(1.28rem,1.9vw,1.8rem); }
  .contact-form-hero-v15 { padding: 24px 28px; }
  .contact-form-hero-v15 h1 { font-size: clamp(2.35rem,3.25vw,3.1rem); }
  .contact-form-intro-v15 { margin-bottom: 14px; }
  .contact-form-grid-v15 { gap: 10px 13px; }
  .contact-form-hero-v15 .field textarea { min-height: 78px; }
}
@media (max-height: 760px) and (min-width: 821px) {
  .home-page .hero-mark.hero-logo-entrance { max-width: 590px; margin-top: -18px; }
}
@media (max-width: 980px) {
  .home-page .hero-mark.hero-logo-entrance {
    grid-column:1;
    grid-row:2;
    width:min(82vw,500px);
    margin:-4px auto 0;
  }
  .contact-hero-grid-v15 { grid-template-columns:1fr; gap:30px; }
  .contact-hero-message-v15 { padding-top:0; }
  .contact-form-hero-v15 { max-width:760px; width:100%; }
  .contact-info-grid-v15 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .contact-info-grid-v15 > *:nth-child(2) { border-right:0; }
  .contact-info-grid-v15 > *:nth-child(-n+2) { border-bottom:1px solid rgba(255,255,255,.1); }
}
@media (max-width: 620px) {
  .home-page .hero-mark.hero-logo-entrance { width:min(88vw,390px); }
  .contact-hero-v15 { padding: 98px 0 32px; }
  .build-word-v15 { font-size: clamp(4rem,20vw,5.6rem); }
  .contact-form-hero-v15 { padding: 24px 20px; }
  .contact-form-hero-v15 .form-grid { grid-template-columns:1fr; }
  .contact-submit-row-v15 { display:grid; }
  .contact-submit-row-v15 .form-note { max-width:none; }
  .contact-info-grid-v15 { grid-template-columns:1fr; }
  .contact-info-grid-v15 > * { border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  .contact-info-grid-v15 > *:last-child { border-bottom:0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-logo-entrance.motion-ready,
  .page-hero-services .service-graphic-interactive.motion-ready,
  .page-hero-founder .founder-portrait-card.motion-ready,
  .page-hero-founder [data-founder-stat].motion-ready,
  .contact-hero-message-v15.motion-ready,
  .contact-form-hero-v15.motion-ready {
    opacity:1 !important;
    transform:none !important;
    filter:none !important;
    transition:none !important;
  }
}


/* === v1.0.16 Refined motion + polished closing/contact compositions === */
:root {
  --alg-luxe-ease: cubic-bezier(.22,1,.36,1);
  --alg-luxe-soft: cubic-bezier(.16,.84,.22,1);
}

/* Site-wide reveals: slower, quieter, and more editorial. */
.reveal {
  transition:
    opacity 1.05s ease,
    transform 1.25s var(--alg-luxe-ease);
}
.reveal-delay-1 { transition-delay: .14s; }
.reveal-delay-2 { transition-delay: .28s; }
.reveal-delay-3 { transition-delay: .42s; }

/* Home logo: a slower glide + zoom-out, then fully static. */
.home-page .hero-logo-entrance.motion-ready {
  opacity: 0;
  transform: translate3d(44px,28px,0) scale(1.145);
  filter: blur(.8px) drop-shadow(0 22px 46px rgba(0,0,0,.46));
  transition:
    transform 2.35s var(--alg-luxe-ease),
    opacity 1.45s ease,
    filter 1.9s ease;
}
.home-page .hero-logo-entrance.motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0) drop-shadow(0 18px 40px rgba(0,0,0,.42));
}

/* Services hard-hat visual: restrained, slow architectural movement. */
.page-hero-services .service-graphic-interactive.motion-ready {
  opacity: 0;
  transform: perspective(1200px) translate3d(50px,20px,0) scale(1.065) rotateY(-1.4deg);
}
.page-hero-services .service-graphic-interactive.motion-ready.motion-active {
  opacity: 1;
  transform: perspective(1200px) translate3d(var(--service-x),var(--service-y),0) scale(1) rotateX(var(--service-rx)) rotateY(var(--service-ry));
  transition:
    transform 2.2s var(--alg-luxe-ease),
    border-color .5s ease,
    box-shadow .5s ease,
    opacity 1.35s ease;
}
.page-hero-services .service-graphic-interactive.motion-ready.motion-active.motion-settled {
  transition:
    transform .52s var(--alg-luxe-soft),
    border-color .45s ease,
    box-shadow .45s ease,
    opacity .45s ease;
}
.page-hero-services .service-graphic-interactive img {
  transition: transform 1.15s var(--alg-luxe-ease), filter .7s ease;
}

/* Who We Are: slower portrait entrance and refined staggered proof points. */
.page-hero-founder .founder-portrait-card.motion-ready {
  opacity: 0;
  transform: translate3d(56px,18px,0) scale(1.065);
  filter: blur(.8px);
  transition:
    transform 2.25s var(--alg-luxe-ease),
    opacity 1.35s ease,
    filter 1.7s ease;
}
.page-hero-founder .founder-portrait-card.motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
.page-hero-founder [data-founder-stat].motion-ready {
  opacity: 0;
  transform: translate3d(0,18px,0) scale(1.095);
  transition:
    transform 1.65s var(--alg-luxe-ease),
    opacity 1.05s ease,
    border-color .4s ease,
    background .4s ease;
}
.page-hero-founder [data-founder-stat].motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

/* Home closing CTA: centered, tailored, and protected from the background image. */
.home-project-cta.cta-band-hardhat {
  position: relative;
  overflow: hidden;
  padding: clamp(58px,6vw,82px) 0;
  background-image:
    linear-gradient(90deg,rgba(3,19,33,.985) 0%,rgba(3,19,33,.955) 35%,rgba(3,19,33,.93) 64%,rgba(3,19,33,.975) 100%),
    url('assets/images/plans-hardhat.webp'),
    linear-gradient(180deg,#051b2f,#031321);
  background-position: center, left 8% center, center;
  background-size: cover, min(46vw,680px) auto, cover;
  background-repeat: no-repeat;
}
.home-project-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(520px,58vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg,transparent,rgba(217,152,80,.72),transparent);
}
.home-project-cta .cta-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 26px;
  max-width: 980px;
  text-align: center;
}
.home-project-cta .cta-grid > div {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}
.home-project-cta h2 {
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(2.25rem,4vw,3.85rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-project-cta p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: clamp(.88rem,1.15vw,1rem);
  line-height: 1.72;
  color: rgba(255,255,255,.76);
  text-wrap: pretty;
}
.home-project-cta .btn {
  min-width: 230px;
  justify-content: center;
}

/* Contact: LET'S BUILD! lands first and boldly; inquiry form follows below. */
.contact-hero-v15 {
  padding: 102px 0 58px;
}
.contact-hero-grid-v15 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  width: min(100% - 36px, 1080px);
  align-items: start;
}
.contact-hero-message-v15 {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 0;
  text-align: center;
}
.contact-hero-message-v15 .eyebrow {
  margin-bottom: 18px;
  text-align: center;
}
.build-word-v15 {
  margin: 0 auto 24px;
  font-size: clamp(5rem,10.4vw,10.4rem);
  line-height: .78;
  letter-spacing: -.06em;
  white-space: nowrap;
  text-align: center;
  color: var(--white);
  text-shadow: 0 18px 44px rgba(0,0,0,.34);
}
.build-word-v15 > span { color: var(--blue-300); }
.build-word-v15 .build-exclamation {
  color: var(--orange-500);
  display: inline-block;
  margin-left: .015em;
  transform-origin: center bottom;
}
.build-quote-v15 {
  max-width: 780px;
  margin: 0 auto;
  padding: 18px 42px 14px;
  border-left: 0;
  border-top: 1px solid rgba(217,152,80,.34);
  border-bottom: 1px solid rgba(217,152,80,.18);
  text-align: center;
}
.build-quote-v15 .build-quote-mark {
  position: static;
  display: block;
  height: 34px;
  margin: -5px auto -4px;
  font-size: 4.1rem;
  line-height: .8;
}
.build-quote-v15 p {
  font-size: clamp(1.35rem,2vw,1.95rem);
  line-height: 1.2;
}
.build-quote-v15 cite { margin-top: 14px; }
.contact-hero-prompt-v15 {
  max-width: 650px;
  margin: 18px auto 0;
  font-size: .86rem;
  text-align: center;
}
.contact-form-hero-v15 {
  width: min(100%,900px);
  max-width: 900px;
  margin: 4px auto 0;
  padding: clamp(28px,3.4vw,42px);
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

/* The contact statement has a controlled landing rather than a quick slide. */
[data-contact-build].motion-ready {
  opacity: 0;
  transform: translate3d(0,-42px,0) scale(1.16);
  filter: blur(.7px);
}
[data-contact-build].motion-ready.motion-active {
  animation: algBuildLand 2.45s var(--alg-luxe-ease) both;
}
@keyframes algBuildLand {
  0% { opacity:0; transform:translate3d(0,-42px,0) scale(1.16); filter:blur(.7px); }
  68% { opacity:1; transform:translate3d(0,3px,0) scale(.992); filter:blur(0); }
  100% { opacity:1; transform:translate3d(0,0,0) scale(1); filter:blur(0); }
}
[data-contact-quote].motion-ready {
  opacity: 0;
  transform: translate3d(0,24px,0) scale(1.02);
  transition:
    transform 1.95s var(--alg-luxe-ease),
    opacity 1.3s ease;
}
[data-contact-quote].motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}
.contact-form-hero-v15.motion-ready {
  opacity: 0;
  transform: translate3d(0,30px,0) scale(1.035);
  transition:
    transform 2.05s var(--alg-luxe-ease),
    opacity 1.35s ease;
}
.contact-form-hero-v15.motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

@media (max-height: 820px) and (min-width: 981px) {
  .contact-hero-v15 { padding-top: 92px; }
  .build-word-v15 { font-size: clamp(4.8rem,8.8vw,8.3rem); margin-bottom: 20px; }
  .build-quote-v15 p { font-size: clamp(1.22rem,1.7vw,1.65rem); }
  .contact-form-hero-v15 { padding: 28px 34px; }
}
@media (max-width: 760px) {
  .home-project-cta.cta-band-hardhat {
    background-size: cover, 0 0, cover;
  }
  .home-project-cta .cta-grid { width: min(100% - 32px, 680px); }
  .home-project-cta h2 { font-size: clamp(2.15rem,8.8vw,3.2rem); }
  .contact-hero-v15 { padding: 94px 0 42px; }
  .contact-hero-grid-v15 { width: min(100% - 28px,1080px); gap: 26px; }
  .build-word-v15 {
    font-size: clamp(3.55rem,18vw,5.4rem);
    line-height: .78;
    white-space: normal;
  }
  .build-word-v15 > span { display: block; }
  .build-quote-v15 { padding: 16px 18px 12px; }
  .build-quote-v15 p { font-size: clamp(1.22rem,5.5vw,1.6rem); }
  .contact-form-hero-v15 { margin-top: 0; padding: 25px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-contact-build].motion-ready,
  [data-contact-quote].motion-ready {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}
.build-word-v15::first-line { color: var(--white); }


/* === v1.0.17 Signature polish: calm motion, fixed service/founder visuals, refined home CTA === */
:root {
  --alg-signature-ease: cubic-bezier(.16, .80, .20, 1);
  --alg-signature-ease-soft: cubic-bezier(.22, .72, .18, 1);
}

/* Overall motion is quieter: less travel, longer easing, no abrupt snap. */
.reveal {
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 1.05s ease,
    transform 1.45s var(--alg-signature-ease);
}
.reveal-delay-1 { transition-delay: .16s; }
.reveal-delay-2 { transition-delay: .30s; }
.reveal-delay-3 { transition-delay: .44s; }
.project-card.interactive-surface:hover,
.service-card.interactive-surface:hover,
.why-item.interactive-surface:hover,
.approach-card.interactive-surface:hover,
.market.interactive-surface:hover,
.testimonial-long.interactive-surface:hover,
.vm-card.interactive-surface:hover,
.mini-stat.interactive-surface:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0,14,30,.14);
}
.interactive-surface::after { transition: opacity .55s ease; }

/* HOME LOGO — visible immediately, then simply grows into its final presence. */
.home-page .hero-mark.hero-logo-entrance {
  width: min(100%, 720px);
  max-width: 720px;
  transform: scale(.90);
  transform-origin: center center;
  opacity: 1;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.40));
  will-change: transform;
}
.home-page .hero-logo-entrance.motion-ready {
  opacity: 1;
  transform: scale(.90);
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.40));
  transition:
    transform 2.75s var(--alg-signature-ease),
    filter 1.6s ease;
}
.home-page .hero-logo-entrance.motion-ready.motion-active {
  opacity: 1;
  transform: scale(1.025);
  filter: drop-shadow(0 21px 46px rgba(0,0,0,.44));
}
.home-page .hero-logo-entrance .hero-logo-image {
  transform: none !important;
  transition: none !important;
}

/* SERVICES — hard-hat visual is intentionally static, larger, and architectural. */
.page-hero-services .page-hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(440px, 1.06fr);
  gap: clamp(30px, 4vw, 62px);
}
.page-hero-services .page-hero-media { justify-content: flex-end; }
.page-hero-services .service-graphic-static {
  width: min(100%, 610px);
  max-width: 610px;
  margin-left: auto;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  transition: none !important;
  border-color: rgba(217,152,80,.42);
  box-shadow: 0 28px 68px rgba(0,0,0,.30);
}
.page-hero-services .service-graphic-static img {
  width: 100%;
  min-height: 350px;
  max-height: 465px;
  object-fit: cover;
  transform: none !important;
  transition: none !important;
}
.page-hero-services .service-graphic-static:hover,
.page-hero-services .service-graphic-static:hover img { transform: none !important; }

/* WHO WE ARE — portrait is fixed. Only the three proof-point panels animate. */
.page-hero-founder .founder-portrait-card,
.page-hero-founder .founder-portrait-card.motion-ready,
.page-hero-founder .founder-portrait-card.motion-active {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}
.page-hero-founder .founder-portrait-card img,
.page-hero-founder .founder-portrait-card:hover img {
  transform: scale(1.01) !important;
  transition: none !important;
}
.page-hero-founder [data-founder-stat].motion-ready {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(.94);
  filter: blur(.25px);
  transition:
    transform 1.9s var(--alg-signature-ease),
    opacity 1.35s ease,
    filter 1.5s ease,
    border-color .55s ease,
    background .55s ease,
    box-shadow .55s ease;
}
.page-hero-founder [data-founder-stat].motion-ready.motion-active {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  filter: blur(0);
}
.page-hero-founder [data-founder-stat]:hover {
  transform: translateY(-2px) scale(1.008);
}

/* HOME CLOSING CTA — text is contained on the photograph; button sits to the right. */
.home-project-cta.cta-band-hardhat {
  min-height: 300px;
  padding: clamp(52px, 5.6vw, 72px) 0;
  background-image:
    linear-gradient(90deg,
      rgba(3,19,33,.96) 0%,
      rgba(3,19,33,.91) 36%,
      rgba(3,19,33,.82) 63%,
      rgba(3,19,33,.72) 100%),
    url('assets/images/plans-hardhat.webp');
  background-position: center, center 48%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.home-project-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,19,33,.08), rgba(3,19,33,.18)),
    linear-gradient(90deg, rgba(217,152,80,.08), transparent 40%);
}
.home-project-cta .cta-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: stretch;
  gap: clamp(36px, 5vw, 82px);
  width: var(--container);
  max-width: 1180px;
  text-align: left;
}
.home-project-cta .cta-grid > div {
  width: 100%;
  max-width: 720px;
  margin: 0;
}
.home-project-cta h2 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.05rem, 3.25vw, 3.35rem);
  line-height: 1.01;
  letter-spacing: -.022em;
  text-align: left;
  text-wrap: balance;
}
.home-project-cta p {
  max-width: 650px;
  margin: 16px 0 0;
  font-size: clamp(.86rem, 1vw, .98rem);
  line-height: 1.68;
  color: rgba(255,255,255,.80);
  text-align: left;
  text-wrap: pretty;
}
.home-project-cta .btn {
  justify-self: end;
  width: auto;
  min-width: 232px;
  max-width: 260px;
  padding-inline: 24px;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}

/* Contact statement: retain impact but remove the small bounce from the prior pass. */
[data-contact-build].motion-ready {
  opacity: 0;
  transform: scale(.93);
  filter: blur(.35px);
}
[data-contact-build].motion-ready.motion-active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  animation: none !important;
  transition:
    transform 2.15s var(--alg-signature-ease),
    opacity 1.4s ease,
    filter 1.5s ease;
}
[data-contact-quote].motion-ready {
  opacity: 0;
  transform: translate3d(0,14px,0);
  transition: transform 1.8s var(--alg-signature-ease), opacity 1.25s ease;
}
.contact-form-hero-v15.motion-ready {
  opacity: 0;
  transform: translate3d(0,18px,0);
  transition: transform 1.85s var(--alg-signature-ease), opacity 1.25s ease;
}

@media (max-height: 760px) and (min-width: 981px) {
  .page-hero-services .service-graphic-static img { min-height: 310px; max-height: 380px; }
  .home-page .hero-mark.hero-logo-entrance { max-width: 650px; }
}
@media (max-width: 980px) {
  .page-hero-services .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-services .page-hero-media { justify-content: center; }
  .page-hero-services .service-graphic-static { width: min(100%, 620px); margin: 0 auto; }
  .home-project-cta.cta-band-hardhat {
    background-position: center, 62% center;
  }
  .home-project-cta .cta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100% - 40px, 760px);
    text-align: center;
  }
  .home-project-cta .cta-grid > div { max-width: 720px; margin: 0 auto; }
  .home-project-cta h2,
  .home-project-cta p { margin-left: auto; margin-right: auto; text-align: center; }
  .home-project-cta .btn { justify-self: center; }
}
@media (max-width: 620px) {
  .home-page .hero-mark.hero-logo-entrance { width: min(88vw, 405px); }
  .home-project-cta.cta-band-hardhat {
    min-height: 0;
    padding: 52px 0;
    background-position: center, 67% center;
  }
  .home-project-cta .cta-grid { width: min(100% - 30px, 620px); }
  .home-project-cta h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .home-project-cta .btn { width: min(100%, 290px); max-width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-mark.hero-logo-entrance,
  .home-page .hero-logo-entrance.motion-ready,
  .home-page .hero-logo-entrance.motion-ready.motion-active,
  .page-hero-founder [data-founder-stat].motion-ready,
  .page-hero-founder [data-founder-stat].motion-ready.motion-active,
  [data-contact-build].motion-ready,
  [data-contact-build].motion-ready.motion-active,
  [data-contact-quote].motion-ready,
  .contact-form-hero-v15.motion-ready {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* === v1.0.19 Services visual alignment ===
   Lower the approved static hard-hat artwork by about one visual inch
   from v1.0.18 while leaving the rest of the Services layout untouched. */
@media (min-width: 981px) {
  .page-hero-services .page-hero-media {
    align-self: flex-start;
    margin-top: -1.5rem;
  }
}
@media (min-width: 981px) and (max-height: 760px) {
  .page-hero-services .page-hero-media {
    margin-top: -0.5rem;
  }
}
