/* ============================================================
   Luke Fraser Homes - shared styles
   Brand: Navy #203365 + Teal #4ebfa7, Avenir LT Std family.
   Web type substitutes Avenir with Nunito Sans (body) +
   Montserrat (display) - swap in Avenir if it's licensed/hosted.
   Brand tokens live in :root so the whole site re-skins fast.
   ============================================================ */

:root {
  /* --- Brand colours (from brand guide) --- */
  --navy:       #203365;   /* primary brand navy                 */
  --navy-dk:    #16244a;   /* darker navy for hover              */
  --teal:       #4ebfa7;   /* secondary brand teal               */
  --teal-dk:    #3aa892;   /* darker teal for hover              */

  /* --- Semantic tokens --- */
  --ink:        #203365;   /* headings + strong text (navy)      */
  --ink-body:   #333a49;   /* body text                          */
  --ink-soft:   #5b6478;   /* muted / secondary text             */
  --bg:         #ffffff;   /* page background                    */
  --bg-2:       #f2f5f9;   /* alt section background (cool grey) */
  --card:       #ffffff;   /* card surface                       */
  --line:       #e2e8f1;   /* hairline borders                   */
  --accent:     var(--navy);   /* primary interactive            */
  --accent-dk:  var(--navy-dk);

  /* --- Type --- */
  --display: "Montserrat", "Avenir LT Std", "Avenir Next", "Nunito Sans", -apple-system, sans-serif;
  --sans:    "Nunito Sans", "Avenir LT Std", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --maxw: 1160px;
  --radius: 6px;
  --shadow: 0 14px 44px rgba(32,51,101,0.12);
  --shadow-sm: 0 4px 18px rgba(32,51,101,0.08);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink-body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-dk); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p  { margin-bottom: 1rem; color: var(--ink-body); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow {
  font-family: var(--display);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal-dk); margin-bottom: 14px; display: block;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: var(--radius);
  border: 2px solid var(--navy); cursor: pointer; transition: all .22s ease;
}
.btn-primary { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dk); border-color: var(--teal-dk); color: var(--navy); transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-dk); border-color: var(--teal-dk); color: var(--navy); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 400;
  background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 54px; width: auto; display: block; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-family: var(--display); font-size: 1.15rem; font-weight: 800; letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; }
.brand .sub { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-dk); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 20px; list-style: none; flex-wrap: nowrap; }
.nav-links a { color: var(--navy); font-family: var(--display); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--teal-dk); }
.nav-cta { padding: 11px 22px; font-size: 0.82rem; }
.nav-cta:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); display: block; transition: .2s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(32,51,101,0.72), rgba(22,36,74,0.82)),
              var(--hero-img, linear-gradient(135deg,#203365,#16244a)) center/cover no-repeat;
  color: #fff;
}
.hero .container { padding-top: 60px; padding-bottom: 60px; }
.hero .eyebrow { color: var(--teal); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero p { color: rgba(255,255,255,0.92); font-size: 1.25rem; max-width: 52ch; margin: 22px 0 34px; }

/* ============================================================
   Stats bar
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--display); font-weight: 800; font-size: 2.7rem; color: var(--teal-dk); line-height: 1; }
.stat .label { font-family: var(--display); font-size: 0.78rem; font-weight:600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 10px; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-body { padding: 26px; }
.card h3 { margin-bottom: 8px; }

/* Listing cards */
.listing .photo { aspect-ratio: 4/3; background: var(--bg-2) var(--photo,none) center/cover no-repeat; position: relative; display:flex; align-items:flex-end; overflow:hidden; }
.listing .photo img { position:absolute; top:0; left:0; right:0; bottom:0; width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.listing .badge { position: absolute; top: 14px; left: 14px; background: var(--navy); color:#fff; font-family: var(--display); font-size:0.7rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:6px 12px; border-radius: 4px; }
.listing .badge.sold { background: var(--teal); color: var(--navy); }
.listing .price { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.listing .addr { font-weight: 700; color: var(--ink); margin: 4px 0; }
.listing .meta { font-size: 0.9rem; color: var(--ink-soft); display:flex; gap:16px; flex-wrap:wrap; margin-top: 8px; }

/* Value props */
.feature .ic { width: 50px; height: 50px; border-radius: 50%; background: rgba(78,191,167,0.16); display:flex; align-items:center; justify-content:center; color: var(--teal-dk); font-family: var(--display); font-weight:800; font-size: 1.2rem; margin-bottom: 16px; }

/* Testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.quote .stars { color: var(--teal); letter-spacing: 2px; margin-bottom: 12px; font-size: 1.05rem; }
.quote blockquote { font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.45; color: var(--ink); margin-bottom: 16px; }
.quote .who { font-size: 0.9rem; color: var(--ink-soft); font-weight: 700; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media { aspect-ratio: 4/5; background: var(--bg-2) var(--split-img,none) center/cover no-repeat; border-radius: var(--radius); box-shadow: var(--shadow); }
.split .media-img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.split.reverse .media { order: 2; }

/* Awards strip */
.awards { display:flex; align-items:center; justify-content:center; gap: 46px; flex-wrap: wrap; }
.awards .award { text-align:center; font-family: var(--display); font-weight:700; color: var(--navy); font-size: 1.02rem; }
.awards .award .yr { display:block; font-size:0.7rem; font-weight:600; font-family: var(--sans); letter-spacing:0.14em; text-transform:uppercase; color: var(--teal-dk); margin-top: 5px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { background: var(--navy); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 54ch; margin: 16px auto 30px; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-family: var(--display); font-size:0.8rem; font-weight:700; letter-spacing:0.05em; text-transform:uppercase; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: 0.98rem;
  color: var(--ink-body); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(78,191,167,0.22); }
.contact-detail { display:flex; flex-direction:column; gap: 3px; margin-bottom: 22px; }
.contact-detail .k { font-family: var(--display); font-size:0.72rem; letter-spacing:0.14em; text-transform:uppercase; color: var(--teal-dk); font-weight:700; }
.contact-detail .v { font-size: 1.1rem; color: var(--ink); }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 40px 0 22px; font-size: 0.88rem; border-top: 4px solid var(--teal); margin-top: 28px; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 0.78rem; font-weight:700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: var(--teal); }
.footer-brand .name { font-family: var(--display); font-weight:800; font-size: 1.4rem; color: #fff; text-transform: uppercase; letter-spacing:0.04em; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.legal { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 24px; font-size: 0.8rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.legal .brokerage { margin-bottom: 8px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1150px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 20px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .media { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 64vh; }
}

/* --- Real brand assets --- */
.brand .logo { height: 52px; }
.awards img { height: 112px; width: auto; }
.awards img.rlps { height: 72px; }
.fineprint { font-size: 0.72rem; color: var(--ink-soft); text-align: center; margin-top: 16px; }
.press { display: flex; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 38px; }
.press img { height: 54px; width: auto; }
.press-label { font-family: var(--display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.gstars { height: 44px; width: auto; margin: 12px auto 0; }
@media (max-width: 640px) { .awards img { height: 84px; } .brand .logo { height: 44px; } }

/* --- Fixes: contrast bugs --- */
.nav-links a.btn-primary { color: var(--navy); }
.site-footer p { color: rgba(255,255,255,0.78); }

/* --- Google reviews carousel --- */
.car-wrap { overflow: hidden; position: relative; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.car-track { display: flex; gap: 24px; width: max-content; animation: carmove 70s linear infinite; }
.car-wrap:hover .car-track { animation-play-state: paused; }
@keyframes carmove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
a.rcard { flex: 0 0 340px; display: flex; flex-direction: column; gap: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); color: var(--ink-body); transition: transform .2s, box-shadow .2s; }
a.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink-body); }
a.rcard .stars { color: var(--teal); letter-spacing: 2px; font-size: 1rem; }
a.rcard .rtxt { font-size: 0.95rem; line-height: 1.55; }
a.rcard .rwho { font-family: var(--display); font-weight: 700; font-size: 0.82rem; color: var(--navy); margin-top: auto; }
@media (prefers-reduced-motion: reduce) { .car-track { animation: none; flex-wrap: wrap; width: auto; } }
@media (max-width: 640px) { a.rcard { flex-basis: 280px; } }

/* Nav phone */
.nav-links .nav-phone a { font-weight: 700; color: var(--navy); white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1120px) { .nav-links .nav-phone { display: none; } }

/* Hero slow fade carousel */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides .slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 2.2s ease-in-out; }
.hero-slides .slide.on { opacity: 1; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32,51,101,0.72), rgba(22,36,74,0.82)); z-index: 1; }
.hero .container { position: relative; z-index: 2; }


/* Single-review slider */
.rev-slider { display: flex; align-items: center; gap: 16px; max-width: 880px; margin: 0 auto; }
.rev-view { overflow: hidden; flex: 1; }
.rev-slides { display: flex; transition: transform .9s cubic-bezier(.22,.61,.36,1); }
.rev-slides .rcard { flex: 0 0 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 44px 48px; box-shadow: var(--shadow-sm); color: inherit; min-height: 240px; justify-content: center; }
.rev-slides .rcard .rtxt { font-size: 1.18rem; line-height: 1.65; color: var(--ink-body); max-width: 58ch; }
.rev-slides .rcard .rwho { font-family: var(--display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.rev-slides .rcard .stars { color: var(--teal); letter-spacing: 3px; font-size: 1.2rem; }
.rev-nav { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font-size: 1.7rem; line-height: 1; cursor: pointer; transition: all .2s; }
.rev-nav:hover { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.rev-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.rev-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: all .2s; }
.rev-dots button.on { background: var(--teal-dk); transform: scale(1.25); }
@media (max-width: 640px) { .rev-slider { gap: 8px; } .rev-slides .rcard { padding: 30px 22px; } .rev-slides .rcard .rtxt { font-size: 1.02rem; } .rev-nav { width: 38px; height: 38px; font-size: 1.4rem; } }


/* ============ v26: conversion mechanics ============ */

/* Optional-field labelling + hints */
.lbl-opt { font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 0.72rem; color: var(--ink-soft); opacity: 0.8; }
.fld-hint { display: block; margin-top: 6px; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.label-as { display: block; font-family: var(--display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }

/* Radio chips replace dropdowns */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips span { display: inline-block; font-family: var(--display); font-size: 0.8rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.chips label:hover span { border-color: var(--teal); }
.chips input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--teal-dk); outline-offset: 2px; }

/* Social proof directly under the CTA */
.form-proof { margin-top: 18px; padding: 16px 18px; background: var(--bg-2); border-left: 3px solid var(--teal); }
.form-proof .stars { color: var(--teal-dk); letter-spacing: 2px; font-size: 0.95rem; }
.form-proof p { margin: 6px 0 6px; font-size: 0.92rem; line-height: 1.55; font-style: italic; color: var(--ink-body); }
.form-proof span { font-family: var(--display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* Sticky mobile call / text bar */
.callbar { display: none; }
@media (max-width: 820px) {
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; box-shadow: 0 -2px 14px rgba(11,11,11,0.16); }
  .callbar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-family: var(--display); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.02em; text-decoration: none; }
  .cb-call { background: var(--teal); color: var(--navy); }
  .cb-text { background: var(--navy); color: #fff; }
  .callbar-btn:active { filter: brightness(0.94); }
  body { padding-bottom: 54px; }
  .callbar-btn::before { font-size: 1.05rem; line-height: 1; }
  .cb-call::before { content: '\260E'; }
  .cb-text::before { content: '\2709'; }
}

/* v26 footer 4col */
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }


/* ============ v30: mobile overhaul ============ */
@media (max-width: 640px) {
  /* solid header, no blur (blur = scroll jank on phones) */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand .logo { height: 38px; }

  /* type scale for small screens */
  body { font-size: 15.5px; }
  h1 { font-size: clamp(1.85rem, 7.6vw, 2.25rem); }
  h2 { font-size: clamp(1.45rem, 5.6vw, 1.75rem); }
  h3 { font-size: 1.12rem; }
  .lead { font-size: 1.02rem; }
  .eyebrow { font-size: 0.7rem; }

  /* hero: compact, no double-screen scroll */
  .hero { min-height: auto; }
  .hero .container { padding-top: 72px; padding-bottom: 48px; }
  .hero p { font-size: 1rem; margin: 12px 0 22px; }
  .btn { padding: 12px 20px; font-size: 0.85rem; }
  .btn-row { gap: 10px; }

  /* kill desktop-sized section padding, including inline styles */
  section { padding: 44px 0 !important; }
  .hero { padding: 0 !important; }

  /* stats: tighter 2x2 */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px 10px; }
  .stat .num { font-size: 1.85rem; }
  .stat .label { font-size: 0.64rem; letter-spacing: 0.08em; margin-top: 7px; }
  .fineprint { font-size: 0.68rem; line-height: 1.5; }

  /* cards: less padding, smaller icons */
  .card-body { padding: 22px 20px; }
  .grid { gap: 16px; }
  .why-grid .card { padding: 22px 20px; }
  .vicon, .icon-circle { width: 56px; height: 56px; }

  /* review slider */
  .rev-slides .rcard { padding: 28px 20px; min-height: 200px; }
  .rev-slides .rcard .rtxt { font-size: 0.98rem; }

  /* steps / guides / project card */
  .step-num { font-size: 3rem; }
  .step h3 { font-size: 1.25rem; }
  .proj-card { padding: 32px 22px; }
  .quote-band blockquote { font-size: 1.05rem; }
  .proof-strip .big { font-size: 1.5rem; }
  .flagtable, .scorecard { font-size: 0.88rem; }

  /* footer breathing room */
  .footer-grid { gap: 28px; }

  /* stop scroll-reveal animation jank on phones - content just shows */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

  /* team cards single column, modal padding */
  .team-grid { grid-template-columns: 1fr !important; }
}

/* ============ v31: exclusive project teaser ============ */
.teaser { position: fixed; right: 18px; bottom: 18px; z-index: 850; max-width: 340px;
  background: var(--navy); color: #fff; border-radius: 10px; padding: 22px 22px 20px;
  box-shadow: 0 12px 40px rgba(11,11,20,0.35);
  transform: translateY(24px); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), opacity .45s ease; }
.teaser.on { transform: none; opacity: 1; pointer-events: auto; }
.teaser .t-eyebrow { font-family: var(--display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }
.teaser h3 { color: #fff; font-size: 1.12rem; margin: 6px 0 8px; line-height: 1.3; }
.teaser p { color: rgba(255,255,255,0.85); font-size: 0.88rem; line-height: 1.55; margin: 0 0 14px; }
.teaser .btn { width: 100%; text-align: center; }
.teaser .t-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: rgba(255,255,255,0.6); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px; }
.teaser .t-close:hover { color: #fff; }
@media (max-width: 640px) {
  .teaser { right: 12px; left: 12px; max-width: none; bottom: 66px; padding: 18px 18px 16px; }
}


/* v35: header breathing room + tighter footer */
.nav-links .nav-phone { margin-left: 14px; padding-left: 18px; border-left: 1px solid var(--line); }
.nav-links li:last-child { margin-left: 6px; }
.site-footer h4 { margin-bottom: 10px; }
.footer-links li { margin-bottom: 4px; }
.site-footer .legal { padding-top: 14px; font-size: 0.74rem; line-height: 1.6; }
