:root {
  --ink: #10120f;
  --paper: #f2f1ec;
  --panel: #fbfbf8;
  --line: rgba(16, 18, 15, .16);
  --lime: #a8ca00;
  --orange: #ee841d;
  --muted: #777a72;
  --facade: #a87747;
  --facade-side: #80552f;
  --window: #9fc4cc;
  --wood: #a87747;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { color: inherit; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 82px;
  padding: 0 3.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242, 241, 236, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { position: relative; display: grid; text-decoration: none; color: var(--ink); line-height: .78; }
.brand-word { font-size: 25px; font-weight: 900; letter-spacing: -1.8px; }
.brand-sub { margin-top: 8px; font-size: 7px; letter-spacing: 2.1px; font-weight: 800; }
.brand-cube { position: absolute; width: 11px; height: 11px; right: -15px; top: -7px; background: var(--lime); box-shadow: 5px 3px 0 var(--orange); transform: skewY(-24deg); }
.topbar-meta { display: flex; align-items: center; gap: 26px; font-size: 10px; letter-spacing: 1.4px; font-weight: 800; }
.prototype-pill { padding: 8px 12px; color: #5d6d00; border: 1px solid rgba(168, 202, 0, .55); border-radius: 99px; }
.step-indicator b { font-size: 17px; color: var(--lime); }

.intro {
  padding: 7.4vw 4.2vw 5vw;
  display: grid;
  grid-template-columns: 1.5fr .7fr;
  gap: 8vw;
  align-items: end;
}
.eyebrow, .step-kicker { margin: 0 0 20px; color: #789100; font-size: 10px; line-height: 1; letter-spacing: 3.2px; font-weight: 900; }
h1, h2 { margin: 0; letter-spacing: -.055em; font-weight: 780; line-height: .93; }
h1 { font-size: clamp(48px, 6vw, 96px); }
h1 em { font-family: Georgia, serif; font-weight: 400; color: #7b7d76; }
.intro-copy { margin: 0; max-width: 520px; font-family: Georgia, serif; color: #65675f; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.5; }

.configurator-shell {
  min-height: 820px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(430px, .62fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.visual-stage { min-width: 0; display: grid; grid-template-rows: 62px minmax(620px, 1fr) 80px; background: #d9ddd7; overflow: hidden; }
.stage-toolbar, .visual-footer { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: rgba(250, 251, 247, .9); border-bottom: 1px solid var(--line); }
.stage-toolbar > span { font-size: 9px; font-weight: 900; letter-spacing: 2.5px; }
.view-buttons { display: flex; gap: 3px; }
.view-button { min-width: 58px; padding: 8px 10px; border: 1px solid var(--line); background: transparent; font-size: 8px; letter-spacing: .8px; font-weight: 800; cursor: pointer; }
.view-button.is-active { background: var(--ink); color: white; }

.scene-wrap { position: relative; min-height: 620px; overflow: hidden; background: radial-gradient(circle at 74% 19%, rgba(255,255,255,.95) 0 7%, rgba(255,255,255,.2) 25%, transparent 42%), linear-gradient(#d9e2df 0 58%, #aeb3a8 58% 59%, #bfc2b9 59%); }
.scene-wrap::before { content: ""; position: absolute; left: -5%; right: -5%; bottom: -18%; height: 62%; background: repeating-linear-gradient(92deg, transparent 0 69px, rgba(50,55,49,.08) 70px), linear-gradient(150deg, transparent 40%, rgba(255,255,255,.5) 40.5% 41%, transparent 41.5%); transform: perspective(500px) rotateX(61deg); }
.scene { position: absolute; inset: 0; perspective: 1100px; transition: .55s ease; }
.office-cube { position: absolute; left: 49%; top: 53%; width: 420px; height: 202px; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(-2deg) rotateY(-27deg); transition: transform .65s cubic-bezier(.2,.8,.2,1), width .4s ease; }
.scene.front-view .office-cube { transform: translate(-50%, -50%) rotateX(0) rotateY(0); }
.scene.side-view .office-cube { transform: translate(-50%, -50%) rotateX(0) rotateY(-90deg); }
.cube-face { position: absolute; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.cube-front { inset: 0; background: var(--facade); border-top: 13px solid #242522; border-bottom: 18px solid #242522; transform: translateZ(87px); transform-style: preserve-3d; }
.cube-side { left: 100%; top: 0; width: 175px; height: 202px; background: var(--facade-side); border-top: 13px solid #20211f; border-bottom: 18px solid #20211f; transform-origin: left; transform: translateZ(87px) rotateY(90deg); }
.cube-roof { left: 0; bottom: 100%; width: 420px; height: 175px; background: #40433f; transform-origin: bottom; transform: translateZ(87px) rotateX(90deg); overflow: visible; }
.foundation-shadow { position: absolute; left: 1%; top: 95%; width: 117%; height: 180px; background: rgba(20,24,20,.26); filter: blur(17px); transform: rotateX(90deg) translateZ(-3px); transform-origin: top; }
.facade-grid { position: absolute; inset: 0; display: grid; align-items: stretch; gap: 8px; background: repeating-linear-gradient(90deg, #93643b 0 13px, #b17b48 14px, #8b5d36 15px); }
.facade-anthracite .facade-grid { background: repeating-linear-gradient(90deg, #292d2b 0 17px, #3a3f3c 18px, #202321 19px); }
.facade-wood .facade-grid { background: repeating-linear-gradient(90deg, #8c5e36 0 13px, #b57f4a 14px, #7f522f 15px); }
.facade-aluminium .facade-grid { background: repeating-linear-gradient(90deg, #89908d 0 17px, #b7bcba 18px, #747b78 19px); }
.facade-mineral .facade-grid { background: radial-gradient(circle, rgba(255,255,255,.25) 0 1px, transparent 1.5px), #d4cfc5; background-size: 5px 5px; }
.facade-grid i { position: relative; display: block; min-width: 0; background: linear-gradient(145deg, rgba(210,239,242,.68), rgba(41,72,75,.88)); border: 7px solid #181b1a; box-shadow: inset 0 0 20px rgba(255,255,255,.18); }
.facade-grid i::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: rgba(20,30,30,.65); }
.facade-grid i::after { content: ""; position: absolute; inset: 18% 7% 0; background: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.15) 50%); opacity: .65; }
.facade-front.mode-standard { display: block; }
.facade-front.mode-standard i { position: absolute; left: 38px; top: 39px; width: 150px; height: 113px; }
.facade-front.mode-additional { grid-template-columns: repeat(2, 1fr); padding: 38px 42px 28px; gap: 28px; }
.facade-front.mode-panorama { grid-template-columns: repeat(3, 1fr); padding: 29px 28px 24px; gap: 9px; }
.facade-front.mode-corner { grid-template-columns: 1.2fr .9fr; padding: 29px 20px 24px 48px; gap: 9px; }
.facade-side { display: block; }
.facade-side i { position: absolute; left: 12px; top: 31px; width: 63px; height: 120px; }
.door { position: absolute; right: 17px; bottom: 0; width: 75px; height: 160px; z-index: 4; background: linear-gradient(145deg, #6d8584, #283636); border: 6px solid #171a19; border-bottom: 0; }
.door span { position: absolute; right: 9px; top: 52%; width: 8px; height: 3px; background: #e5e2d5; }
.office-sign { position: absolute; left: 24px; top: 2px; z-index: 5; color: white; font-size: 11px; font-weight: 800; letter-spacing: -.5px; }
.office-sign span { color: var(--lime); }
.office-sign small { margin-left: 8px; font-size: 6px; letter-spacing: 2px; opacity: .75; }
.solar-array { position: absolute; inset: 22px 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; opacity: 0; transition: opacity .3s; }
.solar-array.is-visible { opacity: 1; }
.solar-array i { background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(167,212,220,.4) 17px), linear-gradient(145deg, #1c4553, #071b26); border: 2px solid #adc1c2; }
.roof-unit { position: absolute; right: 22px; bottom: 18px; width: 70px; height: 42px; background: #dddcd5; box-shadow: 8px 8px 0 rgba(0,0,0,.14); opacity: 0; }
.roof-unit.is-visible { opacity: 1; }
.landscape { position: absolute; bottom: 10%; width: 104px; height: 104px; filter: drop-shadow(6px 12px 9px rgba(0,0,0,.16)); }
.landscape::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 28px; background: linear-gradient(110deg, #424640, #242824 62%, #363b35); border-top: 3px solid #555b52; clip-path: polygon(4% 0, 96% 0, 89% 100%, 11% 100%); }
.landscape::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 25px; height: 72px; background: linear-gradient(78deg, transparent 46%, #6f8245 47% 50%, transparent 51%) 0 9px / 18px 63px repeat-x, linear-gradient(102deg, transparent 46%, #879a58 47% 50%, transparent 51%) 7px 2px / 20px 70px repeat-x, linear-gradient(88deg, transparent 47%, #536b39 48% 51%, transparent 52%) 3px 19px / 14px 50px repeat-x; transform-origin: bottom; }
.landscape-left { left: 5%; }
.landscape-right { right: 4%; transform: scale(.82); transform-origin: bottom right; }
.person { position: absolute; left: 78%; bottom: 12%; width: 20px; height: 90px; }
.person i { display: block; width: 17px; height: 17px; margin: auto; border-radius: 50%; background: #b58767; }
.person b { display: block; width: 18px; height: 58px; margin-top: 3px; border-radius: 7px 7px 2px 2px; background: #394641; box-shadow: -5px 51px 0 -6px #27302d, 5px 51px 0 -6px #27302d; }

.plan-view { position: absolute; inset: 8% 8% 7%; display: none; padding: 35px; background: #fafaf6; border: 1px solid rgba(16,18,15,.25); box-shadow: 0 30px 80px rgba(28,35,29,.2); }
.plan-view.is-visible { display: grid; }
.plan-room { position: relative; display: grid; place-items: center; border: 3px solid #252925; background: repeating-linear-gradient(0deg, transparent 0 17px, rgba(16,18,15,.03) 18px), #eeeDE7; font-size: 10px; letter-spacing: 1.5px; font-weight: 800; text-align: center; }
.plan-room::after { content: attr(data-area); display: block; margin-top: 4px; color: #7a7d75; font-weight: 600; }
.plan-desk { position: absolute; width: 58px; height: 26px; border: 2px solid #9a9d94; background: white; }
.plan-view[data-layout="open"] { grid-template-columns: 1fr; }
.plan-view[data-layout="team"] { grid-template-columns: 1.65fr 1fr; gap: 5px; }
.plan-view[data-layout="meeting"] { grid-template-columns: 1.4fr .8fr; grid-template-rows: 1fr 1fr; gap: 5px; }
.plan-view[data-layout="hybrid"] { grid-template-columns: 1.4fr .75fr .75fr; gap: 5px; }

.visual-footer { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 0; }
.visual-footer div { padding-left: 18px; border-left: 1px solid var(--line); }
.visual-footer div:first-child { border-left: 0; padding-left: 0; }
.visual-footer span, .visual-footer strong { display: block; }
.visual-footer span { margin-bottom: 8px; font-size: 8px; letter-spacing: 1.5px; color: var(--muted); }
.visual-footer strong { font-size: 14px; }

