/* ==========================================================
   ROOFLINE PROPERTIES — Main Stylesheet
   ========================================================== */

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

:root {
  --navy:   #0B2C4A;
  --navy2:  #0e3657;
  --gold:   #C9AC51;
  --gold2:  #b89940;
  --neutral:#F2F2F0;
  --white:  #FFFFFF;
  --text:   #1a1a1a;
  --muted:  #6b6b68;
  --border: #d8d8d4;
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Montserrat', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--neutral); color: var(--text); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img  { display: block; max-width: 100%; height: auto; }

/* ── CUSTOM LOGO ─────────────────────────── */
.custom-logo { height: 36px; width: auto; object-fit: contain; }

/* ── NAV ─────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 2px 24px rgba(11,44,74,.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2.5rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--navy); letter-spacing: .01em; }
.nav-logo-text span { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-links a { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.nav-phone { font-size: .78rem; font-weight: 600; color: var(--navy); letter-spacing: .04em; text-decoration: none; }
.nav-cta { font-size: .72rem !important; font-weight: 600 !important; letter-spacing: .1em !important; color: var(--white) !important; background: var(--navy); padding: .6rem 1.4rem; text-decoration: none; transition: background .2s; }
.nav-cta:hover { background: var(--navy2) !important; }

/* Mobile nav toggle */
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: .25rem; flex-direction: column; gap: 5px; }
.nav-mobile-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: transform .3s, opacity .3s; }
.nav-mobile-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { background: var(--white); border-top: 1px solid var(--border); padding: 1.5rem 2.5rem 2rem; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); text-decoration: none; }

/* ── HERO ────────────────────────────────── */
.hero { min-height: 100vh; padding-top: 67px; display: grid; grid-template-columns: 1fr 1fr; }
.hero-left { background: var(--navy); display: flex; flex-direction: column; justify-content: center; padding: 6rem 4rem 6rem 3rem; position: relative; overflow: hidden; }
.hero-left::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60%; height: 2px; background: var(--gold); }
.hero-eyebrow { font-size: .65rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.75rem; }
.hero-title { font-family: var(--serif); font-size: clamp(2.75rem,4vw,4.25rem); font-weight: 400; line-height: 1.1; color: var(--white); margin-bottom: 1.75rem; }
.hero-title em { font-style: italic; color: var(--gold); }
.hero-body { font-size: .9rem; font-weight: 300; line-height: 1.9; color: rgba(255,255,255,.6); max-width: 380px; margin-bottom: 2.75rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-right { background: var(--navy2); display: flex; flex-direction: column; justify-content: flex-end; padding: 3rem; position: relative;
  background-image: linear-gradient(to bottom,rgba(11,44,74,.1) 0%,rgba(11,44,74,.7) 100%), repeating-linear-gradient(0deg,transparent,transparent 79px,rgba(255,255,255,.04) 80px), repeating-linear-gradient(90deg,transparent,transparent 79px,rgba(255,255,255,.04) 80px); }
.hero-arch { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: .22; }
.hero-arch svg { width: 90%; height: 90%; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); position: relative; z-index: 2; }
.hero-stat { background: rgba(11,44,74,.85); padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .3rem; }
.hero-stat-label { font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-stat-value { font-family: var(--serif); font-size: 1.65rem; font-weight: 400; color: var(--white); line-height: 1; }
.hero-stat-sub { font-size: .72rem; font-weight: 300; color: rgba(255,255,255,.45); }

/* ── BUTTONS ─────────────────────────────── */
.btn-gold { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: .9rem 2rem; text-decoration: none; transition: background .2s; border: none; cursor: pointer; }
.btn-gold:hover { background: var(--gold2); color: var(--navy); }
.btn-gold-lg { display: inline-block; font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 1rem 2.25rem; text-decoration: none; margin-top: 2.5rem; transition: background .2s; }
.btn-gold-lg:hover { background: var(--gold2); color: var(--navy); }
.btn-navy { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--white); background: var(--navy); padding: .9rem 2rem; text-decoration: none; transition: background .2s; border: none; cursor: pointer; }
.btn-navy:hover { background: var(--navy2); }
.btn-outline { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); border: 1px solid var(--border); padding: .9rem 1.75rem; text-decoration: none; transition: border-color .2s; }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-white { display: inline-block; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.25); padding: .9rem 1.75rem; text-decoration: none; transition: border-color .2s, color .2s; }
.btn-outline-white:hover { border-color: rgba(255,255,255,.6); color: var(--white); }

/* ── SECTION HELPERS ─────────────────────── */
.section-wrap { max-width: 1280px; margin: 0 auto; padding: 0 2.5rem; }
.eyebrow { font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.section-title { font-family: var(--serif); font-size: clamp(1.9rem,3vw,2.75rem); font-weight: 400; line-height: 1.15; color: var(--navy); }
.section-title em { font-style: italic; }
.gold-rule { width: 2.5rem; height: 2px; background: var(--gold); margin: 1.25rem 0 1.5rem; }
.section-desc { font-size: .9rem; font-weight: 300; line-height: 1.85; color: var(--muted); max-width: 500px; }

/* ── FEATURED PROPERTY ───────────────────── */
#featured { padding: 7rem 0; background: var(--white); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.feat-img-main { aspect-ratio: 4/3; background: linear-gradient(135deg,var(--navy) 0%,var(--navy2) 60%,#1a4a6e 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.feat-img-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-img-main svg { opacity: .18; width: 80%; height: 80%; position: relative; z-index: 1; }
.feat-ribbon { position: absolute; top: 0; left: 0; background: var(--gold); color: var(--navy); font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .5rem 1.1rem; z-index: 2; }
.feat-grid-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); margin: 2.5rem 0; }
.feat-detail { background: var(--white); padding: 1rem 1.25rem; }
.feat-detail-label { font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.feat-detail-value { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; color: var(--navy); }

/* ── LISTINGS ────────────────────────────── */
#listings { padding: 7rem 0; background: var(--neutral); }
.listings-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.listings-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.listing-card { background: var(--white); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(11,44,74,.1); }
.listing-photo { aspect-ratio: 16/10; position: relative; overflow: hidden; background: linear-gradient(135deg,var(--navy) 0%,#1a4a6e 100%); display: flex; align-items: center; justify-content: center; }
.listing-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.listing-photo-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.listing-photo-placeholder svg { opacity: .15; width: 75%; height: 75%; }
.listing-badge { position: absolute; top: 1rem; left: 1rem; font-size: .57rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .8rem; z-index: 2; }
.badge-active { background: var(--gold); color: var(--navy); }
.badge-soon   { background: var(--navy); color: var(--white); }
.badge-leased { background: #888; color: var(--white); }
.listing-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.listing-loc  { font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.listing-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--navy); line-height: 1.25; margin-bottom: .6rem; }
.listing-desc { font-size: .82rem; font-weight: 300; color: var(--muted); line-height: 1.7; flex: 1; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 1.1rem; margin-top: 1.1rem; border-top: 1px solid var(--neutral); }
.listing-specs { display: flex; gap: 1.25rem; }
.listing-spec  { display: flex; flex-direction: column; gap: .15rem; }
.spec-label    { font-size: .55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec-value    { font-family: var(--serif); font-size: .95rem; font-weight: 500; color: var(--text); }
.listing-price { text-align: right; }
.price-label   { font-size: .55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-value   { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.listings-empty { padding: 4rem 0; text-align: center; font-size: .9rem; color: var(--muted); }
.listings-empty a { color: var(--navy); }

/* ── LANDLORD ────────────────────────────── */
#landlord { padding: 7rem 0; background: var(--navy); }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.partner-features { display: flex; flex-direction: column; gap: 1px; }
.pf { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; background: rgba(255,255,255,.04); border-left: 2px solid transparent; transition: background .2s, border-color .2s; }
.pf:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
.pf-num   { font-family: var(--serif); font-size: 1.75rem; font-weight: 400; color: var(--gold); opacity: .5; flex-shrink: 0; line-height: 1; }
.pf-title { font-size: .85rem; font-weight: 600; color: var(--white); margin-bottom: .35rem; letter-spacing: .02em; }
.pf-desc  { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ── CONTACT ─────────────────────────────── */
#contact { padding: 7rem 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info-block { margin-bottom: 2.25rem; }
.contact-info-block h3 { font-family: var(--serif); font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: .35rem; }
.contact-info-block p, .contact-info-block a { font-size: .88rem; font-weight: 300; color: var(--muted); line-height: 1.75; text-decoration: none; }
.contact-info-block a:hover { color: var(--navy); }
.contact-rule { width: 100%; height: 1px; background: var(--neutral); margin: 1.75rem 0; }
.contact-success { background: var(--neutral); padding: 2rem; border-left: 3px solid var(--gold); }
.contact-success p { font-size: .9rem; font-weight: 400; color: var(--navy); }

/* ── FORMS ───────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.1rem; }
.form-group label { font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group select,
.form-group textarea { font-family: var(--sans); font-size: .875rem; font-weight: 300; color: var(--text); background: var(--neutral); border: 1px solid var(--border); padding: .75rem 1rem; outline: none; appearance: none; -webkit-appearance: none; transition: border-color .2s; width: 100%; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b6b68'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-group textarea { resize: none; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: .5rem; }

/* ── SINGLE LISTING ──────────────────────── */
.sl-back { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .08em; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; margin-bottom: 1.5rem; }
.sl-back:hover { color: var(--gold); }
.sl-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); }
.sl-content { font-size: .95rem; font-weight: 300; line-height: 1.85; color: var(--muted); margin-top: 1.5rem; }
.sl-content p { margin-bottom: 1rem; }
.sl-content h2, .sl-content h3 { font-family: var(--serif); color: var(--navy); margin-bottom: .75rem; margin-top: 1.5rem; }

/* ── FOOTER ──────────────────────────────── */
footer { background: var(--navy); padding: 2.5rem; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: var(--serif); font-size: 1.05rem; font-weight: 400; color: rgba(255,255,255,.8); }
.footer-logo span { color: rgba(255,255,255,.35); font-weight: 300; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: .65rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.25); }

/* ── SCROLL REVEAL ───────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
.hero-eyebrow { animation: fadeUp .6s ease both .1s; }
.hero-title   { animation: fadeUp .6s ease both .2s; }
.hero-body    { animation: fadeUp .6s ease both .32s; }
.hero-actions { animation: fadeUp .6s ease both .44s; }
.hero-stats   { animation: fadeUp .6s ease both .55s; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .listings-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 4rem 1.5rem; }
  .hero-right { min-height: 280px; }
  .nav-inner { padding: .9rem 1.25rem; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .section-wrap { padding: 0 1.25rem; }
  #featured, #listings, #landlord, #contact { padding: 4.5rem 0; }
  .feat-grid, .partner-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .listings-grid { grid-template-columns: 1fr; }
  .listings-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .sl-hero-grid, .sl-body-grid { grid-template-columns: 1fr !important; }
  .sl-specs-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .footer-links { flex-direction: column; gap: .75rem; align-items: center; }
}
