/* ==========================================================================
   TVG Properties — Design System
   ========================================================================== */


:root{
  /* Brand palette */
  --navy:        #0D2043;
  --navy-dark:   #08162F;
  --navy-light:  #162E56;
  --gold:        #C9A227;
  --gold-light:  #DDBB55;
  --white:       #FFFFFF;
  --off-white:   #F7F7F5;
  --black:       #000000;
  --soft-black:  #111111;

  /* Functional tokens */
  --bg:          var(--white);
  --bg-alt:      var(--off-white);
  --text:        #1B2331;
  --text-muted:  #5B6472;
  --text-inverse: var(--white);
  --border:      #E7E5DF;

  --font-head: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(13,32,67,.06);
  --shadow-md: 0 12px 32px rgba(13,32,67,.10);
  --shadow-lg: 0 24px 60px rgba(13,32,67,.16);

  --ease: cubic-bezier(.22,.75,.32,1);
  --dur: .55s;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  line-height:1.12;
  margin: 0 0 .5em;
  letter-spacing:-.015em;
}
p{ margin:0 0 1em; color: var(--text-muted); line-height:1.75; }

.container{
  width:100%;
  max-width: var(--container);
  margin-inline:auto;
  padding-inline: 24px;
}

section{ position:relative; }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.75rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:'';
  width:28px; height:2px;
  background: var(--gold);
  display:inline-block;
}
.section-head{
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.section-head p{ font-size:1.05rem; }

.text-inverse .section-head h2,
.text-inverse .section-head p{ color: var(--white); }
.text-inverse p{ color: rgba(255,255,255,.72); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.03em;
  border: 1px solid transparent;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space:nowrap;
}
.btn::before{
  content:'';
  position:absolute; top:0; left:-130%; width:60%; height:100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  z-index:-1;
  pointer-events:none;
}
.btn:hover::before{ left:130%; }
.btn svg{ width:16px; height:16px; transition: transform .3s var(--ease); flex-shrink:0; }
.btn:hover svg{ transform: translateX(4px); }
.btn-gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(201,162,39,.32);
}
.btn-gold:hover{ transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201,162,39,.42); }
.btn-navy{
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover{ background: var(--navy-dark); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline-navy{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:.75rem; }

.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding: 6px 14px;
  border-radius:999px;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tag-gold{ background: rgba(201,162,39,.12); color:#9A7C1E; }
.tag-navy{ background: rgba(13,32,67,.08); color: var(--navy); }
.tag-live{ background: rgba(46,138,84,.12); color:#1F7A45; }
.tag-live::before{ content:''; width:6px; height:6px; border-radius:50%; background:#2E8A54; }
.tag-soon{ background: rgba(201,162,39,.14); color:#8A6D16; }

/* Higher-contrast tag treatment when placed directly over a dark hero photo */
.hero-content .tag,
.detail-hero-content .tag,
.page-hero .tag,
.project-card .badges .tag{
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-content .tag-live,
.detail-hero-content .tag-live,
.page-hero .tag-live,
.project-card .badges .tag-live{ background: rgba(46,138,84,.9); color: var(--white); }
.hero-content .tag-live::before,
.detail-hero-content .tag-live::before,
.page-hero .tag-live::before,
.project-card .badges .tag-live::before{ background: var(--white); }
.hero-content .tag-soon,
.detail-hero-content .tag-soon,
.page-hero .tag-soon,
.project-card .badges .tag-soon{ background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); }

/* ---------- Reveal animation ---------- */
[data-reveal]{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in-view{ opacity:1; transform:none; }
[data-reveal-group] > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  padding: 28px 0;
  border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), padding .45s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}
.site-header.is-transparent{ background: transparent; }
.site-header.is-solid,
.site-header.is-scrolled{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 34px rgba(13,32,67,.09);
  border-bottom-color: rgba(13,32,67,.07);
  padding: 15px 0;
}

.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand img{ height: 42px; width:auto; transition: height .45s var(--ease), opacity .3s; }
.site-header.is-scrolled .brand img{ height: 34px; }
.logo-light{ display:none; }
.site-header.is-transparent:not(.is-scrolled) .logo-dark{ display:none; }
.site-header.is-transparent:not(.is-scrolled) .logo-light{ display:block; }

.nav-links{
  display:flex;
  align-items:center;
  gap: 2px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .45s var(--ease), border-color .45s var(--ease);
}
.nav-links a{
  position:relative;
  display:inline-flex;
  align-items:center;
  padding: 9px 18px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight:600;
  font-size:.76rem;
  letter-spacing:.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .3s, background .3s;
}
.nav-links a:hover{ color: var(--white); background: rgba(255,255,255,.12); }
.nav-links a.active{ color: var(--navy-dark); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }

.site-header.is-scrolled .nav-links{
  background: rgba(13,32,67,.05);
  border-color: rgba(13,32,67,.08);
}
.site-header.is-scrolled .nav-links a{ color: var(--navy); }
.site-header.is-scrolled .nav-links a:hover{ color: var(--navy); background: rgba(13,32,67,.07); }
.site-header.is-transparent:not(.is-scrolled) .nav-links a{ color: rgba(255,255,255,.82); }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-cta .btn-gold svg{ width:15px; height:15px; }

.nav-toggle{
  display:none;
  width: 46px; height:46px;
  border-radius:50%;
  border: 1px solid rgba(13,32,67,.12);
  background: rgba(13,32,67,.05);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  transition: background .3s, border-color .3s, transform .3s;
}
.nav-toggle:hover{ background: rgba(13,32,67,.1); transform: scale(1.05); }
.site-header.is-transparent:not(.is-scrolled) .nav-toggle{ background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); }
.site-header.is-transparent:not(.is-scrolled) .nav-toggle:hover{ background: rgba(255,255,255,.2); }
.nav-toggle span{
  width:18px; height:2px; background: var(--navy); border-radius:2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.site-header.is-transparent:not(.is-scrolled) .nav-toggle span{ background: var(--white); }
.nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop{
  position:fixed; inset:0;
  z-index:999;
  background: rgba(8,16,32,.44);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity:0;
  pointer-events:none;
  transition: opacity .35s var(--ease);
}
.nav-backdrop.is-open{ opacity:1; pointer-events:auto; }
body.nav-open{ overflow:hidden; }

@media (max-width: 900px){
  .nav-links{
    position:fixed;
    inset: 84px 16px auto 16px;
    z-index:1001;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    flex-direction:column;
    align-items:stretch;
    padding: 12px;
    gap:2px;
    transform: translateY(-16px);
    opacity:0;
    pointer-events:none;
    transition: opacity .35s var(--ease), transform .35s var(--ease);
  }
  .nav-links.is-open{ opacity:1; transform:none; pointer-events:auto; }
  .nav-links a{ color: var(--navy) !important; padding:14px 16px; margin:0; border-radius:10px; }
  .nav-links a::after{ display:none; }
  .nav-links a:hover{ background: rgba(13,32,67,.06); }
  .nav-links a.active{ background: rgba(201,162,39,.1); }
  .nav-toggle{ display:flex; flex-shrink:0; }
  .nav-cta{ flex-shrink:0; }
  .nav-cta .btn span.hide-mobile{ display:none; }
  .nav-cta .btn-gold.btn-sm{
    padding:0; width:46px; height:46px;
    border-radius:50%; flex-shrink:0;
  }
  .nav-cta .btn-gold.btn-sm svg{ width:18px; height:18px; }
  .nav-cta .btn-gold.btn-sm .phone-text{ display:none; }
}
@media (min-width: 901px){ .nav-cta form{ display:none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  min-height: 100svh;
  display:flex;
  align-items:center;
  position:relative;
  color: var(--white);
  padding-top: 110px;
  overflow:hidden;
  background: var(--navy-dark);
}
.hero-media{
  position:absolute; inset:0;
  z-index:0;
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  object-position: 50% 20%;
  transform: scale(1.16);
  animation: heroZoom 24s cubic-bezier(.25,.1,.25,1) forwards;
}
@keyframes heroZoom{
  0%{ transform: scale(1.16) translate3d(0,0,0); }
  100%{ transform: scale(1.03) translate3d(-1.2%,-1%,0); }
}
.hero-media video{
  width:100%; height:100%; object-fit:cover;
  object-position: 50% 55%;
  transform: scale(1.04);
  animation: heroZoomSlow 30s ease-in-out forwards;
}
@keyframes heroZoomSlow{
  0%{ transform: scale(1.04); }
  100%{ transform: scale(1); }
}
.hero-media::after{
  content:'';
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(6,15,32,.5) 0%, rgba(6,15,32,.2) 42%, rgba(6,15,32,.08) 68%),
    linear-gradient(180deg, rgba(6,15,32,.62) 0%, rgba(6,15,32,.18) 30%, rgba(6,15,32,.22) 58%, rgba(6,15,32,.8) 100%);
}
.hero-grain{
  position:absolute; inset:0; z-index:1;
  opacity:.05; mix-blend-mode:overlay; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content{ position:relative; z-index:2; }
.hero-content [data-reveal]{ transition-delay: calc(1.1s + var(--i, 0) * .14s); }
.hero-content .eyebrow[data-reveal]{ transition-delay: .1s; }
.hero-content .eyebrow{ color: var(--gold-light); }
.hero-content h1{
  color: var(--white);
  font-size: clamp(1.8rem, 4.6vw, 3.6rem);
  font-weight:700;
  letter-spacing:-.02em;
  max-width: 15ch;
  margin-bottom:.42em;
  text-shadow: 0 2px 24px rgba(0,0,0,.18);
}
.reveal-line{ display:block; overflow:hidden; padding-bottom:.08em; }
.reveal-line .reveal-inner{
  display:block;
  animation-name: revealUp;
  animation-duration: 1.05s;
  animation-timing-function: cubic-bezier(.22,.75,.32,1);
  animation-fill-mode: both;
  animation-delay: .35s;
}
.reveal-line:nth-of-type(2) .reveal-inner{ animation-delay: .48s; }
.reveal-line:nth-of-type(3) .reveal-inner{ animation-delay: .6s; }
@keyframes revealUp{
  from{ transform: translateY(112%); }
  to{ transform: translateY(0); }
}

.hero-content .lede{
  font-size: .8125rem;
  font-weight:400;
  line-height:1.7;
  color: rgba(255,255,255,.8);
  max-width: 42ch;
  margin-bottom: 36px;
}
.hero-actions{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; margin-bottom: 76px; }
.hero-actions .link-arrow{
  color: var(--white);
  font-size:.82rem;
  padding: 8px 2px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  transition: border-color .3s, opacity .3s;
}
.hero-actions .link-arrow:hover{ border-color: var(--gold-light); opacity:.9; }

.hero-stats{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid rgba(255,255,255,.22);
  padding-top: 24px;
  max-width: 640px;
}
.hero-stats .stat{
  padding: 0 22px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.hero-stats .stat:first-child{ padding-left:0; border-left:none; }
.hero-stats .stat b{
  display:block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight:700;
  color: var(--white);
  margin-bottom:5px;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.hero-stats .stat span{
  display:block;
  font-size:.66rem;
  color: rgba(255,255,255,.6);
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height:1.35;
}

.hero-tagline{
  position:absolute; right:36px; bottom:36px; z-index:2;
  display:flex; align-items:center; gap:8px;
  padding: 11px 20px;
  border-radius:999px;
  background: rgba(6,15,32,.42);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,.82);
  font-family: var(--font-head);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.scroll-cue{
  position:absolute; bottom: 36px; left:50%; transform: translateX(-50%);
  z-index:2;
}
.scroll-cue .circle{
  width:48px; height:48px; border-radius:50%;
  border:1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display:flex; align-items:center; justify-content:center;
  color: rgba(255,255,255,.85);
  transition: background .3s, border-color .3s, transform .3s;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.scroll-cue .circle:hover{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); }
.scroll-cue .circle svg{ width:17px; height:17px; }
@keyframes scrollBounce{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

@media (max-width: 720px){
  .hero-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); row-gap:22px; }
  .hero-stats .stat:nth-child(2){ border-left:1px solid rgba(255,255,255,.16); }
  .hero-stats .stat:nth-child(3){ padding-left:0; border-left:none; }
  .hero-tagline{ display:none; }
}
@media (max-height: 780px), (max-width: 600px){
  .scroll-cue{ display:none; }
}

/* Page (interior) hero — shorter, for non-home pages */
.page-hero{
  position:relative;
  padding: 190px 0 110px;
  color: var(--white);
  overflow:hidden;
}
.page-hero > .container{ position:relative; z-index:1; }
.page-hero .hero-media img{ animation:none; transform:scale(1.02); }
.page-hero h1{ color:var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 20ch; }
.page-hero .lede{ color: rgba(255,255,255,.8); max-width: 56ch; font-size:1.05rem; }
.breadcrumb{
  display:flex; gap:8px; align-items:center;
  font-size:.8rem; color: rgba(255,255,255,.6);
  margin-bottom:18px; font-family: var(--font-head); letter-spacing:.03em;
}
.breadcrumb a:hover{ color:var(--gold-light); }

/* ==========================================================================
   Cards — Projects
   ========================================================================== */
.grid{ display:grid; gap: 32px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-3, .grid-2{ grid-template-columns: 1fr; } }

.project-card{
  background: var(--white);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display:flex; flex-direction:column;
  height:100%;
}
.project-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.project-card .thumb{
  position:relative;
  aspect-ratio: 4/3;
  overflow:hidden;
}
.project-card .thumb img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .7s var(--ease);
}
.project-card:hover .thumb img{ transform: scale(1.08); }
.project-card .thumb .badges{
  position:absolute; top:14px; left:14px; display:flex; gap:8px;
}
.project-card .body{ padding: 24px; flex:1; display:flex; flex-direction:column; }
.project-card .loc{
  display:flex; align-items:center; gap:6px;
  font-size:.8rem; color: var(--text-muted); margin-bottom:10px;
}
.project-card .loc svg{ width:14px; height:14px; flex-shrink:0; color: var(--gold); }
.project-card h3{ font-size:1.25rem; margin-bottom:8px; }
.project-card p{ font-size:.92rem; margin-bottom:16px; }
.project-card .meta{
  display:flex; flex-wrap:wrap; gap: 10px 18px;
  margin-top:auto;
  padding-top:16px; border-top:1px solid var(--border);
  font-size:.78rem; color: var(--text-muted);
}
.project-card .meta b{ color: var(--navy); font-family: var(--font-head); }
.project-card .cta-row{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:18px;
}
.link-arrow{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-head); font-weight:700; font-size:.82rem; color: var(--navy);
}
.link-arrow svg{ width:15px; height:15px; transition: transform .3s var(--ease); }
.project-card:hover .link-arrow svg,
.link-arrow:hover svg{ transform: translateX(5px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--navy-dark);
  color: rgba(255,255,255,.68);
  padding-top: 80px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img{ height:40px; margin-bottom:18px; }
.footer-brand p{ color: rgba(255,255,255,.55); font-size:.92rem; max-width:34ch; }
.social-row{ display:flex; gap:10px; margin-top:20px; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center;
  transition: background .3s, border-color .3s, transform .3s;
}
.social-row a:hover{ background: var(--gold); border-color: var(--gold); color: var(--navy-dark); transform: translateY(-3px); }
.social-row svg{ width:16px; height:16px; }

.footer-col h4{
  color: var(--white); font-size:.85rem; text-transform:uppercase; letter-spacing:.1em;
  margin-bottom:20px;
}
.footer-col ul li{ margin-bottom:12px; }
.footer-col a{ font-size:.92rem; color: rgba(255,255,255,.6); transition: color .3s, padding-left .3s; }
.footer-col a:hover{ color: var(--gold-light); padding-left:4px; }
.footer-contact li{ display:flex; gap:12px; align-items:flex-start; font-size:.9rem; }
.footer-contact svg{ width:17px; height:17px; color: var(--gold); flex-shrink:0; margin-top:3px; }

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 26px 0; font-size:.8rem; color: rgba(255,255,255,.4); flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,.55); }
.footer-bottom a:hover{ color: var(--gold-light); }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Shared sections
   ========================================================================== */
.section{ padding: 100px 0; }
.section-sm{ padding: 64px 0; }
.bg-alt{ background: var(--bg-alt); }
.bg-navy{ background: var(--navy); }
.bg-navy-dark{ background: var(--navy-dark); }
.text-inverse{ color: rgba(255,255,255,.8); }
.text-inverse h2, .text-inverse h3, .text-inverse h4{ color: var(--white); }

.divider-gold{ width:60px; height:3px; background: var(--gold); border-radius:2px; margin: 18px 0 26px; }

/* Stat strip */
.stat-strip{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: 24px;
}
.stat-strip .stat{
  text-align:center; padding: 28px 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
}
.stat-strip .stat b{ display:block; font-family: var(--font-head); font-size: clamp(1.6rem,3vw,2.4rem); color: var(--gold-light); font-weight:800; }
.stat-strip .stat span{ font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color: rgba(255,255,255,.6); }
@media (max-width:720px){ .stat-strip{ grid-template-columns: repeat(2,1fr); } }

/* Value / feature cards */
.feature-card{
  padding: 32px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  height:100%;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .icon{
  width:54px; height:54px; border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(201,162,39,.16), rgba(201,162,39,.06));
  color: var(--gold);
  margin-bottom:20px;
}
.feature-card .icon svg{ width:26px; height:26px; }
.feature-card h3{ font-size:1.1rem; margin-bottom:8px; }
.feature-card p{ font-size:.92rem; margin:0; }

/* About split */
.split{
  display:grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items:center;
}
@media (max-width: 860px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split-media{ position:relative; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-md); }
.split-media img{ width:100%; height:100%; object-fit:cover; }

.timeline{ display:flex; flex-direction:column; gap:0; }
.timeline li{
  display:grid; grid-template-columns: 26px 1fr; gap:18px;
  padding-bottom: 30px; position:relative;
}
.timeline li::before{
  content:''; position:absolute; left:12px; top:26px; bottom:0; width:1px;
  background: var(--border);
}
.timeline li:last-child::before{ display:none; }
.timeline .dot{
  width:26px;height:26px;border-radius:50%;
  background: var(--navy); color:var(--gold-light);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:800; font-size:.72rem;
}
.timeline h4{ margin:0 0 4px; font-size:1rem; }
.timeline p{ margin:0; font-size:.9rem; }

/* Testimonial / CTA banner */
.cta-banner{
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 24px;
  padding: 64px 48px;
  color: var(--white);
  display:flex; align-items:center; justify-content:space-between; gap: 32px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-banner::before{
  content:'';
  position:absolute; width:420px; height:420px; border-radius:50%;
  background: radial-gradient(circle, rgba(201,162,39,.22), transparent 70%);
  top:-160px; right:-120px;
}
.cta-banner h2{ color:var(--white); font-size: clamp(1.5rem,2.6vw,2.1rem); margin-bottom:6px; }
.cta-banner p{ color: rgba(255,255,255,.7); margin:0; max-width:44ch; }
.cta-banner .actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }

/* Contact + form */
.info-card{
  display:flex; gap:16px; padding:22px;
  background: var(--white); border:1px solid var(--border); border-radius: var(--radius);
  align-items:flex-start;
}
.info-card .icon{
  width:46px;height:46px;border-radius:12px; flex-shrink:0;
  background: rgba(13,32,67,.06); color: var(--navy);
  display:flex; align-items:center; justify-content:center;
}
.info-card .icon svg{ width:22px;height:22px; }
.info-card h4{ font-size:.98rem; margin-bottom:4px; }
.info-card p{ font-size:.88rem; margin:0; }

.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:.8rem; font-weight:600; color: var(--navy); font-family: var(--font-head); }
.field input, .field select, .field textarea{
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size:.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,39,.14);
}
.field textarea{ resize: vertical; min-height:120px; }
.form-note{ font-size:.78rem; color: var(--text-muted); margin-top:10px; }
.form-success{
  display:none;
  align-items:center; gap:12px;
  padding:16px 18px; border-radius:12px;
  background: rgba(46,138,84,.1); color:#1F7A45; font-size:.9rem; font-weight:600;
  margin-top:16px;
}
.form-success.is-visible{ display:flex; }
.form-success svg{ width:20px; height:20px; flex-shrink:0; }

/* Map embed frame */
.map-frame{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

/* ==========================================================================
   Projects listing: filters
   ========================================================================== */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between;
  background: var(--white);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
  position:sticky; top:88px; z-index:50;
}
.search-box{
  flex:1; min-width:220px;
  display:flex; align-items:center; gap:10px;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: 12px 18px;
  border: 1.5px solid transparent;
  transition: border-color .3s;
}
.search-box:focus-within{ border-color: var(--gold); }
.search-box svg{ width:18px; height:18px; color: var(--text-muted); flex-shrink:0; }
.search-box input{
  border:0; background:transparent; outline:none; width:100%;
  font-family: var(--font-body); font-size:.92rem; color:var(--text);
}
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  padding: 9px 16px;
  border-radius:999px;
  border: 1.5px solid var(--border);
  font-family: var(--font-head); font-weight:600; font-size:.78rem;
  color: var(--navy);
  background: var(--white);
  transition: all .3s;
}
.chip:hover{ border-color: var(--gold); }
.chip.is-active{ background: var(--navy); border-color: var(--navy); color: var(--white); }
.results-empty{
  display:none; text-align:center; padding: 70px 20px; color: var(--text-muted);
}
.results-empty.is-visible{ display:block; }
.results-count{ font-size:.85rem; color: var(--text-muted); margin-bottom: 22px; }

@media (max-width: 900px){
  .filter-bar{ position:static; flex-direction:column; align-items:stretch; }
}

/* ==========================================================================
   Detail page (project)
   ========================================================================== */
.detail-hero{
  position:relative; min-height: 78vh; display:flex; align-items:flex-end;
  color: var(--white); overflow:hidden; padding-top:110px;
}
.detail-hero .hero-media img{ animation:none; transform:scale(1.02); }
.detail-hero-content{ position:relative; z-index:1; padding-bottom: 56px; width:100%; }
.detail-hero h1{ color:var(--white); font-size: clamp(2rem,4.6vw,3.4rem); max-width:22ch; }
.detail-hero .loc-row{
  display:flex; align-items:center; gap:8px; color: rgba(255,255,255,.82); font-size:.98rem; margin-bottom:16px;
}
.detail-hero .loc-row svg{ width:18px;height:18px; color: var(--gold-light); }
.detail-quickfacts{
  display:flex; gap:34px; flex-wrap:wrap; margin-top:30px;
  border-top:1px solid rgba(255,255,255,.2); padding-top:24px;
}
.detail-quickfacts .qf b{ display:block; font-family:var(--font-head); font-size:1.2rem; font-weight:800; }
.detail-quickfacts .qf span{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color: rgba(255,255,255,.6); }

.detail-layout{
  display:grid; grid-template-columns: 1fr 360px; gap: 56px; align-items:start;
}
@media (max-width: 980px){ .detail-layout{ grid-template-columns:1fr; } }

.sticky-card{
  position:sticky; top:110px;
  background: var(--white);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.sticky-card h3{ font-size:1.1rem; }
.sticky-card .price{ font-family:var(--font-head); font-size:1.6rem; color: var(--navy); font-weight:800; margin-bottom:4px; }
.sticky-card ul{ margin: 18px 0; display:flex; flex-direction:column; gap:12px; }
.sticky-card ul li{ display:flex; justify-content:space-between; font-size:.88rem; color: var(--text-muted); border-bottom:1px dashed var(--border); padding-bottom:10px; }
.sticky-card ul li b{ color: var(--navy); font-family: var(--font-head); }

.amenity-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px 22px; }
@media (max-width:560px){ .amenity-grid{ grid-template-columns:1fr; } }
.amenity-item{ display:flex; align-items:center; gap:12px; font-size:.92rem; color: var(--text); }
.amenity-item svg{ width:18px; height:18px; color: var(--gold); flex-shrink:0; }

.floorplan-table{ width:100%; border-collapse:collapse; font-size:.88rem; }
.floorplan-table th, .floorplan-table td{ padding:14px 12px; text-align:left; border-bottom:1px solid var(--border); }
.floorplan-table th{ font-family:var(--font-head); color: var(--navy); font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; }
.floorplan-table tr:last-child td{ border-bottom:0; }
.table-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius: var(--radius); }

.gallery-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
@media (max-width:720px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
.gallery-grid a{ display:block; border-radius:12px; overflow:hidden; aspect-ratio:4/3; }
.gallery-grid img{ width:100%; height:100%; object-fit:cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img{ transform: scale(1.06); }

.tab-nav{ display:flex; gap:6px; flex-wrap:wrap; border-bottom:1px solid var(--border); margin-bottom:32px; }
.tab-nav button{
  padding: 12px 18px; background:none; border:none; border-bottom:2px solid transparent;
  font-family: var(--font-head); font-weight:700; font-size:.85rem; color: var(--text-muted);
  transition: color .3s, border-color .3s;
}
.tab-nav button.is-active{ color: var(--navy); border-color: var(--gold); }
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(8px);} to{opacity:1; transform:none;} }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:2000; background: rgba(8,16,32,.94);
  display:flex; align-items:center; justify-content:center; padding:30px;
  opacity:0; pointer-events:none; transition: opacity .3s;
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }
.lightbox img{ max-width:100%; max-height:88vh; border-radius:10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close{
  position:absolute; top:26px; right:26px; width:44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center;
}
.lightbox-close svg{ width:20px; height:20px; }

/* Breadcrumb / misc spacing helpers */
.mt-0{ margin-top:0 !important; }
.center-text{ text-align:center; }
.small-caps{ font-family:var(--font-head); font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:.72rem; color:var(--text-muted); }

/* Back to top */
.to-top{
  position: fixed; right:22px; bottom:22px; z-index:900;
  width:48px; height:48px; border-radius:50%;
  background: var(--navy); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md);
  opacity:0; transform: translateY(12px); pointer-events:none;
  transition: opacity .35s, transform .35s, background .3s;
}
.to-top.is-visible{ opacity:1; transform:none; pointer-events:auto; }
.to-top:hover{ background: var(--gold); color: var(--navy-dark); }
.to-top svg{ width:20px; height:20px; }

/* 404-ish empty states */
.icon-circle{
  width:64px;height:64px;border-radius:50%;
  background: var(--bg-alt); display:flex; align-items:center; justify-content:center; margin: 0 auto 18px;
  color: var(--text-muted);
}
.icon-circle svg{ width:28px; height:28px; }


/* ==========================================================================
   Accessibility, forms and motion polish
   ========================================================================== */
.skip-link{
  position:absolute; left:12px; top:-64px; z-index:1000;
  background: var(--navy); color:#fff; padding:10px 16px; border-radius:10px;
  font-weight:600; font-size:.9rem; transition: top .2s;
}
.skip-link:focus{ top:12px; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; border-radius:6px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible{ outline:none; }

.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid{
  border-color:#C0392B; box-shadow:0 0 0 4px rgba(192,57,43,.1);
}
.field-error{ font-size:.78rem; color:#C0392B; font-weight:500; }
.form-error{
  display:none; padding:14px 18px; border-radius:12px; margin-top:16px;
  background: rgba(192,57,43,.08); color:#A93226; font-size:.9rem; font-weight:600;
}
.form-error.is-visible{ display:block; }
.form-error a{ text-decoration:underline; }
.form-note a{ color: var(--navy); text-decoration:underline; text-underline-offset:2px; }
button[disabled]{ opacity:.65; cursor:progress; transform:none !important; }

/* iOS Safari zooms the page when a field under 16px is focused */
@media (max-width: 860px){
  .field input, .field select, .field textarea, .search-box input{ font-size:16px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  [data-reveal]{ opacity:1 !important; transform:none !important; }
}
