* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #050505;
  color: #f5f1e8;
  font-family: "Inter", sans-serif;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 22px 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
}

.nav-left {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
}

.nav-right {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-right a {
  color: rgba(245, 241, 232, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.hero {
  min-height: 100vh;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  min-height: 100vh;
  padding: 84px 42px;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.86)),
    radial-gradient(circle at top left, rgba(145, 108, 63, 0.2), transparent 34%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-label,
.panel-kicker {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.72);
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0 0;
  max-width: 1100px;
  font-size: clamp(4.2rem, 10vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero-subtitle {
  max-width: 820px;
  margin-top: 28px;
  font-size: 1.18rem;
  line-height: 1.78;
  color: rgba(245, 241, 232, 0.84);
}

.hero-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, 0.16);
  background: rgba(10, 10, 10, 0.28);
  color: rgba(245, 241, 232, 0.84);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

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

.button.primary {
  background: #f5f1e8;
  color: #101010;
}

.button.secondary {
  border: 1px solid rgba(245, 241, 232, 0.38);
  color: #f5f1e8;
}

.section-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 980px;
}

.intro-section,
.content-section,
.split-section,
.result-section,
.testimonial-section,
.contact-section {
  padding: 100px 36px;
}

.alt-section,
.result-section {
  background: rgba(255, 255, 255, 0.03);
}

.section-header {
  margin-bottom: 38px;
}

.intro-section h2,
.section-header h2,
.split-copy h2,
.contact-section h2 {
  margin: 18px 0 0;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.lead-copy,
.section-copy,
.split-copy p,
.contact-copy,
.comparison-caption p,
.media-card p,
.overview-note p,
.scope-panel p,
.result-card span,
.quote-panel p {
  color: rgba(245, 241, 232, 0.7);
  line-height: 1.8;
}

.lead-copy,
.section-copy,
.split-copy p {
  max-width: 860px;
  margin-top: 26px;
  font-size: 1.08rem;
}

.overview-note,
.scope-panel,
.stat-card,
.deliverable-card,
.media-card,
.result-card,
.quote-card,
.quote-panel,
.comparison-caption {
  border-radius: 24px;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background:
    radial-gradient(circle at top left, rgba(160, 118, 69, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.overview-note {
  margin-top: 36px;
  padding: 26px;
}

.overview-note strong,
.scope-panel span,
.stat-card span,
.deliverable-card small,
.comparison-caption strong,
.media-card h3 {
  display: block;
}

.overview-note strong,
.scope-panel span,
.stat-card span,
.deliverable-card small {
  margin-bottom: 10px;
  color: rgba(245, 241, 232, 0.54);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.stat-card {
  min-height: 160px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat-card strong {
  font-size: 1.3rem;
  line-height: 1.14;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.quote-panel {
  padding: 30px;
}

.quote-panel blockquote {
  margin: 18px 0 20px;
  font-size: clamp(1.8rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.deliverable-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 152px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.deliverable-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(8, 8, 8, 0.12), rgba(8, 8, 8, 0.84)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}

.deliverable-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  filter: grayscale(0.2) saturate(0.7) brightness(0.72);
  transform: scale(1.04);
}

.deliverable-card--renderings {
  --card-image: url("assets/presale-system-renderings.jpg");
}

.deliverable-card--composites {
  --card-image: url("assets/presale-system-composites.jpg");
}

.deliverable-card--film {
  --card-image: url("assets/presale-system-film.jpg");
}

.deliverable-card--tour {
  --card-image: url("assets/presale-system-tour.jpg");
}

.deliverable-card--plans {
  --card-image: url("assets/presale-system-plans.jpg");
}

.deliverable-card--aerials {
  --card-image: url("assets/presale-system-aerials.jpg");
}

.deliverable-card--staging {
  --card-image: url("assets/presale-system-staging.jpg");
}

.deliverable-card--launch {
  --card-image: url("assets/presale-system-launch.jpg");
}

.deliverable-card span {
  font-size: 1.12rem;
  line-height: 1.22;
  color: rgba(245, 241, 232, 0.9);
  font-weight: 700;
}

.scope-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  overflow: hidden;
}

.scope-panel > div {
  padding: 24px;
}

.scope-panel > div:not(:last-child) {
  border-right: 1px solid rgba(245, 241, 232, 0.08);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.media-card {
  padding: 24px;
}

.media-card h3 {
  margin: 14px 0 12px;
  font-size: 1.6rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.media-card--site {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 320px;
}

.media-card--vertical {
  align-self: start;
}

.inline-link {
  width: fit-content;
  margin-top: 18px;
  color: #f5f1e8;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 241, 232, 0.4);
  padding-bottom: 3px;
}

.responsive-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
}

.responsive-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.responsive-embed--vertical {
  max-width: 360px;
  padding-top: 177.78%;
}

.media-placeholder {
  min-height: 280px;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background:
    radial-gradient(circle at top left, rgba(181, 138, 89, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.media-placeholder.compact {
  min-height: 250px;
}

.media-placeholder h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.08;
}

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

.comparison-stack {
  display: grid;
  gap: 14px;
}

.comparison-slider {
  --split: 54%;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: #0e0e0e;
}

.comparison-layer {
  position: absolute;
  inset: 0;
}

.comparison-base {
  z-index: 1;
}

.comparison-overlay {
  z-index: 2;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.comparison-placeholder {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.comparison-placeholder strong {
  font-size: 1.45rem;
  line-height: 1.08;
  margin-bottom: 12px;
}

.comparison-placeholder p {
  margin: 0;
  color: rgba(245, 241, 232, 0.72);
  line-height: 1.7;
}

.comparison-placeholder--base {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.4)),
    linear-gradient(135deg, rgba(244, 240, 231, 0.12), rgba(80, 80, 80, 0.18));
}

.comparison-placeholder--overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58)),
    linear-gradient(135deg, rgba(174, 132, 82, 0.3), rgba(56, 44, 32, 0.42));
}

.comparison-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comparison-badge {
  position: absolute;
  top: 22px;
  z-index: 4;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  color: rgba(245, 241, 232, 0.84);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-badge--left {
  left: 22px;
}

.comparison-badge--right {
  right: 22px;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 4;
  width: 2px;
  background: rgba(245, 241, 232, 0.9);
  transform: translateX(-1px);
  pointer-events: none;
}

.comparison-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(245, 241, 232, 0.9);
  background: rgba(5, 5, 5, 0.78);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison-caption {
  padding: 20px 22px;
}

.comparison-caption strong {
  font-size: 1.04rem;
  color: rgba(245, 241, 232, 0.92);
  margin-bottom: 8px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-gallery img,
.gallery-placeholder {
  min-height: 300px;
  padding: 24px;
  border-radius: 24px;
}

.case-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.gallery-placeholder {
  display: flex;
  align-items: end;
}

.gallery-placeholder span {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.8);
}

.case-gallery > *:nth-child(n + 5) {
  display: none;
}

.case-gallery.expanded > *:nth-child(n + 5) {
  display: block;
}

.section-gallery-toggle {
  display: block;
  margin: 18px auto 0;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, 0.22);
  background: transparent;
  color: #f5f1e8;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.result-section .section-inner,
.testimonial-section .section-inner {
  max-width: 1100px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.result-card {
  min-height: 200px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-card strong {
  font-size: clamp(2.4rem, 4vw, 4rem);
  letter-spacing: -0.06em;
}

.testimonial-section {
  background: #050505;
}

.testimonial-section blockquote {
  margin: 24px 0 0;
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.testimonial-credit {
  margin-top: 28px;
  color: rgba(245, 241, 232, 0.62);
  font-size: 1rem;
}

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

.quote-card {
  padding: 24px;
  font-size: 1.05rem;
  line-height: 1.68;
}

.contact-copy {
  max-width: 760px;
  margin-top: 28px;
  font-size: 1.08rem;
}

.contact-section .button {
  margin-top: 34px;
}

footer {
  padding: 60px 36px;
  text-align: center;
  color: rgba(245, 241, 232, 0.45);
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .site-nav {
    padding: 18px 22px;
    gap: 18px;
    align-items: start;
  }

  .nav-right {
    gap: 16px;
  }

  .stats-grid,
  .deliverables-grid,
  .scope-panel,
  .media-grid,
  .comparison-grid,
  .case-gallery,
  .result-grid,
  .quote-grid,
  .split-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scope-panel > div:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 800px) {
  .site-nav {
    position: static;
    padding: 20px 22px 0;
    flex-direction: column;
    background: transparent;
  }

  .nav-right {
    gap: 12px;
  }

  .hero-overlay,
  .intro-section,
  .content-section,
  .split-section,
  .result-section,
  .testimonial-section,
  .contact-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-overlay {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .intro-section h2,
  .section-header h2,
  .split-copy h2,
  .contact-section h2 {
    font-size: 2.8rem;
  }

  .stats-grid,
  .deliverables-grid,
  .scope-panel,
  .media-grid,
  .comparison-grid,
  .case-gallery,
  .result-grid,
  .quote-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .scope-panel > div {
    border-right: none;
  }

  .scope-panel > div:not(:last-child) {
    border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  }

  .comparison-slider {
    min-height: 420px;
  }

  .responsive-embed--vertical {
    max-width: 100%;
  }

  .case-gallery:not(.expanded) > *:nth-child(n + 3) {
    display: none;
  }

  .case-gallery img {
    height: 260px;
  }

  .comparison-placeholder strong {
    font-size: 1.25rem;
  }

  .media-placeholder,
  .media-card--site {
    min-height: 220px;
  }
}
