:root {
  color-scheme: dark;
  --ink: #f6f2ea;
  --muted: #bcb4a7;
  --soft: rgba(246, 242, 234, 0.72);
  --line: rgba(246, 242, 234, 0.16);
  --panel: rgba(17, 20, 22, 0.86);
  --panel-solid: #111416;
  --bg: #090b0d;
  --green: #a9d977;
  --cyan: #75d7e8;
  --amber: #f2b35f;
  --red: #ec6d65;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(115deg, rgba(117, 215, 232, 0.08), transparent 34%),
    linear-gradient(250deg, rgba(242, 179, 95, 0.11), transparent 38%),
    #090b0d;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 13, 0.72);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.trust-band,
.filter-controls,
.social-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(117, 215, 232, 0.95), rgba(169, 217, 119, 0.9));
  color: #061012;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--soft);
  font-size: 0.92rem;
}

.nav-links a:hover,
.site-footer a:hover,
.social-links a:hover {
  color: var(--cyan);
}

.nav-cta,
.button,
.filter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.nav-cta {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 6vw, 78px) 58px;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #111;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transform: scale(1.05);
  animation: drift 24s ease-in-out infinite alternate;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.92), rgba(9, 11, 13, 0.42) 43%, rgba(9, 11, 13, 0.74)),
    linear-gradient(0deg, rgba(9, 11, 13, 0.96), transparent 44%, rgba(9, 11, 13, 0.34));
}

.scanline {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 8px, rgba(255, 255, 255, 0.12) 9px);
  mix-blend-mode: screen;
}

.hero-content {
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.14rem;
  letter-spacing: 0;
}

p {
  color: var(--soft);
  line-height: 1.65;
}

.hero-copy {
  max-width: 680px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: var(--ink);
  color: #0a0c0e;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats,
.project-body dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hero-stats {
  max-width: 720px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

dt {
  font-size: 1.4rem;
  font-weight: 900;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-band {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  border-bottom: 1px solid var(--line);
  background: #101315;
}

.trust-band span {
  flex: 1 1 220px;
  padding: 18px;
  text-align: center;
  color: var(--soft);
  border-right: 1px solid var(--line);
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 78px);
}

.intro-grid,
.split-section,
.map-section,
.deliverables-section,
.comparison-section,
.specs-section,
.testimonials-section,
.industries-section,
.portal-section,
.blog-section,
.faq-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 1.12fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading > p {
  max-width: 430px;
}

.portfolio-section {
  border-bottom: 1px solid var(--line);
}

.filter-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  cursor: pointer;
}

.filter.active {
  background: var(--cyan);
  color: #061012;
}

.portfolio-grid,
.service-grid,
.pricing-grid,
.spec-grid,
.testimonial-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card,
.service-grid article,
.pricing-grid article,
.spec-grid article,
.testimonial-grid figure,
.blog-grid article,
.portal-panel,
.quote-tool,
.faq-list details,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.project-card {
  overflow: hidden;
  min-height: 100%;
}

.project-card.hidden {
  display: none;
}

.project-visual {
  height: 210px;
  background:
    linear-gradient(135deg, rgba(117, 215, 232, 0.22), transparent),
    linear-gradient(45deg, rgba(242, 179, 95, 0.28), transparent),
    #1d2324;
  position: relative;
  overflow: hidden;
}

.project-visual::before,
.project-visual::after,
.service-map::before,
.service-map::after {
  position: absolute;
  content: "";
}

.project-visual::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: skewY(-7deg);
}

.project-visual::after {
  width: 120%;
  height: 72px;
  left: -10%;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.16);
  clip-path: polygon(0 58%, 22% 35%, 44% 49%, 68% 18%, 100% 42%, 100% 100%, 0 100%);
}

.project-visual.construction {
  background-color: #23201a;
}

.project-visual.inspection {
  background-color: #181f24;
}

.project-visual.resort {
  background-color: #152624;
}

.project-visual.fpv {
  background-color: #241b21;
}

.project-visual.marina {
  background-color: #14212a;
}

.project-body,
.service-grid article,
.pricing-grid article,
.spec-grid article,
.blog-grid article {
  padding: 20px;
}

.project-body span,
.pricing-grid span,
.blog-grid span {
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-body dl {
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-body dt {
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
}

.project-body dd {
  font-size: 0.78rem;
}

.service-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
  line-height: 1.9;
}

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

.pricing-grid article.featured {
  border-color: rgba(117, 215, 232, 0.62);
  background: rgba(117, 215, 232, 0.1);
}

.pricing-grid h3 {
  font-size: 2.2rem;
  margin: 8px 0;
}

.quote-tool {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  resize: vertical;
}

.estimate {
  margin: 4px 0 0;
}

.service-map {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent 49%, rgba(117, 215, 232, 0.3) 50%, transparent 51%),
    linear-gradient(0deg, rgba(117, 215, 232, 0.1), transparent),
    #12181b;
}

.service-map::before {
  inset: 40px 70px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  transform: rotate(-12deg);
}

.service-map::after {
  inset: 90px 100px 70px 130px;
  background: rgba(117, 215, 232, 0.16);
  clip-path: polygon(16% 14%, 56% 4%, 89% 28%, 80% 78%, 42% 98%, 10% 70%);
}

.pin {
  position: absolute;
  z-index: 1;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: #071012;
  font-size: 0.82rem;
  font-weight: 900;
}

.nyc { left: 42%; top: 42%; }
.li { right: 13%; top: 49%; }
.nj { left: 20%; bottom: 28%; }
.ct { right: 22%; top: 18%; }

.deliverable-list,
.industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deliverable-list span,
.industry-grid span {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: var(--soft);
}

.comparison {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(236, 109, 101, 0.32), transparent 44%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 40px),
    #191817;
}

.after-pane {
  position: absolute;
  inset: 0;
  width: 52%;
  background:
    linear-gradient(135deg, rgba(117, 215, 232, 0.38), rgba(169, 217, 119, 0.16)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 42px),
    #172323;
  border-right: 3px solid var(--ink);
}

.comparison input {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 28px;
  width: 84%;
}

.before-label,
.after-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  padding: 8px 11px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.78rem;
  font-weight: 800;
}

.before-label {
  right: 18px;
}

.after-label {
  left: 18px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-list li {
  padding: 24px;
  background: var(--panel);
}

.process-list span {
  color: var(--cyan);
  font-weight: 900;
}

.testimonial-grid figure {
  margin: 0;
  padding: 22px;
}

blockquote {
  margin: 0;
  color: var(--ink);
  line-height: 1.65;
}

figcaption {
  margin-top: 18px;
  color: var(--muted);
}

.portal-panel {
  padding: 18px;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.portal-row strong {
  color: var(--muted);
}

.portal-row.complete strong {
  color: var(--green);
}

.portal-row.active strong {
  color: var(--cyan);
}

.portal-panel .button {
  width: 100%;
  margin-top: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

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

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.social-links {
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 6vw, 78px);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@keyframes drift {
  from {
    transform: scale(1.04) translate3d(-1%, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(2%, -1%, 0);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .intro-grid,
  .split-section,
  .map-section,
  .deliverables-section,
  .comparison-section,
  .specs-section,
  .testimonials-section,
  .industries-section,
  .portal-section,
  .blog-section,
  .faq-section,
  .contact-section,
  .portfolio-grid,
  .service-grid,
  .spec-grid,
  .testimonial-grid,
  .blog-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .filter-controls {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
    padding-top: 104px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .project-body dl,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-map,
  .comparison {
    min-height: 320px;
  }

  .site-footer {
    display: block;
  }
}
