/* ==========================================================================
   Proactive Accounting & Tax — proactive-at.com
   Single shared stylesheet, rebuilt from scratch to match the original design.

   Fonts:  Trirong (display serif) + Source Sans 3 (body sans)
   Root:   14px — all rem values are relative to 14px, matching the original.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --navy: #0a2540;
  --blue: #0073e6;
  --gold: rgb(212, 175, 55);
  --sage: #93a585;
  --sage-text: #556349; /* darkened sage for text/hover — ≥4.5:1 on page backgrounds */
  --light-blue: #e3f0fc;
  --warm-gray: #bcb8b4;
  --off-white: #ebe8e5;
  --dark-brown: #524233;
  --footer-brown: #463b2d;
  --legal-black: #1d1b1b;
  --heading: #272727;
  --body-gray: #6b6b6b;
  --fine-print: #9a9a9a;
  --page-bg: #f2f1f0;
  --section-alt: #e1e1e1;
  --sub-gray: #4a4a4a;

  /* Type */
  --serif: "Trirong", Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --header-height: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background-color: var(--page-bg);
  color: var(--body-gray);
  line-height: 1.5;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Shared layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  line-height: 1.35;
  color: var(--sage-text);
  margin-bottom: 18px;
}

/* Pill buttons — ghost variant (transparent + warm-gray border) is default */
.btn {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15.3px;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1.2;
  color: #ffffff;
  background: transparent;
  border: 1px solid var(--warm-gray);
  border-radius: 20px;
  padding: 8.7px 23px;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy); /* white-on-gold fails contrast; navy-on-gold is 7.4:1 */
  box-shadow: 0 0.65em 1em -0.35em rgba(0, 18, 36, 0.22);
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--blue);
  border-color: var(--blue);
  border-radius: 100em;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

/* Visible keyboard focus indicator (WCAG 2.4.7) */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Light-on-dark areas get a white focus ring instead */
.site-header :focus-visible,
.hero :focus-visible,
.banner :focus-visible,
.footer-cta :focus-visible,
.site-footer :focus-visible,
.footer-legal :focus-visible {
  outline-color: #ffffff;
}

/* Skip link (WCAG 2.4.1) — hidden until keyboard-focused */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
}

.skip-link:focus {
  top: 0;
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  transition: background 0.4s ease, height 0.3s var(--ease);
}

.site-header.is-stuck {
  position: fixed;
  height: 70px;
  background: rgba(0, 0, 0, 0.8);
  animation: header-slide-in 0.3s var(--ease);
}

@keyframes header-slide-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  width: 180px;
  transition: width 0.3s var(--ease);
}

.site-header.is-stuck .site-logo img {
  width: 150px;
}

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
}

.site-nav ul a {
  display: block;
  font-family: var(--serif);
  font-size: 15.3px;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: #ffffff;
  padding: 0.167em 0.7em;
  transition: color 0.3s var(--ease);
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  color: var(--gold);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: #ffffff;
  padding-left: 20px;
  transition: color 0.3s var(--ease);
}

.header-phone svg {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
}

.header-phone:hover {
  color: var(--gold);
}

.header-cta {
  margin-left: 28px;
}

/* Burger toggle — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: 18px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: 2px;
  transition: background 0.3s var(--ease);
}

.nav-toggle:hover span {
  background: var(--gold);
}

/* Off-canvas mobile nav */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(227, 240, 252, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 201;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 45px;
  box-shadow: 0 1.25em 3.15em rgba(0, 18, 36, 0.27);
  transform: translateX(100%);
  /* visibility keeps the closed panel out of the tab order and a11y tree */
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s var(--ease);
  overflow-y: auto;
}

body.nav-open .offcanvas {
  transform: translateX(0);
  visibility: visible;
}

body.nav-open .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

.offcanvas-close {
  display: block;
  margin-left: auto;
  width: 45px;
  height: 45px;
  background: none;
  border: 0;
  font-size: 32px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.offcanvas-close:hover {
  color: var(--blue);
}

.offcanvas nav {
  margin-top: 30px;
}

.offcanvas nav a {
  display: block;
  font-family: var(--sans);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
  padding: 7px 0;
  transition: color 0.3s var(--ease);
}

.offcanvas nav a:hover {
  color: var(--blue);
}

.offcanvas .btn--solid {
  margin-top: 34px;
  font-size: 18px;
}

.offcanvas .offcanvas-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
}

.offcanvas .offcanvas-phone svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}

@media (max-width: 978px) {
  .site-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 479px) {
  .header-cta {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Footer — CTA banner, main footer, legal bar
   -------------------------------------------------------------------------- */
.footer-cta {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-image: linear-gradient(rgba(82, 66, 51, 0.55), rgba(82, 66, 51, 0.55)),
    url("../img/BACK_Footer-CTA_Office-blurry_2000x1121.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 3px 25px rgba(0, 0, 0, 0.15);
}

.footer-cta h2 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--off-white);
  max-width: 18em;
}

.footer-cta p {
  font-family: var(--sans);
  font-size: 16.8px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--off-white);
  max-width: 40em;
  margin-top: 16px;
}

.footer-cta .btn {
  margin-top: 30px;
}

.site-footer {
  background: var(--footer-brown);
  padding: 65px 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px 35px;
}

.footer-brand img {
  width: 200px;
}

.footer-brand p {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--warm-gray);
  max-width: 18em;
  margin-top: 12px;
}

.footer-legal {
  min-height: 40px;
  background: var(--legal-black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 20px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
  color: var(--fine-print);
}

.footer-legal a {
  color: var(--fine-print);
  text-decoration: underline;
  transition: color 0.3s var(--ease);
}

.footer-legal a:hover {
  color: var(--gold);
}

@media (max-width: 978px) {
  .site-footer .container {
    grid-template-columns: 1fr;
  }
  .footer-cta h2 {
    font-size: 40px;
  }
  .footer-legal {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 10px 20px;
  }
}

/* ==========================================================================
   6. Shared page-section patterns
   ========================================================================== */

/* Large hero-style pill button (100em radius, 18px label, glass blur) */
.btn--lg {
  font-size: 18px;
  border-radius: 100em;
  padding: 12.4px 33px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* Text-only companion button ("Learn More") */
.btn-text {
  display: inline-block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--warm-gray);
  padding: 0.409em 0;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: color 0.3s var(--ease);
}

.btn-text:hover {
  color: var(--gold);
}

/* Inline text link with sage scale-in underline ("Meet Ryan Sims") */
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark-brown);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}

.text-link svg {
  width: 0.6em;
  height: 1em;
  fill: currentColor;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: 0 100%;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--sage-text);
}

.text-link:hover::after {
  transform: scaleX(1);
}

/* Two-column text/image split row */
.split {
  padding: 110px 0;
}

.split .container {
  display: flex;
  align-items: center;
  gap: 54px;
}

.split-col {
  flex: 1 1 calc(50% - 27px);
  min-width: 0;
}

.split-media img {
  width: 100%;
  border-radius: 18px;
  background: var(--light-blue);
}

.split h2,
.split .split-heading {
  font-family: var(--serif);
  font-size: 64.8px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--dark-brown);
  max-width: 8.5em;
}

.split .rich-text {
  margin-top: 18px;
  margin-bottom: 36px;
}

/* Long-form copy blocks */
.rich-text {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--sub-gray);
  max-width: 36em;
}

.rich-text p + p,
.rich-text p + ul,
.rich-text ul + p {
  margin-top: 1em;
}

.rich-text ul {
  list-style: disc;
  padding-left: 1.4em;
}

@media (max-width: 978px) {
  .split .container {
    flex-direction: column;
  }
  .split-col {
    flex-basis: 100%;
    width: 100%;
  }
  .split h2,
  .split .split-heading {
    font-size: 44px;
  }
}

/* ==========================================================================
   7. Home page
   ========================================================================== */

/* --- Hero --- */
.hero {
  position: relative;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/BACK_Header_Office-b_2000x1121.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .container {
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--header-height);
}

.hero h1 {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: #ffffff;
  max-width: 12em;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  max-width: 36em;
  margin-top: 28px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
}

@media (max-width: 766px) {
  .hero h1 {
    font-size: 40px;
  }
}

/* --- Full-bleed statement banner ("A More Proactive Way…") --- */
.banner {
  padding: 240px 0;
  background-image: linear-gradient(rgba(82, 66, 51, 0.588), rgba(82, 66, 51, 0.588)),
    url("../img/IMG_Home-Balboa_1400x933.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.banner h2 {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 600;
  line-height: 1.05;
  color: #ffffff;
  max-width: 800px;
}

@media (max-width: 978px) {
  .banner {
    padding: 140px 0;
    background-attachment: scroll;
  }
  .banner h2 {
    font-size: 40px;
  }
}

/* --- Narrow centered prose section --- */
.prose-section {
  padding: 65px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prose-section .rich-text {
  width: 90%;
  margin-top: 28px;
}

/* --- Services grid --- */
.services {
  padding: 100px 0;
}

.section-heading {
  font-family: var(--serif);
  font-size: 64.8px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--dark-brown);
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.services .section-heading {
  padding-bottom: 60px;
}

.services-grid {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 68px 60px;
  text-align: center;
}

.service {
  flex: 1 1 calc(25% - 45px);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--gold);
  margin-bottom: 14px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.035em;
  color: var(--dark-brown);
}

.service p {
  font-family: var(--sans);
  font-size: 15.3px;
  line-height: 1.5;
  color: var(--sub-gray);
  margin-top: 9px;
}

.services-outro {
  padding-top: 140px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-outro .rich-text {
  margin-top: 28px;
}

@media (max-width: 978px) {
  .section-heading {
    font-size: 44px;
  }
}

/* --- Bio section ("Hi, I'm Ryan.") --- */
.bio {
  background: var(--section-alt);
}

.bio .eyebrow {
  letter-spacing: 0.05em;
}

.bio .split-heading {
  font-size: 54px;
  font-weight: 700;
}

/* --- Checklist section ("You're A Great Fit…") --- */
.fit {
  padding: 140px 0;
  background-image: url("../img/pattern_3a-scaled.webp");
  background-repeat: repeat-y;
  background-position: right;
  background-size: 14%;
}

.fit .section-heading {
  padding-bottom: 40px;
}

.checklist {
  max-width: 550px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  font-size: 16.8px;
}

.checklist li {
  display: flex;
  align-items: baseline;
}

.checklist svg {
  flex: none;
  width: 1em;
  height: 1em;
  margin-right: 0.8em;
  transform: translateY(0.12em);
  stroke: #1b9d56;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist span {
  font-family: var(--sans);
  font-size: 16.8px;
  line-height: 1.65;
  color: #000000;
}

@media (max-width: 978px) {
  .fit {
    background-image: none;
    padding: 100px 0;
  }
}

/* ==========================================================================
   8. Inner pages — shared patterns
   ========================================================================== */

/* Page title hero (400px banner with office photo + dark overlay) */
.page-hero {
  background-image: linear-gradient(rgba(26, 26, 26, 0.5), rgba(26, 26, 26, 0.5)),
    url("../img/BACK_Header_Office_1800x942.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero .container {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--header-height);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
  color: #ffffff;
}

/* Standard inner-page section rhythm */
.section {
  padding: 65px 0;
}

/* Contact/Discovery hero variant uses a slightly lighter overlay */
.page-hero--light {
  background-image: linear-gradient(rgba(26, 26, 26, 0.45), rgba(26, 26, 26, 0.45)),
    url("../img/BACK_Header_Office_1800x942.webp");
}

/* Decorative vertical pattern strips */
.pattern-right {
  background-image: url("../img/pattern_3a-scaled.webp");
  background-repeat: repeat-y;
  background-position: right;
  background-size: 16%;
}

.pattern-left {
  background-image: url("../img/pattern_3a-scaled.webp");
  background-repeat: repeat-y;
  background-position: -7% 0;
  background-size: 10%;
}

/* Meet Ryan variant: wider strip hanging further off the left edge */
.pattern-left--wide {
  background-position: -12% 0;
  background-size: 16%;
}

@media (max-width: 978px) {
  .pattern-right,
  .pattern-left {
    background-image: none;
  }
}

/* Green gradient hairline at a section's top edge */
.linetop {
  position: relative;
}

.linetop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(6deg, rgba(107, 170, 0, 0) 26%, rgba(107, 170, 0, 0.51) 51%, rgba(107, 170, 0, 0) 82%);
}

/* Split variant with inner-page 65px rhythm (keeps the 54px gutter) */
.split--inner {
  padding: 65px 0;
}

/* Split variant used on inner pages: 65px rhythm, tighter 20px gutter */
.split--tight {
  padding: 65px 0;
}

.split--tight .container {
  gap: 20px;
  align-items: stretch;
}

.split--tight .split-col {
  flex-basis: calc(50% - 10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.split--tight .split-col.split-media {
  display: block;
}

/* Smaller sub-page heading tier (44px container × 1.2) */
.heading-sm {
  font-family: var(--serif);
  font-size: 52.8px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--dark-brown);
  padding: 10px 0 20px;
}

@media (max-width: 978px) {
  .heading-sm {
    font-size: 38px;
  }
}

/* Centered single-column section (heading + prose block) */
.center-section {
  padding: 65px 0;
}

.center-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-section .rich-text {
  margin-top: 28px;
}

/* Stacked section: centered text block above a centered image */
.stacked {
  padding: 65px 0;
}

.stacked .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stacked .stacked-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stacked .rich-text {
  margin: 18px 0 36px;
}

.stacked .stacked-media img {
  width: 100%;
  max-width: 800px;
  border-radius: 18px;
  background: var(--light-blue);
  margin-inline: auto;
}

/* ==========================================================================
   9. Contact page
   ========================================================================== */
.contact-main {
  padding: 65px 0;
}

.contact-main .container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-main .contact-col {
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
}

.contact-info h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: var(--dark-brown);
  max-width: 14em;
}

.contact-address,
.contact-phone,
.contact-email {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.4;
  color: #000000;
  margin-top: 28px;
}

.contact-address svg,
.contact-phone svg,
.contact-email svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-phone,
.contact-email {
  font-weight: 800;
  color: var(--dark-brown);
  margin-top: 20px;
  transition: color 0.3s var(--ease);
}

.contact-email:hover {
  color: var(--sage-text);
}

/* --- Contact form (replaces the old LeadConnector embed) --- */
.contact-form {
  width: 100%;
}

.contact-form .form-field {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-family: var(--sans);
  font-size: 15.3px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16.8px;
  line-height: 1.4;
  color: #000000;
  background: #ffffff;
  border: 1px solid var(--warm-gray);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage-text);
  box-shadow: 0 0 0 3px rgba(85, 99, 73, 0.35);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn--solid {
  color: #ffffff;
}

.form-status {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 16.8px;
  min-height: 1.4em;
}

.form-status.is-success {
  color: #1b9d56;
}

.form-status.is-error {
  color: #c0392b;
}

/* --- Badge / affiliation strip --- */
.badges {
  padding: 65px 0;
}

.badges .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 100px;
  flex-wrap: wrap;
}

.badges img {
  max-height: 90px;
  width: auto;
  max-width: 225px;
}

/* Forces the logo row to wrap: 3 logos on the first line, 2 on the second */
.badges-break {
  flex-basis: 100%;
  height: 0;
}

@media (max-width: 766px) {
  .badges-break {
    display: none;
  }
}

/* --- Map section --- */
.map-section {
  padding: 65px 0;
}

.map-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-section .section-heading {
  padding-bottom: 60px;
}

.map-frame {
  width: 100%;
  max-width: 850px;
  aspect-ratio: 16 / 9;
  background: #ffffff;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load map facade — keeps Google from loading until the visitor asks */
.map-load {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  font-family: var(--sans);
  background: #eef0ea;
  border: 1px solid #d8dcd2;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.map-load:hover {
  background: #e4e8dd;
}

.map-load svg {
  width: 40px;
  height: 40px;
  fill: var(--sage-text);
}

.map-load-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-brown);
}

.map-load-action {
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  color: var(--sage-text);
}

.map-load-note {
  font-size: 13px;
  color: #6b6b6b;
}

@media (max-width: 766px) {
  .contact-main .container {
    flex-direction: column;
  }
  .contact-main .contact-col {
    flex-basis: 100%;
    width: 100%;
  }
  .contact-info h2 {
    font-size: 32px;
  }
  .badges .container {
    justify-content: center;
  }
}

/* ==========================================================================
   10. Discovery call page
   ========================================================================== */
.discovery {
  padding: 65px 0;
}

.discovery .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discovery .section-heading {
  padding-bottom: 40px;
}

.discovery .rich-text {
  text-align: center;
  margin-bottom: 36px;
}

.discovery-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.discovery-actions .contact-phone {
  margin-top: 0;
}

/* ==========================================================================
   11. Meet Ryan page helpers
   ========================================================================== */
.center-section--closer {
  padding-bottom: 90px;
}

.center-section .rich-text a {
  color: var(--dark-brown);
  font-weight: 700;
  border-bottom: 2px solid var(--sage);
  transition: color 0.3s var(--ease);
}

.center-section .rich-text a:hover {
  color: var(--sage-text);
}

/* ==========================================================================
   12. Privacy policy (long-form legal prose)
   ========================================================================== */
.legal {
  padding: 65px 0 90px;
}

.legal .container {
  max-width: 760px;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.035em;
  color: var(--dark-brown);
  margin: 2em 0 0.6em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  font-family: var(--sans);
  font-size: 16.8px;
  line-height: 1.65;
  color: var(--sub-gray);
}

.legal p + p {
  margin-top: 1em;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 1em 0;
}

.legal a {
  color: var(--dark-brown);
  font-weight: 700;
  border-bottom: 2px solid var(--sage);
  transition: color 0.3s var(--ease);
}

.legal a:hover {
  color: var(--sage-text);
}

/* ==========================================================================
   13. Reduced motion (WCAG 2.3.3 / prefers-reduced-motion)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .banner {
    background-attachment: scroll;
  }
}
