/* Home-page only. Ramsey-inspired layout using Fray Burrow brand colors and Poppins. */
.ramsey .site-header,
.ramsey .site-nav { display: none; } /* replaced by .home-header */

.home-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #E5E5E5;
}
.home-header-bar {
  width: min(1180px, calc(100% - 1.5rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  min-height: 4.4rem;
  padding: 0.45rem 0;
  position: relative;
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #000000;
  flex: 0 0 auto;
  min-width: 0;
}
.home-brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex: 0 0 auto;
}
.home-brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; }
.home-brand-name {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000000;
}
.home-brand-sub {
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #000000;
  margin-top: 0.18rem;
}

.home-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.home-nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center;
  gap: 0.05rem;
}
.home-nav a,
.home-nav .svc-toggle {
  display: inline-block;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  color: #000000;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  line-height: 1.2;
}
.home-nav a:hover,
.home-nav .svc-toggle:hover,
.home-nav a[aria-current="page"] { color: #E6720E; }
.home-nav a[aria-current="page"] { font-weight: 600; }

.has-sub { position: relative; }
.svc-toggle { display: inline-flex; align-items: center; gap: 0.3rem; }
.svc-toggle::after {
  display: inline-block;
  vertical-align: middle;
  content: "";
  width: 0.38rem; height: 0.38rem;
  margin: -0.2rem 0 0 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.sub-menu {
  display: none;
  list-style: none;
  margin: 0;
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  min-width: 15.5rem;
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  padding: 0.45rem 0;
  z-index: 60;
  text-align: left;
}
.has-sub.open .sub-menu,
.has-sub:hover .sub-menu { display: block; }
.sub-menu a { display: block; padding: 0.5rem 1.05rem; white-space: nowrap; }
.sub-menu a:hover { background: #F4F4F4; color: #E6720E; }

.home-call { flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
.home-call.btn { padding: 0.55rem 1.15rem; font-size: 0.95rem; width: auto; max-width: none; }
.home-call .short { display: none; }

.home-menu-btn {
  display: none;
  width: 2.6rem; height: 2.6rem;
  border: 0; background: none; cursor: pointer; padding: 0;
  flex: 0 0 auto;
}
.home-menu-btn span {
  display: block; width: 1.2rem; height: 2px; background: #000000; margin: 5px auto;
  border-radius: 1px;
}

@media (max-width: 859px) {
  .home-menu-btn { display: block; }
  .home-call .long { display: none; }
  .home-call .short { display: inline; }
  .home-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    padding: 0.4rem 1rem 0.9rem;
    justify-content: stretch;
  }
  .home-header.is-open .home-nav { display: block; }
  .home-nav-list { flex-direction: column; align-items: stretch; }
  .home-nav a, .home-nav .svc-toggle { text-align: left; padding: 0.7rem 0.4rem; font-size: 1.02rem; }
  .sub-menu { position: static; border: 0; box-shadow: none; padding: 0 0 0.35rem 0.9rem; min-width: 0; }
  .has-sub:hover .sub-menu { display: none; }
  .has-sub.open .sub-menu { display: block; }
}

/* Hero */
.ramsey .hero {
  min-height: 34rem;
  padding: 4.25rem 0 4.5rem;
  text-align: center;
}
.ramsey .hero::after { background: rgba(255,255,255,0.74); }
.ramsey .hero-inner { width: min(900px, calc(100% - 2rem)); }
.ramsey .hero .eyebrow,
.ramsey .hero .sub { display: none; }

.ramsey .hero h1.home-cta {
  font-family: "Poppins", system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 4.5rem); /* ~44px mobile, 72px desktop */
  color: #000000;
  line-height: 1.12;
  max-width: 8.6em;
  margin: 0 auto 1.2rem;
  letter-spacing: -0.025em;
}
.home-premier-line {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 400;
  color: #000000;
  margin: 0 auto 1rem;
  max-width: 40rem;
  line-height: 1.45;
}
.home-premier-line .h1-premier { font-weight: 700; color: #000000; }
.ramsey .hero-lede {
  font-size: 1.15rem;
  font-weight: 400;
  color: #000000;
  max-width: 32rem;
  margin: 0 auto 0.7rem;
}
.ramsey .hero-text {
  font-size: 1rem;
  color: #3a3a3a;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
}
.ramsey .hero-cta { margin: 0; gap: 0.85rem; }
.ramsey .hero-cta .btn-lg {
  width: auto;
  max-width: none;
  font-size: 1.2rem;
  padding: 1rem 1.6rem;
  font-weight: 600;
}
.ramsey .home-btn-primary { background: #E6720E; border-color: #E6720E; color: #FFFFFF; }
.ramsey .home-btn-primary:hover,
.ramsey .home-btn-primary:focus-visible { background: #000000; border-color: #000000; color: #FFFFFF; }

@media (min-width: 860px) {
  .ramsey .hero { min-height: 38rem; padding: 5.25rem 0 5.5rem; }
}

/* Sections */
.page-home .section { padding: 4.25rem 0; }
.page-home .intro-who { padding: 4.25rem 0 3.5rem; }
.ramsey h2 { font-weight: 700; color: #000000; letter-spacing: -0.02em; }
.page-home h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  text-align: center;
  margin: 0 0 1rem;
}
.page-home .intro-who p,
.page-home .section > .wrap > p,
.page-home .areas p { font-size: 1.05rem; }
.page-home .card-grid { gap: 1.25rem; }
.page-home .card {
  background: #FFFFFF;
  border: 1px solid #E5E5E5;
  box-shadow: none;
  border-radius: 12px;
  padding: 1.5rem 1.4rem 1.4rem;
}
.page-home .card h3 { font-weight: 600; font-size: 1.2rem; color: #000000; }
.page-home .section-alt { background: #F4F4F4; }
.page-home .section-title-wrap { text-align: center; margin: 0 0 2rem; }
.page-home .section-title-wrap p { margin: 0.35rem auto 0; max-width: 36rem; color: #3a3a3a; }

/* How it works */
.how-it-works { padding: 4.5rem 0 4.25rem; background: #FFFFFF; text-align: center; }
.how-grid {
  list-style: none; margin: 2.25rem 0 0; padding: 0;
  display: grid; gap: 2rem 1.5rem;
}
@media (min-width: 800px) {
  .how-grid { grid-template-columns: repeat(4, 1fr); gap: 1.75rem 1.5rem; }
}
.how-step { margin: 0; text-align: center; }
.how-step-num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #E6720E;
  line-height: 1;
  margin: 0 0 0.55rem;
  letter-spacing: -0.03em;
}
.how-step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #000000;
  margin: 0 0 0.4rem;
}
.how-step p { margin: 0; color: #3a3a3a; font-size: 0.98rem; line-height: 1.5; }

/* Band + footer stay, slightly roomier type */
.page-home .band h2,
.page-home .band h3 { text-align: left; font-size: clamp(1.6rem, 3.2vw, 2.15rem); color: #FFFFFF; }
.page-home .band .eyebrow,
.page-home .band p { color: #FFFFFF; }
.page-home .color-block h2 { text-align: left; color: #0C2340; }

/* ---------- Sitewide ---------- */
.ramsey .band h2, .ramsey .band h3 { color: #FFFFFF; }
.ramsey .band .eyebrow, .ramsey .band p { color: #FFFFFF; }
.ramsey .color-block h2 { color: #0C2340; }
.ramsey .page-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 0.6rem; text-align: left; }
.ramsey .area-card h2 { font-size: 1.35rem; font-weight: 600; }
.ramsey .service-item h3, .ramsey .card h3 { font-weight: 600; color: #000000; }

/* Subpage hero: same look as home, shorter */
.ramsey .hero-short { min-height: 21rem; padding: 3.75rem 0 4rem; }
.ramsey .hero-short .hero-inner { width: min(860px, calc(100% - 2rem)); }
.ramsey .hero h1.page-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.35rem, 7vw, 4rem);
  color: #000000;
  line-height: 1.15;
  max-width: 13em;
  margin: 0 auto 1.1rem;
  letter-spacing: -0.025em;
}
.ramsey .hero-short .hero-lede { margin: 0 auto; }
@media (min-width: 860px) {
  .ramsey .hero-short { min-height: 24rem; padding: 4.75rem 0 5rem; }
}

/* ---------- Dry-brush marks (shared set) ----------
   .mk wraps one word or phrase. The orange stroke is an SVG file drawn behind it.
   Kinds: a / a2 underline, b / b-short / b-wide loop, c highlighter. Use 1 or 2 per page. */
.mk { position: relative; display: inline-block; isolation: isolate; white-space: nowrap; }
.mk::after { content: ""; position: absolute; z-index: -1; pointer-events: none; background-repeat: no-repeat; background-size: 100% 100%; }
/* A underline: same placement as the approved Option A, in padding under the word */
.mk-a, .mk-a2 { padding-bottom: 0.24em; }
.mk-a::after, .mk-a2::after { left: -0.08em; right: -0.08em; height: 0.24em; bottom: 0.02em; }
.mk-a::after  { background-image: url("../images/brush/brush-a.svg"); }
.mk-a2::after { background-image: url("../images/brush/brush-a2.svg"); }
/* C highlighter: solid swipe behind the lower half of the word */
.mk-c::after { background-image: url("../images/brush/brush-c.svg"); left: -0.10em; right: -0.10em; height: 0.42em; bottom: 0.02em; opacity: 0.92; }
/* B loop around the word */
.mk-b, .mk-b-short, .mk-b-wide { padding: 0.12em 0.14em 0.18em; margin: 0 -0.08em; }
.mk-b::after, .mk-b-short::after, .mk-b-wide::after { left: -0.16em; right: -0.16em; top: -0.10em; height: calc(100% + 0.16em); bottom: auto; }
.mk-b::after { background-image: url("../images/brush/brush-b.svg"); }
.mk-b-short::after { background-image: url("../images/brush/brush-b-short.svg"); }
.mk-b-wide::after { background-image: url("../images/brush/brush-b-wide.svg"); left: -0.14em; right: -0.14em; }
/* small accent (Premier) */
.mk-sm { padding-bottom: 0.20em; }
.mk-sm::after { height: 0.20em; bottom: 0.02em; left: -0.08em; right: -0.08em; }
.ramsey .svc-toggle.is-current { color: #E6720E; }
.ramsey .hero-lede { text-wrap: balance; }
.ramsey .hero h1.page-title { text-wrap: balance; }
