/* Roman Bridges Associates, LLC — site styles */

:root {
  --ink: #14201c;
  --text: #26332f;
  --muted: #56655f;
  --bg: #fafaf7;
  --surface: #ffffff;
  --line: #e3e4dc;
  --brand: #0e5f55;
  --brand-dark: #0a453e;
  --brand-tint: #eef5f3;
  --bronze: #a8814f;
  --footer-text: #c7d2ce;
  --radius: 6px;
  --max: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; color: var(--ink); line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); letter-spacing: -0.005em; }
h3 { font-size: 1.22rem; }

p { max-width: 62ch; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
.propops a:focus-visible, .propops .btn:focus-visible,
.site-footer a:focus-visible { outline-color: #8fd4c7; }

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

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

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 600;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand .brand-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.brand .brand-name span { display: block; font-family: "Inter", sans-serif; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--text); font-size: 0.95rem; font-weight: 500; padding: 8px 2px; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
.nav-phone {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 16px !important;
  background: var(--surface);
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease;
}
.nav-phone:hover { border-color: var(--brand); }

@media (max-width: 860px) {
  .site-nav a:not(.nav-phone) { display: none; }
}
@media (max-width: 480px) {
  .site-header .wrap { gap: 12px; }
  .brand { gap: 10px; }
  .brand svg { width: 32px; height: 32px; }
  .brand .brand-name { font-size: 0.98rem; white-space: nowrap; }
  .nav-phone { padding: 8px 12px !important; font-size: 0.88rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.13rem; color: var(--muted); margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn-primary { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid #c9ccc2; }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }

.hero-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 68% center;
  width: 100%;
  box-shadow: 0 24px 48px -24px rgba(20, 32, 28, 0.35);
}

@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Fact strip ---------- */
.facts { padding: 56px 0 0; }
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact { padding: 26px 18px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 1.32rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.fact span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: none; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.card:hover { border-color: #c6cfc9; box-shadow: 0 10px 30px -18px rgba(20, 32, 28, 0.25); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.97rem; color: var(--muted); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Split (portfolio) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.split-photo img {
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.split-body h2 { margin-bottom: 18px; }
.split-body p { color: var(--muted); margin-bottom: 16px; }
.split-body ul { list-style: none; margin: 26px 0 0; }
.split-body li { position: relative; padding: 7px 0 7px 32px; color: var(--text); font-size: 0.98rem; }
.split-body li svg { position: absolute; left: 0; top: 10px; color: var(--brand); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- PropOps panel ---------- */
.propops { background: var(--ink); color: #e8ece9; }
.propops .eyebrow { color: #7fc4b8; }
.propops h2 { color: #fff; }
.propops .section-head p { color: #a9b6b1; }
.propops-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.propops-body p { color: #a9b6b1; margin-bottom: 16px; }
.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fd4c7;
  border: 1px solid rgba(143, 212, 199, 0.4);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.propops a.text-link { color: #8fd4c7; font-weight: 600; }
.propops-body .btn-light { background: #fff; color: var(--ink); border: 1px solid #fff; margin-top: 14px; }
.propops-body .btn-light:hover { background: #dfe6e3; border-color: #dfe6e3; text-decoration: none; }

/* Hand-drawn product vignette */
.ui-mock {
  background: #1d2c27;
  border: 1px solid #2c3f39;
  border-radius: 10px;
  padding: 22px;
  font-size: 0.82rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.ui-mock .ui-titlebar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.ui-mock .dot { width: 9px; height: 9px; border-radius: 50%; background: #3b4f48; }
.ui-mock .ui-title { margin-left: 8px; color: #8fa39c; font-weight: 500; letter-spacing: 0.04em; }
.ui-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #22332d;
  border: 1px solid #2c3f39;
  border-radius: 7px;
  padding: 13px 16px;
  margin-bottom: 10px;
  color: #cfe0da;
}
.ui-row:last-child { margin-bottom: 0; }
.ui-row .ui-label { font-weight: 500; }
.ui-row .ui-sub { display: block; color: #7d918a; font-size: 0.74rem; margin-top: 2px; }
.ui-pill { font-size: 0.7rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; white-space: nowrap; }
.ui-pill.ok { background: rgba(96, 197, 173, 0.16); color: #8fd4c7; }
.ui-pill.warn { background: rgba(220, 178, 108, 0.14); color: #dcb26c; }
@media (max-width: 860px) { .propops-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 40px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card h3 { font-size: 0.82rem; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.contact-card p, .contact-card a { font-size: 1.02rem; color: var(--ink); }
.contact-card a { font-weight: 600; color: var(--brand); }
.contact-card .sub { display: block; font-size: 0.87rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.sms-note {
  background: var(--brand-tint);
  border: 1px solid #d3e4df;
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 0.9rem;
  color: var(--text);
  max-width: none;
}
.sms-note strong { color: var(--ink); }
.sms-note p { max-width: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); padding: 64px 0 40px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; font-family: "Source Serif 4", Georgia, serif; font-size: 1.05rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #93a49e;
}
.footer-legal p { max-width: none; }
.eho { flex: none; margin-top: 3px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Legal pages ---------- */
.legal-page { padding: 72px 0 96px; }
.legal-page .wrap { max-width: 760px; }
.legal-page h1 { margin-bottom: 10px; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 48px; }
.legal-page h2 { font-size: 1.35rem; margin: 44px 0 14px; }
.legal-page p, .legal-page li { color: var(--text); margin-bottom: 14px; max-width: none; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page li { margin-bottom: 8px; }
