/* ==========================================================================
   Property Center — stylesheet
   Tokens: maroon #46121A, paper #FFFFFF, red #EF4444, slate #6B565A, line #F0D7DA
   Display: Fraunces / Body: Inter / Utility: JetBrains Mono
   ========================================================================== */

:root {
  --ink: #46121a;
  --ink-soft: #5a1a24;
  --paper: #ffffff;
  --paper-tint: #fff2f3;
  --red: #ef4444;
  --red-dark: #c8020a;
  --slate: #6b565a;
  --line: #f0d7da;
  --line-dark: #5c1f28;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1180px;
  --radius: 2px;
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-dark);
  margin: 0 0 0.9rem;
}
.section-dark .eyebrow,
.contact-copy .eyebrow { color: var(--red); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }

.accent { color: var(--red-dark); font-style: italic; font-weight: 500; }
.section-dark .accent { color: var(--red); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.section-dark .btn-primary,
.contact-form .btn-primary { background: var(--red); color: var(--ink); }
.section-dark .btn-primary:hover,
.contact-form .btn-primary:hover { background: var(--paper); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { border-color: var(--red-dark); color: var(--red-dark); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.brand-mark { color: var(--red-dark); display: flex; }
.brand-name em { font-style: italic; color: var(--red-dark); font-weight: 500; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--red-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 4.5rem 0 3rem; }
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 1.3rem;
}
.hero-sub {
  color: var(--slate);
  max-width: 46ch;
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

.hero-stats {
  display: flex;
  gap: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-stats dd {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.hero-art { position: relative; }
.blueprint-svg { width: 100%; height: auto; color: var(--ink); }
.bp-grid line { stroke: var(--line); stroke-width: 1; }
.bp-line { stroke: var(--ink); stroke-width: 2; }
.bp-fill { fill: none; stroke: var(--red-dark); stroke-width: 1.5; }
.bp-dim { stroke: var(--slate); stroke-width: 1; }
.bp-label { font-family: var(--font-mono); font-size: 12px; fill: var(--slate); }
.bp-dot { fill: var(--red-dark); }

/* ==========================================================================
   Sections (generic)
   ========================================================================== */
.section { padding: 5.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark p { color: #e3c3c7; }

.section-tint { background: var(--paper-tint); }

/* ==========================================================================
   About / CEO
   ========================================================================== */
.leader-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.4rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem;
}
.leader-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--red), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--paper);
  justify-self: center;
}
.leader-name { font-size: 1.5rem; margin-bottom: 0.2rem; }
.leader-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red-dark);
  margin: 0 0 1rem;
}
.leader-bio { color: var(--slate); max-width: 60ch; margin-bottom: 1.6rem; }
.leader-stats {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.leader-stats dt { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.leader-stats dd { margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--slate); }

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.service-card {
  background: var(--ink);
  padding: 2.2rem 1.6rem;
}
.service-mark {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--red);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; }

/* ==========================================================================
   Areas we serve
   ========================================================================== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.area-grid li {
  background: var(--ink);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  background: var(--white);
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--red-dark);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--slate); margin-top: 0.8rem; }

/* ==========================================================================
   Process
   ========================================================================== */
.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.6rem 3rem;
}
.process-list li { display: flex; gap: 1.3rem; }
.process-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--red-dark);
  line-height: 1;
  flex-shrink: 0;
}
.process-list h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.process-list p { color: var(--slate); font-size: 0.92rem; max-width: 42ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy form"
    "map  map";
  gap: 3.5rem;
  align-items: start;
}
.contact-copy { grid-area: copy; }
.contact-form { grid-area: form; }
.contact-map-card { grid-area: map; }
.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.1rem; }
.contact-details { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; }
.contact-details strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  display: block;
}

.contact-form {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-size: 0.82rem; color: #e3c3c7; }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--ink);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--red);
}
.field-error {
  color: #ff9494;
  font-size: 0.78rem;
  min-height: 1em;
}
.form-status {
  text-align: center;
  font-size: 0.9rem;
  color: var(--red);
  min-height: 1.2em;
  margin: 0;
}

.contact-map-card {
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.contact-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 0.9rem;
}
.contact-map-head > span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e3c3c7;
}
.contact-map {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 7;
  background: var(--ink);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(15%) contrast(1.08) brightness(0.97);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.map-link:hover { color: var(--paper); border-color: var(--paper); }

/* ==========================================================================
   Legal pages (Privacy / Terms)
   ========================================================================== */
.legal-wrap { max-width: 760px; }
.legal-page h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin: 0 0 0.6rem; }
.legal-updated { color: var(--slate); font-size: 0.85rem; margin-bottom: 2.2rem; }
.legal-page h2 { font-size: 1.15rem; margin: 2.2rem 0 0.7rem; }
.legal-page p { color: var(--slate); margin-bottom: 0.4rem; }
.legal-contact { margin: 0.8rem 0 0; }
.legal-contact li { color: var(--slate); font-size: 0.95rem; margin-bottom: 0.3rem; }
.legal-contact strong { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
  padding-top: 3.2rem;
  padding-bottom: 2.4rem;
}
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-tagline { color: var(--slate); font-size: 0.86rem; max-width: 30ch; margin: 0 0 1.2rem; }
.social-icons { display: flex; gap: 0.7rem; }
.social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color var(--transition), color var(--transition);
}
.social-icon:hover { border-color: var(--red-dark); color: var(--red-dark); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin: 0 0 1rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: var(--slate);
  margin: 0 0 0.7rem;
}
.footer-col a:hover { color: var(--red-dark); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
  font-size: 0.82rem;
  color: var(--slate);
}

.footer-links { display: flex; gap: 1.4rem; }
.footer-links a:hover { color: var(--red-dark); }

.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 90;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red-dark); }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-row { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .leader-card { grid-template-columns: 1fr; text-align: center; }
  .leader-stats { justify-content: center; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 24px 1.2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 0.6rem; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding: 2.8rem 0 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.4rem 2rem; }

  .service-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr; }
  .contact-row {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "map" "form";
  }
  .contact-map { aspect-ratio: 16 / 10; }
  .leader-card { padding: 1.8rem; }

  .section { padding: 3.6rem 0; }

  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 2.2rem; }
  .footer-brand .brand, .social-icons { justify-content: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-bottom { text-align: center; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
