/* ============================================================
   Allied Real Estate Solutions Inc.
   style.css — Checkpoint 3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter:wght@400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ivory:  #F7F3EC;
  --white:  #FFFFFF;
  --navy:   #1C2B3A;
  --gold:   #B8975A;
  --body:   #5A6370;
  --border: #E8E0D4;
  --gold-dim: rgba(184,151,90,0.85);
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  background: var(--white);
  color: var(--body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 80px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ── Type ── */
.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex; align-items: center;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
}
/* Wordmark */
.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.wordmark-allied { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1; }
.wordmark-sub { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); line-height: 1; margin-top: 4px; }
.wordmark-rule { display: block; width: 100%; height: 1px; background: var(--gold); margin-top: 5px; }
/* Nav */
.site-nav { display: flex; align-items: center; justify-content: center; gap: 0; }
.site-nav a { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--navy); padding: 4px 10px; transition: color 0.2s; white-space: nowrap; }
.site-nav a:hover { color: var(--gold); }
.site-nav a.active { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.site-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
/* Phone */
.header-phone { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-shrink: 0; }
.header-phone a { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--navy); transition: color 0.2s; white-space: nowrap; }
.header-phone a:hover { color: var(--gold); }
.header-phone a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 1px; transition: transform 0.25s, opacity 0.25s; }
.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 */
.mobile-nav { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 99; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; font-family: 'Inter', sans-serif; font-size: 14px; color: var(--navy); padding: 14px 24px; border-bottom: 1px solid var(--border); transition: color 0.2s, background 0.2s; }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus-visible { color: var(--gold); background: var(--ivory); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--white);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  padding: 14px 28px; border-radius: 4px; border: 1.5px solid var(--gold);
  transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.btn-primary:hover { background: #a5864e; border-color: #a5864e; }
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-outline {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--gold);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500;
  padding: 14px 28px; border-radius: 4px; border: 1.5px solid var(--gold);
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  min-height: 88vh;
  background: var(--white);
  display: flex; align-items: center;
  padding: 64px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.hero-left {
  display: flex; flex-direction: column;
  padding-right: 56px;
}
.hero-left .eyebrow { margin-bottom: 20px; }
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px; font-weight: 600;
  color: var(--navy); line-height: 1.05;
}
.hero-company {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-style: italic;
  color: var(--navy); margin-top: 14px;
}
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 16px; color: var(--body);
  margin-top: 14px; line-height: 1.65;
}
.hero-buttons { display: flex; gap: 14px; margin-top: 36px; }

/* Hero image — tall architectural crop, square corners */
.hero-right { align-self: stretch; display: flex; }
.hero-image-wrap {
  flex: 1;
  min-height: 540px;
  overflow: hidden;
  position: relative;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stat-strip-inner { display: flex; align-items: stretch; }
.stat-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 8px 32px; position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--border);
}
.stat-main { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.stat-sub { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--body); margin-top: 4px; }

/* ============================================================
   WHAT WE DO — open columns
   ============================================================ */
.what-we-do { background: var(--ivory); padding: 88px 0; }
.what-we-do-header { text-align: center; margin-bottom: 64px; }
.what-we-do-header .eyebrow { margin-bottom: 14px; }
.section-h2 { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 600; color: var(--navy); line-height: 1.15; }
.section-intro { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--body); max-width: 600px; margin: 18px auto 0; line-height: 1.75; }

/* Open columns — no card boxes */
.wwd-cols { display: grid; grid-template-columns: repeat(3, 1fr); }
.wwd-col { padding: 0 40px; position: relative; }
.wwd-col + .wwd-col::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border); }
.wwd-col:first-child { padding-left: 0; }
.wwd-col:last-child { padding-right: 0; }
.wwd-icon { margin-bottom: 20px; }
.wwd-icon svg { width: 56px; height: 56px; }
.wwd-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.wwd-body { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--body); line-height: 1.7; }
.explore-link { display: block; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--gold); border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; width: fit-content; margin: 52px auto 0; transition: opacity 0.2s; }
.explore-link:hover { opacity: 0.75; }

/* ============================================================
   AREA BANNER — lightened, navy text
   ============================================================ */
.area-banner {
  position: relative;
  min-height: 320px;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 80px 24px;
  background-color: #F7F3EC;
  background-image: linear-gradient(rgba(247,243,236,0.70), rgba(247,243,236,0.70)), url('../img/area-banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.area-banner-inner { position: relative; z-index: 1; padding: 0 40px; }
.area-banner .eyebrow { color: var(--gold); margin-bottom: 14px; }
.area-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 600; color: #1C2B3A; line-height: 1.15; }
.area-banner p { font-family: 'Inter', sans-serif; font-size: 15px; color: #1C2B3A; letter-spacing: 0.08em; margin-top: 16px; }

/* ============================================================
   TEAM PREVIEW (homepage)
   ============================================================ */
.team-preview { background: var(--white); padding: 88px 0; }
.team-grid { display: grid; grid-template-columns: 40% 55%; gap: 64px; align-items: center; }

/* Navy initials circle */
.initials-circle {
  width: 180px; height: 180px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.initials-circle span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.team-left { display: flex; justify-content: center; }
.team-right .eyebrow { margin-bottom: 6px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.team-rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 14px 0; }
.team-link { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 500; color: var(--gold); border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; transition: opacity 0.2s; }
.team-link:hover { opacity: 0.75; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; align-items: start; }
/* Footer wordmark */
.footer-wordmark .wordmark-allied { color: var(--white); }
.footer-wordmark .wordmark-sub { color: var(--gold-dim); }
.footer-wordmark .wordmark-rule { background: var(--gold-dim); }
/* Footer contact */
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-family: 'Inter', sans-serif; font-size: 14px; color: rgba(255,255,255,0.8); }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.8); transition: color 0.2s; word-break: break-all; }
.footer-contact a:hover { color: var(--gold); }
/* Footer disclosure */
.footer-disclosure { border: 1px solid var(--gold); border-radius: 4px; padding: 18px 20px; }
.footer-disclosure p { font-family: 'Inter', sans-serif; font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.65; }
/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; }
.footer-bottom a { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .sep { font-family: 'Inter', sans-serif; font-size: 12px; color: rgba(255,255,255,0.3); margin: 0 6px; }

/* ============================================================
   INNER PAGE HERO (shared)
   ============================================================ */
.page-hero { background: var(--ivory); padding: 52px 0 44px; border-bottom: 1px solid var(--border); }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-h1 { font-family: 'Cormorant Garamond', serif; font-size: 50px; font-weight: 600; color: var(--navy); line-height: 1.1; max-width: 700px; }
.page-subhead { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--body); max-width: 520px; margin-top: 14px; line-height: 1.65; }

/* ============================================================
   WHAT WE BUY — property cards (enclosed)
   ============================================================ */
.cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 28px 28px 24px; }
.card-icon { margin-bottom: 16px; }
.card-icon svg { width: 56px; height: 56px; }
.card-title { font-family: 'Cormorant Garamond', serif; font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.card-body { font-family: 'Inter', sans-serif; font-size: 14px; color: var(--body); line-height: 1.65; }

/* ============================================================
   SERVICE AREA SECTION (what-we-buy)
   ============================================================ */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.area-chip { border: 1px solid var(--gold); color: var(--gold); border-radius: 2px; padding: 6px 14px; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   CTA STRIP (navy, on inner pages)
   ============================================================ */
.cta-strip { background: var(--navy); padding: 64px 0; text-align: center; }
.cta-strip h2 { font-family: 'Cormorant Garamond', serif; font-size: 38px; font-weight: 600; color: var(--white); margin-bottom: 28px; line-height: 1.2; }

/* ============================================================
   PAGE TWO-COLUMN LAYOUT (sell-fast, wholesalers)
   ============================================================ */
.page-two-col { display: grid; grid-template-columns: 44% 52%; gap: 56px; align-items: start; }
.page-intro-body { font-family: 'Inter', sans-serif; font-size: 16px; color: var(--body); line-height: 1.75; }
.page-intro-body + .page-intro-body { margin-top: 18px; }

/* Sell-fast key points */
.sell-points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.sell-points li { display: flex; align-items: flex-start; gap: 12px; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--navy); font-weight: 500; }
.sell-points li::before { content: ''; display: block; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

/* ============================================================
   IN-PAGE DISCLOSURE BOX
   ============================================================ */
.disclosure-box { border: 1px solid var(--gold); border-radius: 4px; padding: 18px 20px; margin-bottom: 24px; }
.disclosure-box p { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--body); line-height: 1.65; }

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 36px; }
.form-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.form-section-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 24px 0 14px; display: block; }
.form-section-label:first-child { margin-top: 0; }
.field-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field-row .field-group { margin-bottom: 0; }
.field-group label { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; color: var(--navy); }
.field-group input, .field-group select, .field-group textarea {
  font-family: 'Inter', sans-serif; font-size: 14px; color: var(--navy);
  border: 1px solid var(--border); border-radius: 4px; padding: 10px 12px;
  background: var(--white); width: 100%; outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--gold); }
.field-group input:invalid:not(:placeholder-shown) { border-color: #c0392b; }
.field-group textarea { resize: vertical; min-height: 90px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 4px; }
.checkbox-group label { display: flex; align-items: center; gap: 7px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--navy); }
.checkbox-group input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--gold); flex-shrink: 0; }
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.privacy-note { text-align: center; margin-top: 14px; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--body); }
.privacy-note a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ============================================================
   OUR TEAM — initials circles, borderless
   ============================================================ */
.team-grid-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }

/* Thomas Morris lead card — spans full width above the grid */
.team-lead { display: flex; gap: 48px; align-items: center; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.team-lead-circle {
  width: 160px; height: 160px; flex-shrink: 0;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.team-lead-circle span { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.team-lead-info .eyebrow { margin-bottom: 6px; }
.team-lead-name { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 600; color: var(--navy); }
.team-lead-rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 14px 0; }
.team-lead-title-text { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--body); }

/* Team member cards — borderless */
.team-card { text-align: center; padding: 8px; }
.team-card-circle {
  width: 112px; height: 112px;
  background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.team-card-circle span { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--gold); letter-spacing: 0.02em; }
.team-card-circle.team-photo { padding: 0; overflow: hidden; background: #1C2B3A; }
.team-card-circle.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; border-radius: 50%; }
.team-card .eyebrow { font-size: 11px; margin-bottom: 6px; }
.team-card-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--navy); }
.team-card-rule { display: block; width: 36px; height: 1px; background: var(--gold); margin: 10px auto 0; }
.team-card-license { font-size: 10px; color: #6b7280; line-height: 1.5; margin-top: 8px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 44% 52%; gap: 56px; align-items: start; }
.contact-h3 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; color: var(--navy); margin-top: 12px; }
.contact-rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 12px 0 16px; }
.contact-info-items { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 10px; font-family: 'Inter', sans-serif; font-size: 15px; color: var(--body); }
.contact-info-item svg { flex-shrink: 0; margin-top: 2px; }
.contact-info-item a { color: var(--body); transition: color 0.2s; word-break: break-all; }
.contact-info-item a:hover { color: var(--gold); }
.map-wrap { margin-top: 24px; border-radius: 6px; overflow: hidden; }

/* ============================================================
   PRIVACY / PROSE PAGES
   ============================================================ */
.prose-wrap { max-width: 720px; margin: 0 auto; padding: 72px 0; }
.prose-h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; color: var(--navy); margin-top: 36px; margin-bottom: 10px; }
.prose-h3:first-child { margin-top: 0; }
.prose-p { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--body); line-height: 1.75; }
.prose-p + .prose-p { margin-top: 10px; }
.prose-ul { font-family: 'Inter', sans-serif; font-size: 15px; color: var(--body); line-height: 1.75; padding-left: 20px; margin-top: 8px; }
.prose-ul li { margin-bottom: 4px; }

/* ============================================================
   RESPONSIVE — ≤ 960px
   ============================================================ */
@media (max-width: 960px) {
  body { padding-top: 64px; }
  .site-header { height: 64px; }
  .header-inner { grid-template-columns: auto auto; justify-content: space-between; gap: 0; padding: 0 20px; }
  .site-nav { display: none; }
  .header-phone { display: none; }
  .hamburger { display: flex; }
  .wordmark-allied { font-size: 24px; }

  .hero { padding: 40px 0 0; min-height: unset; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding-right: 0; padding-bottom: 36px; }
  .hero-h1 { font-size: 44px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-right { display: block; }
  .hero-image-wrap { min-height: 0; aspect-ratio: 4/3; }

  .stat-strip-inner { flex-direction: column; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 18px 16px; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  .what-we-do { padding: 64px 0; }
  .section-h2 { font-size: 36px; }
  .wwd-cols { grid-template-columns: 1fr; gap: 36px; }
  .wwd-col { padding: 0; }
  .wwd-col + .wwd-col::before { display: none; }
  .wwd-col + .wwd-col { padding-top: 36px; border-top: 1px solid var(--border); }
  .wwd-icon svg,
  .card-icon svg { width: 48px; height: 48px; }

  .area-banner { min-height: 260px; padding: 64px 24px; margin-top: 64px; margin-bottom: 64px; }
  .area-banner h2 { font-size: 28px; }

  .team-preview { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .team-left { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .page-h1 { font-size: 36px; }
  .cards-row { grid-template-columns: 1fr 1fr; gap: 20px; }

  .page-two-col { grid-template-columns: 1fr; }

  .team-lead { flex-direction: column; text-align: center; gap: 24px; }
  .team-lead-rule { margin-left: auto; margin-right: auto; }
  .team-grid-page { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .prose-wrap { padding: 48px 0; }
}

@media (max-width: 560px) {
  .cards-row { grid-template-columns: 1fr; }
  .team-grid-page { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 38px; }
}

.form-success { color: #1C2B3A; background: #EAF5F0; border: 1px solid #B8D8CC; padding: 16px 20px; border-radius: 6px; font-size: 16px; text-align: center; }
.form-error { color: #7A2020; background: #FDF0F0; border: 1px solid #E8BCBC; padding: 12px 16px; border-radius: 6px; font-size: 15px; margin-top: 12px; }

/* ── HOW TO FLIP HOMES ── */
.flip-homes-section { background: #F7F3EC; padding: 96px 24px; }
.flip-homes-section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); color: #1C2B3A; margin: 8px 0 48px; }
.flip-subheading { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: #1C2B3A; margin: 56px 0 32px; border-bottom: 1px solid #DDD8CF; padding-bottom: 12px; }
.flip-finance-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.flip-finance-item { display: flex; flex-direction: column; gap: 12px; }
.flip-finance-item h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: #1C2B3A; margin: 0; }
.flip-finance-item p { font-size: 14px; color: #5A6370; line-height: 1.5; margin: 0; }
.flip-disclaimer { font-size: 13px; color: #5A6370; margin-top: 24px; font-style: italic; }
.flip-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 8px; }
.flip-steps::before { content: ''; position: absolute; top: 24px; left: calc(16.67% + 20px); right: calc(16.67% + 20px); height: 1px; background: #B8975A; }
.flip-step { padding: 0 24px; }
.flip-step-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: #B8975A; line-height: 1; margin-bottom: 16px; }
.flip-step h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; color: #1C2B3A; margin: 0 0 8px; }
.flip-step p { font-size: 15px; color: #5A6370; line-height: 1.6; margin: 0; }
.flip-formula { background: #fff; border: 1px solid #B8975A; border-radius: 8px; padding: 40px; text-align: center; max-width: 640px; margin: 56px auto 0; }
.flip-formula-label { font-size: 11px; letter-spacing: 0.12em; color: #B8975A; text-transform: uppercase; margin: 0 0 16px; }
.flip-formula-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3vw, 36px); color: #1C2B3A; margin: 0 0 16px; font-weight: 600; }
.flip-formula-sub { font-size: 15px; color: #5A6370; margin: 0 0 12px; }
.flip-formula-note { font-size: 13px; color: #8A9099; font-style: italic; margin: 0; }
.flip-cta-band { background: #1C2B3A; padding: 80px 24px; text-align: center; color: #fff; }
.flip-cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px, 3.5vw, 44px); color: #fff; margin: 0 0 20px; }
.flip-cta-band p { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.flip-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.5); color: #fff; padding: 12px 28px; border-radius: 4px; text-decoration: none; font-size: 15px; transition: border-color 0.2s; }
.btn-outline-white:hover { border-color: #fff; }
.flip-cta-email { font-size: 14px; color: rgba(255,255,255,0.6); }
.flip-cta-email a { color: #B8975A; text-decoration: none; }
@media (max-width: 1024px) {
  .flip-finance-grid { grid-template-columns: repeat(2, 1fr); }
  .flip-steps { grid-template-columns: 1fr; }
  .flip-steps::before { display: none; }
  .flip-step { padding: 24px 0; border-bottom: 1px solid #DDD8CF; }
  .flip-step:last-child { border-bottom: none; }
}
@media (max-width: 768px) {
  .flip-homes-section { padding: 64px 20px; }
  .flip-finance-grid { grid-template-columns: 1fr; gap: 24px; }
  .flip-formula { padding: 28px 20px; }
  .flip-cta-band { padding: 56px 20px; }
  .flip-cta-buttons { flex-direction: column; align-items: center; }
}
