/* =========================================================
   RS DIVERSIFIED — style.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --navy:       #4A5C35;   /* deep olive — primary interactive / buttons      */
  --navy-light: #5E7342;   /* lighter olive — hover mid-tone                  */
  --navy-deep:  #2E3A22;   /* darkest olive — hero bands, footer              */
  --charcoal:   #222222;
  --mid-gray:   #5a6272;
  --light-gray: #D8DED0;   /* olive-tinted border/divider                     */
  --bg-off:     #F0EDE4;   /* warm sand — alternate section backgrounds       */
  --bg-white:   #FAF8F3;   /* warm off-white — base page background           */
  --accent:     #C4956A;   /* warm copper/sand — rules, badges, highlights    */
  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --max-w:      1100px;
  --radius:     4px;
  --transition: 0.22s ease;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll; /* always reserve scrollbar gutter so centered layouts
                         don't shift on short pages like Contact */
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* Flex column ensures footer always sits at page bottom,
     eliminating the body-background gap on short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── Typography helpers ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-deep);
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: var(--max-w);
  margin-inline: auto;
}
.section { padding: 80px 0; }
.section--alt { background: var(--bg-off); }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--light-gray);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-logo span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  position: relative;
  top: -3px;
}
.nav-links {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mid-gray);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--navy);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  border-radius: 2px;
  transition: var(--transition);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.footer-copy { font-size: 0.8rem; letter-spacing: 0.02em; }
.footer-address { font-size: 0.8rem; text-align: right; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

/* =========================================================
   ACCENT RULE
   ========================================================= */
.accent-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.accent-rule--center { margin-inline: auto; }

/* =========================================================
   PAGE HERO BAND
   ─────────────────────────────────────────────────────────
   Shared by: about.html, properties.html, contact.html
   Any interior page that needs a dark navy header band
   should use <section class="page-hero"> with a .container
   inside containing an h1 and optionally .page-hero__sub.
   ========================================================= */
.page-hero {
  background: var(--navy-deep);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
}
.page-hero .container { position: relative; }
.page-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  max-width: 720px;
}
.page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   HOME — HERO
   ========================================================= */
.home-hero {
  background: var(--bg-white);
  padding: 100px 0 88px;
  position: relative;
  overflow: hidden;
}
/* Two-column hero grid */
.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── Featured property card (right column of hero) ─────── */
.hero-prop-card {
  background: var(--bg-white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(46,58,34,0.13);
}
.hero-prop-card__img-wrap {
  position: relative;
  overflow: hidden;
}
.hero-prop-card__img-wrap img {
  width: 100%;
  height: 224px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.hero-prop-card:hover .hero-prop-card__img-wrap img {
  transform: scale(1.04);
}
.hero-prop-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #2D7A4F;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.hero-prop-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.hero-prop-card__name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.hero-prop-card__meta {
  font-size: 0.82rem;
  color: var(--mid-gray);
  margin-bottom: 1.1rem;
}
.hero-prop-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.hero-prop-card__link svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 2.5;
}
.hero-prop-card__link:hover { gap: 10px; color: var(--accent); }

.home-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  color: var(--navy-deep);
}
.home-hero__sub {
  font-size: 1.15rem;
  color: var(--mid-gray);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 560px;
  line-height: 1.6;
}
.home-hero__body {
  font-size: 0.975rem;
  color: var(--mid-gray);
  max-width: 620px;
  line-height: 1.75;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  margin-bottom: 2.5rem;
}

/* =========================================================
   HOME — CARDS
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 2.25rem 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(46,58,34,0.1);
  transform: translateY(-3px);
}
.card__icon {
  width: 40px; height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy-deep);
}
.card p {
  font-size: 0.925rem;
  color: var(--mid-gray);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.card__link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.card__link:hover { gap: 10px; color: var(--accent); }

/* =========================================================
   ABOUT — MISSION
   ========================================================= */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.mission-block__text p {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.8;
}
.mission-block__pull {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  padding-top: 0.5rem;
}

/* =========================================================
   ABOUT — STORY BLOCK (magazine two-phase layout)
   ─────────────────────────────────────────────────────────
   Two stacked grids, each 50/50 columns. Phase 2 reverses
   the order (photo left, text right) simply by putting the
   elements in that order in the HTML — no extra CSS needed.
   The outer flex column keeps both phases as one seamless
   section with consistent spacing and no dividers.
   ========================================================= */
.story-block {
  display: flex;
  flex-direction: column;
  gap: 4rem;           /* same gap as the column gutters — phases feel unified */
}
.story-phase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.story-phase__text p {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.story-phase__text p:last-child { margin-bottom: 0; }
.story-phase__media img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.story-phase__caption {
  font-size: 0.8rem;
  color: var(--mid-gray);
  font-style: italic;
  margin-top: 0.65rem;
  text-align: center;
  letter-spacing: 0.02em;
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  transition: box-shadow var(--transition);
  text-align: left;
}
.team-card:hover { box-shadow: 0 6px 24px rgba(46,58,34,0.09); }
.team-card__initials {
  width: 48px; height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.team-card__name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}
.team-card__title {
  font-size: 0.825rem;
  color: var(--mid-gray);
  font-weight: 400;
  line-height: 1.4;
}

/* =========================================================
   PROPERTIES — FEATURED CARD
   ========================================================= */
.property-card {
  background: var(--bg-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  max-width: 820px;  /* only applies outside split layout */
}

/* Photo placeholder (legacy / fallback) */
.property-card__image--placeholder {
  background: var(--light-gray);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--mid-gray);
}
.property-card__image--placeholder svg {
  width: 40px; height: 40px;
  stroke: var(--mid-gray); fill: none; stroke-width: 1.5;
  opacity: 0.5;
}
.property-card__image--placeholder span {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* Real image wrapper (used when actual photo is present) */
.property-card__image {
  position: relative;
  overflow: hidden;
}
.property-card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.property-card__img-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #2D7A4F;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.property-card__body { padding: 2.25rem 2rem; }
.property-card__type {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.property-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--navy-deep);
}
.property-card__location {
  font-size: 0.875rem;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-card__location svg {
  width: 14px; height: 14px;
  fill: none; stroke: var(--mid-gray); stroke-width: 2;
  flex-shrink: 0;
}
.property-meta {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.property-meta__item dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 3px;
}
.property-meta__item dd {
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
}
.property-card__desc {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.property-pricing {
  background: var(--bg-off);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}
.property-pricing p { font-size: 0.9rem; color: var(--mid-gray); margin: 0; }
.property-pricing strong { color: var(--charcoal); }

/* =========================================================
   PROPERTIES — TWO-COLUMN SPLIT LAYOUT
   ─────────────────────────────────────────────────────────
   .properties-split wraps the featured listing (left) and
   the portfolio sidebar (right) in a 50/50 grid.
   Both columns are sized to be viewport-visible on desktop.
   ========================================================= */
.properties-intro {
  font-size: 1rem;
  color: var(--mid-gray);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.properties-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Override max-width constraint inside split */
.properties-split .property-card {
  max-width: none;
}

/* Slightly shorter image in split context */
.properties-split .property-card__image img {
  height: 200px;
}

/* Tighter body padding in split context */
.properties-split .property-card__body {
  padding: 1.5rem 1.5rem;
}

/* Clamp description to 3 lines in split to keep columns balanced */
.properties-split .property-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

/* ── Portfolio sidebar (right column) ─────────────────── */
.portfolio-sidebar__heading {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}
.portfolio-sidebar__sub {
  font-size: 0.875rem;
  color: var(--mid-gray);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.portfolio-sidebar-cards { display: flex; flex-direction: column; gap: 1rem; }

/* Compact horizontal card for portfolio sidebar */
.portfolio-sidebar-card {
  display: flex;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-sidebar-card:hover {
  box-shadow: 0 5px 20px rgba(46,58,34,0.1);
  transform: translateY(-2px);
}
.portfolio-sidebar-card__img {
  width: 110px;
  flex-shrink: 0;
  overflow: hidden;
}
.portfolio-sidebar-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.portfolio-sidebar-card:hover .portfolio-sidebar-card__img img {
  transform: scale(1.06);
}
.portfolio-sidebar-card__body {
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portfolio-sidebar-card__type {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.3rem;
}
.portfolio-sidebar-card__name {
  font-family: var(--font-head);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}
.portfolio-sidebar-card__location {
  font-size: 0.78rem;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
}
.portfolio-sidebar-card__location svg {
  width: 11px; height: 11px;
  fill: none; stroke: var(--mid-gray); stroke-width: 2;
  flex-shrink: 0;
}

/* =========================================================
   CONTACT
   ─────────────────────────────────────────────────────────
   contact.html uses .page-hero for its header band (same
   class as About and Properties), then .contact-two-col for
   the two-column content layout below.
   ========================================================= */
.contact-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center; /* vertically centres photo alongside contact card */
  padding: 64px 0 80px;
}
.contact-detail {
  background: var(--bg-off);
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  text-align: left;
}
.contact-detail__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.contact-detail__row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-detail__row:first-child { padding-top: 0; }
.contact-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.contact-icon svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 3px;
}
.contact-value {
  font-size: 0.975rem;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.5;
}
.contact-value a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.contact-value a:hover { color: var(--accent); }

/* Applied to the last content section on any page so its background
   stretches to fill remaining flex-column space above the footer,
   eliminating any body-background gap between content and footer. */
.section--last { flex: 1; }

/* =========================================================
   SECTION HEADER HELPER
   ========================================================= */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; }
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.section-header p { color: var(--mid-gray); font-size: 1rem; max-width: 520px; }
.section-header--center p { margin-inline: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-prop-card { max-width: 480px; }
}

@media (max-width: 900px) {
  .properties-split {
    grid-template-columns: 1fr;
  }
  .properties-split .property-card { max-width: 820px; }
  .properties-split .property-card__desc {
    -webkit-line-clamp: unset;
    overflow: visible;
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--light-gray);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--light-gray);
    width: 100%;
    font-size: 0.95rem;
  }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }

  .cards-grid { grid-template-columns: 1fr; }
  .mission-block { grid-template-columns: 1fr; gap: 2rem; }
  .story-phase { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-two-col {
    grid-template-columns: 1fr;
    padding: 48px 0 64px;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-address { text-align: left; }

  .section { padding: 52px 0; }
  .home-hero { padding: 64px 0 56px; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .property-meta { gap: 1.25rem; }
  .portfolio-sidebar-card__img { width: 90px; }
}
