/* ==========================================================================
   Only NNN Properties — Main Stylesheet
   site: onlynnnproperties.com
   fonts: Playfair Display (display) + DM Sans (body) via Google Fonts
   ========================================================================== */


/* ==========================================================================
   1. RESET & CSS CUSTOM PROPERTIES
   ========================================================================== */

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

:root {
  /* Colour palette */
  --navy:        #0a1628;
  --navy-2:      #132441;
  --navy-3:      #1e3a5f;
  --teal:        #1a7680;
  --teal-light:  #239aab;
  --amber:       #d4870c;
  --amber-light: #f0a832;
  --sky:         #2e8bc0;
  --rust:        #b84040;
  --white:       #ffffff;
  --off-white:   #f5f7fa;
  --parchment:   #f4f0e6;
  --gray-light:  #eaeef3;

  /* Text */
  --text:        #0d1b2e;
  --text-mid:    #3d5166;
  --text-light:  #7a8fa3;
  --border:      rgba(10, 22, 40, 0.1);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  /* Misc */
  --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--parchment);
  color: var(--text);
  overflow-x: hidden;
}


/* ==========================================================================
   2. GLOBAL — SKIP LINK
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }


/* ==========================================================================
   3. GLOBAL — TOP BAR
   ========================================================================== */

.top-bar {
  background: var(--navy);
  padding: 0.5rem 2.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}
.top-bar a {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.top-bar a:hover { color: var(--teal-light); }
.top-bar-phone { color: var(--teal-light) !important; font-weight: 600 !important; }

@media (max-width: 768px) {
  .top-bar { padding: 0.5rem 1.5rem; }
}


/* ==========================================================================
   4. GLOBAL — NAVIGATION
   ========================================================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(10, 22, 40, 0.08); }

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 22px; height: 22px; fill: var(--teal); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-top {
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal);
}
.nav-logo-bottom {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em; text-transform: uppercase;
}

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); background: var(--parchment); }
.nav-links .nav-cta { background: var(--teal); color: var(--white); padding: 0.6rem 1.4rem; }
.nav-links .nav-cta:hover { background: var(--teal-light); color: var(--navy); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all 0.3s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--navy);
    padding: 5rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    width: 100%; border-radius: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links a:hover,
  .nav-links a.active { color: var(--white); background: transparent; }
  .nav-links .nav-cta {
    background: var(--teal); color: var(--navy);
    border: none; border-radius: var(--radius); margin-top: 1rem;
  }
  .hamburger { display: flex; z-index: 300; }
}

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 150; }
.nav-overlay.open { display: block; }


/* ==========================================================================
   5. GLOBAL — BUTTONS
   ========================================================================== */

.btn-amber {
  padding: 0.95rem 2.4rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-amber:hover { background: var(--teal-light); transform: translateY(-2px); color: var(--navy); }
.btn-amber:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }

.btn-ghost {
  padding: 0.95rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.btn-navy {
  padding: 1rem 2.6rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-navy:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.btn-teal {
  display: block; text-align: center;
  padding: 0.85rem 1.25rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-teal:hover { background: var(--teal-light); }

/* Alias used on blog sidebar */
.btn-amber-sm {
  display: block; text-align: center;
  padding: 0.8rem 1.25rem;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s;
}
.btn-amber-sm:hover { background: var(--teal-light); color: var(--navy); }
.btn-amber-sm:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }


/* ==========================================================================
   6. GLOBAL — SECTION SCAFFOLDING
   ========================================================================== */

section { padding: 7rem 2.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--teal); }

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700; line-height: 1.1;
  color: var(--navy);
  text-transform: uppercase; letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.section-h2.light { color: var(--white); }

.section-body {
  font-size: 1.05rem; font-weight: 300;
  line-height: 1.85; color: var(--text-mid);
  max-width: 620px;
}
.section-body.light { color: rgba(255, 255, 255, 0.6); }

.breadcrumb {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); }

@media (max-width: 768px) { section { padding: 5rem 1.5rem; } }


/* ==========================================================================
   7. GLOBAL — FOOTER
   ========================================================================== */

footer { background: var(--navy); padding: 5rem 2.5rem 2.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800; text-transform: uppercase;
  color: var(--white); letter-spacing: 0.02em; margin-bottom: 0.4rem;
}
.footer-logo-sub {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.25rem;
}
.footer-tagline {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.45);
  line-height: 1.75; margin-bottom: 1.5rem;
}
.footer-contact-link {
  font-size: 0.95rem; font-weight: 600;
  color: var(--teal); text-decoration: none;
  display: block; margin-bottom: 0.35rem; transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--teal-light); }
.footer-col-title {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: rgba(255, 255, 255, 0.45); }
.footer-legal { display: flex; gap: 1.5rem; list-style: none; }
.footer-legal a {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-legal a:hover {
  color: var(--teal-light);
  border-color: var(--teal-light);
}


/* ==========================================================================
   8. GLOBAL — ANIMATIONS & REVEAL
   ========================================================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }


/* ==========================================================================
   9. GLOBAL — SHARED SIDEBAR / S-CARDS
   ========================================================================== */

.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar.sticky { position: sticky; top: 90px; }

.s-card-dark { background: var(--navy); padding: 2rem; border-radius: var(--radius); }
.s-card-light { background: var(--parchment); border: 1px solid var(--border); padding: 2rem; border-radius: var(--radius); }

.s-card-dark h3 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  color: var(--white); text-transform: uppercase; margin-bottom: 0.75rem;
}
.s-card-light h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--navy); text-transform: uppercase; margin-bottom: 1rem;
}
.s-text { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); line-height: 1.7; margin-bottom: 1.5rem; }
.s-text-light { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1.25rem; }
.s-phone {
  font-size: 1.1rem; font-weight: 700;
  color: var(--teal); text-decoration: none;
  display: block; margin-bottom: 1rem;
}
.s-phone:hover { color: var(--teal-light); }

/* Table of contents (article sidebar) */
.toc { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; }
.toc a {
  font-size: 0.85rem; color: var(--text-mid);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: block; transition: color 0.2s;
}
.toc a:hover { color: var(--teal); }

/* Category list (blog sidebar) */
.cat-list { list-style: none; display: flex; flex-direction: column; }
.cat-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--text-mid); text-align: left;
  padding: 0.65rem 0; width: 100%;
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.cat-btn:hover { color: var(--navy); }
.cat-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.cat-count { color: var(--teal); font-weight: 700; font-size: 0.82rem; }


/* ==========================================================================
   10. HOME — HERO
   ========================================================================== */

#hero {
  min-height: calc(100vh - 100px);
  background: var(--navy);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.hero-grid-overlay {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero-glow {
  position: absolute; top: -200px; right: 200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 135, 12, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { padding: 6rem 3rem 6rem 8vw; position: relative; z-index: 2; }
.hero-content { animation: fadeUp 0.8s ease both; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 2rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); }

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 700; line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.75rem;
  text-transform: uppercase; letter-spacing: -0.01em;
}
.hero-content h1 span { color: var(--teal); }
.hero-sub {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255, 255, 255, 0.65); line-height: 1.8;
  max-width: 500px; margin-bottom: 3rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }

.hero-stats {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-val {
  font-family: var(--font-display); font-size: 2.2rem; font-weight: 700;
  color: var(--teal); line-height: 1;
}
.hero-stat-desc { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); margin-top: 0.25rem; letter-spacing: 0.06em; }

.hero-visual {
  position: relative; height: 100%; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-img-frame { position: relative; width: clamp(280px, 36vw, 480px); }
.hero-img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius); }
.hero-img-badge {
  position: absolute; bottom: -1.25rem; left: -1.25rem;
  background: var(--teal);
  color: var(--white);
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  min-width: 150px;
}
.hero-img-badge strong {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  display: block; line-height: 1; margin-bottom: 0.3rem;
  color: var(--white);
}
.hero-img-badge span {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.8);
  display: block;
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 5rem 1.5rem 3rem; }
  .hero-visual { display: none; }
}


/* ==========================================================================
   11. HOME — TOP 6 REASONS
   ========================================================================== */

#reasons { background: var(--white); }
.reasons-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .reasons-grid { grid-template-columns: 1fr; } }

.reason-card {
  padding: 2.5rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--white);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.reason-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.reason-card:hover { border-color: rgba(212, 135, 12, 0.35); box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08); transform: translateY(-4px); }
.reason-card:hover::after { transform: scaleX(1); }
.reason-num {
  font-family: var(--font-display); font-size: 4rem; font-weight: 700;
  color: rgba(212, 135, 12, 0.1); line-height: 1; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.reason-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--navy); margin-bottom: 0.75rem;
}
.reason-card p { font-size: 0.9rem; line-height: 1.8; color: var(--text-mid); }


/* ==========================================================================
   12. HOME — STATS BANNER
   ========================================================================== */

#stats-banner { background: var(--navy-2); padding: 5rem 2.5rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-item { background: var(--navy-2); padding: 2.5rem 2rem; text-align: center; }
.stat-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 700; color: var(--teal); letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }


/* ==========================================================================
   13. HOME — TENANTS SECTION
   ========================================================================== */

#tenants { background: var(--parchment); }
.tenants-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 4rem; flex-wrap: wrap; gap: 2rem; }

.tenant-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .tenant-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .tenant-categories { grid-template-columns: 1fr; } }

.tenant-cat {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tenant-cat:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(10, 22, 40, 0.1); }
.tenant-cat-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.tenant-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.tenant-cat:hover .tenant-cat-img img { transform: scale(1.05); }
.tenant-cat-body { padding: 1.75rem; }
.tenant-cat-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; display: block; }
.tenant-cat h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); text-transform: uppercase; margin-bottom: 0.5rem; }
.tenant-cat p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 0.75rem; }



/* ==========================================================================
   14. HOME — LEASE TYPES
   ========================================================================== */

#lease-types { background: var(--navy); }
.lease-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius); overflow: hidden; margin-top: 4rem;
}
@media (max-width: 768px) { .lease-grid { grid-template-columns: 1fr; } }
.lease-card { background: rgba(255, 255, 255, 0.03); padding: 3rem 2.5rem; }
.lease-card-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.lease-card-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--teal); }
.lease-card h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1.25rem; }
.lease-card p { font-size: 0.925rem; line-height: 1.85; color: rgba(255, 255, 255, 0.55); margin-bottom: 1.5rem; }
.lease-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.lease-list li { font-size: 0.875rem; color: rgba(255, 255, 255, 0.5); display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.6; }
.lease-list li::before { content: '→'; color: var(--teal); flex-shrink: 0; font-size: 0.75rem; margin-top: 0.2rem; }


/* ==========================================================================
   15. HOME — PURCHASE PROCESS
   ========================================================================== */

#process { background: var(--white); }
.process-head { max-width: 700px; margin-bottom: 4rem; }
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr);
  position: relative; gap: 0;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 2.5rem; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.3;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps::before { display: none; }
}
.process-step { text-align: center; padding: 0 1rem; }
.step-circle {
  width: 52px; height: 52px;
  border: 2px solid var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--teal);
  background: var(--white); position: relative; z-index: 1;
}
.process-step h3 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 0.6rem; }
.process-step p { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }


/* ==========================================================================
   16. HOME — FAQ
   ========================================================================== */

#faq { background: var(--parchment); }
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 3rem; } }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 2rem;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(212, 135, 12, 0.3); }
.faq-item h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.faq-item p { font-size: 0.9rem; line-height: 1.8; color: var(--text-mid); }


/* ==========================================================================
   17. HOME — CTA STRIP
   ========================================================================== */

#cta-strip { background: var(--teal); padding: 6rem 2.5rem; }
.cta-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 3rem; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; color: var(--navy); text-transform: uppercase;
  letter-spacing: -0.01em; margin-bottom: 0.75rem; line-height: 1.1;
}
.cta-text p { font-size: 1rem; color: rgba(10, 22, 40, 0.65); max-width: 480px; line-height: 1.75; }


/* ==========================================================================
   18. HOME — BLOG PREVIEW
   ========================================================================== */

#blog-preview { background: var(--white); }
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; flex-wrap: wrap; gap: 2rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  background: var(--white); position: relative;
}
.blog-card::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(10, 22, 40, 0.08); border-color: rgba(212, 135, 12, 0.3); }
.blog-card:hover::after { transform: scaleX(1); }
.blog-card:focus-visible { outline: 2px solid var(--teal); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-thumb { aspect-ratio: 16/9; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.blog-thumb-ph {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.2); font-size: 0.75rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 700;
}
.blog-body { padding: 1.75rem; }
.blog-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; display: block; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); text-transform: uppercase; line-height: 1.3; margin-bottom: 0.6rem; }
.blog-excerpt { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-light); }


/* ==========================================================================
   19. ABOUT PAGE
   ========================================================================== */

/* Mission / intro split */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 900px) { .mission-grid { grid-template-columns: 1fr; gap: 3rem; } }
.mission-img-wrap { position: relative; }
.mission-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.mission-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mission-badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--teal); display: block; line-height: 1; }
.mission-badge span { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }

/* Who we serve cards */
.serve-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
@media (max-width: 900px) { .serve-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .serve-grid { grid-template-columns: 1fr; } }
.serve-card {
  padding: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.serve-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.serve-card:hover { border-color: rgba(212, 135, 12, 0.3); box-shadow: 0 12px 40px rgba(10, 22, 40, 0.07); transform: translateY(-4px); }
.serve-card:hover::after { transform: scaleX(1); }
.serve-icon { width: 48px; height: 48px; background: rgba(212, 135, 12, 0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.serve-icon svg { width: 24px; height: 24px; stroke: var(--teal); fill: none; }
.serve-card p { font-size: 0.9rem; line-height: 1.8; color: var(--text-mid); }

/* Property types — dark section with solid card backgrounds */
#property-types { background: var(--navy); }
.types-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
@media (max-width: 768px) { .types-intro { grid-template-columns: 1fr; gap: 2rem; } }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .types-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px)  { .types-grid { grid-template-columns: 1fr; } }
.type-card {
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.type-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.type-card:hover {
  border-color: rgba(26, 118, 128, 0.5);
  background: var(--navy-3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.type-card:hover::after { transform: scaleX(1); }
.type-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; display: block; }
.type-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); text-transform: uppercase; margin-bottom: 0.75rem; }
.type-card p { font-size: 0.875rem; line-height: 1.8; color: rgba(255, 255, 255, 0.65); margin-bottom: 0.75rem; }
.type-range { font-size: 0.78rem; font-weight: 700; color: var(--teal-light); }
.type-tenants { font-size: 0.75rem !important; color: rgba(255, 255, 255, 0.38) !important; }

/* Selection criteria */
.criteria-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 900px) { .criteria-grid { grid-template-columns: 1fr; gap: 3rem; } }
.criteria-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.criteria-item {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.5rem; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); transition: border-color 0.3s;
}
.criteria-item:hover { border-color: rgba(212, 135, 12, 0.25); }
.criteria-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: rgba(212, 135, 12, 0.2); line-height: 1; flex-shrink: 0; width: 44px; }
.criteria-item p { font-size: 0.875rem; line-height: 1.75; color: var(--text-mid); }
.criteria-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.criteria-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Why Only NNN */
.why-only-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 900px) { .why-only-inner { grid-template-columns: 1fr; gap: 3rem; } }
.differentiators { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.diff-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.diff-item:first-child { border-top: 1px solid var(--border); }
.diff-check { width: 32px; height: 32px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 0.1rem; }


/* ==========================================================================
   20. CONTACT PAGE
   ========================================================================== */

.contact-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }
.contact-desc { font-size: 1rem; font-weight: 300; line-height: 1.85; color: var(--text-mid); margin-bottom: 2.5rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.c-icon svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; }
.c-value { font-size: 0.95rem; color: var(--text-mid); text-decoration: none; display: block; line-height: 1.6; transition: color 0.2s; }
.c-value:hover { color: var(--teal); }

.trust-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.trust-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.1rem; }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.trust-list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.65;
}
.trust-list li::before {
  content: '✓';
  color: var(--teal);
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.18rem;
  background: rgba(26, 118, 128, 0.15);
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* Contact form */
.contact-form {
  background: var(--white); padding: 3rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 50px rgba(10, 22, 40, 0.07);
  border: 1px solid var(--border);
}
@media (max-width: 600px) { .contact-form { padding: 1.75rem; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-group label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(10, 22, 40, 0.15);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--parchment);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 118, 128, 0.12);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: var(--rust); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { cursor: pointer; }
.form-submit:active { transform: translateY(0); }
.form-submit:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-status { padding: 0.875rem 1rem; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; margin-top: 1rem; }
.form-status[hidden] { display: none; }
.form-status.error { background: rgba(184, 64, 64, 0.08); color: var(--rust); border: 1px solid rgba(184, 64, 64, 0.2); }


/* ==========================================================================
   21. BLOG LISTING PAGE
   ========================================================================== */

/* Page hero (shared with about, contact) */
.page-hero { background: var(--navy); padding: 5rem 2.5rem; position: relative; overflow: hidden; }
.page-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.page-hero-inner {
  max-width: 1200px; margin: 0 auto;
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 800; color: var(--white);
  line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em;
}
.page-hero h1 span { color: var(--teal); }
@media (max-width: 768px) {
  .page-hero { padding: 4rem 1.5rem; }
  .page-hero-inner { flex-direction: column; align-items: flex-start; }
}

/* Filter bar */
.filter-bar {
  background: var(--parchment);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2.5rem;
  position: sticky; top: 68px; z-index: 50;
}
.filter-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.filter-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); margin-right: 0.5rem; }
.filter-btn {
  padding: 0.4rem 1.1rem; border-radius: 30px;
  border: 1px solid var(--border); background: var(--white);
  font-size: 0.8rem; font-weight: 600; color: var(--text-mid);
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
}
.filter-btn:hover,
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.filter-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 768px) { .filter-bar { padding: 0.75rem 1.5rem; top: 64px; } }

/* Blog main layout */
#blog-main { padding: 5rem 2.5rem; background: var(--white); }
.blog-layout {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start;
}
@media (max-width: 1024px) { .blog-layout { grid-template-columns: 1fr; } }

/* Featured article */
.featured-link {
  display: grid; grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); margin-bottom: 2.5rem;
  background: var(--white);
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none; color: inherit;
}
.featured-link:hover { box-shadow: 0 16px 60px rgba(10, 22, 40, 0.1); transform: translateY(-3px); }
.featured-link:focus-visible { outline: 2px solid var(--teal); }
@media (max-width: 768px) { .featured-link { grid-template-columns: 1fr; } }

.feat-img { overflow: hidden; }
.feat-img img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.5s; }
.featured-link:hover .feat-img img { transform: scale(1.04); }

.feat-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) { .feat-body { padding: 1.75rem; } }
.feat-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.feat-label::before { content: '★'; font-size: 0.6rem; }
.feat-body h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; color: var(--navy); text-transform: uppercase; line-height: 1.2; margin-bottom: 0.75rem; }
.feat-excerpt { font-size: 0.9rem; line-height: 1.8; color: var(--text-mid); margin-bottom: 1.5rem; }
.feat-meta { font-size: 0.75rem; color: var(--text-light); }
.read-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--teal); padding-bottom: 2px; width: fit-content;
}

/* Blog grid (2-col inside main column) */
.blog-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 620px) { .blog-grid-2 { grid-template-columns: 1fr; } }

/* Blog listing sidebar */
aside .sidebar {
  display: flex; flex-direction: column; gap: 1.5rem;
}
@media (max-width: 1024px) { aside .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 620px)  { aside .sidebar { grid-template-columns: 1fr; } }


/* ==========================================================================
   22. BLOG ARTICLE PAGES
   ========================================================================== */

/* Article hero */
.article-hero { background: var(--navy); padding: 4rem 2.5rem 3rem; position: relative; overflow: hidden; }
.article-hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.article-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.article-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 0.75rem; }
.article-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; color: var(--white); line-height: 1.1; max-width: 780px; }
.article-hero h1 em { color: var(--teal); font-style: normal; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
.article-meta time,
.article-meta span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); letter-spacing: 0.05em; }
.article-meta .sep { color: rgba(255, 255, 255, 0.2); }
@media (max-width: 600px) { .article-hero { padding: 3rem 1.5rem 2rem; } }

/* Article layout */
.article-wrap {
  max-width: 1200px; margin: 0 auto;
  padding: 4rem 2.5rem;
  display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start;
  background: var(--white);
}
@media (max-width: 1024px) { .article-wrap { grid-template-columns: 1fr; } }
@media (max-width: 768px)  { .article-wrap { padding: 3rem 1.5rem; } }

/* Article hero image */
.article-hero-img {
  width: 100%; aspect-ratio: 16/7; object-fit: cover;
  display: block; border-radius: var(--radius);
  margin-bottom: 2.5rem;
  box-shadow: 0 12px 48px rgba(10, 22, 40, 0.12);
}

/* Article body typography */
.article-body h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); text-transform: uppercase; margin: 2.5rem 0 1rem; line-height: 1.25; }
.article-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--navy-2); margin: 1.75rem 0 0.75rem; }
.article-body p { font-size: 1rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.25rem; }
.article-body ul,
.article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { font-size: 1rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 0.5rem; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(26, 118, 128, 0.3); transition: border-color 0.2s; }
.article-body a:hover { border-color: var(--teal); }

/* Callout box */
.callout {
  background: var(--parchment);
  border-left: 4px solid var(--teal);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout p { margin: 0; font-size: 0.95rem; }

/* Numbered steps list */
.steps { counter-reset: step; list-style: none; margin: 1rem 0 1.5rem 0; }
.steps li {
  counter-increment: step;
  position: relative; padding: 0.75rem 1rem 0.75rem 3.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem; line-height: 1.7; color: var(--text-mid);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.7rem;
  width: 2.25rem; height: 2.25rem;
  background: var(--navy); color: var(--teal);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

/* Dark scenario box (estate planning) */
.scenario { background: var(--navy); color: var(--white); padding: 2rem 2.25rem; border-radius: var(--radius); margin: 2rem 0; }
.scenario h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; letter-spacing: 0.08em; }
.scenario p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); line-height: 1.8; margin-bottom: 0.6rem; }
.scenario p:last-child { margin-bottom: 0; }
.scenario strong { color: var(--white); }

/* Cap rate formula display */
.formula { background: var(--navy); color: var(--white); text-align: center; padding: 2rem; border-radius: var(--radius); margin: 2rem 0; }
.formula .eq { font-family: var(--font-display); font-size: clamp(1.1rem, 3vw, 1.6rem); font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
.formula .eq em { color: var(--teal); font-style: normal; }
.formula p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.45); margin-top: 0.75rem; margin-bottom: 0; }

/* Compare grid (2-col side-by-side boxes) */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-box { padding: 1.75rem; border-radius: var(--radius); border: 2px solid var(--border); }
.compare-box.good,
.compare-box.fee  { border-color: var(--teal); background: rgba(26, 118, 128, 0.04); }
.compare-box.bad  { border-color: var(--rust); background: rgba(184, 64, 64, 0.04); }
.compare-box.ground { border-color: var(--amber); background: rgba(212, 135, 12, 0.04); }
.compare-box h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; letter-spacing: 0.06em; }
.compare-box.good h4,
.compare-box.fee h4  { color: var(--teal); }
.compare-box.bad h4  { color: var(--rust); }
.compare-box.ground h4 { color: var(--amber); }
.compare-box ul { margin-left: 1rem; }
.compare-box li { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 0.55rem; line-height: 1.6; }

/* Cap rate calculator cards */
.calc-box { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .calc-box { grid-template-columns: 1fr; } }
.calc-card { background: var(--parchment); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.calc-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; color: var(--navy); margin-bottom: 1rem; letter-spacing: 0.06em; }
.calc-card .line { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-mid); padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.calc-card .line:last-child { border-bottom: none; font-weight: 700; color: var(--navy); font-size: 0.95rem; margin-top: 0.25rem; }

/* Data tables */
.rating-table,
.ref-table,
.cap-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.rating-table th,
.ref-table th,
.cap-table th {
  background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.85rem 1rem; text-align: left;
}
.rating-table td,
.ref-table td,
.cap-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); color: var(--text-mid); }
.rating-table tr:nth-child(even) td,
.ref-table tr:nth-child(even) td,
.cap-table tr:nth-child(even) td { background: var(--parchment); }
.ref-table td:first-child { font-weight: 600; color: var(--text); }
.cap-table td:first-child { font-weight: 600; color: var(--text); }

/* Rating color coding */
.grade-a   { color: var(--teal);  font-weight: 700; }
.grade-b   { color: var(--amber); font-weight: 700; }
.rate-low  { color: var(--teal);  font-weight: 700; }
.rate-mid  { color: var(--amber); font-weight: 700; }
.rate-high { color: var(--sky);   font-weight: 700; }

/* Related articles section */
.related { background: var(--parchment); padding: 4rem 2.5rem; }
.related-inner { max-width: 1200px; margin: 0 auto; }
.related h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--navy); text-transform: uppercase; margin-bottom: 2rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } .related { padding: 3rem 1.5rem; } }

.rel-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08); }
.rel-thumb { aspect-ratio: 16/9; overflow: hidden; }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.rel-card:hover .rel-thumb img { transform: scale(1.06); }
.rel-body { padding: 1.25rem; }
.rel-cat { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 0.4rem; }
.rel-body h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--navy); text-transform: uppercase; line-height: 1.3; }

/* Contact page main area */
#contact { background: var(--white); }


/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover {
  background: var(--teal-light);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

/* Also override common WP plugin back-to-top buttons to match our style */
.back-to-top,
#rocket-back-to-top,
.rocket-jump-to-footer,
.scroll-to-top,
#scrollUp,
.go-to-top,
.totop {
  background: var(--teal) !important;
  border-radius: 50% !important;
  color: var(--white) !important;
  border: none !important;
}


/* ==========================================================================
   LEGAL PAGES — Privacy Policy & Terms of Use
   ========================================================================== */

.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2.5rem 5rem;
}
.legal-meta {
  background: var(--parchment);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 3rem;
}
.legal-meta p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}
.legal-meta p:last-child { margin-bottom: 0; }
.legal-meta a { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(26,118,128,.3); }
.legal-meta a:hover { border-color: var(--teal); }

#legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin: 2.5rem 0 0.85rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  line-height: 1.2;
}
#legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
#legal-content p {
  font-size: 0.975rem;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
#legal-content ul {
  margin: 0.75rem 0 1rem 1.5rem;
}
#legal-content li {
  font-size: 0.975rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
#legal-content a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,118,128,.3);
}
#legal-content a:hover { border-color: var(--teal); }
#legal-content strong { color: var(--text); font-weight: 600; }

@media (max-width: 768px) {
  .legal-wrap { padding: 3rem 1.5rem 4rem; }
}
