:root {
  --ink: #0b1220;
  --navy: #08172d;
  --navy-2: #10233d;
  --red: #b8192b;
  --red-bright: #e22a3d;
  --gold: #c99b43;
  --mist: #edf1f5;
  --paper: #fbfbf8;
  --muted: #6d7682;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 70px rgba(5, 16, 31, 0.28);
  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(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

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

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

.sr-only {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  color: #fff;
}

.quote-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
}

.site-header.scrolled .nav-shell {
  width: 100%;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(8, 23, 45, 0.93);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 140px;
  flex: 0 0 140px;
  line-height: 0;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.84rem;
  font-weight: 750;
}

.nav-links a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 0 18px;
  background: var(--red);
}

.button {
  padding: 0 22px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--red);
  color: #fff;
}

.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

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

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 168px max(20px, calc((100vw - 1180px) / 2)) 92px;
  color: #fff;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(6, 19, 38, 0.96), rgba(8, 23, 45, 0.62) 48%, rgba(8, 23, 45, 0.2)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=80") center / cover;
  transform: scale(1.04);
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    radial-gradient(circle at 68% 38%, rgba(184, 25, 43, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(8, 23, 45, 0.15), rgba(8, 23, 45, 0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-bright);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 5.35vw, 5rem);
  line-height: 1;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  color: #fff;
}

.hero h1 span + span {
  color: var(--red-bright);
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.brief-card {
  position: absolute;
  z-index: 3;
  right: max(20px, calc((100vw - 1180px) / 2));
  top: 34%;
  width: min(300px, 28vw);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(7, 18, 35, 0.64);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brief-orbit {
  width: 142px;
  height: 142px;
  margin: -72px auto 18px;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.brief-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brief-card p,
.brief-card span {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.brief-card strong {
  display: block;
  margin: 8px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1.05;
}

.hero-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(5, 14, 28, 0.74);
  backdrop-filter: blur(16px);
}

.hero-ticker span {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.section,
.contact-section {
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  text-wrap: balance;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.intro-copy {
  color: #303946;
  font-size: 1.08rem;
  line-height: 1.85;
}

.intro-copy p:first-child {
  margin-top: 0;
}

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

.stats-grid div,
.service-card,
.quote-card,
.faq-list details,
.lead-form {
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 18, 32, 0.07);
}

.stats-grid div {
  min-height: 154px;
  padding: 26px;
}

.stats-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--red);
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: 0.95;
}

.stats-grid span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.services {
  background: var(--mist);
}

.service-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  padding: 26px;
  min-height: 282px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(11, 18, 32, 0.12);
}

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 36px 0 12px;
  font-size: 1.2rem;
}

.service-card p,
.quote-card blockquote,
.faq-list p,
.project-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.project-band {
  padding: 96px max(20px, calc((100vw - 1180px) / 2));
  background: var(--navy);
  color: #fff;
}

.light h2 {
  color: #fff;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: center;
}

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

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.project-card .compare {
  border-radius: 6px 6px 0 0;
  box-shadow: none;
}

.compare-small {
  min-height: 280px;
}

.compare img,
.before-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare img {
  object-fit: cover;
}

.before-wrap {
  overflow: hidden;
  width: 50%;
  border-right: 4px solid #fff;
}

.compare input {
  position: absolute;
  inset: auto 18px 24px;
  z-index: 4;
  width: calc(100% - 36px);
  accent-color: var(--red);
}

.compare-caption {
  position: absolute;
  right: 18px;
  bottom: 54px;
  left: 18px;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 4px;
  background: rgba(8, 23, 45, 0.78);
  color: #fff;
}

.compare-caption strong,
.compare-caption span {
  display: block;
}

.compare-caption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.4;
}

.project-card-details {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  color: var(--ink);
}

.project-card-details h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.project-card-details p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.tag {
  position: absolute;
  top: 18px;
  z-index: 4;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(8, 23, 45, 0.78);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.tag.left {
  left: 18px;
}

.tag.right {
  right: 18px;
}

.project-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.project-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.project-copy li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

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

.quote-card {
  margin: 0;
  padding: 30px;
}

.quote-card.red {
  background: var(--red);
  color: #fff;
}

.quote-card.red blockquote,
.quote-card.red figcaption {
  color: #fff;
}

.quote-card blockquote {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.quote-card figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.faq {
  background: var(--mist);
}

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

.faq-list details {
  padding: 22px 26px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(90deg, rgba(8, 23, 45, 0.97), rgba(8, 23, 45, 0.8)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #fff;
}

.contact-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-size: 1.1rem;
  font-weight: 900;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: #293344;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-form .full {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(11, 18, 32, 0.16);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form button {
  border: 0;
}

.lead-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 4px;
  background: rgba(201, 155, 67, 0.16);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.45;
}

.form-message.error {
  background: rgba(184, 25, 43, 0.12);
  color: var(--red);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px max(20px, calc((100vw - 1180px) / 2));
  background: #050d19;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.footer p {
  margin: 0;
}

.page-shell {
  min-height: 100vh;
  padding: 168px max(20px, calc((100vw - 920px) / 2)) 92px;
  background: var(--paper);
}

.page-shell h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
}

.page-content {
  color: #303946;
  font-size: 1.08rem;
  line-height: 1.8;
}

.page-content a {
  color: var(--red);
  font-weight: 800;
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.1) translateX(1.5%);
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 94px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 20px;
    background: rgba(8, 23, 45, 0.98);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
    transform: translateY(-150%);
    transition: transform 220ms ease;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: 14px;
  }

  .brief-card {
    position: relative;
    right: auto;
    top: auto;
    width: min(100%, 360px);
    margin-top: 80px;
  }

  .intro-grid,
  .project-layout,
  .project-gallery,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .quote-strip {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    font-size: 0.68rem;
  }

  .nav-shell {
    width: calc(100% - 24px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 166px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-ticker {
    grid-template-columns: repeat(2, 1fr);
  }

  .section,
  .project-band,
  .contact-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .service-grid,
  .stats-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .compare {
    min-height: 330px;
  }
}

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