:root {
  --teal: #2f6f8f;
  --teal-deep: #1f4f68;
  --lime: #c3e86b;
  --lime-deep: #a8d44a;
  --ink: #17181c;
  --ink-soft: #4a4d55;
  --ice: #eaf6fb;
  --white: #ffffff;
  --border: #17181c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* hero */
.hero {
  position: relative;
  background: var(--ice);
  padding: 88px 24px 72px;
  overflow: hidden;
  border-bottom: 3px solid var(--border);
}

.hero__inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.wordmark {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 8vw, 84px);
  line-height: 1;
  margin: 0 0 20px;
  color: var(--ink);
}

.wordmark__accent {
  color: var(--teal);
}

.tagline {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2.5px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn--lime {
  background: var(--lime);
  box-shadow: 4px 4px 0 0 var(--border);
}
.btn--outline {
  background: var(--white);
  box-shadow: 4px 4px 0 0 var(--border);
}

.hero__blocks {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  z-index: 1;
  pointer-events: none;
}
.block {
  position: absolute;
  border: 3px solid var(--border);
  border-radius: 18px;
}
.block--teal {
  background: var(--teal);
  width: 220px;
  height: 260px;
  top: 10%;
  right: 8%;
}
.block--lime {
  background: var(--lime);
  width: 140px;
  height: 140px;
  top: 55%;
  right: 28%;
}
.block--sm {
  width: 100px;
  height: 120px;
  top: 5%;
  right: 38%;
}

@media (max-width: 800px) {
  .hero__blocks {
    display: none;
  }
}

/* sections */
.section {
  padding: 72px 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.section--narrow,
.section--narrow-text {
  max-width: 720px;
}
.section--narrow-text {
  margin: 0 auto 32px;
}

.section-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--teal);
  text-transform: uppercase;
  margin: 0 0 10px;
}

h2 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.25;
  margin: 0 0 24px;
  max-width: 720px;
}

h3 {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
}

.body-text {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 680px;
}

/* floor plan */
.section--floorplan {
  background: var(--ice);
  max-width: 100%;
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}
.section--floorplan h2,
.section--floorplan .section-label {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section--floorplan h2 {
  margin-left: auto;
  margin-right: auto;
}

.floorplan-frame {
  max-width: 1040px;
  margin: 32px auto 0;
  border: 3px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 0 var(--border);
  background: var(--white);
}

/* transition (signature element) */
.section--transition {
  text-align: center;
}
.section--transition h2 {
  margin-left: auto;
  margin-right: auto;
}

/* feature columns  */
.feature-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .feature-cols {
    grid-template-columns: 1fr;
  }
}

/* tech blocks */
.tech-block {
  border-left: 4px solid var(--lime-deep);
  padding: 4px 0 4px 20px;
  margin-bottom: 32px;
}
.tech-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
}

/* outcome */
.section--outcome {
  background: var(--teal);
  color: var(--white);
  border-radius: 24px;
  margin: 0 24px 72px;
  max-width: none;
  border: 3px solid var(--border);
  box-shadow: 8px 8px 0 0 var(--border);
}
.section--outcome .section-label {
  color: var(--lime);
}
.section--outcome h2 {
  color: var(--white);
}
.section--outcome .body-text {
  color: #dcefff;
}

/* sticky nav */
.sitenav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--border);
}
.sitenav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.sitenav__logo {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin-right: auto;
}
.sitenav__links {
  display: flex;
  gap: 22px;
}
.sitenav__links a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}
.sitenav__links a:hover,
.sitenav__links a.is-active {
  color: var(--ink);
  border-color: var(--lime-deep);
}
.sitenav__cta {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 14px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease;
}
.sitenav__cta:hover {
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .sitenav__links {
    display: none;
  }
}

/* live pulse dot */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--lime-deep);
  box-shadow: 0 0 0 0 rgba(168, 212, 74, 0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 212, 74, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(168, 212, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(168, 212, 74, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* button hover polish */
.btn {
  position: relative;
}
.btn:active {
  transform: translateY(0);
  box-shadow: 2px 2px 0 0 var(--border);
}

/* floor plan zoom trigger */
.floorplan-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 3px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 0 var(--border);
  background: var(--white);
  cursor: zoom-in;
  max-width: 1040px;
  margin: 32px auto 0;
  transition:
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.floorplan-frame:hover {
  transform: translateY(-2px);
  box-shadow: 10px 10px 0 0 var(--border);
}
.floorplan-frame__hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--ink);
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}
.floorplan-frame:hover .floorplan-frame__hint {
  opacity: 1;
  transform: translateY(0);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(23, 24, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
}

/* click-to-reveal toggle (signature moment) */
.reveal-toggle {
  position: relative;
  max-width: 620px;
  margin: 32px auto 0;
  border: 3px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 8px 8px 0 0 var(--border);
  cursor: pointer;
  aspect-ratio: 2640 / 1886;
  background: var(--white);
}
.reveal-toggle__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}
.reveal-toggle__img--full {
  opacity: 0;
}
.reveal-toggle.is-revealed .reveal-toggle__img--empty {
  opacity: 0;
}
.reveal-toggle.is-revealed .reveal-toggle__img--full {
  opacity: 1;
}
.reveal-toggle__badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  border: 2.5px solid var(--border);
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 3px 3px 0 0 var(--border);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.reveal-toggle.is-revealed .reveal-toggle__badge {
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
}
.reveal-toggle:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.transition-caption {
  max-width: 620px;
  margin: 20px auto 0;
  text-align: center;
}

/* animated stats */
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 28px 0;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat__num {
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 40px;
  color: var(--lime);
}
.stat__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #dcefff;
  margin-top: 4px;
}
.footer {
  text-align: center;
  padding: 32px 24px 56px;
  font-size: 14px;
  color: var(--ink-soft);
}
.footer a {
  color: var(--ink);
  font-weight: 600;
}
