/* Steven Thomas Real Estate. Brand greens and near-blacks from Seaport Real Estate
   theme.css (#109647, #080808, #FBFBFB, #9E9E9E, #222222) and the official logo (#201C20, #FCFCFC). */
:root, html[data-theme="light"] {
  --green: #109647;
  --green-rgb: 16, 150, 71;
  --ink: #080808;
  --ink-2: #201c20;
  --bg: #fcfcfc;
  --surface: #ffffff;
  --surface-2: #fbfbfb;
  --line: #e3e3e3;
  --fg: #080808;
  --muted: #4a4a4a;
  --muted-2: #9e9e9e;
  --header: #080808;
  --on-header: #fcfcfc;
  --shadow: 0 18px 50px rgba(8, 8, 8, .14);
  --spring: cubic-bezier(.32, .72, 0, 1);
  --hdr: 87px;
  --f-display: "Shrikhand", Georgia, serif;
  --f-serif: "Roboto Slab", Georgia, serif;
  --f-body: "Roboto", system-ui, sans-serif;
  --f-script: "Dancing Script", "Segoe Script", cursive;
  --f-ui: "Outfit", "Roboto", system-ui, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #080808;
  --surface: #201c20;
  --surface-2: #161316;
  --line: #2a2a2a;
  --fg: #fcfcfc;
  --muted: #c4c4c4;
  --muted-2: #9e9e9e;
  --header: #080808;
  --on-header: #fcfcfc;
  --ink: #fcfcfc;
  --ink-2: #fcfcfc;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  color-scheme: dark;
}
html { background: var(--bg); }
*, *::before, *::after { box-sizing: border-box; }
html.more-lock, html.more-lock body { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.skip {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--green); color: #fff; padding: 10px 16px;
}
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

/* Phone quick-call strip */
.mbar { display: none; background: #000; gap: 10px; padding: 8px 10px; justify-content: center; }
.mbar-btn {
  flex: 1; max-width: 260px; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #000; color: var(--green); font: 500 16px/1 var(--f-ui);
  text-transform: uppercase; text-decoration: none; padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(16, 150, 71, .5); min-height: 44px;
}
.mbar-btn svg { width: 14px; height: 18px; fill: currentColor; stroke: none; }
@media (max-width: 760px) { .mbar { display: flex; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header);
  border-bottom: 1px solid var(--green);
}
.sh-inner {
  max-width: 1440px; margin: 0 auto; min-height: var(--hdr);
  display: flex; align-items: center; gap: 16px; padding: 0 20px;
}
.sh-logo { display: flex; align-items: center; gap: .7rem; color: var(--on-header); text-decoration: none; flex-shrink: 0; }
.sh-logo img { width: 52px; height: 52px; }
.sh-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.sh-name { font-family: var(--f-serif); font-weight: 600; font-size: .95rem; }
.sh-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .75; font-weight: 500; font-family: var(--f-ui); }
.sh-nav { flex: 1; display: flex; justify-content: center; }
.sh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.sh-nav li { position: relative; }
.sh-nav a {
  display: flex; align-items: center; font: 400 16px/1 Georgia, var(--f-serif), serif;
  color: #fff; text-decoration: none; padding: 13px 8px; position: relative;
}
.sh-nav a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px;
  background: var(--green); opacity: 0; transition: opacity .25s;
}
.sh-nav a[aria-current="page"]::after, html.can-hover .sh-nav a:hover::after, .sh-nav a:focus-visible::after { opacity: 1; }
.sh-nav a[aria-current="page"], html.can-hover .sh-nav a:hover { color: var(--green); }
.sh-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.aa-chip {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(16, 150, 71, .45);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center;
}
.aa-chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-theme="dark"] .theme-btn .i-moon, html:not([data-theme="dark"]) .theme-btn .i-sun { display: none; }
.sh-cta {
  background: var(--green); color: #fff; font: 500 15px/1 var(--f-ui);
  text-transform: uppercase; text-decoration: none; letter-spacing: .04em;
  padding: 12px 16px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center;
}
html.can-hover .sh-cta:hover { filter: brightness(1.08); color: #fff; }
.sh-burger { display: none; width: 48px; height: 48px; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.sh-burger span { display: block; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
@media (max-width: 1180px) {
  .sh-nav, .sh-cta { display: none; }
  .sh-burger { display: flex; }
  .sh-inner { justify-content: space-between; }
}
@media (max-width: 760px) { :root { --hdr: 64px; } .sh-logo img { width: 44px; height: 44px; } .sh-inner { padding: 0 10px; } }

/* Drawer */
.more { position: fixed; inset: 0; z-index: 1700; visibility: hidden; pointer-events: none; }
.more.is-active { visibility: visible; pointer-events: auto; }
.more-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .3s var(--spring); }
.more.is-open .more-scrim { opacity: 1; }
.more-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--surface); color: var(--fg); display: flex; flex-direction: column;
  transform: translate3d(100%, 0, 0); transition: transform .3s var(--spring); will-change: transform;
  box-shadow: var(--shadow); padding-bottom: env(safe-area-inset-bottom);
}
.more.is-open .more-panel { transform: none; }
.more-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: #080808; border-bottom: 1px solid var(--green); }
.more-head .brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.more-head img { height: 40px; width: 40px; }
.x { width: 48px; height: 48px; border-radius: 24px; color: var(--green); font-size: 30px; line-height: 1; }
.more-body { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 8px 10px 20px; }
.more-lab { margin: 16px 10px 6px; font: 500 .8rem var(--f-ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.more-link { display: flex; align-items: center; width: 100%; min-height: 50px; padding: 0 12px; border-radius: 12px; font: 400 1.05rem var(--f-serif); text-decoration: none; text-align: left; color: var(--fg); }
.more-link.is-active { color: var(--green); font-weight: 700; }
html.can-hover .more-link:hover { background: var(--surface-2); }
.more-call { display: flex; align-items: center; justify-content: center; margin: 18px 6px 0; min-height: 52px; border-radius: 26px; background: var(--green); color: #fff !important; text-decoration: none; font: 500 1rem var(--f-ui); text-transform: uppercase; }
.th-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 6px 12px; }
.th-row button { min-height: 64px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font: 500 12px/1.1 var(--f-ui); }
.th-row button[aria-pressed="true"] { border-color: var(--green); background: rgba(16, 150, 71, .14); box-shadow: inset 0 0 0 1.5px var(--green); }
.more-edge { position: fixed; right: 0; top: var(--hdr); bottom: 90px; width: 22px; z-index: 1650; touch-action: none; }
@media (hover: hover) and (pointer: fine) { .more-edge { display: none; } }

/* Content */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.hero {
  position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .55) 0%, rgba(8, 8, 8, .78) 70%, #080808 100%),
    radial-gradient(900px 400px at 80% 0%, rgba(16, 150, 71, .35), transparent 60%),
    #080808;
}
.hero-inner { position: relative; max-width: 1180px; margin: 0 auto; padding: 5rem 1.25rem 4.5rem; width: 100%; }
.eyebrow { font-family: var(--f-script); font-size: 2rem; font-weight: 600; color: #fcfcfc; margin: 0 0 .35rem; }
.hero h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.4rem); line-height: 1.02; margin: 0 0 .85rem;
  background: linear-gradient(180deg, #fff 30%, #d9f3e4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .45));
}
@supports not (-webkit-background-clip: text) { .hero h1 { color: #fff; } }
.hero .lede { font-size: 1.25rem; max-width: 28em; margin: 0 0 1.75rem; color: rgba(252, 252, 252, .92); font-weight: 400; }
.hero-note { margin-top: 1.5rem; font-size: .8rem; color: rgba(252, 252, 252, .6); max-width: 36em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff; font-family: var(--f-ui); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
  padding: .95rem 1.45rem; border-radius: 999px; min-height: 48px; border: 0;
}
.btn:hover { color: #fff; filter: brightness(1.08); }
.btn-ink { background: #080808; color: #fff; }
html[data-theme="dark"] .btn-ink { background: #201c20; border: 1px solid var(--green); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255, 255, 255, .75); color: #fff; }
.btn-outline:hover { background: #fff; color: #080808; filter: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.section { padding: 5rem 0; }
.section-cream { background: var(--surface-2); }
.kicker { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0 0 .5rem; font-family: var(--f-ui); }
h2.section-title { font-family: var(--f-serif); font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; margin: 0 0 1rem; color: var(--ink); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.portrait-frame { background: var(--surface-2); border-radius: 20px; padding: 1.25rem 1.25rem 0; box-shadow: var(--shadow); overflow: hidden; }
.portrait-frame img { width: 100%; object-fit: cover; object-position: center top; }
.bio p { font-size: 1.05rem; color: var(--muted); margin: 0 0 1rem; }
.missing {
  border: 1px dashed rgba(16, 150, 71, .45);
  background: repeating-linear-gradient(-45deg, var(--surface-2), var(--surface-2) 8px, var(--bg) 8px, var(--bg) 16px);
  border-radius: 14px; padding: 1.15rem 1.25rem; color: var(--muted); font-size: .95rem;
}
.missing strong { color: var(--ink); }
.page-hero { background: #080808; color: #fff; padding: 3.5rem 0 2.75rem; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .4rem; font-weight: 400; }
.page-hero p { margin: 0; color: rgba(252, 252, 252, .8); max-width: 38em; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { margin: 0 0 1rem; }
.contact-list span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list strong { font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.social { display: flex; gap: .7rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #080808; color: #fff; }
html[data-theme="dark"] .social a { background: #201c20; border: 1px solid var(--line); }
.social a:hover { background: var(--green); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
label { display: block; font-size: .82rem; font-weight: 600; margin: 0 0 .3rem; color: var(--ink); font-family: var(--f-ui); }
input, select, textarea {
  width: 100%; font: inherit; padding: .7rem .8rem; border: 1px solid var(--line);
  border-radius: 8px; background: var(--bg); color: var(--fg); margin-bottom: .9rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.hp { position: absolute; left: -9999px; }

.site-footer { background: #080808; color: rgba(252, 252, 252, .8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand { display: flex; align-items: center; gap: .75rem; color: #fff; margin-bottom: .8rem; }
.footer-brand img { width: 56px; height: 56px; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .8rem; font-family: var(--f-ui); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .35rem; }
.site-footer a { color: rgba(252, 252, 252, .8); }
.site-footer a:hover { color: #fff; }
.seaport-credit { margin-top: 1rem; }
.seaport-credit img { height: 48px; width: auto; }
.legal { font-size: .8rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }

@media (max-width: 900px) {
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Official wordmark in the header */
.sh-logo .logo-wordmark { height: 52px; width: auto; max-width: min(280px, 52vw); }
.sh-logo .logo-crest-mark { display: none; height: 44px; width: auto; }
@media (max-width: 420px) {
  .sh-logo .logo-wordmark { display: none; }
  .sh-logo .logo-crest-mark { display: block; }
}
.more-head img.logo-crest-mark { height: 44px; width: auto; }

/* Hero slideshow */
.hero {
  background: #080808;
  min-height: min(88vh, 720px);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide picture, .hero-slide img {
  width: 100%; height: 100%;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-veil {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, .38) 0%, rgba(8, 8, 8, .55) 50%, rgba(8, 8, 8, .82) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, .35), transparent 55%);
  pointer-events: none;
}
.hero-inner { z-index: 3; padding-top: 5.5rem; padding-bottom: 5rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Service-area cards */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}
.area-card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: #080808;
  box-shadow: var(--shadow);
  color: #fff;
  text-decoration: none;
}
.area-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.area-card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1rem .9rem;
  background: linear-gradient(transparent, rgba(8, 8, 8, .88));
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.25;
}

/* Seaport values */
.values {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.values li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
}
.values strong {
  display: block;
  font-family: var(--f-ui);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .35rem;
}
.values p { margin: 0; color: var(--muted); font-size: .98rem; }
blockquote.seaport-quote {
  margin: 0 0 1rem;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-size: 1.05rem;
}
.portrait-frame picture { display: block; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* Footer wordmark */
.footer-brand .logo-wordmark { height: 48px; width: auto; max-width: 260px; }
.footer-brand { flex-wrap: wrap; }

/* Process steps, FAQs, posts, CTAs */
.lede-block { max-width: 42em; }
.lede-block p, .prose p { font-size: 1.08rem; color: var(--muted); margin: 0 0 1rem; }
.steps {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--shadow);
}
.step-n {
  display: block;
  font-family: var(--f-ui);
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
  font-size: .8rem;
  margin-bottom: .45rem;
}
.step-card h3 {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  margin: 0 0 .45rem;
  color: var(--ink);
  line-height: 1.25;
}
.step-card p { margin: 0; color: var(--muted); font-size: 1rem; }

.faq { max-width: 800px; display: flex; flex-direction: column; gap: .7rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  padding: 1rem 1.2rem;
  min-height: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--green);
  font: 500 1.4rem/1 var(--f-ui);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.15rem; color: var(--muted); }

.cta-band {
  background: #080808;
  color: #fff;
  padding: 4rem 0;
}
.cta-band .section-title { color: #fff; }
.cta-band p { color: rgba(252,252,252,.8); max-width: 38em; font-size: 1.08rem; }
.cta-band .btn-outline { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-ink {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover { background: var(--ink); color: #fff; filter: none; }
html[data-theme="dark"] .btn-outline-ink { border-color: var(--green); color: #fff; }
html[data-theme="dark"] .btn-outline-ink:hover { background: var(--green); color: #fff; }

.split-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem;
}
.promo-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.promo-card h3 {
  font-family: var(--f-serif);
  font-size: 1.45rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}
.promo-card p { color: var(--muted); margin: 0 0 1.1rem; flex: 1; }
.promo-card .text-link { color: var(--green); font-weight: 600; font-family: var(--f-ui); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.post-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.post-card .post-body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-family: var(--f-serif); font-size: 1.25rem; margin: 0 0 .45rem; color: var(--ink); line-height: 1.25; }
.post-card p { color: var(--muted); margin: 0 0 .8rem; }
.post-card .text-link { margin-top: auto; color: var(--green); font-weight: 600; font-family: var(--f-ui); letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }

.area-rich {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.15rem;
}
.area-rich .area-card { min-height: 0; }
.area-rich .area-card { display: flex; flex-direction: column; color: var(--fg); background: var(--surface); }
.area-rich .area-card img { height: 180px; }
.area-body { padding: 1rem 1.05rem 1.15rem; }
.area-body h3 { font-family: var(--f-serif); font-size: 1.15rem; margin: 0 0 .35rem; color: var(--ink); }
.area-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.area-card[id] { scroll-margin-top: calc(var(--hdr) + 16px); }

.prose { max-width: 42em; }
.prose h2 { font-family: var(--f-serif); font-size: 1.55rem; margin: 2rem 0 .7rem; color: var(--ink); }
.prose h3 { font-family: var(--f-serif); font-size: 1.2rem; margin: 1.5rem 0 .5rem; color: var(--ink); }
.prose ul { color: var(--muted); padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin: 0 0 .4rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 800px) {
  .split-cta { grid-template-columns: 1fr; }
}

/* Email + search actions */
.mbar { justify-content: center; }
.more-actions { display: grid; gap: 8px; margin: 18px 6px 0; }
.more-actions .more-call { margin: 0; }
.more-email {
  background: transparent !important;
  border: 1.5px solid var(--green);
  color: var(--green) !important;
}
html[data-theme="dark"] .more-email { color: #fff !important; }
.sh-search {
  background: transparent;
  color: #fff;
  font: 500 15px/1 var(--f-ui);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  padding: 12px 16px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,.7);
}
html.can-hover .sh-search:hover { background: #fff; color: #080808; }
@media (max-width: 1180px) {
  .sh-search { display: none; }
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0 1.4rem; }
.office-block { margin: 1.25rem 0 0; }
.office-block p { margin: 0 0 .35rem; color: var(--muted); }
.more-link.ext::after { content: " ↗"; font-size: .85em; opacity: .7; }

/* ---------- iOS home-screen / status bar (Gulf Crest + Picker Joe's, iOS 26) ---------- */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
  --top-push: 0px;
}
/* iPad Safari sometimes reports no inset */
@media (hover: none) and (min-width: 700px) {
  :root { --sat: max(env(safe-area-inset-top, 0px), 14px); }
}
html { background-color: #080808; }
body { padding-top: var(--sat); }
.status-strip {
  position: fixed; top: 0; left: 0; right: 0; width: 100%;
  height: max(var(--sat), 1px);
  z-index: 1100;
  background-color: #080808;
  pointer-events: none;
}
body::before {
  content: "";
  position: fixed; left: 0; right: 0; top: 0;
  height: calc(var(--sat) + 10px);
  z-index: 990;
  pointer-events: none;
  background-color: #080808;
}
@media (display-mode: standalone) {
  :root { --sat: max(env(safe-area-inset-top, 0px), 2px); --top-push: 18px; }
  html { overscroll-behavior-y: none; min-height: calc(100% + env(safe-area-inset-top, 0px)); }
  body { padding-top: calc(var(--sat) + var(--top-push)); min-height: 100%; }
  body::before { height: calc(var(--sat) + 18px); }
  .site-header, .site-header img, .sh-logo, .brand-card, .brand-plate, .sh-name, .aa-chip, .sh-burger, .sh-cta, .sh-search, .mbar {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    filter: none;
    text-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header { transform: translateZ(0); -webkit-transform: translateZ(0); }
}
html.standalone {
  --sat: max(env(safe-area-inset-top, 0px), 2px);
  --top-push: 18px;
  overscroll-behavior-y: none;
  min-height: calc(100% + env(safe-area-inset-top, 0px));
}
html.standalone body { padding-top: calc(var(--sat) + var(--top-push)); min-height: 100%; }
html.standalone body::before { height: calc(var(--sat) + 18px); }
html.standalone .site-header,
html.standalone .site-header img,
html.standalone .sh-logo,
html.standalone .sh-name,
html.standalone .aa-chip,
html.standalone .sh-burger,
html.standalone .sh-cta,
html.standalone .sh-search,
html.standalone .mbar {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  filter: none;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
@media (hover: none) and (min-width: 700px) {
  html.standalone { --sat: max(env(safe-area-inset-top, 0px), 14px); }
}
@media (display-mode: standalone) and (hover: none) and (min-width: 700px) {
  :root { --sat: max(env(safe-area-inset-top, 0px), 14px); }
}
@media (orientation: landscape) and (max-height: 520px) {
  :root, html.standalone { --top-push: 0px; }
}
html.more-lock .lg-shell,
html.more-lock .lg-refract,
html.more-lock .lg-drop-refract,
html.more-lock .lg-tint {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
@media print { .status-strip, body::before { display: none !important; } body { padding-top: 0; } }

/* Footer compliance */
.eho { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; color: rgba(252,252,252,.8); font-size: .85rem; }
.eho svg { width: 28px; height: 28px; flex-shrink: 0; fill: #fff; }
.brokered { margin: .4rem 0 0; font-size: .85rem; color: rgba(252,252,252,.7); }
.crumbs { padding: .9rem 1.25rem 0; font-size: .9rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .6rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .6rem; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- typography / overflow / tap targets ---------- */
.lede-block, .prose, .bio { max-width: 70ch; }
.page-hero .wrap p { max-width: 70ch; }
html, body { overflow-x: clip; max-width: 100%; }
img, video, iframe, svg { max-width: 100%; }
.btn, .mbar-btn, .sh-cta, .sh-search, .more-call, .more-link, .mls-close, .mls-help-btn, .aa-chip, .sh-burger {
  min-height: 44px;
}
.area-grid, .area-rich, .post-grid, .steps, .split-cta, .values {
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .area-grid, .post-grid, .steps, .split-cta, .values { grid-template-columns: repeat(2, 1fr); }
  .area-rich { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .area-grid, .area-rich, .post-grid, .steps { grid-template-columns: repeat(3, 1fr); }
  .split-cta { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 901px) {
  .split { grid-template-columns: .9fr 1.1fr; }
  .contact-grid { grid-template-columns: 1fr 1.15fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

/* Tablet: header still uses hamburger until 1180, leave room */
@media (min-width: 768px) and (max-width: 1179px) {
  .sh-inner { padding: 0 16px; }
}


/* ---------- MLS sheet ---------- */
.mls-root {
  position: fixed; inset: 0; z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}
.mls-root.is-open, .mls-root.is-visible {
  visibility: visible;
  pointer-events: auto;
}
.mls-backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 8, 8, .55);
  opacity: 0;
  transition: opacity .38s cubic-bezier(.32, .72, 0, 1);
}
.mls-root.is-open .mls-backdrop { opacity: 1; }

.mls-sheet {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 50px rgba(8, 8, 8, .28);
  transform: translate3d(0, 100%, 0);
  transition: transform .38s cubic-bezier(.32, .72, 0, 1);
  will-change: transform;
  overflow: hidden;
}
.mls-root.is-open .mls-sheet { transform: translate3d(0, 0, 0); }
.mls-sheet.is-dragging { transition: none; }

.mls-bar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 10px 10px 14px;
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  background: #080808;
  color: #fcfcfc;
  border-bottom: 3px solid var(--green);
  touch-action: none;
  transform: translateZ(0);
  filter: none;
  text-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.mls-handle {
  display: block;
  position: absolute;
  top: calc(6px + env(safe-area-inset-top, 0px));
  left: 50%;
  width: 44px; height: 5px;
  margin-left: -22px;
  border-radius: 99px;
  background: rgba(255,255,255,.38);
}
.mls-mark { width: 36px; height: auto; flex-shrink: 0; }
.mls-bar h2 {
  flex: 1; margin: 0;
  font: 600 1rem/1.25 var(--f-ui);
  min-width: 0;
}
.mls-bar h2 span { font-weight: 500; opacity: .8; font-size: .86em; }
.mls-newtab {
  color: #fcfcfc;
  font: 500 .82rem/1 var(--f-ui);
  text-decoration: underline;
  text-underline-offset: 2px;
  min-height: 44px;
  display: inline-flex; align-items: center;
  padding: 0 6px;
  white-space: nowrap;
}
.mls-close {
  width: 48px; height: 48px; min-width: 48px;
  border-radius: 12px;
  color: #fcfcfc;
  font-size: 32px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.mls-help {
  flex: 0 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 8px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .95rem;
}
.mls-help-btn {
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--green);
  color: var(--green);
  font: 600 .85rem/1 var(--f-ui);
  text-decoration: none;
}
.mls-frame-wrap {
  flex: 1; position: relative; min-height: 0;
  background: var(--bg);
}
.mls-frame-wrap iframe {
  width: 100%; height: 100%; border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity .35s ease;
  display: block;
}
.mls-frame-wrap iframe.is-ready { opacity: 1; }
.mls-skeleton {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 16px;
  padding: 18px;
  background: var(--bg);
  transition: opacity .35s ease;
  z-index: 1;
}
.mls-skeleton.is-hidden { opacity: 0; pointer-events: none; }
.mls-skel-bar {
  height: 44px; border-radius: 10px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: mls-shimmer 1.2s linear infinite;
}
.mls-skel-grid {
  flex: 1; display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .mls-skel-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.mls-skel-grid span {
  display: block; border-radius: 14px; min-height: 140px;
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--line) 50%, var(--surface-2) 100%);
  background-size: 200% 100%;
  animation: mls-shimmer 1.2s linear infinite;
}
.mls-skeleton p { margin: 0; text-align: center; color: var(--muted); }
@keyframes mls-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.mls-fallback {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem; text-align: center;
  background: var(--bg);
}
.area-context {
  margin: 0 0 2rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Tablet and up: large centered card, site still visible */
@media (min-width: 768px) {
  .mls-sheet {
    left: 50%;
    right: auto;
    bottom: 4vh;
    width: 92vw;
    max-width: 1400px;
    height: 92vh;
    max-height: 92vh;
    border-radius: 18px;
    transform: translate3d(-50%, 110%, 0);
    box-shadow: 0 24px 80px rgba(8, 8, 8, .4);
  }
  .mls-root.is-open .mls-sheet { transform: translate3d(-50%, 0, 0); }
  .mls-handle { display: none; }
  .mls-bar { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .mls-backdrop, .mls-sheet, .mls-frame-wrap iframe, .mls-skeleton {
    transition: opacity .2s ease !important;
  }
  .mls-sheet { transform: none; opacity: 0; }
  .mls-root.is-open .mls-sheet { opacity: 1; transform: none; }
  @media (min-width: 768px) {
    .mls-sheet { transform: translate3d(-50%, 0, 0); opacity: 0; }
    .mls-root.is-open .mls-sheet { opacity: 1; }
  }
  .mls-skel-bar, .mls-skel-grid span { animation: none; }
}

html.mls-lock, html.mls-lock body { overflow: hidden; }


/* header work: keep mbar hidden (Call/Email strip removed) */
.mbar { display: none !important; }
