/* EXI Properties — static one-pager.
   Faithful to the live WordPress/Divi page: Lato black headlines,
   orange #fa7f28, building-photo hero with brown-to-navy wash. */

:root {
  --orange: #fa7f28;
  --orange-glow: rgba(250, 127, 40, 0.4);
  --navy: #02004c;
  --ink: #2d3940;
  --body: #555555;
  --muted: #898f99;
  --paper: #ffffff;
  --wash: #e8eefc;
  --footer: #222222;
  --footer-bottom: #1f1f1f;
  --display: "Lato", Helvetica, Arial, sans-serif;
  --sans: "Open Sans", Helvetica, Arial, sans-serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html,
body { overflow-x: clip; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-style: normal;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.15;
  overflow-wrap: anywhere;
  min-width: 0;
}

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  border: 6px solid var(--orange);
  border-radius: 5px;
  padding: 10px 22px;
  box-shadow: 0 12px 30px 8px rgba(250, 127, 40, 0.15);
  transition: transform 0.15s var(--ease), filter 0.15s var(--ease);
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--orange);
}
.btn--hero { font-size: 16px; padding: 12px 28px; }
.btn--sm {
  border-width: 0;
  border-radius: 6px;
  letter-spacing: 1px;
  font-size: 12px;
  padding: 8px 16px;
  box-shadow: 0 12px 18px -6px var(--orange-glow);
}

/* ----- Top bar ----- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(2, 0, 76, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-nav a {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.topbar-nav a:hover { color: var(--orange); }
.topbar-nav a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.topbar-call { color: var(--orange) !important; }

/* ----- Hero ----- */
.hero {
  background:
    linear-gradient(180deg, rgba(150, 105, 97, 0.67) 0%, rgba(2, 0, 76, 0.84) 100%),
    url("/images/building.jpg") center top / cover no-repeat;
  color: #fff;
  padding: 10% 0 12%;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}
.hero h1 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 7vw, 5rem);
  letter-spacing: 2px;
  line-height: 1.15;
  text-shadow: 0 0.1em 0.6em rgba(0, 0, 0, 0.6);
  margin-bottom: 0.35em;
}
.hero-kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35em;
}
.hero-lede {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.8;
  max-width: 36ch;
  margin-bottom: 1.4em;
}
.contact-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-top: 6px solid var(--orange);
  padding: 28px 26px 30px;
  border-radius: 2px;
}
.contact-card h2 {
  font-size: 22px;
  text-transform: none;
  font-weight: 900;
  margin-bottom: 0.6em;
}
.contact-card p { margin: 0 0 0.45em; color: var(--body); }
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--orange); }
.contact-card .addr { margin: 0.8em 0 1.2em; }
.contact-card .btn:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

/* ----- Split rows ----- */
.split { padding: 72px 0; }
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.5em;
}
.split-copy p {
  font-size: 17px;
  color: var(--body);
  margin-bottom: 1.4em;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ----- Space types ----- */
.spaces {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #ffffff 0%, #e8eefc 100%);
}
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.space img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: -12px;
}
.space .btn { position: relative; z-index: 1; }
.space p {
  color: var(--muted);
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.8;
  margin: 16px 20px 0;
}

/* ----- Quotes ----- */
.quotes { padding: 0 0 80px; background: #e8eefc; }
.quotes-panel {
  background: #fff;
  border-radius: 15px;
  border-top: 18px solid var(--orange);
  box-shadow: 0 39px 80px -6px rgba(0, 0, 0, 0.1);
  padding: 48px 40px 20px;
  margin-top: -40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.quote {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 24px;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.14);
}
.quote blockquote { margin: 0; }
.quote p {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}
.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--ink);
}
.quote figcaption span { color: var(--muted); font-style: italic; }

/* ----- Bottom CTA ----- */
.cta {
  background:
    linear-gradient(180deg, rgba(150, 105, 97, 0.67) 0%, rgba(2, 0, 76, 0.84) 100%),
    url("/images/building.jpg") center top / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 10% 0;
}
.cta-inner { max-width: 750px; }
.cta h2 {
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 2px;
  text-shadow: 0 0.1em 0.6em rgba(0, 0, 0, 0.24);
}
.cta p {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 1.4em;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--footer);
  color: #666;
  padding: 22px 0;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer a { color: #888; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: #fff; }

/* ----- 404 ----- */
.miss {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}
.miss h1 { font-size: clamp(2rem, 6vw, 3.4rem); text-transform: uppercase; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .spaces-grid,
  .quotes-panel {
    grid-template-columns: minmax(0, 1fr);
  }
  .split--flip .split-media { order: -1; }
  .hero { padding: 64px 0 72px; }
  .hero-lede { max-width: none; font-size: 18px; }
  .topbar-nav a:not(.topbar-call) { display: none; }
  .quotes-panel { padding: 36px 22px 8px; }
  .quote { grid-template-columns: 56px minmax(0, 1fr); }
  .avatar { width: 56px; height: 56px; font-size: 16px; }
  .split { padding: 48px 0; }
  .spaces { padding: 48px 0 72px; }
}

@media (max-width: 414px) {
  .hero h1 { letter-spacing: 1px; }
  .btn--hero { font-size: 14px; }
  .contact-card { padding: 22px 18px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
