/* ===================================================
   DUCKETT MANAGEMENT — styles.css
   Aesthetic: Elegant dark / editorial real estate
   =================================================== */

:root {
  --green:        #2d8b3a;
  --green-dark:   #1a5422;
  --green-light:  #e8f4e9;
  --green-pale:   #f2faf3;
  --black:        #0a0a0a;
  --dark:         #111411;
  --dark-card:    #181c18;
  --dark-border:  rgba(255,255,255,0.08);
  --cream:        #f7f5f0;
  --white:        #ffffff;
  --charcoal:     #1e2420;
  --gray:         #6b7a6e;
  --gray-light:   #c8d4ca;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --ease:         0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Buttons ────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.45);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-ghost-dark {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.btn-ghost-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-primary-light {
  display: inline-block;
  background: var(--white);
  color: var(--green-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.btn-primary-light:hover { background: var(--green-light); transform: translateY(-1px); }

.btn-nav {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--green);
  color: var(--green);
  transition: all var(--ease);
  border-radius: 0;
}
.btn-nav:hover { background: var(--green); color: var(--white); }
.nav.scrolled .btn-nav { color: var(--green); border-color: var(--green); }

.btn-submit {
  width: 100%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
}
.btn-submit:hover { background: var(--green-dark); }

/* ── Layout ─────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section-light { background: var(--white); }
.section-dark { background: var(--dark); }
.section-green { background: var(--green-dark); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
  display: block;
}
.section-eyebrow.light { color: rgba(255,255,255,0.5); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-desc { font-size: 1rem; color: var(--gray); max-width: 520px; margin: 0 auto; line-height: 1.75; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 38px;
  width: auto;
}
/* Hero state: show white logo, hide green */
.logo-hero { display: block; }
.logo-scroll { display: none; }
/* Scrolled state: hide white logo, show green */
.nav.scrolled .logo-hero { display: none; }
.nav.scrolled .logo-scroll { display: block; }
/* Interior pages: always show green */
.logo-img-dark { display: block; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--charcoal); }
.nav.scrolled .nav-links a:hover { color: var(--green); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: background var(--ease);
}
.nav.scrolled .hamburger span { background: var(--charcoal); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  padding: 0.5rem 2rem 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 0.85rem 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid #eee;
}
.portal-link { color: var(--green); font-weight: 600; }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/ridgewood_after_kitchen.jpg');
  background-size: cover;
  background-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,10,5,0.72) 0%,
    rgba(5,10,5,0.45) 55%,
    rgba(5,10,5,0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 9rem 2rem 5rem;
  margin-left: max(2rem, calc((100vw - 1120px) / 2));
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  display: block;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero sidebar — right side info panel */
.hero-sidebar {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(15,25,16,0.82);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem 2rem;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-item {
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sidebar-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}
.sidebar-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
}
.sidebar-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.sidebar-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
}

/* ── Services ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid #e5ede6;
}
.service-card {
  padding: 2.25rem;
  border-right: 1px solid #e5ede6;
  border-bottom: 1px solid #e5ede6;
  transition: background var(--ease);
}
.service-card:nth-child(2n) { border-right: none; }
.service-card:nth-last-child(-n+2) { border-bottom: none; }
.service-card:hover { background: var(--green-pale); }
.service-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--green);
  opacity: 0.4;
  margin-bottom: 1rem;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.75; }

/* ── Portfolio ──────────────────────────────────── */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 3rem;
}
.portfolio-header-left { flex-shrink: 0; }
.portfolio-intro {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: 380px;
  line-height: 1.75;
  align-self: flex-end;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 2.5rem;
}
.property-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.property-card:hover .prop-img { transform: scale(1.04); }
.prop-img {
  height: 380px;
  background: #1e2d20;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
/* Portfolio card photos */
.prop-img-clinton {
  background-image: url('../images/clinton_after_roof2.jpg');
  background-size: cover;
  background-position: center top;
}
.prop-img-indep {
  background-image: url('../images/indep_after_living.jpg');
  background-size: cover;
  background-position: center;
}
.prop-img-ridgewood {
  background-image: url('../images/ridgewood_after_kitchen.jpg');
  background-size: cover;
  background-position: center;
}
.prop-img-1 {
  background-image: url('../images/Front_Door.jpg');
  background-size: cover;
  background-position: center top;
}
.prop-img-2 {
  background-image: url('../images/Kitchen.jpg');
  background-size: cover;
  background-position: center;
}
.prop-img-3 {
  background-image: url('../images/Living_Room.jpg');
  background-size: cover;
  background-position: center;
}
.prop-img-4 {
  background-image: url('../images/Bath.jpg');
  background-size: cover;
  background-position: center;
}

.prop-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 50%);
}
.prop-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.badge-gray  { background: rgba(80,80,80,0.9); color: #ddd; }
.badge-green { background: #2d8b3a; color: var(--white); }
.badge-gold  { background: #c8930a; color: var(--white); }

.prop-info { color: var(--white); }
.prop-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}
.prop-info p {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.portfolio-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
}

/* ── Before & After ─────────────────────────────── */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.ba-card {
  border: 1px solid #e5ede6;
  overflow: hidden;
}
.ba-images {
  display: flex;
  height: 200px;
}
.ba-half { position: relative; flex: 1; overflow: hidden; }
.ba-ph {
  width: 100%; height: 100%;
  background: #222;
}
/* 3920 Ridgewood before/after */
.ba-before-ridgewood-ext { background-image: url('../images/ridgewood_before_ext.jpg'); background-size: cover; background-position: center top; }
.ba-after-ridgewood-ext  { background-image: url('../images/ridgewood_after_ext2.png'); background-size: cover; background-position: center top; }
.ba-before-ridgewood-int { background-image: url('../images/ridgewood_before_room1.jpg'); background-size: cover; background-position: center; }
.ba-after-ridgewood-kit  { background-image: url('../images/ridgewood_after_kitchen.jpg'); background-size: cover; background-position: center; }
/* 3201 Independence before/after */
.ba-before-indep-ext  { background-image: url('../images/indep_before_ext1.webp'); background-size: cover; background-position: center top; }
.ba-after-indep-living { background-image: url('../images/indep_after_living.jpg'); background-size: cover; background-position: center; }
.ba-before-indep-int  { background-image: url('../images/indep_before_interior1.webp'); background-size: cover; background-position: center; }
.ba-after-indep-kit   { background-image: url('../images/indep_after_kitchen1.jpg'); background-size: cover; background-position: center; }
/* 236 S. Clinton before/after */
.ba-before-clinton-ext  { background-image: url('../images/clinton_before_exterior.jpg'); background-size: cover; background-position: center top; }
.ba-after-clinton-living { background-image: url('../images/clinton_after_living2.jpg'); background-size: cover; background-position: center; }
.ba-before-clinton-kit  { background-image: url('../images/clinton_before_kitchen.jpg'); background-size: cover; background-position: center; }
.ba-after-clinton-kit   { background-image: url('../images/clinton_after_kitchen.jpg'); background-size: cover; background-position: center; }
.ba-before-clinton-back { background-image: url('../images/clinton_before_back.jpg'); background-size: cover; background-position: center; }
.ba-after-clinton-roof  { background-image: url('../images/clinton_after_roof1.jpg'); background-size: cover; background-position: center top; }
/* 1927 Druid Hill before/after */
.ba-before-1 { background-image: url('../images/before_door.jpg'); background-size: cover; background-position: center top; }
.ba-after-1  { background-image: url('../images/Front_Door.jpg'); background-size: cover; background-position: center top; }
.ba-before-2 { background-image: url('../images/before_room.jpg'); background-size: cover; background-position: center; }
.ba-after-2  { background-image: url('../images/Liv_Room_Stairs.jpg'); background-size: cover; background-position: center; }
.ba-before-3 { background-image: url('../images/before_basement.jpg'); background-size: cover; background-position: center; }
.ba-after-3  { background-image: url('../images/Kitchen.jpg'); background-size: cover; background-position: center; }

.ba-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 0;
}
.btag-before { background: rgba(50,50,50,0.85); color: #bbb; }
.btag-after  { background: var(--green); color: var(--white); }

.ba-caption { padding: 1.25rem 1.5rem; }
.ba-caption h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.ba-caption p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }
.ba-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  padding: 1.25rem;
  background: var(--green-pale);
  border: 1px solid #d0e8d2;
}
.ba-note a { color: var(--green); font-weight: 600; }
.ba-note a:hover { text-decoration: underline; }

/* ── Tenant Portal ──────────────────────────────── */
.portal-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.portal-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.portal-features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.portal-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.check {
  width: 20px; height: 20px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.portal-mockup { display: flex; justify-content: center; }
.mockup-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.mockup-header {
  background: var(--charcoal);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mockup-dots { display: flex; gap: 5px; }
.dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green-dot { background: #28c840; }
.mockup-title {
  margin-left: auto;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.mockup-body { padding: 1.5rem; }
.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
}
.mockup-row:last-of-type { border-bottom: none; }
.row-lbl { color: var(--gray); }
.row-val { font-weight: 500; color: var(--charcoal); }
.row-val.g { color: var(--green); }
.mockup-btns {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.mbtn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  cursor: default;
}
.mbtn.filled { background: var(--green); color: var(--white); }
.mbtn.outline { border: 1px solid var(--green); color: var(--green); }

/* ── Contact ─────────────────────────────────────── */
.contact-centered {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.contact-info-centered {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}
.c-icon {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border: 1px solid #d0e8d2;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.3rem;
}
.c-val { font-size: 0.9rem; color: var(--charcoal); font-weight: 500; }
a.c-val:hover { color: var(--green); }
.about-block {
  border-left: 2px solid var(--green);
  padding: 1.25rem 1.5rem;
  background: var(--green-pale);
  text-align: left;
  width: 100%;
}
.centered-about { border-left: none; border-top: 2px solid var(--green); padding: 1.5rem; }
.about-block h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}
.about-block p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }
.contact-mailto { margin-top: 0.5rem; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 4rem 2rem 2.5rem;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.85;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(3n) { border-right: 1px solid #e5ede6; }
  .service-card:nth-child(2n) { border-right: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-sidebar { display: none; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .ba-grid { grid-template-columns: 1fr; }
  .portal-block { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero-content { padding: 7rem 1.5rem 4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-right: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .portfolio-cta { flex-direction: column; align-items: center; }
  .footer-links { gap: 1rem; }
}

/* =============================================
   INTERIOR PAGES — shared styles
   ============================================= */

body.interior-page { padding-top: 74px; }

/* Nav solid state for interior pages */
.nav-solid {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 1px 20px rgba(0,0,0,0.07) !important;
}
.nav-links-dark a { color: var(--charcoal) !important; }
.nav-links-dark a:hover { color: var(--green) !important; }
.nav-links-dark .nav-active { color: var(--green) !important; font-weight: 600; }
.hamburger-dark span { background: var(--charcoal) !important; }

/* Page header */
.page-header {
  background: var(--cream);
  border-bottom: 1px solid #e0ebe1;
  padding: 4rem 0 3rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--charcoal);
  margin: 0.5rem 0 1rem;
}
.page-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.75;
}

/* =============================================
   PORTFOLIO DETAIL PAGE
   ============================================= */

.prop-detail {
  padding: 5rem 0;
  border-bottom: 1px solid #e0ebe1;
}
.prop-detail-alt { background: var(--cream); }
.prop-detail-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.prop-detail-reverse { direction: rtl; }
.prop-detail-reverse > * { direction: ltr; }

/* Gallery */
.prop-gallery { display: flex; flex-direction: column; gap: 8px; }
.prop-gallery-main {
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.prop-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.prop-gallery-thumb {
  height: 130px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.prop-gallery-thumb:hover { opacity: 0.85; }

/* Property info */
.prop-status-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 1rem;
}
.status-sold { background: #2a2a2a; color: #ccc; }
.status-rented { background: var(--green); color: var(--white); }
.status-partial { background: #c8930a; color: var(--white); }

.prop-detail-address {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.prop-detail-city {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 1.5rem;
}
.prop-detail-desc {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.prop-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #e0ebe1;
  margin-bottom: 2rem;
}
.prop-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
}
.stat-n {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
}
.stat-l {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}
.prop-stat-div { width: 1px; height: 48px; background: #e0ebe1; }
.prop-ba-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.prop-ba-link:hover { opacity: 0.7; }

@media (max-width: 900px) {
  .prop-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .prop-detail-reverse { direction: ltr; }
}

/* =============================================
   BEFORE & AFTER PAGE
   ============================================= */

.ba-property-section { padding: 5rem 0; }

.ba-property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.ba-status-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 0.6rem;
}
.ba-property-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.1;
}
.ba-view-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.ba-view-link:hover { opacity: 0.7; }

/* Pair row — side by side */
.ba-pair-row {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e8ede9;
}
.ba-pair-row:last-of-type { border-bottom: none; }

.ba-pair-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 1rem;
}
.ba-pair-side { position: relative; }
.ba-img-wrap { position: relative; overflow: hidden; }
.ba-img {
  height: 280px;
  background-size: cover;
  background-position: center;
  width: 100%;
}
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
}
.ba-label-before { background: rgba(30,30,30,0.85); color: #ccc; }
.ba-label-after { background: var(--green); color: var(--white); }

.ba-pair-caption h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.ba-pair-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.ba-section-divider {
  height: 1px;
  background: #d8e8da;
  margin: 0;
}

@media (max-width: 640px) {
  .ba-img { height: 180px; }
  .ba-property-header { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   IN DEVELOPMENT — portfolio page
   ============================================= */
.dev-section-header {
  background: var(--charcoal);
  padding: 3.5rem 0;
  border-top: 3px solid var(--green);
}
.dev-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--white);
  margin: 0.5rem 0 0.75rem;
}
.dev-section-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.75;
}

/* Dev status badges */
.status-dev { background: #1a5422; color: #a3d9a7; }
.status-construction { background: #5a3e10; color: #f5c87a; }

/* Placeholder gallery items */
.prop-thumb-placeholder {
  background: #d8e4d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.prop-img-placeholder {
  background: linear-gradient(135deg, #2a3d2c 0%, #1a2a1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.prop-img-placeholder span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 1rem;
}
.prop-coming-soon {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  margin-top: 0.5rem;
}

/* New portfolio card images */
.prop-img-mcculloh {
  background-image: url('../images/mcculloh_construction.jpg');
  background-size: cover;
  background-position: center 30%;
}
.prop-img-1713 {
  background-image: url('../images/druid1713_construction.jpg');
  background-size: cover;
  background-position: center 20%;
}
.badge-dev { background: rgba(26,84,34,0.9); color: #a3d9a7; }
.badge-construction { background: rgba(90,62,16,0.9); color: #f5c87a; }

/* CHAP historic badge */
.prop-chap-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a5c00;
  background: #fdf3d0;
  border: 1px solid #e8c84a;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
