/* ES Quantum Property Management */

:root {
  --teal: #04648a;
  --teal-bright: #0a7ba6;
  --teal-deep: #063f57;
  --ink: #0b2e3c;
  --gold: #cfa545;
  --gold-deep: #8f6a17;
  --gold-soft: #f3e3bc;
  --paper: #fffdf8;
  --sand: #f7f1e4;
  --cream: #fbf6ea;
  --line: #e6dcc6;
  --line-cool: #d3e3ea;
  --text: #23404c;
  --muted: #557080;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 46, 60, .05), 0 12px 32px -12px rgba(11, 46, 60, .18);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 11px;
  border: 3px solid var(--gold); border-bottom: 0; border-radius: 22px 22px 0 0;
}

.lede { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 38em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.5rem;
  font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .94rem; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #dcb65c; color: var(--ink); }
.btn-ghost { border-color: var(--line-cool); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-ghost-light:hover .icon { transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal); }
.brand svg { width: 46px; height: 45px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 700; font-size: 1.16rem; letter-spacing: .13em; text-transform: uppercase; }
.brand-sub { font-weight: 600; font-size: .58rem; letter-spacing: .235em; text-transform: uppercase; color: var(--gold-deep); margin-top: .38rem; }
.brand.reverse { color: var(--cream); }
.brand.reverse .brand-sub { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .85rem;
  font: 500 .98rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--teal); background: rgba(4, 100, 138, .07); }
.nav-cta { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-phone:hover { color: var(--teal); }

.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 14px); left: -12rem;
  width: min(880px, 92vw); padding: 1.6rem 1.75rem 1.2rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.has-menu.open .menu-button svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 1041px) {
  .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; }
}
.menu-grid { display: grid; grid-template-columns: repeat(5, auto); gap: 1.5rem; }
.menu-label { font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; }
.menu-col a { display: block; padding: .32rem 0; font-size: .94rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.menu-col a:hover { color: var(--teal); text-decoration: underline; }
.menu-all {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.1rem; padding-top: 1rem; width: 100%;
  border-top: 1px solid var(--line); font-weight: 600; font-size: .94rem; text-decoration: none;
}

.nav-toggle { display: none; width: 46px; height: 46px; padding: 12px 10px; background: none; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 1rem;
    max-height: calc(100vh - 76px); overflow-y: auto; padding: 1rem 1.25rem 1.5rem;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; padding: .9rem .5rem; font-size: 1.05rem; border-radius: 8px; }
  .nav-list > li + li { border-top: 1px solid var(--line); }
  .menu {
    position: static; width: auto; padding: 0 .5rem 1rem; border: 0; box-shadow: none; background: none;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-menu.open .menu { display: block; }
  .has-menu:focus-within:not(.open) .menu { display: none; }
  .menu-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
  .menu-col a { padding: .5rem 0; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-phone { justify-content: center; min-height: 44px; }
}
@media (max-width: 420px) { .brand-sub { letter-spacing: .17em; } .brand svg { width: 40px; height: 39px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); background: linear-gradient(180deg, var(--cream), var(--paper)); }
.hero::before {
  content: ""; position: absolute; right: -14vw; top: -22vw; width: 60vw; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); box-shadow: 0 0 0 5vw rgba(207, 165, 69, .06), 0 0 0 10vw rgba(207, 165, 69, .04);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy h1 { max-width: 12.5em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.8rem; font-size: .95rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: .55rem; }
.hero-points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-visual { justify-self: end; width: min(100%, 440px); }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(11, 46, 60, .22)); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(78%, 360px); }
}

/* Strip */
.strip { background: var(--ink); color: #d8e6ec; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid > div { padding: 1.6rem 1.5rem; border-left: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: .3rem; }
.strip-grid > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: #fff; line-height: 1.25; }
.strip span { font-size: .9rem; line-height: 1.45; color: #a9c3ce; }
@media (max-width: 900px) {
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid > div { padding: 1.2rem 1rem 1.2rem 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .strip-grid > div:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) {
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .12); }
}

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--teal-deep); color: #cfe0e7; position: relative; overflow: hidden; }
.section-dark::after {
  content: ""; position: absolute; left: -180px; bottom: -340px; width: 620px; aspect-ratio: 1; border-radius: 50%;
  border: 46px solid rgba(207, 165, 69, .1); pointer-events: none;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .lede { color: #b6cdd7; }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; max-width: none; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s; }

.grid { display: grid; gap: 1.1rem; }
.services-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.posts-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Cards */
.card {
  position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.card h3 { margin-bottom: .45rem; }
.card p { font-size: .96rem; line-height: 1.55; color: var(--muted); margin-bottom: 1.2rem; }
.card-icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.1rem;
  color: var(--teal); background: var(--cream); border: 1px solid var(--line); border-radius: 50px 50px 10px 10px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.card-icon .icon { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--teal); border-color: var(--teal); color: #fff; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--teal); }
.card-more .icon { transition: transform .2s; }
.card:hover .card-more .icon { transform: translateX(4px); }
.post-card { padding-top: 1.4rem; border-top: 4px solid var(--gold); }
.post-card h3 { font-size: 1.3rem; }
.post-meta { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .8rem; }

.svc-group + .svc-group { margin-top: 3.2rem; }
.svc-group > h2 { font-size: 1.6rem; padding-bottom: .8rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.step-n { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: .8rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Split / reasons */
.split { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split .btn { margin-top: 1rem; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); overflow: hidden; }
.reasons li { padding: 1.6rem 1.5rem; background: var(--teal-deep); }
.reasons h3 { color: var(--gold); font-size: 1.2rem; }
.reasons p { font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* Counties */
.counties { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.county { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.county h3 { font-size: 1.5rem; margin-bottom: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .35rem .85rem; font-size: .9rem; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
@media (max-width: 760px) { .counties { grid-template-columns: 1fr; } .county { padding: 1.5rem; } }

/* CTA band */
.cta-band { background: var(--teal); color: #dcebf1; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -260px; width: 520px; aspect-ratio: 1; border-radius: 50%;
  border: 40px solid rgba(207, 165, 69, .22); pointer-events: none;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.8rem, 5vw, 4rem); }
.cta-inner h2 { color: #fff; max-width: 16em; }
.cta-inner p { margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Footer */
.site-footer { background: var(--ink); color: #a9c3ce; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer-about p { margin: 1.2rem 0; max-width: 22em; }
.site-footer h2 { font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.site-footer li { margin-bottom: .55rem; line-height: 1.4; }
.site-footer a { color: #d8e6ec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: .6rem; }
.footer-contact .icon { color: var(--gold); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } .site-footer .spacer { display: none; } }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--cream), var(--sand)); border-bottom: 1px solid var(--line); }
.page-hero::after {
  content: ""; position: absolute; right: -90px; bottom: -330px; width: 520px; aspect-ratio: 1; border-radius: 50%;
  border: 34px solid rgba(207, 165, 69, .2); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); max-width: 18em; }
.page-hero .post-meta { margin: .6rem 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* Two-column pages */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.main-col > h2 { font-size: 1.8rem; margin-top: 3rem; }
.main-col > h2:first-child { margin-top: 0; }
.side-col { position: sticky; top: 100px; display: grid; gap: 1.1rem; }
.side-card { padding: 1.6rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.side-card h2 { font-size: 1.3rem; }
.side-card p { font-size: .96rem; color: var(--muted); }
.side-cta { background: var(--teal-deep); border-color: var(--teal-deep); }
.side-cta h2 { color: #fff; }
.side-cta p { color: #b6cdd7; }
.side-cta .btn { width: 100%; }
.side-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; margin-top: .6rem; color: #fff; font-weight: 600; text-decoration: none; }
.side-phone:hover { color: var(--gold); }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: block; padding: .6rem 0; font-size: .95rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.side-list a:hover { color: var(--teal); }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .side-col { position: static; } }

.includes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.includes li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.inc-n { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--gold); }
.includes h3 { margin-bottom: .3rem; }
.includes p { margin: 0; color: var(--muted); }

.callout { position: relative; overflow: hidden; margin-top: 3rem; padding: 2rem; background: var(--sand); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.callout h2 { font-size: 1.55rem; }
.callout p:last-child { margin: 0; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--font-display); color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 44em; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.pager a { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); font-family: var(--font-display); font-size: 1.1rem; line-height: 1.25; text-decoration: none; transition: border-color .2s; }
.pager a:hover { border-color: var(--teal); }
.pager a:last-child { text-align: right; }
.pager span { display: block; font: 600 .74rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .5rem; }
@media (max-width: 520px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } }

/* Prose */
.article > * { max-width: 46rem; }
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose > h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 1.1rem; line-height: 1.7; }
.prose > p:first-child { font-size: 1.25rem; color: var(--ink); }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.principles > div { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.principles p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 3rem; padding: 2rem; background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.article-cta h2 { font-size: 1.45rem; margin: 0 0 .3rem; }
.article-cta p { font-size: 1rem; margin: 0; color: var(--muted); }
.posts-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form h2 { font-size: 1.7rem; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--ink); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(4, 100, 138, .16); }
.form [aria-invalid="true"] { border-color: #b3261e; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .88rem; color: var(--muted); }
.form-note.error { color: #b3261e; font-weight: 600; }
.contact-info h2 { font-size: 1.7rem; }
.contact-list li { display: flex; gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { width: 22px; height: 22px; margin-top: .2rem; color: var(--teal); }
.contact-list span { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.contact-list a { color: var(--ink); font-weight: 500; }
.contact-info .callout { margin-top: 2rem; padding: 1.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.checks li { position: relative; padding-left: 1.5rem; }

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

/* Founder */
.founder { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.founder-mark { display: grid; place-items: center; flex: none; width: 72px; height: 72px; font: 500 1.6rem/1 var(--font-display); color: var(--teal); background: var(--cream); border: 1px solid var(--line); border-radius: 72px 72px 12px 12px; }
.founder h3 { font-size: 1.4rem; margin: 0 0 .15rem; }
.founder p { font-size: 1rem; color: var(--muted); margin: 0 0 .4rem; }
.founder a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; }

/* SEO additions */
h1 .eyebrow { display: flex; font-family: var(--font-body); line-height: 1.4; }
.related { margin-top: 3rem; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.related h2 { font-size: 1.45rem; }
.related li { padding: .8rem 0; border-top: 1px solid var(--line); }
.related li a { display: block; font-weight: 600; text-decoration: none; }
.related li a:hover { text-decoration: underline; }
.related li span { display: block; font-size: .95rem; color: var(--muted); }
.related-read { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .98rem; }
.prose .faq { margin-top: .5rem; }
.reasons a, .section-dark p a { color: var(--gold); }

.founder-photo { flex: none; width: 132px; height: 132px; object-fit: cover; border-radius: 132px 132px 14px 14px; border: 1px solid var(--line); }
.footer-contact li span { align-items: flex-start; }
@media (max-width: 480px) { .founder { flex-direction: column; align-items: flex-start; } }

.founder .founder-license { font-size: .88rem; }
.footer-about .tagline { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); margin-top: -.4rem; }

/* ---------------------------------------------------------------------------
 * Phones: swipe rows, a fixed call bar, bigger tap targets
 * ------------------------------------------------------------------------ */
.mobile-bar, .swipe-bar { display: none; }

@media (max-width: 760px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .section { padding: 3rem 0; }
  .hero { padding-top: 1.75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { width: min(64%, 280px); }
  h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); }

  /* Fixed call / book bar */
  .mobile-bar {
    position: fixed; inset: auto 0 0; z-index: 40; display: flex; gap: .6rem;
    padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
    background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11, 46, 60, .25);
  }
  .mobile-bar .btn { min-height: 48px; padding-inline: 1rem; }
  .mobile-bar .btn-ghost { flex: 0 0 auto; background: #fff; }
  .mobile-bar .btn-primary { flex: 1; }

  /* Swipe rows: one card per swipe, with the next card peeking in */
  .swipe {
    display: flex; grid-template-columns: none; gap: .85rem;
    width: auto; margin-inline: -1.25rem; padding: .25rem 1.25rem .9rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 82%; scroll-snap-align: start; }
  .swipe > .card:hover { transform: none; }

  .strip-grid.swipe { margin-inline: 0; padding: 0 1.25rem; }
  .strip-grid.swipe > div, .strip-grid.swipe > div:first-child { flex-basis: 68%; padding: 1.2rem 1rem 1.2rem 0; border: 0; }

  .steps.swipe > li { padding: 1.3rem 1.25rem 1.4rem; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: var(--radius); }

  .reasons.swipe { background: none; border: 0; border-radius: 0; overflow-x: auto; }
  .reasons.swipe > li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); }

  /* Progress under each swipe row (added by main.js) */
  .swipe-bar { display: block; height: 3px; margin: .1rem auto 0; width: 72px; border-radius: 3px; background: rgba(11, 46, 60, .14); overflow: hidden; }
  .swipe-bar span { display: block; height: 100%; border-radius: 3px; background: var(--gold); transform-origin: left; }
  .section-dark .swipe-bar, .strip .swipe-bar { background: rgba(255, 255, 255, .2); }
  .strip .swipe-bar { margin-bottom: 1rem; }

  /* Long link lists become a row of chips */
  .swipe-chips { display: flex; gap: .5rem; margin-inline: -1.5rem; padding: .2rem 1.5rem .4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .swipe-chips::-webkit-scrollbar { display: none; }
  .swipe-chips li, .swipe-chips li + li { flex: none; border: 0; }
  .swipe-chips a { padding: .65rem 1rem; white-space: nowrap; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }

  /* Tap targets */
  .site-footer li { margin-bottom: 0; }
  .site-footer li a { display: inline-flex; padding: .5rem 0; }
  .footer-grid { padding-block: 2.5rem 1.5rem; }
  .crumbs li { padding: .3rem 0; }
  .faq summary { padding: 1.25rem 0; }
  .county { padding: 1.4rem 1.25rem; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .article-cta .btn { width: 100%; }
  .form .btn { justify-self: stretch; }
  .form input, .form select, .form textarea { font-size: 16px; } /* stops iOS zooming on focus */
}

@media (max-width: 760px) { .swipe-bar[hidden] { display: none; } }

.with-aside > *, .contact-grid > *, .split > *, .hero-grid > * { min-width: 0; }
.side-col { grid-template-columns: minmax(0, 1fr); }
.side-card { min-width: 0; }

/* WordPress */
.hp { position: absolute; left: -9999px; }
.faq .wp-block-details { margin: 0; }
