/* =========================================================
   DXB FAME — Design System
   Palette:
     --ink:        #0B0B0C   near-black, primary background
     --panel:      #141416   raised panel background
     --panel-2:    #1B1B1E   secondary panel / card
     --line:       #2A2A2E   hairline borders on dark
     --gold:       #C9A24B   primary brand gold (from logo)
     --gold-hi:    #E8CC86   hover / bright gold
     --gold-dim:   #8A6F35   muted gold for small text
     --cream:      #F3EEE3   primary text on dark
     --cream-dim:  #B9B3A6   secondary text on dark
   Type:
     Display — 'Fraunces' (serif, does the talking, used restrained)
     Body/UI — 'Inter' (clean, sets data & long copy)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,450;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid #E8CC86; outline-offset: 3px; }

body {
  margin: 0;
  background: #0B0B0C;
  color: #F3EEE3;
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 450;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  color: #F3EEE3;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A24B;
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,12,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A2A2E;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 28px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; }
.brand-text { font-family: 'Fraunces', serif; font-size: 1.15rem; letter-spacing: 0.02em; }
.brand-text b { color: #C9A24B; font-weight: 600; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.16em; color: #B9B3A6; text-transform: uppercase; display: block; margin-top: 1px; }

nav.links { display: flex; gap: 28px; align-items: center; }
nav.links a {
  font-size: 0.82rem; font-weight: 500; color: #B9B3A6;
  padding: 6px 2px; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
nav.links a:hover, nav.links a.active { color: #F3EEE3; border-color: #C9A24B; }

.nav-cta {
  border: 1px solid #C9A24B !important; color: #C9A24B !important;
  padding: 8px 16px !important; border-radius: 2px;
}
.nav-cta:hover { background: #C9A24B; color: #0B0B0C !important; }

.menu-btn { display: none; background: none; border: 1px solid #2A2A2E; color: #F3EEE3; padding: 8px 10px; font-size: 1.1rem; }

@media (max-width: 980px) {
  nav.links { position: fixed; inset: 62px 0 0 0; background: #0B0B0C; flex-direction: column; padding: 28px; gap: 22px; align-items: flex-start; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  nav.links.open { transform: translateX(0); }
  nav.links a { font-size: 1rem; }
  .menu-btn { display: block; }
}

/* ---------- Skyline signature motif ---------- */
.skyline { display: block; width: 100%; height: auto; opacity: 0.9; }
.skyline path, .skyline rect { fill: none; stroke: #C9A24B; stroke-width: 1.1; }
.skyline-band { border-top: 1px solid #2A2A2E; border-bottom: 1px solid #2A2A2E; padding: 22px 0 0; background: #0E0E10; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin: 14px 0 20px; }
.hero h1 em { font-style: normal; color: #C9A24B; }
.hero p.lead { color: #B9B3A6; font-size: 1.05rem; max-width: 46ch; margin-bottom: 28px; }
.hero-stats { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats div b { display: block; font-family: 'Fraunces', serif; font-size: 1.7rem; color: #C9A24B; }
.hero-stats div span { font-size: 0.74rem; color: #B9B3A6; text-transform: uppercase; letter-spacing: 0.08em; }

.hero-art { position: relative; border: 1px solid #2A2A2E; background: linear-gradient(180deg, #17171A, #0E0E10); padding: 30px; min-height: 340px; display: flex; align-items: flex-end; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px; font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.02em; border-radius: 2px; cursor: pointer;
  transition: all .2s ease; border: 1px solid transparent;
}
.btn-gold { background: #C9A24B; color: #0B0B0C; }
.btn-gold:hover { background: #E8CC86; transform: translateY(-1px); }
.btn-outline { border-color: #C9A24B; color: #C9A24B; }
.btn-outline:hover { background: #C9A24B; color: #0B0B0C; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 10px; }
.section-head p { color: #B9B3A6; margin-top: 14px; }
.alt { background: #101012; border-top: 1px solid #2A2A2E; border-bottom: 1px solid #2A2A2E; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .hero-grid { grid-template-columns: 1fr; } }

.card {
  background: #141416; border: 1px solid #2A2A2E; padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #C9A24B; transform: translateY(-3px); }
.card .num { font-family: 'Fraunces', serif; font-size: 0.85rem; color: #8A6F35; }
.card h3 { font-size: 1.15rem; margin: 10px 0 10px; }
.card p { color: #B9B3A6; font-size: 0.92rem; }

.tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: #C9A24B; border: 1px solid #8A6F35; padding: 4px 10px; margin-bottom: 12px; }

/* project card with image band */
.pcard { border: 1px solid #2A2A2E; background: #141416; overflow: hidden; }
.pcard-top { height: 150px; background: linear-gradient(135deg, #1B1B1E, #0E0E10); position: relative; display: flex; align-items: flex-end; padding: 16px; }
.pcard-body { padding: 22px; }
.pcard h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pcard .price { color: #C9A24B; font-weight: 600; font-size: 0.95rem; margin: 10px 0; }
.pcard ul { margin: 12px 0; padding-left: 18px; color: #B9B3A6; font-size: 0.88rem; }
.pcard ul li { margin-bottom: 5px; }
.pcard-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #2A2A2E; padding: 14px 22px; }

/* ---------- Stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #2A2A2E; border-bottom: 1px solid #2A2A2E; }
.stat-band div { padding: 34px 24px; border-right: 1px solid #2A2A2E; }
.stat-band div:last-child { border-right: none; }
.stat-band b { font-family: 'Fraunces', serif; font-size: 2rem; color: #C9A24B; display: block; }
.stat-band span { font-size: 0.78rem; color: #B9B3A6; }
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2,1fr); } .stat-band div:nth-child(2){border-right:none;} }

/* ---------- Steps / numbered list (used only where order is real) ---------- */
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid #2A2A2E; }
.step:first-child { border-top: none; }
.step .n { font-family: 'Fraunces', serif; font-size: 1.6rem; color: #8A6F35; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: #B9B3A6; font-size: 0.92rem; }

/* ---------- Quote / pull ---------- */
.pull { border-left: 2px solid #C9A24B; padding: 6px 0 6px 24px; margin: 34px 0; color: #E8CC86; font-family: 'Fraunces', serif; font-size: 1.25rem; }

/* ---------- Table ---------- */
table.data { width: 100%; border-collapse: collapse; margin: 18px 0; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid #2A2A2E; font-size: 0.9rem; }
table.data th { color: #C9A24B; font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
table.data td { color: #D8D2C4; }

/* ---------- Form ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.78rem; color: #B9B3A6; margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: #141416; border: 1px solid #2A2A2E; color: #F3EEE3;
  padding: 12px 14px; font-family: 'Inter', sans-serif; font-size: 0.95rem; border-radius: 2px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #C9A24B; }

/* ---------- CTA band ---------- */
.cta-band { background: #141416; border: 1px solid #2A2A2E; padding: 54px 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.7rem; max-width: 480px; }

/* ---------- Footer ---------- */
footer.site { background: #0E0E10; border-top: 1px solid #2A2A2E; padding: 60px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.foot-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #C9A24B; margin-bottom: 16px; }
.foot-grid a, .foot-grid p { color: #B9B3A6; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.foot-grid a:hover { color: #E8CC86; }
.foot-bottom { border-top: 1px solid #2A2A2E; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #7A7568; font-size: 0.8rem; }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a { border: 1px solid #2A2A2E; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.social-row a:hover { border-color: #C9A24B; color: #C9A24B; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
