/* Shared presentation for the homepage and practice areas. */
:root {
  --paper-blue: #edf3fc;
  --surface-border: #dbe5f2;
  --surface-shadow: 0 14px 32px rgba(10, 31, 68, .075);
}
.logo { min-width: 0; }
.logo img { width: clamp(150px, 22vw, 245px); max-width: 100%; height: auto; }
header.main { box-shadow: 0 4px 16px rgba(10, 31, 68, .045); }
.hero, .property-hero {
  background-color: #f4f8fe;
  background-image: radial-gradient(ellipse at 100% 0%, #dce9fb, transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 39px, rgba(18, 62, 139, .055) 39px 40px);
}
.hero .frame {
  border: 1px solid #c4d6ee;
  background: rgba(255,255,255,.74);
  padding: clamp(48px, 8vw, 102px) clamp(16px, 5vw, 58px);
  box-shadow: var(--surface-shadow);
}
.hero h1 { color: var(--navy); text-wrap: balance; }
.hero p.lead { color: #344760; text-align: center; }
.hero .rule i { background: var(--blue); }
.hero .rule::before, .hero .rule::after { background: #a3b9da; }
.hero .btn.solid { background: var(--blue); color: white; border-color: var(--blue); }
.hero .btn.solid:hover { background: var(--navy); color: white; }
.hero .btn.line { color: var(--navy); border-color: #9fb7d9; }
.hero .btn.line:hover { background: var(--paper-blue); }
.property-hero { border-bottom: 1px solid var(--surface-border); }
.property-hero h1 { text-wrap: balance; }
.property-hero .wrap > p { font-size: clamp(1rem, 2vw, 1.12rem); }
.property-back { text-underline-offset: .25em; }
.btn, nav a.cta, .property-button { border-radius: 6px; }
.property-button { max-width: 100%; }
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  background: transparent;
  border: 0;
}
.services li {
  display: block;
  min-width: 0;
  padding: 24px;
}
.services li, .property-card {
  background: #fff;
  border: 1px solid var(--surface-border);
  border-top: 3px solid #769acc;
  border-radius: 8px;
  box-shadow: var(--surface-shadow);
}
.services li:hover, .services li:focus-within { border-top-color: var(--blue); }
.services h3 { margin-bottom: 10px; }
.services h3 a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.services h3 a::after { content: '↗' / ''; margin-inline-start: .35em; font-size: .68em; }
.property-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
main > section .wrap > h2 { font-size: clamp(1.9rem, 4vw, 2.65rem); margin-bottom: 14px; }
.case-steps { border-radius: 8px; overflow: hidden; }
.photo { border-radius: 8px; outline-offset: 5px; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .hero .frame { margin: 0 12px; }
  main > section { padding-block: 52px; }
}

/* Warm accents on headings and linked practice areas. */
:root { --amber: #b77b28; --amber-ink: #895916; }
.head h2::after { background: var(--amber); }
.hero .rule i { background: var(--amber); }
.services h3 a::after { color: var(--amber-ink); }
.services li:hover, .services li:focus-within { border-top-color: var(--amber); }
.property-hero h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  background: var(--amber);
}
