:root {
  --bg: #11110f;
  --surface: #171714;
  --text: #f3f1e9;
  --muted: #a7a49b;
  --line: rgba(243, 241, 233, .14);
  --accent: #e9a24a;
  --accent-soft: rgba(233, 162, 74, .16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
}

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

.noise {
  position: fixed;
  inset: -50%;
  z-index: 20;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  transform: rotate(8deg);
}

.blueprint {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: .09;
}
.orb-a { background: #d88a2e; right: 5%; top: 10%; }
.orb-b { background: #77745d; left: -12%; bottom: -20%; }

.nav {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand img {
  width: 123px;
  height: 50px;
  object-fit: contain;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
  animation: pulse 2s infinite;
}

.hero {
  width: min(1380px, calc(100% - 64px));
  min-height: calc(100vh - 166px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  position: relative;
  z-index: 1;
}

.hero-copy { padding: 40px 0 80px; }

.eyebrow {
  margin: 0 0 34px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
}
.eyebrow span {
  color: var(--muted);
  margin-right: 18px;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(58px, 7.4vw, 116px);
  line-height: .93;
  letter-spacing: -.065em;
  font-weight: 700;
}

h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243,241,233,.65);
}

.lede {
  max-width: 570px;
  margin: 38px 0 34px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-size: 13px;
  transition: .3s ease;
}
.button.primary {
  background: var(--text);
  color: #151511;
  border-color: var(--text);
  min-width: 160px;
}
.button.primary:hover { transform: translateY(-3px); }
.button.secondary { color: var(--muted); }
.button.secondary:hover { color: var(--text); border-color: rgba(243,241,233,.35); }

.arrow { font-size: 18px; }

.visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.frame {
  width: min(100%, 570px);
  height: 570px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(233,162,74,.08), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 55%);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform .2s ease-out;
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.frame::before {
  inset: 28px;
  border: 1px solid rgba(243,241,233,.07);
}
.frame::after {
  left: 50%;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(243,241,233,.06);
}

.frame-top,
.frame-bottom {
  position: absolute;
  left: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .16em;
  color: rgba(243,241,233,.45);
}
.frame-top { top: 20px; }
.frame-bottom { bottom: 20px; }

.crosshair {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
}

.house {
  position: absolute;
  width: 310px;
  height: 280px;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 25px 35px rgba(0,0,0,.35));
  animation: float 5s ease-in-out infinite;
}

.house-roof {
  position: absolute;
  left: 14px;
  top: 0;
  width: 282px;
  height: 108px;
  background: linear-gradient(135deg, #777568, #34342e 70%);
  clip-path: polygon(50% 0, 100% 46%, 92% 100%, 8% 100%, 0 46%);
  border: 1px solid rgba(255,255,255,.18);
}

.house-body {
  position: absolute;
  left: 38px;
  top: 82px;
  width: 234px;
  height: 155px;
  background: linear-gradient(135deg, #48473f, #22221f);
  border: 1px solid rgba(255,255,255,.13);
}

.house-base {
  position: absolute;
  left: 20px;
  bottom: 0;
  width: 270px;
  height: 18px;
  background: #262621;
  border-top: 1px solid rgba(255,255,255,.12);
}

.window {
  position: absolute;
  width: 43px;
  height: 55px;
  top: 28px;
  border: 1px solid rgba(233,162,74,.45);
  background: linear-gradient(135deg, rgba(233,162,74,.28), rgba(233,162,74,.05));
  box-shadow: inset 0 0 22px rgba(233,162,74,.08);
}
.w1 { left: 22px; }
.w2 { left: 76px; }
.w3 { right: 22px; }
.w4 { right: 76px; }

.door {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 78px;
  border: 1px solid rgba(255,255,255,.14);
  background: #151512;
}

.house-glow {
  position: absolute;
  left: 50%;
  top: 20%;
  width: 190px;
  height: 190px;
  transform: translateX(-50%);
  background: var(--accent);
  filter: blur(90px);
  opacity: .08;
}

.dimension {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(243,241,233,.4);
  font-size: 8px;
  letter-spacing: .14em;
}
.dimension i {
  display: block;
  width: 62px;
  height: 1px;
  background: rgba(243,241,233,.2);
}
.d1 { left: 34px; top: 48%; }
.d2 { right: 34px; top: 57%; }
.d2 i { background: rgba(233,162,74,.35); }

.footer {
  width: min(1380px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.footer-label { color: var(--text); }
.footer-label.muted { color: var(--muted); margin-left: 8px; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-right a:hover { color: var(--text); }
.footer-line { width: 34px; height: 1px; background: var(--line); }

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(233,162,74,.08), transparent 65%);
  transform: translate(-50%, -50%);
  transition: left .15s ease-out, top .15s ease-out;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); }
  50% { box-shadow: 0 0 0 9px rgba(233,162,74,0); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 30px;
  }
  .hero-copy { padding-bottom: 20px; }
  .visual { min-height: 500px; }
  .frame { height: min(560px, 85vw); }
  h1 { font-size: clamp(58px, 12vw, 92px); }
}

@media (max-width: 620px) {
  .nav, .hero, .footer { width: min(100% - 36px, 1380px); }
  .nav { padding-top: 18px; }
  .nav-status { display: none; }
  .brand img { width: 100px; height: auto; }
  .hero { min-height: auto; padding-top: 70px; }
  h1 { font-size: clamp(50px, 15vw, 74px); }
  .lede { font-size: 15px; margin-top: 28px; }
  .visual { min-height: 390px; margin-top: 25px; }
  .frame { width: 100%; height: 390px; }
  .house { transform: translate(-50%, -50%) scale(.72); }
  .d1 { left: 14px; }
  .d2 { right: 14px; }
  .footer { flex-direction: column; }
  .footer-right { justify-content: space-between; width: 100%; }
}
