:root {
  color-scheme: light;
  --ink: #12202b;
  --text: #435461;
  --night: #101c27;
  --accent: #b32933;
  --accent-hover: #96212b;
  --on-dark: #dbe4e9;
  --rule: #dbe0e2;
  --cream: #f5f4f0;
  font-family: "Avenir Next", Avenir, Inter, system-ui, sans-serif;
  scroll-padding-top: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); line-height: 1.6; background: #fff; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid #197bbe; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: clamp(2.05rem, 4.7vw, 3.55rem); }
.container { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.section-space { padding-block: clamp(3.75rem, 7vw, 6.5rem); }
.skip-link { position: absolute; z-index: 10; top: .65rem; left: .65rem; transform: translateY(-160%); padding: .6rem 1rem; background: #fff; }
.skip-link:focus { transform: none; }

.masthead { background: #fff; }
.header-inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { display: inline-flex; gap: .73rem; align-items: center; text-decoration: none; white-space: nowrap; }
.wordmark strong, .wordmark span span { display: block; font-size: .9rem; letter-spacing: .075em; line-height: 1.15; }
.wordmark span span { margin-top: .18rem; color: var(--accent); font-weight: 800; letter-spacing: .22em; }
.brand-mark { display: grid; place-items: center; width: 2.65rem; aspect-ratio: 1; background: var(--accent); color: #fff; font-weight: 850; font-size: 1.45rem; }
.masthead nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(.85rem, 3vw, 2.5rem); }
.masthead nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.header-phone { font-weight: 750; text-decoration: none; color: var(--accent); font-size: .96rem; white-space: nowrap; }
.masthead a:hover { text-decoration: underline; }

.hero { position: relative; isolation: isolate; background: var(--night); color: #fff; overflow: clip; }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 55%; }
.hero::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(92deg, rgba(10,20,31,.98) 0%, rgba(10,20,31,.94) 22%, rgba(10,20,31,.72) 55%, rgba(10,20,31,.18) 100%); }
.hero-inner { min-height: clamp(31rem, 47vw, 43rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 5rem; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.hero .eyebrow, .contact .eyebrow { color: #ff9da3; }
.hero h1 { font-size: clamp(2.65rem, 6.5vw, 5.15rem); font-weight: 760; }
.hero-copy { max-width: 32rem; color: var(--on-dark); margin-top: 1.4rem; font-size: clamp(1.02rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 3rem; padding: .6rem 1.15rem; border: 1px solid transparent; font-size: .95rem; font-weight: 730; text-decoration: none; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-quiet { color: #fff; border-color: #b3bec6; background: #101c2770; }
.button-quiet:hover { background: #ffffff22; }

.section-intro { margin-bottom: 2.15rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.service-grid article { padding: 1.55rem 1.45rem 1.8rem; border-right: 1px solid var(--rule); }
.service-grid article:first-child { padding-left: 0; }
.service-grid article:last-child { border-right: 0; }
.card-accent { display: block; width: 1.9rem; height: .2rem; background: var(--accent); margin-bottom: 1.1rem; }
.service-grid h3 { letter-spacing: -.026em; font-size: 1.24rem; }
.service-grid p { margin-top: .7rem; color: var(--text); font-size: .94rem; }
.service-area { background: var(--cream); }
.area-grid, .contact-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(1.75rem, 7vw, 5rem); align-items: center; }
.area-grid p:not(.eyebrow) { color: var(--text); font-size: 1.06rem; }
.property-types { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.property-types li { padding: .32rem .72rem; border: 1px solid #c9cfce; font-size: .86rem; font-weight: 650; }
.contact { background: var(--night); color: #fff; }
.contact p:not(.eyebrow) { color: var(--on-dark); margin-top: 1rem; }
.contact .button { margin-top: 1.35rem; }
.contact address { display: grid; gap: .25rem; font-style: normal; border-left: 2px solid #d5545d; padding: .5rem 0 .5rem 1.35rem; color: var(--on-dark); }
.contact address strong { color: #fff; font-size: 1.12rem; }
.contact address a { justify-self: start; color: #fff; margin-top: .55rem; }
.footer { background: #0b141c; color: #c3cdd3; font-size: .85rem; padding-block: 1.45rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.legal { min-height: 57vh; }
.legal .container { max-width: 50rem; }
.legal h2 { margin-top: 2.15rem; font-size: 1.55rem; }
.legal p:not(.eyebrow) { margin-top: .8rem; color: var(--text); }

@media (max-width: 850px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid article { padding-left: 1.2rem; }
  .service-grid article:nth-child(odd) { padding-left: 0; }
  .service-grid article:nth-child(even) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}
@media (max-width: 590px) {
  .container { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 0; flex-wrap: wrap; justify-content: space-between; gap: .55rem .8rem; padding-block: .8rem .65rem; }
  .header-phone { font-size: .86rem; }
  .masthead nav { order: 1; flex: 1 0 100%; gap: 1.35rem; border-top: 1px solid var(--rule); padding-top: .55rem; }
  .masthead nav a { font-size: .86rem; }
  .hero-inner { min-height: 31rem; padding-block: 4rem; }
  .hero-photo { object-position: 66% 50%; }
  .hero::after { background: linear-gradient(90deg, #0a141ff5, #0a141f9c); }
  .hero h1 { font-size: clamp(2.45rem, 10vw, 3.2rem); }
  .hero h1 br, .wide-only { display: none; }
  .area-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 365px) {
  .header-phone { font-size: .79rem; }
  .wordmark strong, .wordmark span span { font-size: .76rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { padding: 1.2rem 0; border-right: 0; }
  .service-grid article:not(:last-child) { border-bottom: 1px solid var(--rule); }
}
