@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");
:root {
  --dark: #130b07;
  --orange: #f97316;
  --paper: #f4f1ee;
  --ink: #30251f;
  --muted: #796b62;
  --line: #ded5cf;
  --green: #25d366;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Manrope, sans-serif;
  line-height: 1.05;
}
.frame {
  width: min(1320px, calc(100% - 48px));
  margin: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: #130b07f2;
  border-bottom: 1px solid #ffffff17;
  backdrop-filter: blur(15px);
}
.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 35px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
}
.brand span {
  display: grid;
  line-height: 1.2;
}
.brand small {
  color: #c38d68;
  font-size: 9px;
  text-transform: uppercase;
}
.nav nav {
  display: flex;
  gap: 25px;
  font-size: 12px;
}
.contact {
  padding: 11px 16px;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
}
.menu {
  display: none;
}
.hero {
  position: relative;
  height: 760px;
  color: #fff;
  background: #111;
}
.slides,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  visibility: hidden;
  transition: 0.7s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide img {
  position: absolute;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0806f5, #15100bc7 43%, transparent 80%);
}
.hero-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 135px;
}
.hero-text > span,
.label {
  display: block;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.hero h1,
.hero h2 {
  max-width: 850px;
  margin-bottom: 25px;
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -0.055em;
}
.hero p {
  max-width: 660px;
  color: #d7cec8;
  font-size: 17px;
}
.hero-text > a {
  display: inline-flex;
  gap: 45px;
  margin-top: 15px;
  padding: 15px 20px;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
}
.controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
}
.controls button {
  border: 0;
  color: #fff;
  background: none;
  font-size: 20px;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots button {
  width: 35px;
  height: 3px;
  padding: 0;
  background: #ffffff48;
}
.dots button.on {
  background: var(--orange);
}
.counter {
  font-size: 10px;
}
.metrics {
  color: #fff;
  background: #211108;
}
.metrics > .frame {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metrics article {
  display: grid;
  padding: 24px 30px;
  border-right: 1px solid #ffffff16;
}
.metrics small,
.metrics span {
  color: #a89182;
  font-size: 8px;
}
.metrics strong {
  font-size: 24px;
}
.section {
  padding: 115px 0;
}
.intro-grid,
.capacity-grid,
.commercial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 130px;
}
.intro h2,
.section-title h2,
.construction h2,
.capacity h2,
.commercial h2,
.faq h2,
.cta h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  letter-spacing: -0.045em;
}
.intro .lead {
  font-size: 20px;
}
.intro p,
.commercial p {
  color: var(--muted);
}
.master,
.delivery {
  color: #fff;
  background: #171513;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 50px;
}
.section-title h2 {
  max-width: 900px;
}
.plan {
  position: relative;
  height: 700px;
  margin: 0;
  background: #fff;
}
.plan img {
  object-fit: contain;
}
.tag {
  position: absolute;
  padding: 8px 11px;
  color: #fff;
  background: #211108df;
  font-size: 8px;
}
.t1 {
  left: 7%;
  bottom: 22%;
}
.t2 {
  left: 31%;
  bottom: 36%;
}
.t3 {
  left: 30%;
  top: 12%;
}
.t4 {
  right: 22%;
  top: 25%;
}
.t5 {
  right: 11%;
  bottom: 12%;
}
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.flow article {
  padding: 28px;
  border: 1px solid #ffffff18;
  border-top: 0;
}
.flow b,
.phases small {
  color: var(--orange);
}
.flow h3 {
  margin: 45px 0 8px;
}
.flow p,
.phases p {
  color: #aa9d95;
  font-size: 11px;
}
.construction {
  background: var(--paper);
}
.construction-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
  align-items: center;
}
.construction-copy > p {
  color: var(--muted);
}
.layers article {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.layers i {
  color: var(--orange);
  font-style: normal;
}
.layers div {
  display: grid;
}
.layers span {
  color: var(--muted);
  font-size: 11px;
}
.construction figure {
  position: relative;
  height: 620px;
  margin: 0;
}
.construction figure > div {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: grid;
  padding: 15px;
  color: #fff;
  background: #20100de8;
}
.systems {
  background: #fff;
}
.system-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
}
.system-grid figure {
  height: 590px;
  margin: 0;
}
.stack {
  display: grid;
}
.stack article {
  display: grid;
  align-content: center;
  padding: 25px;
  color: #fff;
  background: #211108;
  border-bottom: 1px solid #ffffff17;
}
.stack span {
  color: var(--orange);
  font-size: 8px;
}
.stack small {
  color: #aa9689;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.principles article {
  padding: 25px;
  background: var(--paper);
}
.principles p {
  color: var(--muted);
  font-size: 11px;
}
.capacity {
  color: #fff;
  background: linear-gradient(120deg, #df5808, #ff8a2a);
}
.capacity p {
  color: #fff3ea;
}
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 35px;
  background: #fff;
  color: var(--ink);
}
.equation span {
  padding: 12px;
  background: var(--paper);
  font-size: 10px;
}
.equation strong {
  width: 100%;
  font-size: 21px;
}
.equation small {
  color: var(--muted);
}
.phases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.phases article {
  min-height: 310px;
  padding: 26px;
  border: 1px solid #ffffff18;
  border-right: 0;
}
.phases article:last-child {
  border-right: 1px solid #ffffff18;
}
.phases > article > span {
  color: #ffffff35;
  font-size: 32px;
}
.phases small {
  display: block;
  margin-top: 50px;
}
.factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.factors span {
  padding: 18px;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
}
.factors b {
  margin-right: 12px;
  color: var(--orange);
}
.faq {
  background: var(--paper);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 110px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.faq summary b {
  color: var(--orange);
}
.faq details p {
  color: var(--muted);
  font-size: 12px;
}
.cta {
  padding: 100px 0;
  color: #fff;
  text-align: center;
  background: #211008;
}
.cta .frame {
  max-width: 950px;
}
.cta > div > span {
  color: var(--orange);
  font-size: 9px;
}
.cta p {
  color: #c7b5aa;
}
.cta a {
  display: inline-flex;
  gap: 55px;
  padding: 16px 20px;
  color: #211008;
  background: #fff;
  font-weight: 700;
}
footer {
  padding: 65px 0;
  color: #c4b1a5;
  background: #130b07;
}
.footer {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr 0.9fr;
  gap: 70px;
}
.footer > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer p {
  color: #8f7e73;
}
.footer > div > b {
  color: #fff;
}
.footer a,
.footer span {
  font-size: 12px;
}
.wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  width: 58px;
  height: 58px;
  padding: 7px;
  overflow: hidden;
  border-radius: 29px;
  color: #fff;
  background: var(--green);
  transition: 0.3s;
}
.wa > b {
  display: grid;
  place-items: center;
  width: 44px;
  flex: 0 0 44px;
  font-size: 25px;
}
.wa span {
  display: grid;
  width: 128px;
  opacity: 0;
}
.wa small {
  font-size: 9px;
}
.wa:hover {
  width: 205px;
}
.wa:hover span {
  opacity: 1;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.65s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 950px) {
  .nav nav {
    display: none;
  }
  .construction-grid,
  .capacity-grid,
  .commercial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .system-grid {
    grid-template-columns: 1fr;
  }
  .plan {
    height: 560px;
  }
  .phases {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .frame {
    width: calc(100% - 28px);
  }
  .contact {
    display: none;
  }
  .menu {
    display: block;
    border: 0;
    color: #fff;
    background: none;
    font-size: 22px;
  }
  .nav.open nav {
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    display: grid;
    padding: 12px 20px;
    background: #130b07;
  }
  .nav.open nav a {
    padding: 10px;
  }
  .hero {
    height: 700px;
  }
  .hero-text {
    padding-top: 100px;
  }
  .hero h1,
  .hero h2 {
    font-size: 44px;
  }
  .metrics > .frame {
    grid-template-columns: 1fr 1fr;
  }
  .section {
    padding: 75px 0;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-title {
    display: block;
  }
  .plan {
    height: 420px;
  }
  .tag {
    display: none;
  }
  .flow {
    grid-template-columns: 1fr 1fr;
  }
  .construction-grid {
    gap: 45px;
  }
  .construction figure {
    height: 410px;
  }
  .principles,
  .phases,
  .commercial-grid {
    grid-template-columns: 1fr;
  }
  .phases article {
    min-height: auto;
    border-right: 1px solid #ffffff18;
  }
  .factors {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    gap: 40px;
  }
  .footer {
    grid-template-columns: 1fr;
  }
  .wa,
  .wa:hover {
    right: 14px;
    bottom: 14px;
    width: 58px;
  }
  .wa span {
    display: none;
  }
}

/* Clean compact masterplan */
.master .section-title {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.plan {
  width: min(100%, 1040px);
  height: 520px;
  margin-right: auto;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: #f7f5f3;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}
.plan img {
  padding: 10px;
  object-fit: contain;
  background: #fff;
}
.plan::before {
  top: 16px;
  left: 20px;
  color: #93847b;
}
.tag {
  padding: 7px 10px;
  border-radius: 4px;
  background: rgba(28, 17, 12, 0.88);
  box-shadow: 0 6px 16px rgba(20, 12, 8, 0.13);
  backdrop-filter: blur(5px);
}
.tag::before {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  border-width: 1px;
  box-shadow: none;
}
.flow {
  width: min(100%, 1040px);
  margin-right: auto;
  margin-left: auto;
  gap: 0;
  padding-top: 50px;
}
.flow article {
  min-height: 205px;
  padding: 0 25px 22px;
  border-radius: 0;
  background: transparent;
}
.flow article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.flow article:hover {
  background: transparent;
  transform: none;
}
.flow article > b {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-color: rgba(249, 115, 22, 0.55);
  box-shadow: 0 0 0 7px #171513;
}
.flow::before {
  top: 68px;
}
.flow h3 {
  font-size: 19px;
}
.flow p {
  max-width: 190px;
  font-size: 11px;
}

@media (max-width: 950px) {
  .plan {
    height: 470px;
  }
}

@media (max-width: 640px) {
  .master .section-title {
    padding-bottom: 22px;
  }
  .plan {
    width: 100%;
    height: 310px;
    padding: 8px;
  }
  .plan img {
    padding: 0;
  }
  .flow {
    gap: 0;
    padding-top: 36px;
  }
  .flow article {
    min-height: 145px;
    padding: 0 15px 22px 62px;
  }
  .flow article + article {
    border-left: 0;
  }
  .flow::before {
    top: 38px;
    left: 40px;
  }
}

/* Refined masterplan and product-flow experience */
.master .section-title {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.master .section-title h2 {
  max-width: 780px;
  margin-left: auto;
  text-align: right;
}
.plan {
  height: min(690px, 52vw);
  padding: 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #eae5e1);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}
.plan::before {
  content: "FACILITY ZONING · CONCEPTUAL MASTERPLAN";
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 24px;
  color: #7f6e64;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.17em;
}
.plan img {
  padding: 20px;
  border-radius: 7px;
  background: #fff;
}
.tag {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(24, 13, 8, 0.9);
  box-shadow: 0 9px 24px rgba(24, 13, 8, 0.18);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}
.flow {
  position: relative;
  gap: 14px;
  padding: 48px 0 0;
}
.flow::before {
  content: "";
  position: absolute;
  top: 69px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), #ffb17c 80%, transparent);
}
.flow article {
  position: relative;
  min-height: 235px;
  padding: 0 24px 25px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.018)
  );
}
.flow article:hover {
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-4px);
}
.flow article > b {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin: 0 0 28px;
  border: 1px solid rgba(249, 115, 22, 0.5);
  border-radius: 50%;
  color: #fff;
  background: #211108;
  box-shadow: 0 0 0 8px #171513;
  font-size: 10px;
}
.flow article > i {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: -13px;
  color: #ff9a55;
  font-style: normal;
  font-size: 17px;
}
.flow h3 {
  margin: 0 0 4px;
  font-size: 21px;
}
.flow article > span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.flow p {
  max-width: 220px;
  color: #b9aca4;
  font-size: 12px;
}

@media (max-width: 640px) {
  .master .section-title {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .master .section-title h2 {
    margin-left: 0;
    text-align: left;
  }
  .plan {
    height: 390px;
    padding: 10px;
  }
  .plan::before {
    display: none;
  }
  .plan img {
    padding: 0;
  }
  .flow {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 38px 0 0 22px;
  }
  .flow::before {
    top: 40px;
    bottom: 35px;
    left: 43px;
    width: 1px;
    height: auto;
    background: linear-gradient(var(--orange), #ffb17c, transparent);
  }
  .flow article {
    min-height: 155px;
    padding: 0 20px 22px 68px;
  }
  .flow article > b {
    position: absolute;
    top: 0;
    left: 0;
  }
  .flow article > i {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .slide,
  .reveal,
  .wa {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Professional enterprise refinement */
header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(48, 37, 31, 0.1);
  box-shadow: 0 8px 32px rgba(38, 19, 9, 0.055);
}
.brand small {
  color: #9b633e;
}
.nav nav a {
  position: relative;
  color: #51443d;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav nav a:hover,
.nav nav a:focus-visible {
  color: var(--orange);
}
.nav nav a:hover::after,
.nav nav a:focus-visible::after {
  transform: scaleX(1);
}
.contact {
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.26);
}
.hero-text > span,
.label {
  letter-spacing: 0.22em;
}
.hero h1,
.hero h2 {
  text-wrap: balance;
}
.hero-text > a,
.cta a {
  border-radius: 3px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.hero-text > a:hover,
.cta a:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}
.metrics article {
  position: relative;
}
.metrics article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 30px;
  height: 2px;
  background: var(--orange);
}
.intro-grid > div:last-child {
  max-width: 610px;
}
.plan {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}
.plan img {
  padding: 18px;
}
.flow article,
.phases article,
.principles article,
.factors span {
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}
.flow article:hover,
.phases article:hover {
  background: rgba(255, 255, 255, 0.045);
}
.principles article:hover,
.factors span:hover {
  background: #fff;
}
.construction figure,
.system-grid figure {
  overflow: hidden;
}
.construction figure img,
.system-grid figure img {
  transition: transform 0.65s ease;
}
.construction figure:hover img,
.system-grid figure:hover img {
  transform: scale(1.025);
}
.stack article {
  border-left: 3px solid transparent;
}
.stack article:hover {
  border-left-color: var(--orange);
}
.faq summary {
  transition: color 0.2s ease;
}
.faq summary:hover {
  color: var(--orange);
}
.wa {
  box-shadow: 0 14px 38px rgba(20, 95, 56, 0.28);
}

@media (max-width: 640px) {
  .menu {
    color: var(--ink);
  }
  .nav.open nav {
    color: var(--ink);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(38, 19, 9, 0.1);
  }
  .nav nav a::after {
    display: none;
  }
}

/* Final masterplan sizing */
.master .plan {
  width: min(100%, 1040px);
  height: 520px;
  margin-right: auto;
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}
.master .plan img {
  padding: 10px;
}

@media (max-width: 950px) {
  .master .plan {
    height: 470px;
  }
}
@media (max-width: 640px) {
  .master .plan {
    height: 310px;
    padding: 8px;
  }
  .master .plan img {
    padding: 0;
  }
}
