/* ==========================================================
   Mannath Real Estate — main stylesheet
   ========================================================== */
:root {
  --plum-900: #1f1029;
  --plum-800: #2a1636;
  --plum-700: #351d44;
  --plum-500: #5b3a6e;
  --lav-100: #efe4f3;
  --lav-200: #e6d7ed;
  --lav-300: #d9c3e3;
  --lav-400: #c7acd4;
  --lime: #e7f16b;
  --ink: #2a1636;
  --ink-soft: #6c5579;
  --line-dark: rgba(42, 22, 54, .16);
  --line-light: rgba(239, 228, 243, .18);
  --serif: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Manrope", Arial, Helvetica, sans-serif;
  --wrap: 100%;
  --gutter: clamp(16px, 3.5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--lav-200);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
em, .italic { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.muted { color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--lime { background: var(--lime); color: var(--plum-800); }
.btn--lime:hover { background: #f1f89a; }
.btn--plum { background: var(--plum-800); color: var(--lav-100); }
.btn--plum:hover { background: var(--plum-500); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 50;
  color: var(--lav-100);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { width: 30px; height: 30px; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .14em; line-height: 1; }
.brand__sub { display: block; font-size: 7px; letter-spacing: .4em; margin-top: 4px; opacity: .7; }
.nav { display: flex; gap: 32px; font-size: 12px; }
.nav a { position: relative; padding: 4px 0; opacity: .8; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor;
}
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 9px; width: 22px; height: 1.5px; background: currentColor; content: ""; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--plum-800);
  color: var(--lav-100);
  padding-top: 84px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(124, 79, 150, .35), transparent 70%);
  pointer-events: none;
}
.hero__meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--line-light);
  font-size: 9px; opacity: .75;
}
.hero__meta a:last-child { color: var(--lime); opacity: 1; }
.hero__head { position: relative; text-align: center; padding: 18px 0 30px; }
.hero__title { font-size: clamp(48px, 8.4vw, 112px); line-height: .95; }
.hero__title em { display: block; }
.hero__side {
  position: absolute; left: 0; bottom: 34px;
  font-size: 9px; text-align: left; opacity: .7; line-height: 1.7;
}
.badge {
  position: absolute; right: 0; top: 10px;
  width: 92px; height: 92px; border-radius: 50%;
  display: grid; place-items: center;
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge__m { font-family: var(--serif); font-style: italic; font-size: 30px; color: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }

/* slider */
.slider { display: flex; gap: 10px; height: clamp(360px, 46vw, 560px); }
.slide {
  position: relative; flex: 1 1 0; min-width: 0;
  overflow: hidden; cursor: pointer;
  background-color: var(--plum-700);
  background-size: cover; background-position: center;
  transition: flex-grow .8s var(--ease);
  border: 0; padding: 0; color: inherit; text-align: left;
}
.slide.is-active { flex-grow: 6.5; cursor: default; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 16, 41, .25) 0%, transparent 30%, transparent 50%, rgba(31, 16, 41, .85) 100%);
}
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.slide.is-active .slide__img { transform: scale(1); }
.slide__top { position: absolute; top: 16px; left: 18px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.slide__num { font-family: var(--serif); font-size: 22px; }
.slide__cat { font-size: 9px; opacity: 0; transition: opacity .4s; white-space: nowrap; }
.slide.is-active .slide__cat { opacity: .85; }
.slide__corner { margin-left: auto; font-size: 14px; }
.slide__vert {
  position: absolute; bottom: 20px; left: 50%; z-index: 2;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-size: 9px; white-space: nowrap; opacity: .85;
  transition: opacity .3s;
}
.slide.is-active .slide__vert { opacity: 0; }
.slide__body {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s .2s, transform .7s .2s var(--ease);
  pointer-events: none;
}
.slide.is-active .slide__body { opacity: 1; transform: none; pointer-events: auto; }
.slide__body .eyebrow { color: var(--lime); font-size: 9px; }
.slide__body h2 { font-size: clamp(28px, 3.6vw, 48px); margin: 10px 0 18px; white-space: nowrap; }
.slide__body .link-arrow { font-size: 11px; border-color: rgba(239, 228, 243, .45); }

.slider-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0; font-size: 9px;
}
.slider-bar > span { opacity: .7; flex: 1; }
.slider-bar > span:last-child { text-align: right; }
.slider-ctrl { display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .1em; }
.slider-ctrl button {
  width: 30px; height: 30px; border: 1px solid var(--line-light); background: none; cursor: pointer;
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.slider-ctrl button:hover { background: var(--lime); color: var(--plum-800); border-color: var(--lime); }

.hero__tag {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px 0 46px; border-top: 1px solid var(--line-light);
}
.hero__tag-text { display: flex; gap: 22px; align-items: flex-start; }
.hero__tag-text .hook { color: var(--lime); font-size: 30px; line-height: 1; }
.hero__tag p { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; }
.hero__tag p em { opacity: .7; }
.circle-btn {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1px solid var(--lime); color: var(--lime);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.circle-btn:hover { background: var(--lime); color: var(--plum-800); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--lav100 { background: var(--lav-100); }
.section--lav300 { background: var(--lav-300); }

.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: start; }
.intro h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 18px; }
.intro__copy { padding-top: 34px; max-width: 420px; }
.intro__copy .lead { font-size: 15px; margin-bottom: 18px; }
.intro__copy p + p { font-size: 13px; color: var(--ink-soft); }
.intro__copy .link-arrow { margin-top: 34px; }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 18px; }
.section-head p { font-size: 12px; color: var(--ink-soft); max-width: 260px; }

/* collection rows */
.c-row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
  margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark);
}
.c-row:nth-child(even) .c-row__media { order: 2; }
.c-row__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--plum-500); }
.c-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.c-row:hover .c-row__media img { transform: scale(1.05); }
.c-row__chip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--lime); color: var(--plum-800);
  font-size: 10px; font-weight: 600; padding: 5px 10px;
}
.c-row__num { position: absolute; left: 18px; bottom: 12px; z-index: 2; font-family: var(--serif); font-size: 34px; color: #fff; }
.c-row__go {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 38px; height: 38px; background: var(--plum-800); color: var(--lav-100);
  display: grid; place-items: center; transition: background .25s, color .25s;
}
.c-row:hover .c-row__go { background: var(--lime); color: var(--plum-800); }
.c-row__text h3 { font-size: clamp(30px, 3.4vw, 46px); margin: 18px 0 16px; max-width: 360px; }
.c-row__text p { font-size: 12px; color: var(--ink-soft); }
.c-row__text .eyebrow { color: var(--ink-soft); }
.c-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; color: var(--ink-soft); }
.c-foot .link-arrow { color: var(--ink); }

/* split (ambitions) */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--plum-800); color: var(--lav-100); }
.split__media { position: relative; min-height: 520px; background: var(--plum-500); overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__media .eyebrow { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #fff; font-size: 9px; }
.split__body { padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px); }
.split__body > .eyebrow { color: var(--lime); }
.split__body h2 { font-size: clamp(36px, 4.4vw, 58px); margin: 18px 0 22px; }
.split__body > p { font-size: 13px; opacity: .75; max-width: 420px; }
.points { list-style: none; margin: 40px 0; padding: 0; }
.points li {
  display: grid; grid-template-columns: 40px 1fr; padding: 18px 0;
  border-top: 1px solid var(--line-light);
}
.points li:last-child { border-bottom: 1px solid var(--line-light); }
.points .n { font-size: 10px; color: var(--lime); padding-top: 6px; }
.points h4 { font-size: 20px; margin-bottom: 4px; }
.points p { font-size: 12px; opacity: .65; }
.split__body .link-arrow { border-color: rgba(239, 228, 243, .4); }

/* belong (dubai) */
.belong { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.belong h2 { font-size: clamp(36px, 4.6vw, 60px); margin: 18px 0 22px; }
.belong p { font-size: 13px; color: var(--ink-soft); max-width: 360px; margin-bottom: 34px; }
.orb {
  position: relative; width: min(440px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  margin-left: auto; background: var(--plum-500);
  box-shadow: 0 40px 80px -30px rgba(42, 22, 54, .55);
}
.orb img { width: 100%; height: 100%; object-fit: cover; }
.orb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(31, 16, 41, .75)); }
.orb__coords { position: absolute; top: 9%; left: 0; right: 0; text-align: center; z-index: 2; color: #fff; font-size: 9px; letter-spacing: .25em; }
.orb__city { position: absolute; bottom: 14%; left: 0; right: 0; text-align: center; z-index: 2; color: #fff; }
.orb__city strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3vw, 36px); letter-spacing: .12em; }
.orb__city span { font-size: 10px; opacity: .8; }

/* CTA */
.cta { background: var(--lime); text-align: center; padding: clamp(80px, 11vw, 140px) 0; }
.cta h2 { font-size: clamp(42px, 7vw, 92px); margin: 22px 0 40px; line-height: 1; }
.cta h2 em { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-800); color: var(--lav-100); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-grid .brand { margin-bottom: 20px; }
.footer-grid p { font-size: 12px; opacity: .65; }
.footer-grid h5 { font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin: 0 0 18px; opacity: .6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid ul a { opacity: .85; }
.footer-grid ul a:hover { opacity: 1; color: var(--lime); }
.footer-grid .link-arrow { margin-top: 20px; border-color: rgba(239, 228, 243, .4); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 10px; opacity: .6;
}
.footer-bottom a:hover { color: var(--lime); }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--plum-800); color: var(--lav-100); padding: 180px 0 90px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 10%, rgba(124, 79, 150, .4), transparent 70%);
}
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { color: var(--lime); }
.page-hero h1 { font-size: clamp(46px, 7.4vw, 100px); margin: 22px 0 30px; line-height: .98; }
.page-hero h1 em { display: block; }
.page-hero p { font-family: var(--serif); font-size: clamp(18px, 2vw, 24px); max-width: 560px; opacity: .8; line-height: 1.35; }
.page-hero__img { margin-top: 70px; aspect-ratio: 21 / 8; overflow: hidden; background: var(--plum-500); }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.marquee { background: var(--lime); color: var(--plum-800); overflow: hidden; padding: 16px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; animation: marquee 30s linear infinite; }
.marquee span { font-size: 11px; font-weight: 700; letter-spacing: .22em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-dark); }
.values article { padding: 36px 32px 10px 0; }
.values article + article { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.values .n { font-family: var(--serif); font-size: 38px; color: var(--plum-500); }
.values h3 { font-size: 26px; margin: 14px 0 12px; }
.values p { font-size: 13px; color: var(--ink-soft); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; }
.contact-aside h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 16px 0 12px; }
.contact-aside p { font-size: 13px; color: var(--ink-soft); }
.contact-aside .card { margin-top: 40px; padding: 28px; background: var(--plum-800); color: var(--lav-100); }
.contact-aside .card p { color: inherit; opacity: .75; }
.contact-aside .card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-aside dl { margin: 22px 0 0; font-size: 13px; }
.contact-aside dt { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-top: 14px; }
.contact-aside dd { margin: 4px 0 0; }
.contact-aside dd a:hover { color: var(--lime); }

.form h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 16px 0 10px; }
.form > p { font-size: 13px; color: var(--ink-soft); margin-bottom: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid rgba(42, 22, 54, .35);
  background: transparent; padding: 10px 0; font-size: 15px; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--plum-800); }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 12px; color: var(--ink-soft); }
.check input { margin-top: 3px; accent-color: var(--plum-800); width: 16px; height: 16px; flex: none; }
.form-actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status { font-size: 13px; }
.form-status.ok { color: #2f6b2f; }
.form-status.err { color: #a2263a; }
.alert { padding: 16px 20px; margin-bottom: 30px; font-size: 13px; }
.alert--ok { background: var(--lime); }
.alert--err { background: #f3c9d0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; color: var(--lav-100); }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center; gap: 26px;
    background: var(--plum-900); font-family: var(--serif); font-size: 34px;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .intro, .c-row, .belong, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .c-row:nth-child(even) .c-row__media { order: 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .split__media { min-height: 380px; }
  .orb { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .values article, .values article + article { padding: 28px 0; border-left: 0; }
  .values article + article { border-top: 1px solid var(--line-dark); }
  .hero__side { display: none; }
  .badge { width: 72px; height: 72px; top: -6px; }
  .badge__m { font-size: 22px; }
}
@media (max-width: 640px) {
  .hero__meta span:nth-child(2) { display: none; }
  .slider { height: 440px; gap: 6px; }
  .slide.is-active { flex-grow: 8; }
  .slide__vert { display: none; }
  .slide__body h2 { white-space: normal; }
  .slider-bar > span { display: none; }
  .slider-bar { justify-content: center; }
  .badge { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .c-foot { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 140px 0 70px; }
  .page-hero__img { aspect-ratio: 4 / 3; }
}
