
  :root {
    --black: #080808;
    --deep: #0f0f0f;
    --card: #141414;
    --gold: #C9A84C;
    --gold-light: #E8C96D;
    --gold-pale: #f0e0a0;
    --white: #F8F4EC;
    --muted: #888;
    --border: rgba(201,168,76,0.2);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--black);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--black); }
  ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.5rem 4rem;
    background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, transparent 100%);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s;
  }

  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-decoration: none;
  }
  .logo span { color: var(--white); font-weight: 300; }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a {
    text-decoration: none; color: var(--white);
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    position: relative; padding-bottom: 2px;
    transition: color 0.3s;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--gold); }
  .nav-links a:hover::after { width: 100%; }

  .nav-cta {
    padding: 0.6rem 1.8rem;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s !important;
  }
  .nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
  .nav-cta::after { display: none !important; }

  /* ── HERO ── */
  .hero {
    position: relative; height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
      linear-gradient(135deg, rgba(201,168,76,0.07) 0%, transparent 50%),
      linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, rgba(8,8,8,0.7) 70%, rgba(8,8,8,1) 100%),
      url('https://images.unsplash.com/photo-1613977257363-707ba9348227?w=1800&q=80') center/cover no-repeat;
  }

  /* Gold grain overlay */
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
  }

  .hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 860px;
    padding: 0 2rem;
    animation: fadeUp 1.2s ease both;
  }

  .hero-eyebrow {
    font-size: 15px; letter-spacing: 0.4em; text-transform: uppercase;
    color: #fff; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    font-weight: 600;
  }
  .hero-eyebrow::before, .hero-eyebrow::after {
    content: ''; flex: 1; max-width: 60px;
    height: 1px; background: var(--gold); opacity: 0.6;
  }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--gold);
    display: block;
  }

  .hero-sub {
    font-size: 16px; letter-spacing: 0.15em; color: #fff;
    max-width: 500px; margin: 0 auto 3rem;
    line-height: 2;
  }

  .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  .btn-primary {
    padding: 1rem 3rem;
    background: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
  }
  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

  .btn-outline {
    padding: 1rem 3rem;
    border: 1px solid rgba(201,168,76,0.5);
    color: var(--white);
    text-decoration: none;
    font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
    transition: border-color 0.3s, background 0.3s;
  }
  .btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

  /* Hero scroll indicator */
  .scroll-hint {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
    animation: fadeUp 2s ease both;
  }
  .scroll-line {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }

  /* ── STATS STRIP ── */
  .stats {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--deep);
  }
  .stat {
    flex: 1; padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
  }
  .stat:last-child { border-right: none; }
  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem; font-weight: 300;
    color: var(--gold); display: block; line-height: 1;
    margin-bottom: 0.4rem;
  }
  .stat-label {
    font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--muted);
  }

  /* ── SECTION COMMON ── */
  section { padding: 7rem 4rem; }

  .section-tag {
    font-size: 0.6rem; letter-spacing: 0.4em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .section-tag::before {
    content: ''; display: inline-block;
    width: 30px; height: 1px; background: var(--gold);
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300; line-height: 1.1;
    margin-bottom: 1.5rem;
  }
  .section-title em { font-style: italic; color: var(--gold); }

  /* ── PROPERTIES ── */
  .properties { background: var(--black); }
  .properties-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 3.5rem;
  }
  .properties-header .section-title { margin-bottom: 0; }

  .prop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
  }

  .prop-card {
    background: var(--black);
    position: relative; overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
  }
  .prop-card:first-child { grid-row: span 2; aspect-ratio: auto; }

  .prop-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
  }
  .prop-card:hover .prop-img { transform: scale(1.05); }

  .prop-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,0.9) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
    transition: opacity 0.4s;
  }

  .prop-info {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 2rem;
    transform: translateY(4px);
    transition: transform 0.4s;
  }
  .prop-card:hover .prop-info { transform: translateY(0); }

  .prop-type {
    font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.4rem;
  }
  .prop-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem; font-weight: 400; line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  .prop-location {
    font-size: 0.65rem; color: rgba(248,244,236,0.55);
    letter-spacing: 0.1em; margin-bottom: 1rem;
  }
  .prop-price {
    display: flex; align-items: baseline; gap: 0.4rem;
  }
  .prop-price strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 400; color: var(--gold);
  }
  .prop-price span { font-size: 0.6rem; color: var(--muted); letter-spacing: 0.1em; }

  .prop-badge {
    position: absolute; top: 1.2rem; right: 1.2rem;
    padding: 0.3rem 0.8rem;
    background: var(--gold); color: var(--black);
    font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
    font-weight: 600;
  }

  /* ── SERVICES ── */
  .services { background: var(--deep); }
  .services-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; margin-top: 4rem;
  }

  .service-row {
    display: flex; align-items: flex-start; gap: 2rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    margin: -1px 0 0 -1px;
    transition: background 0.3s;
  }
  .service-row:hover { background: rgba(201,168,76,0.04); }

  .service-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 1.2rem;
  }

  .service-row h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; font-weight: 400;
    margin-bottom: 0.4rem;
  }
  .service-row p {
    font-size: 0.72rem; line-height: 1.8;
    color: rgba(248,244,236,0.5);
  }

  /* ── EXPERIENCE ── */
  .experience {
    background: var(--black);
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; padding: 0;
  }

  .exp-visual {
    position: relative; min-height: 600px;
    background: url('img/01.jpg') center/cover;
  }
  .exp-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--black) 100%);
  }

  /* Gold frame decoration */
  .exp-visual::after {
    content: '';
    position: absolute; top: 3rem; left: 3rem; right: 3rem; bottom: 3rem;
    border: 1px solid rgba(201,168,76,0.3);
    pointer-events: none;
  }

  .exp-content {
    padding: 6rem 5rem;
    display: flex; flex-direction: column; justify-content: center;
  }

  .exp-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }

  .exp-item {
    display: flex; align-items: flex-start; gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
  }
  .exp-item:first-child { border-top: 1px solid var(--border); }

  .exp-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 300;
    color: rgba(201,168,76,0.25);
    line-height: 1; min-width: 3rem;
  }

  .exp-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem; font-weight: 400;
    margin-bottom: 0.3rem;
    color: var(--gold-pale);
  }
  .exp-item p {
    font-size: 0.7rem; color: rgba(248,244,236,0.45);
    line-height: 1.8;
  }

  /* ── TESTIMONIALS ── */
  .testimonials {
    background: var(--deep);
    text-align: center;
  }
  .testimonials .section-tag { justify-content: center; }
  .testimonials .section-tag::before { display: none; }

  .testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5px; background: var(--border);
    margin-top: 4rem;
  }

  .testi-card {
    background: var(--card);
    padding: 3rem 2.5rem;
    position: relative;
    transition: background 0.3s;
  }
  .testi-card:hover { background: #1a1a1a; }

  .testi-stars {
    color: var(--gold); font-size: 0.7rem;
    letter-spacing: 0.2em; margin-bottom: 1.5rem;
  }

  .testi-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 300; font-style: italic;
    line-height: 1.6; color: rgba(248,244,236,0.85);
    margin-bottom: 2rem;
  }

  .testi-mark {
    position: absolute; top: 2rem; right: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem; line-height: 1;
    color: rgba(201,168,76,0.1); font-style: italic;
    pointer-events: none;
  }

  .testi-author { display: flex; align-items: center; gap: 1rem; }
  .testi-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--gold);
    object-fit: cover;
  }
  .testi-name {
    font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gold);
  }
  .testi-origin { font-size: 0.6rem; color: var(--muted); margin-top: 0.2rem; }

  /* ── CTA ── */
  .cta-section {
    background: var(--black);
    padding: 0;
    position: relative; overflow: hidden;
    min-height: 500px;
    display: flex; align-items: center;
  }
  .cta-bg {
    position: absolute; inset: 0;
    background:
      linear-gradient(to right, rgba(8,8,8,0.95) 40%, rgba(8,8,8,0.5) 100%),
      url('https://images.unsplash.com/photo-1582719508461-905c673771fd?w=1800&q=80') center/cover;
  }

  /* Geometric gold lines */
  .cta-deco {
    position: absolute; right: 4rem; top: 50%;
    transform: translateY(-50%);
    width: 300px; height: 300px;
    border: 1px solid rgba(201,168,76,0.15);
    z-index: 1;
  }
  .cta-deco::before {
    content: '';
    position: absolute; inset: 20px;
    border: 1px solid rgba(201,168,76,0.1);
  }
  .cta-deco::after {
    content: '';
    position: absolute; inset: 40px;
    border: 1px solid rgba(201,168,76,0.07);
  }

  .cta-content {
    position: relative; z-index: 2;
    padding: 6rem 4rem;
    max-width: 600px;
  }
  .cta-content .section-title { margin-bottom: 1rem; }
  .cta-content p {
    font-size: 0.78rem; color: rgba(248,244,236,0.55);
    line-height: 2; margin-bottom: 2.5rem;
  }

  /* ── FOOTER ── */
  footer {
    background: #050505;
    border-top: 1px solid var(--border);
    padding: 5rem 4rem 2.5rem;
  }

  .footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem; margin-bottom: 4rem;
  }

  .footer-brand .logo { display: inline-block; margin-bottom: 1.2rem; font-size: 2rem; }
  .footer-brand p {
    font-size: 0.72rem; line-height: 2;
    color: rgba(248,244,236,0.4); max-width: 280px;
    margin-bottom: 1.5rem;
  }

  .social-links { display: flex; gap: 0.8rem; }
  .social-link {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 0.8rem;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
  }
  .social-link:hover { border-color: var(--gold); color: var(--gold); }

  .footer-col h4 {
    font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 1.5rem;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
  .footer-col a {
    font-size: 0.72rem; color: rgba(248,244,236,0.4);
    text-decoration: none; transition: color 0.3s;
  }
  .footer-col a:hover { color: var(--gold); }

  .footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-bottom p { font-size: 0.6rem; color: rgba(248,244,236,0.25); letter-spacing: 0.1em; }
  .footer-bottom span { color: var(--gold); }

  /* Gold divider ornament */
  .ornament {
    text-align: center;
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 0.5em;
    margin: 0.5rem 0;
    opacity: 0.4;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); transform-origin: top; }
    50% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
  }

  .reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ── SEARCH BAR ── */
  .search-bar {
    position: absolute; bottom: -35px; left: 50%; transform: translateX(-50%);
    z-index: 10; width: min(900px, 90vw);
    background: var(--deep);
    border: 1px solid var(--border);
    display: flex; align-items: stretch;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  }

  .search-field {
    flex: 1; display: flex; flex-direction: column;
    padding: 1.2rem 2rem;
    border-right: 1px solid var(--border);
  }
  .search-field label {
    font-size: 0.5rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.3rem;
  }
  .search-field select, .search-field input {
    background: none; border: none; outline: none;
    color: var(--white); font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem; font-weight: 300;
    cursor: pointer;
  }
  .search-field select option { background: var(--deep); }

  .search-submit {
    padding: 0 2.5rem;
    background: var(--gold); border: none;
    color: var(--black); font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
    font-weight: 600; cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
  }
  .search-submit:hover { background: var(--gold-light); }

  /* Wrapper to give hero space for search bar */
  .hero-wrapper { position: relative; padding-bottom: 35px; }

  /* Adjust next section to not overlap */
  .stats { margin-top: 35px; }

  
#gallery-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  z-index: -1;
}

#thumbnail-gallery-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  padding: 15px 50px 10px 50px;
}

.thumbnail {
  width: 32%;
  margin-bottom: 2%;
  position: relative;
}

img.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media only screen and (max-width: 800px) {
  #gallery-section {
    padding: 10px 10px 0px 10px;
  }
  #thumbnail-gallery-container {
    padding: 0px;
  }
}

/* Lightbox Styles */

.lightbox-overlay {
  display: flex;
  transform: scale(0, 1);
  transition: transform 400ms ease-out;
  transform-origin: center;
  justify-content: center;
  align-items: center;
  background-color: rgb(80, 80, 80, 0.95);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
}

.lightbox-overlay:target {
  display: flex;
  transform: scale(1, 1);
  z-index: 99999;
}

.lightbox-content {
  color: rgb(250, 250, 250);
  padding: 1.5em;
  width: 75vw;
  text-align: center;
}

.lightbox-image-title {
  position: relative;
  text-align: center;
}

.lightbox-navigation {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
}

.close {
  position: absolute;
  background-color: none;
  top: 5px; /* Top Right Corner Placement */
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.close {
  text-decoration: none;
  font-weight: bold;
  font-size: 2em;
  font-family: sans-serif;
}

.close::after {
  content: "X";
  color: rgb(250, 250, 250);
}

.back,
.next {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24%;
  height: 2em;
  color: rgb(255, 255, 255);
  margin: 1%;
}

img.lightbox-image {
  width: 65vw;
  max-height: 65vh;
  object-fit: contain;
}

  /* ── MOBILE ── */
  @media (max-width: 768px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-links { display: none; }
    section { padding: 5rem 1.5rem; }
    .prop-grid { grid-template-columns: 1fr; }
    .prop-card:first-child { grid-row: auto; }
    .services-grid { grid-template-columns: 1fr; }
    .experience { grid-template-columns: 1fr; }
    .exp-visual { min-height: 350px; }
    .testi-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats { flex-wrap: wrap; }
    .stat { min-width: 50%; }
    .search-bar { flex-direction: column; bottom: auto; position: relative; transform: none; left: auto; margin: 2rem auto 0; }
    .hero-wrapper { padding-bottom: 0; }
    .stats { margin-top: 0; }
    .search-field { border-right: none; border-bottom: 1px solid var(--border); }
    .search-submit { padding: 1.2rem; }
    .properties-header { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
    .cta-content { padding: 4rem 1.5rem; }
    footer { padding: 4rem 1.5rem 2rem; }
    .footer-top { grid-template-columns: 1fr; }
    .cta-deco { display: none; }
  }
