/* =========================================================================
   GOLIATH PROPERTIES LLC — STYLESHEET
   Design tokens
   ========================================================================= */
:root{
  /* Color */
  --navy-900: #0B2038;
  --navy-800: #0E2A47;
  --blue-700: #1C4F82;
  --blue-500: #2E6FD9;
  --blue-300: #6FA0E8;
  --orange-600: #E8630F;
  --orange-500: #F2731E;
  --orange-300: #FFA85C;
  --ink: #142235;
  --ink-soft: #4A5871;
  --paper: #F6F8FB;
  --paper-dim: #EBEFF5;
  --white: #FFFFFF;
  --line: #DDE4EE;

  /* Type */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --max: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px -12px rgba(11,32,56,0.18);
  --shadow-lift: 0 20px 45px -15px rgba(11,32,56,0.30);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin: 0; color: var(--navy-900); line-height: 1.08; }
p{ margin: 0; }
button{ font-family: inherit; cursor: pointer; }

.container{ max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--orange-500);
  display: inline-block;
}

.section{ padding: 96px 0; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head h2{ font-size: clamp(28px, 4vw, 42px); margin-top: 14px; }
.section-head p{ margin-top: 16px; font-size: 17px; color: var(--ink-soft); line-height: 1.6; }
.section--tint{ background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark{
  background: linear-gradient(180deg,var(--navy-900),var(--navy-800) 60%, #0A1B30);
  color: var(--white);
}
.section--dark .section-head h2{ color: var(--white); }
.section--dark .section-head p{ color: #B9C6DA; }

/* buttons */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px) scale(.98); }
.btn--primary{ background: var(--orange-500); color: var(--white); box-shadow: 0 12px 24px -10px rgba(242,115,30,.55); }
.btn--primary:hover{ background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(242,115,30,.6); }
.btn--ghost{ background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover{ border-color: var(--white); transform: translateY(-2px); }
.btn--dark{ background: var(--navy-900); color: var(--white); }
.btn--dark:hover{ background: var(--blue-700); transform: translateY(-2px); }
.btn--sm{ padding: 10px 18px; font-size: 13.5px; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.nav.is-scrolled{
  background: rgba(11,32,56,0.88);
  backdrop-filter: blur(14px);
  padding: 11px 0;
  box-shadow: 0 8px 30px -10px rgba(0,0,0,.4);
}
.nav .container{ display: flex; align-items: center; justify-content: space-between; }
.brand{ display: flex; align-items: center; gap: 12px; }
.brand img{ width: 38px; height: 38px; }
.brand-word{ font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; color: var(--white); }
.brand-word small{ display: block; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.16em; color: var(--orange-300); font-weight: 500; margin-top: 1px; }

.nav-links{ display: flex; align-items: center; gap: 34px; }
.nav-links a{
  color: #DCE5F2; font-size: 14.5px; font-weight: 500; position: relative; padding: 4px 0;
}
.nav-links a::after{
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--orange-500);
  transition: width .3s ease;
}
.nav-links a:hover{ color: var(--white); }
.nav-links a:hover::after{ width: 100%; }
.nav-cta{ display: flex; align-items: center; gap: 14px; }
.nav-toggle{ display: none; background: none; border: none; padding: 6px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: ""; display: block; width: 24px; height: 2px; background: var(--white); position: relative; transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle span::before{ position: absolute; top: -8px; }
.nav-toggle span::after{ position: absolute; top: 8px; }

@media (max-width: 900px){
  .nav-links{
    position: fixed; inset: 0 0 auto 0; top: 68px;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy-900); padding: 10px 28px 26px;
    transform: translateY(-130%); opacity: 0;
    transition: transform .35s ease, opacity .3s ease;
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.5);
  }
  .nav-links.is-open{ transform: translateY(0); opacity: 1; }
  .nav-links a{ padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-cta .btn--sm{ display: none; }
  .nav-toggle{ display: block; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: radial-gradient(1100px 700px at 82% -10%, #163b64 0%, var(--navy-900) 55%), linear-gradient(180deg,var(--navy-900),#081726);
  color: var(--white);
  overflow: hidden;
  padding-top: 90px;
}
.hero-blueprint{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,0) 78%);
  opacity: .5;
}
.hero-glow{
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,115,30,.28), transparent 70%);
  top: -160px; right: -160px; filter: blur(10px);
  animation: floatGlow 10s ease-in-out infinite;
}
@keyframes floatGlow{ 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-30px, 40px); } }

.hero .container{ position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-copy{ animation: heroRise 1s cubic-bezier(.2,.8,.25,1) both; }
@keyframes heroRise{ from{ opacity: 0; transform: translateY(26px); } to{ opacity: 1; transform: translateY(0); } }
.hero-copy .eyebrow{ color: var(--orange-300); }
.hero h1{
  font-size: clamp(38px, 5.4vw, 62px);
  color: var(--white);
  margin-top: 20px;
  letter-spacing: -0.01em;
}
.hero h1 em{ font-style: normal; color: var(--orange-400, var(--orange-300)); position: relative; }
.hero-lede{
  margin-top: 22px; font-size: 18px; line-height: 1.65; color: #C4D2E5; max-width: 560px;
}
.hero-actions{ display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats{
  display: grid; grid-template-columns: repeat(3,1fr); gap: 0;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14);
  max-width: 560px;
}
.stat b{
  display: block; font-family: var(--font-display); font-size: clamp(24px,3vw,32px); color: var(--white);
}
.stat span{ font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #93A6C2; }

/* animated ascending skyline visual */
.hero-visual{ position: relative; height: 460px; animation: heroRise 1.2s .15s cubic-bezier(.2,.8,.25,1) both; }
.skyline{ position: absolute; bottom: 40px; left: 0; right: 0; height: 100%; display: flex; align-items: flex-end; gap: 14px; justify-content: center; }
.skybar{
  width: 15%; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
  transform-origin: bottom;
  animation: growBar 1.4s cubic-bezier(.16,.9,.28,1) both;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.skybar.tall{ background: linear-gradient(180deg, var(--orange-300), var(--orange-600)); }
.skybar:nth-child(1){ height: 38%; animation-delay: .05s; }
.skybar:nth-child(2){ height: 55%; animation-delay: .18s; }
.skybar:nth-child(3){ height: 74%; animation-delay: .3s; }
.skybar:nth-child(4){ height: 100%; animation-delay: .42s; }
.skybar:nth-child(5){ height: 63%; animation-delay: .54s; }
@keyframes growBar{ from{ transform: scaleY(0); opacity: 0; } to{ transform: scaleY(1); opacity: 1; } }
.hero-visual-card{
  position: absolute; left: -10px; bottom: 0; background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 12px;
  animation: cardPop 1s .8s cubic-bezier(.2,.9,.3,1) both;
  min-width: 210px;
}
@keyframes cardPop{ from{ opacity: 0; transform: translateY(16px) scale(.94); } to{ opacity: 1; transform: translateY(0) scale(1); } }
.hero-visual-card .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 5px rgba(242,115,30,.18); animation: pulse 1.8s infinite; flex-shrink: 0; }
@keyframes pulse{ 0%,100%{ box-shadow: 0 0 0 5px rgba(242,115,30,.18);} 50%{ box-shadow: 0 0 0 9px rgba(242,115,30,.06);} }
.hero-visual-card b{ display: block; font-size: 13.5px; }
.hero-visual-card span{ font-size: 11.5px; color: var(--ink-soft); }

.scroll-cue{
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: #7C90AC; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue::after{
  content: ""; width: 1px; height: 30px; background: linear-gradient(180deg, #7C90AC, transparent);
  animation: cueMove 1.8s ease-in-out infinite;
}
@keyframes cueMove{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero-visual{ height: 300px; order: -1; }
  .hero-stats{ grid-template-columns: repeat(3,1fr); max-width: none; }
}

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger > *{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger.is-visible > *{ opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: .13s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: .21s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: .29s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: .37s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: .45s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: .53s; }
.reveal-stagger.is-visible > *:nth-child(8){ transition-delay: .61s; }
.reveal-stagger.is-visible > *:nth-child(9){ transition-delay: .69s; }

/* =========================================================================
   MARQUEE STRIP
   ========================================================================= */
.marquee{ background: var(--navy-900); overflow: hidden; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee-track{ display: flex; gap: 60px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span{
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: #7C90AC;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
}
.marquee-track span::before{ content: "◆"; color: var(--orange-500); font-size: 8px; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* =========================================================================
   ABOUT / OWNER
   ========================================================================= */
.about{ display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about-card{
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border-radius: 22px; color: var(--white); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.about-card::after{
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,111,217,.4), transparent 70%);
  right: -60px; bottom: -80px; pointer-events: none;
}
.about-photo{ position: relative; width: 100%; aspect-ratio: 4/5; overflow: hidden; }
.about-photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center 12%; filter: grayscale(1) contrast(1.04); display: block; }
.about-photo::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--navy-900) 96%);
}
.about-card-body{ padding: 26px 32px 34px; position: relative; z-index: 1; margin-top: -46px; }
.about-avatar{
  width: 78px; height: 78px; border-radius: 18px;
  background: linear-gradient(160deg, var(--orange-500), var(--orange-600));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white);
  box-shadow: 0 14px 26px -10px rgba(242,115,30,.55);
}
.about-card h3{ color: var(--white); font-size: 24px; margin-top: 20px; }
.about-card .role{ font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-300); margin-top: 6px; display: block; }
.about-card p{ margin-top: 18px; color: #C4D2E5; font-size: 15px; line-height: 1.7; position: relative; z-index: 1; }
.license-list{ margin-top: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.license-list li{ font-family: var(--font-mono); font-size: 12.5px; color: #A9BAD2; display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed rgba(255,255,255,.15); padding-top: 10px; }
.license-list li b{ color: var(--white); font-weight: 500; text-align: right; }

.about-body h2{ font-size: clamp(28px,3.6vw,38px); }
.about-body > p{ margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.about-points{ margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.point{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.point:hover{ transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--blue-300); }
.point b{ display: block; font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.point p{ font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

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

/* =========================================================================
   SERVICES
   ========================================================================= */
.services-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.25,1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: transparent; }
.service-card .num{ font-family: var(--font-mono); font-size: 12px; color: var(--blue-300); letter-spacing: .1em; }
.service-icon{
  width: 50px; height: 50px; border-radius: 13px; margin-top: 14px;
  background: linear-gradient(160deg, var(--blue-500), var(--navy-800));
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s ease;
}
.service-card:hover .service-icon{ transform: rotate(-6deg) scale(1.06); }
.service-icon svg{ width: 24px; height: 24px; stroke: var(--white); }
.service-card h3{ font-size: 19px; margin-top: 18px; }
.service-card p{ margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.service-card::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--blue-500));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover::before{ transform: scaleX(1); }

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

/* =========================================================================
   DRAW / FINANCING TIMELINE
   ========================================================================= */
.timeline{ position: relative; margin-top: 20px; }
.timeline-track{
  position: absolute; top: 34px; left: 0; right: 0; height: 3px; background: var(--line);
  overflow: hidden; border-radius: 3px;
}
.timeline-track i{
  display: block; height: 100%; width: 0%; background: linear-gradient(90deg,var(--orange-500),var(--blue-500));
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.timeline-track.is-visible i{ width: 100%; }
.timeline-steps{ display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.tstep{ text-align: left; }
.tstep .tdot{
  width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue-300);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--navy-800);
  transition: border-color .4s ease, background .4s ease, color .4s ease, transform .4s ease;
}
.timeline-steps.is-visible .tstep:nth-child(1) .tdot{ transition-delay: .1s; }
.timeline-steps.is-visible .tstep:nth-child(2) .tdot{ transition-delay: .5s; }
.timeline-steps.is-visible .tstep:nth-child(3) .tdot{ transition-delay: .9s; }
.timeline-steps.is-visible .tstep:nth-child(4) .tdot{ transition-delay: 1.3s; }
.timeline-steps.is-visible .tstep .tdot{ background: var(--orange-500); border-color: var(--orange-500); color: var(--white); transform: scale(1.05); }
.tstep h4{ font-family: var(--font-display); font-size: 16.5px; color: var(--navy-900); margin-top: 18px; }
.tstep p{ font-size: 14px; color: var(--ink-soft); margin-top: 8px; line-height: 1.55; }

@media (max-width: 800px){
  .timeline-track{ display: none; }
  .timeline-steps{ grid-template-columns: 1fr; gap: 30px; }
}

/* =========================================================================
   FLIPS GALLERY
   ========================================================================= */
.filter-bar{ display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-chip{
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  transition: all .25s ease;
}
.filter-chip:hover{ border-color: var(--blue-300); color: var(--navy-900); }
.filter-chip.is-active{ background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.flip-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.flip-card{
  border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line);
  cursor: pointer; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.flip-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.flip-media{ position: relative; aspect-ratio: 4/3; overflow: hidden; }
.flip-media img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.flip-card:hover .flip-media img{ transform: scale(1.09); }
.flip-tag{
  position: absolute; top: 14px; left: 14px; background: var(--orange-500); color: var(--white);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.flip-media .expand{
  position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(11,32,56,.75); display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px); transition: all .3s ease;
}
.flip-card:hover .expand{ opacity: 1; transform: translateY(0); }
.expand svg{ width: 15px; height: 15px; stroke: var(--white); }
.flip-body{ padding: 18px 20px 22px; }
.flip-body h4{ font-size: 16.5px; }
.flip-body .city{ font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; display: block; }
.flip-body p{ font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.55; }
.flip-redfin{
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-700); font-weight: 600; padding-top: 12px; border-top: 1px solid var(--line); width: 100%;
  transition: color .25s ease, gap .25s ease;
}
.flip-redfin svg{ width: 12px; height: 12px; stroke: var(--blue-700); transition: transform .25s ease; }
.flip-redfin:hover{ color: var(--orange-600); gap: 9px; }
.flip-redfin:hover svg{ stroke: var(--orange-600); transform: translate(1px,-1px); }

@media (max-width: 980px){ .flip-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .flip-grid{ grid-template-columns: 1fr; } }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
.lightbox{
  position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center;
  background: rgba(6,15,27,.92); padding: 30px;
}
.lightbox.is-open{ display: flex; animation: fadeIn .3s ease; }
@keyframes fadeIn{ from{ opacity: 0;} to{ opacity: 1;} }
.lightbox-inner{ max-width: 900px; width: 100%; animation: cardPop .4s ease; }
.lightbox-inner img{ width: 100%; border-radius: 12px; max-height: 68vh; object-fit: cover; }
.lightbox-caption{ color: var(--white); margin-top: 18px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.lightbox-caption h4{ color: var(--white); font-size: 19px; }
.lightbox-caption span{ font-family: var(--font-mono); font-size: 12px; color: var(--orange-300); text-transform: uppercase; letter-spacing: .05em; }
.lightbox-close{
  position: absolute; top: 26px; right: 30px; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease;
}
.lightbox-close:hover{ background: rgba(255,255,255,.18); transform: rotate(90deg); }
.lightbox-close svg{ width: 18px; height: 18px; stroke: var(--white); }

/* =========================================================================
   LISTINGS (FOR SALE)
   ========================================================================= */
.listing-card{
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--white);
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}
.listing-gallery{ position: relative; aspect-ratio: 4/3; }
.listing-gallery img{ width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.listing-gallery img.is-active{ opacity: 1; }
.listing-dots{ position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; z-index: 3; }
.listing-dots button{ width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); border: none; padding: 0; transition: all .25s ease; }
.listing-dots button.is-active{ background: var(--white); width: 22px; border-radius: 6px; }
.listing-badge{ position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--blue-500); color: var(--white); font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.listing-nav{ position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 36px; height: 36px; border-radius: 50%; background: rgba(11,32,56,.55); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.listing-nav:hover{ background: rgba(11,32,56,.85); }
.listing-nav svg{ width: 16px; height: 16px; stroke: var(--white); }
.listing-nav--prev{ left: 16px; }
.listing-nav--next{ right: 16px; }

.listing-info{ padding: 40px 40px; display: flex; flex-direction: column; }
.listing-info .price{ font-family: var(--font-display); font-size: 15px; color: var(--orange-600); font-weight: 700; }
.listing-info h3{ font-size: 27px; margin-top: 10px; }
.listing-info .city{ font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-top: 6px; display: block; }
.listing-meta{ display: flex; gap: 22px; margin-top: 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listing-meta div{ display: flex; flex-direction: column; }
.listing-meta b{ font-family: var(--font-display); font-size: 18px; }
.listing-meta span{ font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.listing-info p.desc{ margin-top: 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.7; }
.listing-info .btn{ margin-top: 26px; align-self: flex-start; }

.empty-listings{
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 60px 30px; text-align: center; color: var(--ink-soft);
}

@media (max-width: 860px){
  .listing-card{ grid-template-columns: 1fr; }
  .listing-info{ padding: 30px 26px; }
}

/* =========================================================================
   CONSTRUCTION PARTNER (GILAND INC.)
   ========================================================================= */
.partner-card{
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.partner-info{ padding: 46px 46px; }
.partner-mark{
  width: 60px; height: 60px; border-radius: 15px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(11,32,56,.4);
}
.partner-info h3{ font-size: 25px; margin-top: 20px; }
.partner-info .ptag{ font-family: var(--font-mono); font-size: 11.5px; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; display: block; }
.partner-info > p{ margin-top: 18px; font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.partner-stats{ display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 26px; }
.partner-stats div{ background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.partner-stats b{ display: block; font-family: var(--font-display); font-size: 20px; color: var(--navy-900); }
.partner-stats span{ font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.partner-lic{ margin-top: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); line-height: 1.9; border-top: 1px dashed var(--line); padding-top: 16px; }
.partner-lic b{ color: var(--navy-900); font-weight: 600; }
.partner-links{ display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.partner-map{ position: relative; min-height: 340px; }
.partner-map iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 900px){
  .partner-card{ grid-template-columns: 1fr; }
  .partner-info{ padding: 34px 26px; }
  .partner-map{ min-height: 260px; }
}

/* =========================================================================
   COMMERCIAL CAPABILITIES
   ========================================================================= */
.commercial-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.commercial-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.25,1), box-shadow .35s ease;
}
.commercial-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.commercial-art{
  aspect-ratio: 16/11; background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.commercial-art::before{
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.commercial-art svg{ width: 62%; height: 62%; position: relative; z-index: 1; }
.commercial-body{ padding: 26px 24px 28px; }
.commercial-body h3{ font-size: 18.5px; }
.commercial-body p{ margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

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


.lender{
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: 26px; padding: 56px; color: var(--white); position: relative; overflow: hidden;
}
.lender::before{
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.lender > *{ position: relative; z-index: 1; }
.lender-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.lender-stats div{ background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px; }
.lender-stats b{ display: block; font-family: var(--font-display); font-size: 24px; color: var(--orange-300); }
.lender-stats span{ font-family: var(--font-mono); font-size: 11px; color: #A9BAD2; text-transform: uppercase; letter-spacing: .05em; }
.lender h2{ color: var(--white); font-size: clamp(26px,3.2vw,34px); }
.lender p{ margin-top: 16px; color: #C4D2E5; font-size: 15.5px; line-height: 1.7; }
.lender-list{ margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.lender-list li{ display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #DCE5F2; }
.lender-list svg{ width: 18px; height: 18px; stroke: var(--orange-400,var(--orange-300)); flex-shrink: 0; margin-top: 2px; }
.lender-card{
  background: var(--white); color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: var(--shadow-lift);
}
.lender-card .lname{ font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy-900); }
.lender-card .ltag{ font-family: var(--font-mono); font-size: 11.5px; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; display: block; }
.lender-card .lic{ margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); line-height: 1.9; border-top: 1px dashed var(--line); padding-top: 16px; }

@media (max-width: 900px){ .lender{ grid-template-columns: 1fr; padding: 34px 26px; } }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact{ display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info{ display: flex; flex-direction: column; gap: 22px; }
.contact-row{ display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: transform .25s ease, box-shadow .25s ease; }
.contact-row:hover{ transform: translateX(4px); box-shadow: var(--shadow-soft); }
.contact-row .ic{ width: 42px; height: 42px; border-radius: 10px; background: var(--paper-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .ic svg{ width: 19px; height: 19px; stroke: var(--blue-700); }
.contact-row b{ display: block; font-size: 14.5px; }
.contact-row a, .contact-row span.val{ font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 2px; }
.contact-row a:hover{ color: var(--blue-500); }

.contact-form{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form-row{ margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-row label{ font-size: 12.5px; font-weight: 600; color: var(--navy-900); font-family: var(--font-mono); letter-spacing: .03em; text-transform: uppercase; }
.form-row input, .form-row select, .form-row textarea{
  border: 1.5px solid var(--line); border-radius: 9px; padding: 13px 14px; font-family: var(--font-body); font-size: 14.5px;
  transition: border-color .25s ease, box-shadow .25s ease; background: var(--paper);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(46,111,217,.14); background: var(--white);
}
.form-two{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note{ font-size: 12px; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }

@media (max-width: 860px){ .contact{ grid-template-columns: 1fr; } .form-two{ grid-template-columns: 1fr; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer{ background: #081726; color: #8FA2BE; padding: 60px 0 28px; }
.footer-top{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand-word{ color: var(--white); }
.footer-about p{ margin-top: 16px; font-size: 13.5px; line-height: 1.7; max-width: 320px; }
.footer h5{ color: var(--white); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links li{ margin-bottom: 10px; font-size: 13.5px; }
.footer-links a:hover{ color: var(--white); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .disclosure{ max-width: 640px; line-height: 1.6; }

/* =========================================================================
   MISC UTILITIES
   ========================================================================= */
.back-top{
  position: fixed; right: 26px; bottom: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange-500); display: flex; align-items: center; justify-content: center; z-index: 400;
  box-shadow: var(--shadow-lift); opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.back-top.is-visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top svg{ width: 18px; height: 18px; stroke: var(--white); }
.back-top:hover{ background: var(--orange-600); }
