/* ===== NTG Horizon — Brand Styles =====
   Palette:  Gold #D4AF37 · Black #0A0A0A · Silver #E5E5E5
   Type:     Fraunces (display) · Inter (body)
============================================ */

:root {
  --gold: #d4af37;
  --gold-soft: #e8c86a;
  --gold-deep: #b8942e;
  --black: #3a352e;
  --black-2: #443f37;
  --black-3: #4f4941;
  --silver: #f2f0ec;
  --silver-mute: #c7c3ba;
  --line: rgba(212, 175, 55, 0.22);
  --maxw: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--silver);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }

h1, h2, h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }

.gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
  color: #1a1300;
  border: 1px solid var(--gold);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.22);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(212, 175, 55, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.08); transform: translateY(-3px); }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(58, 53, 46, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 0.5rem 0;
}
.site-header.scrolled {
  background: rgba(48, 44, 38, 0.92);
  border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 76px; width: auto; display: block; transition: height 0.35s var(--ease); }
.site-header.scrolled .brand-logo { height: 60px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--gold); transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid var(--line);
  padding: 0.55rem 1.3rem;
  border-radius: 2px;
  color: var(--gold) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: rgba(212, 175, 55, 0.1); border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--gold); transition: 0.3s var(--ease); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: left;
  overflow: hidden;
  background:
    radial-gradient(1000px 600px at 20% -10%, rgba(212, 175, 55, 0.12), transparent 60%),
    linear-gradient(180deg, #332f29, #3a352e 60%, #332f29);
}
.hero-glow {
  position: absolute;
  left: 22%; top: 46%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
/* Dubai skyline — golden hour, right side */
.hero-media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 64%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 44%);
          mask-image: linear-gradient(to right, transparent 0%, #000 44%);
}
.hero-skyline {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: saturate(1.06) contrast(1.04) brightness(0.95);
}
/* Blend the photo into the warm dark hero (top, bottom & left edges) */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(51,47,41,0.55), rgba(51,47,41,0) 42%),
    linear-gradient(180deg, rgba(51,47,41,0.5) 0%, rgba(51,47,41,0) 26%, rgba(51,47,41,0) 68%, rgba(51,47,41,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 8rem 0 4rem; }
.hero-copy { max-width: 600px; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 1.6rem;
  font-size: 0.72rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.hero-sub {
  max-width: 540px; margin: 1.6rem 0 0;
  color: var(--silver-mute); font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.hero-actions { display: flex; gap: 1rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 2.4rem; }

/* ===== Sections ===== */
.section { padding: 6.5rem 0; }
.section-alt { background: linear-gradient(180deg, #453f37, #3a352e); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Lighter warm "stone" section */
.section-light { background: linear-gradient(180deg, #524b41, #4a443b); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
/* Deeper "espresso" section — cards pop against it */
.section-deep { background: linear-gradient(180deg, #2c2820, #262217); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.section-lead { margin-top: 1.1rem; color: var(--silver-mute); }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 960px; margin: 0 auto; }
.about-grid p { color: var(--silver-mute); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  margin-top: 4rem;
}
.stat {
  text-align: center; padding: 1.8rem 1rem;
  border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, rgba(212,175,55,0.04), transparent);
}
.stat-num { display: block; font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--gold); }
.stat-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--silver-mute); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(212,175,55,0.02));
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.card-icon {
  font-family: "Fraunces", serif; font-size: 1.1rem; letter-spacing: 0.1em;
  color: #1a1300; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; margin-bottom: 1.4rem;
  background: linear-gradient(120deg, var(--gold-soft), var(--gold));
}
.card h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--gold); }
.card ul { list-style: none; }
.card li { position: relative; padding-left: 1.1rem; margin-bottom: 0.55rem; font-size: 0.9rem; color: var(--silver-mute); }
.card li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* Triple panels */
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.panel {
  padding: 2.4rem 2rem; border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.panel:hover { border-color: var(--gold); transform: translateY(-5px); }
.panel h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: 1.4rem; }
.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-list li {
  padding: 0.5rem 1rem; font-size: 0.82rem; letter-spacing: 0.04em;
  border: 1px solid var(--line); border-radius: 40px; color: var(--silver);
}

/* Approach */
.approach-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.approach-text p { color: var(--silver-mute); margin-bottom: 1.4rem; }
.mini-head { font-size: 1.05rem; color: var(--gold); margin: 1.6rem 0 0.8rem; }
.principles {
  padding: 2.4rem; border: 1px solid var(--line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(212,175,55,0.05), transparent);
}
.principle-list { list-style: none; margin-bottom: 1.6rem; }
.principle-list li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 0; border-bottom: 1px solid rgba(212,175,55,0.12);
  font-family: "Fraunces", serif; font-size: 1rem; color: #fff;
}
.principle-list li::before { content: "◆"; color: var(--gold); font-size: 0.7rem; }
.principle-note { font-size: 0.9rem; color: var(--silver-mute); }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr; }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  max-width: 820px; margin: 0 auto; width: 100%;
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.55rem;
}
.field input, .field textarea {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.9rem 1rem;
  color: var(--silver);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6f6f; }
.form-footer { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.form-note { font-size: 0.85rem; color: var(--silver-mute); }
.form-note.error { color: #e08b8b; }
.form-note.ok { color: var(--gold); }

.contact-details {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
  max-width: 820px; margin: 3.5rem auto 0; width: 100%;
  padding-top: 2.5rem; border-top: 1px solid var(--line);
}
.detail { display: flex; flex-direction: column; gap: 0.4rem; }
.detail-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.detail a:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer { padding: 3.5rem 0; text-align: center; border-top: 1px solid var(--line); background: #2f2b25; }
.footer-logo { height: 120px; width: auto; margin: 0 auto 1rem; display: block; }
.footer-tag { letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold); margin-bottom: 1rem; }
.footer-legal { font-size: 0.78rem; color: var(--silver-mute); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  /* Skyline drops behind, centered copy */
  .hero { text-align: center; }
  .hero-glow { left: 50%; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-sub { margin: 1.6rem auto 0; }
  .hero-actions { justify-content: center; }
  .hero-media {
    width: 100%; top: auto; height: 56%;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(to top, #000 25%, transparent);
            mask-image: linear-gradient(to top, #000 25%, transparent);
  }
}
@media (max-width: 900px) {
  .about-grid, .approach-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .triple { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: 74%; max-width: 320px;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 2rem;
    background: rgba(48, 44, 38, 0.98); backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: flex; z-index: 60; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}
