:root {
  --bg: #06111f;
  --bg-soft: rgba(8, 22, 41, 0.78);
  --surface: rgba(9, 27, 50, 0.7);
  --surface-strong: rgba(10, 31, 57, 0.94);
  --text: #eef6ff;
  --muted: #a9c4df;
  --line: rgba(142, 193, 255, 0.17);
  --accent: #7dd3fc;
  --accent-strong: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.28);
  --hero-gradient: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 34%, #60a5fa 68%, #2563eb 100%);
  --shadow: 0 24px 80px rgba(3, 10, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.16), transparent 32%),
    linear-gradient(180deg, #07101d 0%, #040914 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 4vw, 52px);
}

.brand,
.site-nav a,
.eyebrow,
.card-index,
.work-tag,
.package-label {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

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

.section-pad {
  padding: 0 clamp(20px, 4vw, 52px) 90px;
}

.section-narrow {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  gap: 24px;
  padding-top: 42px;
}

.reveal-card,
.info-card,
.work-card,
.results-grid article,
.timeline article,
.package-card,
.about-card,
.faq-item,
.cta-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  width: min(860px, calc(100% - 12px));
  text-align: center;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(8, 21, 39, 0.62), rgba(6, 18, 34, 0.38));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 1.05;
  padding-bottom: 0.08em;
  background: var(--hero-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lede {
  width: min(640px, 100%);
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 1.7;
}

.hero-quote {
  margin: 28px auto 0;
  width: min(560px, 100%);
  padding: 18px 20px;
  color: #dbeeff;
  font-size: 1rem;
  line-height: 1.8;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 20px;
  background: rgba(8, 28, 54, 0.42);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.metric {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(7, 23, 44, 0.42);
}

.metric strong {
  display: block;
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.hero-actions,
.contact-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #04111d;
  background: linear-gradient(135deg, #e0f2fe, #60a5fa);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(125, 211, 252, 0.26);
  background: rgba(255, 255, 255, 0.04);
}

.trust-strip {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip span {
  padding: 14px 16px;
  text-align: center;
  color: #dceeff;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  background: rgba(8, 28, 54, 0.42);
  font-size: 0.9rem;
  font-weight: 700;
}

.problem h2,
.about-card h2,
.cta-card h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.08;
}

.problem > p:not(.eyebrow),
.about-card p:not(.eyebrow),
.cta-card p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.split-heading > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

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

.problem-grid article {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.problem-grid h3,
.info-card h3,
.work-card h3,
.results-grid h3,
.timeline h3,
.package-card h3,
.faq-item h3 {
  margin: 0 0 10px;
}

.problem-grid p,
.info-card p,
.work-card p,
.results-grid p,
.timeline p,
.package-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 24px;
  align-items: end;
}

.work .eyebrow {
  color: var(--accent);
}

.info-grid,
.results-grid,
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.results-grid article,
.package-card,
.faq-item,
.about-card,
.cta-card {
  padding: 28px;
  border-radius: 26px;
}

.card-index,
.results-grid strong,
.timeline span,
.work-tag,
.package-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}

.work-card {
  overflow: hidden;
  border-radius: 28px;
}

.large-work-card {
  grid-row: span 2;
}

.work-preview {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
  --preview-overlay: linear-gradient(135deg, rgba(6, 17, 31, 0.18), rgba(6, 17, 31, 0.42));
}

.large-work-card .work-preview {
  min-height: 330px;
}

.large-work-card .detail-preview {
  min-height: 0;
}

.detail-preview {
  --preview-overlay: linear-gradient(135deg, rgba(6, 17, 31, 0.12), rgba(6, 17, 31, 0.34));
  aspect-ratio: 2940 / 1454;
  background: rgba(6, 17, 31, 0.28);
}

.cafe-preview {
  --preview-overlay: linear-gradient(135deg, rgba(6, 17, 31, 0.16), rgba(6, 17, 31, 0.38));
}

.work-preview::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--preview-overlay);
  pointer-events: none;
}

.work-preview-image,
.work-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.work-slide {
  opacity: 0;
  animation: showRealtorSlide 8s infinite;
}

.detail-preview .work-preview-image {
  object-fit: contain;
}

.slide-one {
  opacity: 1;
}

.slide-two {
  animation-name: showSolaceSlide;
}

@keyframes showRealtorSlide {
  0%,
  44% {
    opacity: 1;
  }

  56%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes showSolaceSlide {
  0%,
  44% {
    opacity: 0;
  }

  56%,
  94% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-slide {
    animation: none;
  }

  .slide-two {
    display: none;
  }
}

.work-content {
  padding: 26px;
}

.results-grid article,
.featured-package {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 38%),
    rgba(9, 27, 50, 0.72);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 24px;
  border-radius: 24px;
}

.featured-package {
  border-color: rgba(125, 211, 252, 0.36);
}

.package-card {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.package-card:hover {
  transform: translateY(-8px);
  border-color: rgba(125, 211, 252, 0.36);
}

.about-card {
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.12), transparent 36%),
    rgba(8, 22, 41, 0.78);
}

.about-card p + p {
  margin-top: 16px;
}

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

.cta-section {
  padding-bottom: 96px;
}

.cta-card {
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(96, 165, 250, 0.14), transparent 42%),
    rgba(8, 22, 41, 0.84);
}

.cta-card p {
  width: min(660px, 100%);
  margin: 18px auto 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(20px, 4vw, 52px) 30px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .trust-strip,
  .problem-grid,
  .info-grid,
  .results-grid,
  .timeline,
  .package-grid,
  .hero-metrics,
  .work-grid,
  .faq-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .package-card:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .site-nav {
    gap: 12px;
  }

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

  .hero-copy {
    border-radius: 26px;
  }

  .button {
    width: 100%;
  }
}
