/* ============================================================
   ZED DEVELOPMENTS — Luxury Living
   Bosa-inspired layout · Zed black & gold palette
   ============================================================ */

:root {
  --black: #0c0c0b;
  --charcoal: #151513;
  --ink: #1d1c19;
  --gold: #c9a648;
  --gold-light: #ecd872;
  --gold-deep: #a5822f;
  --cream: #f6f3ec;
  --paper: #fbfaf6;
  --text: #2a2822;
  --muted: #7a7468;
  --line: #e6e1d5;
  --line-dark: #2c2b26;
  --serif: 'Marcellus', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, .display { font-family: var(--serif); font-weight: 400; line-height: 1.12; }

.container { max-width: 1320px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- labels & buttons ---------- */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-light); }

.btn {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: var(--radius);
  transition: all .35s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn.solid { background: var(--gold); color: var(--black); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.dark { border-color: var(--black); color: var(--black); }
.btn.dark:hover { background: var(--black); color: var(--gold-light); }

.link-arrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); display: inline-flex; align-items: center; gap: .6rem;
  transition: gap .3s ease;
}
.link-arrow::after { content: '\2192'; font-size: 1rem; }
.link-arrow:hover { gap: 1rem; }
.on-dark .link-arrow { color: var(--gold-light); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s ease, box-shadow .4s ease;
  background: linear-gradient(to bottom, rgba(5,5,5,.72), transparent);
}
.site-header.scrolled {
  background: rgba(10,10,9,.96);
  box-shadow: 0 1px 0 rgba(201,166,72,.25);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--pad);
  max-width: 1500px; margin: 0 auto;
}
.brand img { height: 56px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 44px; }

.main-nav { display: flex; align-items: center; gap: 2.2rem; }
.main-nav a {
  color: #ece8dd; font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem 0; position: relative;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--gold-light);
  transition: width .3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--gold-light); }
.main-nav .btn { padding: .7rem 1.6rem; }
.main-nav a.btn::after { display: none; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--gold-light);
  margin: 6px auto; transition: all .3s ease;
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; background: rgba(10,10,9,.98);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    opacity: 0; pointer-events: none; transition: opacity .35s ease;
  }
  .main-nav.open { opacity: 1; pointer-events: all; }
  .main-nav a { font-size: 1rem; }
  body.nav-locked { overflow: hidden; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--black);
}
.hero.short { min-height: 72svh; }
.hero video, .hero .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .62;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,7,.88) 0%, rgba(8,8,7,.15) 55%, rgba(8,8,7,.35) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(3rem, 8vh, 6rem); max-width: 1500px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 16ch; margin-bottom: 1.4rem; }
.hero p.lead { max-width: 46ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: #d9d4c6; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .eyebrow { color: var(--gold-light); }

.scroll-hint {
  position: absolute; right: var(--pad); bottom: 2.4rem; z-index: 3;
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(236,216,114,.8);
  display: flex; align-items: center; gap: .8rem;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 48px;
  background: linear-gradient(var(--gold-light), transparent);
  animation: drip 2.2s ease infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .scroll-hint { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section.dark { background: var(--black); color: #e9e5d8; }
.section.cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); }
.section.dark .section-head p { color: #a39d8d; }
.section-head.split {
  max-width: none; display: flex; justify-content: space-between;
  align-items: flex-end; gap: 2rem; flex-wrap: wrap;
}
.section-head.split > div { max-width: 640px; }

/* mission statement band */
.statement { text-align: center; padding: clamp(5rem, 11vw, 9rem) 0; }
.statement h2 {
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  max-width: 24ch; margin: 0 auto 2rem;
}
.statement h2 em { font-style: normal; color: var(--gold-deep); }
.section.dark .statement h2 em, .section.dark h2 em { color: var(--gold-light); font-style: normal; }

/* ---------- project carousel (Bosa-style) ---------- */
.carousel-wrap { position: relative; }
.carousel {
  display: flex; gap: 1.4rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 1rem;
  scrollbar-width: none; -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel .card { scroll-snap-align: start; flex: 0 0 min(430px, 82vw); }

.card { position: relative; }
.card .media { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--ink); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card:hover .media img { transform: scale(1.05); }
.card .status {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  padding: .45rem .9rem; background: rgba(10,10,9,.82); color: var(--gold-light);
  border: 1px solid rgba(201,166,72,.5); backdrop-filter: blur(4px);
}
.card .status.selling { background: var(--gold); color: var(--black); border-color: var(--gold); }
.card h3 { font-size: 1.35rem; margin-top: 1.1rem; }
.card .meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.section.dark .card .meta { color: #97917f; }

.carousel-nav { display: flex; gap: .6rem; }
.carousel-nav button {
  width: 52px; height: 52px; border: 1px solid var(--line-dark);
  background: transparent; color: var(--gold-light); font-size: 1.1rem;
  cursor: pointer; transition: all .3s ease; border-radius: 50%;
}
.section:not(.dark) .carousel-nav button { border-color: var(--line); color: var(--gold-deep); }
.carousel-nav button:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* ---------- what we do / 3-col ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.service-card { position: relative; overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; color: #fff; }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,7,.85), rgba(8,8,7,.05) 55%); }
.service-card:hover img { transform: scale(1.06); }
.service-card .inner { position: relative; z-index: 2; padding: 1.8rem; }
.service-card h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.service-card p { font-size: .88rem; color: #cfc9ba; margin-bottom: .9rem; }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--gold); line-height: 1; }
.stat .lbl { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: #97917f; margin-top: .7rem; }

/* ---------- split feature ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } }
.feature-split .media { position: relative; overflow: hidden; }
.feature-split .media img, .feature-split .media video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.feature-split .media.wide img, .feature-split .media.wide video { aspect-ratio: 4/3; }
.feature-split h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 1.2rem; }
.feature-split p { color: var(--muted); margin-bottom: 1.2rem; }
.section.dark .feature-split p { color: #a39d8d; }
.feature-split .frame { border: 1px solid var(--gold); padding: 1rem; }
.feature-split .frame img { border: none; }

/* checklist */
.checks { margin: 1.4rem 0 2rem; }
.checks li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; color: var(--muted); }
.section.dark .checks li { color: #a39d8d; }
.checks li::before { content: '\2713'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ---------- process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; border-top: 1px solid var(--line-dark); padding-top: 1.4rem; }
.section:not(.dark) .step { border-color: var(--line); }
.step::before {
  content: '0' counter(step); font-family: var(--serif);
  font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: .7rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { font-size: .88rem; color: #a39d8d; }
.section:not(.dark) .step p { color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery a { position: relative; overflow: hidden; display: block; aspect-ratio: 4/3; background: var(--ink); cursor: zoom-in; }
.gallery a.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1), opacity .4s; }
.gallery a:hover img { transform: scale(1.06); }

/* project block */
.project-block { padding: clamp(3.5rem, 7vw, 6rem) 0; border-top: 1px solid var(--line); }
.project-block:first-of-type { border-top: none; }
.project-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.project-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.project-head .tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  padding: .5rem 1rem; border: 1px solid var(--gold); color: var(--gold-deep);
}
.project-head .tag.fill { background: var(--gold); color: var(--black); }
.project-desc { max-width: 640px; color: var(--muted); margin-bottom: 2.2rem; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,7,.96);
  display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 1px solid rgba(201,166,72,.5);
  color: var(--gold-light); width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; transition: all .3s;
}
.lightbox button:hover { background: var(--gold); color: var(--black); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; color: #fff; overflow: hidden; background: var(--black); }
.cta-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 22ch; margin: 0 auto 1.2rem; }
.cta-band p { color: #cfc9ba; max-width: 52ch; margin: 0 auto 2.4rem; }

/* ---------- team / about ---------- */
.team-card { max-width: 420px; }
.team-card .media { aspect-ratio: 4/5; overflow: hidden; background: var(--ink); display:flex; align-items:center; justify-content:center; }
.team-card h3 { font-size: 1.4rem; margin-top: 1.2rem; }
.team-card .role { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin: .3rem 0 .8rem; }

blockquote.pull {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4; max-width: 30ch; color: var(--text);
}
.section.dark blockquote.pull { color: #e9e5d8; }
blockquote.pull cite { display: block; font-family: var(--sans); font-style: normal; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1.4rem; }

/* values */
.value-card { border: 1px solid var(--line); padding: 2rem 1.8rem; background: var(--paper); }
.section.dark .value-card { border-color: var(--line-dark); background: var(--charcoal); }
.value-card .num { font-family: var(--serif); color: var(--gold); font-size: 1.6rem; margin-bottom: .8rem; }
.value-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.value-card p { font-size: .88rem; color: var(--muted); }
.section.dark .value-card p { color: #a39d8d; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2.5rem, 6vw, 6rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info li { margin-bottom: 1.6rem; }
.contact-info .lbl { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .3rem; }
.contact-info a.big { font-family: var(--serif); font-size: 1.4rem; }
.contact-info a.big:hover { color: var(--gold-deep); }

form .field { margin-bottom: 1.4rem; }
form label { display: block; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
form input, form select, form textarea {
  width: 100%; padding: .95rem 1.1rem; font: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--gold); }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { form .row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #b5af9f; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; border-top: 1px solid rgba(201,166,72,.28); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { height: 74px; margin-bottom: 1.2rem; }
.site-footer h4 { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 600; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { font-size: .92rem; transition: color .3s; }
.site-footer a:hover { color: var(--gold-light); }
.footer-tagline { font-family: var(--serif); font-size: 1.05rem; color: #d9d4c6; max-width: 30ch; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); padding-top: 1.6rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .76rem; color: #6d675b;
}
.socials { display: flex; gap: .8rem; margin-top: 1.4rem; }
.socials a {
  width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all .3s;
}
.socials a:hover { border-color: var(--gold); background: var(--gold); }
.socials svg { width: 17px; height: 17px; fill: #b5af9f; transition: fill .3s; }
.socials a:hover svg { fill: var(--black); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* page hero (interior pages) */
.page-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; color: #fff; background: var(--black); overflow: hidden; }
.page-hero img, .page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,7,.9), rgba(8,8,7,.15) 60%); }
.page-hero .hero-content { padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: .8rem; }
.page-hero p { max-width: 52ch; color: #d9d4c6; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: var(--black); }
