:root {
  --green: #2F5D39;
  --deep-green: #1F3E2A;
  --sage: #B7C6B2;
  --ivory: #F7F1E6;
  --gold: #C7A967;
  --blush: #E8D0CF;
  --charcoal: #2B2B2B;
  --warm-gray: #6F6A63;
  --white: #FFFFFF;
  --shadow: 0 18px 45px rgba(31, 62, 42, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--ivory);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(47,93,57,.055) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .6;
  z-index: -1;
}

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

a { color: inherit; text-decoration: none; }

p { margin: 0 0 1rem; }

h1, h2, h3, .serif {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--deep-green);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1rem; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0 0 .65rem; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--deep-green);
  color: var(--ivory);
  padding: .75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 169, 103, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
}

.logo-link { display: flex; align-items: center; gap: .85rem; min-width: 245px; }
.logo-link img { width: 68px; height: auto; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text strong {
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.logo-text span { color: var(--warm-gray); font-size: .88rem; }

.nav-toggle {
  display: none;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--deep-green);
  padding: .6rem .8rem;
  border-radius: 999px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: var(--deep-green);
  font-weight: 650;
}
.main-nav a { position: relative; padding: .35rem 0; }
.main-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--ivory);
  padding: .9rem 1.25rem;
  border: 2px solid var(--green);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 25px rgba(31,62,42,.18);
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button.secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--gold);
  box-shadow: none;
}
.button.light {
  background: var(--ivory);
  color: var(--deep-green);
  border-color: var(--ivory);
}

.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--green);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--gold);
}
.lede {
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  color: var(--warm-gray);
  max-width: 66ch;
}
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-card {
  position: relative;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(183,198,178,.45), rgba(255,255,255,.35));
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(199,169,103,.35);
}
.hero-card::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 290px;
  height: 290px;
  background: url('../img/icon_mark.png') center/contain no-repeat;
  opacity: .11;
}
.hero-card-inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: rgba(247,241,230,.82);
  border-radius: 26px;
  padding: 2rem;
}
.hero-card img { width: min(420px, 100%); margin-bottom: 1rem; }
.hero-card .small { color: var(--warm-gray); margin: 0; }

section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-intro { max-width: 760px; margin-bottom: 2rem; }
.section-intro.center { margin-inline: auto; text-align: center; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.card {
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31,62,42,.08);
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(199,169,103,.22);
  display: grid;
  place-items: center;
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.card p { color: var(--warm-gray); }

.band {
  background: var(--deep-green);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 420px;
  height: 420px;
  background: url('../img/icon_mark.png') center/contain no-repeat;
  opacity: .08;
}
.band h2, .band h3 { color: var(--ivory); }
.band p { color: rgba(247,241,230,.82); }
.band .container { position: relative; z-index: 1; }

.process-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  align-items: start;
}
.process-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep-green);
  font-weight: 900;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 3rem;
  text-align: center;
}
.page-hero .lede { margin-inline: auto; }

.service-detail {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(199,169,103,.45);
}
.service-detail ul { margin: .5rem 0 0; color: var(--warm-gray); }

.about-panel {
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 34px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: .85rem;
}
details {
  border: 1px solid rgba(199,169,103,.4);
  border-radius: 18px;
  background: rgba(255,255,255,.45);
  padding: 1rem 1.1rem;
}
summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--deep-green);
}
details p { margin-top: .75rem; color: var(--warm-gray); }

.form-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}
form {
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 28px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
label { display: block; font-weight: 800; color: var(--deep-green); margin: 0 0 .35rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(47,93,57,.28);
  border-radius: 14px;
  padding: .85rem 1rem;
  font: inherit;
  color: var(--charcoal);
  background: rgba(255,255,255,.8);
}
textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-note { font-size: .92rem; color: var(--warm-gray); }
.confirmation {
  display: none;
  margin-top: 1rem;
  border-radius: 18px;
  padding: 1rem;
  background: rgba(183,198,178,.38);
  color: var(--deep-green);
  font-weight: 750;
}
.confirmation.show { display: block; }

.footer {
  background: var(--deep-green);
  color: var(--ivory);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 2rem;
}
.footer img { width: 260px; filter: brightness(0) invert(1); opacity: .95; }
.footer p, .footer a { color: rgba(247,241,230,.78); }
.footer h3 { color: var(--ivory); font-size: 1.35rem; }
.footer-bottom { border-top: 1px solid rgba(247,241,230,.18); margin-top: 2rem; padding-top: 1rem; color: rgba(247,241,230,.65); font-size: .92rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 88px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--ivory);
    border: 1px solid rgba(199,169,103,.45);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero-grid, .service-detail, .form-wrap, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .logo-text strong { font-size: .86rem; }
  .logo-text span { font-size: .78rem; }
  .logo-link { min-width: auto; }
  .logo-link img { width: 52px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-card-inner { min-height: 320px; }
  .button { width: 100%; }
}

/* Nav CTA button spacing fix */
.main-nav .button {
  padding: 0.78rem 1.55rem;
  min-width: 150px;
  min-height: 42px;
  white-space: nowrap;
  line-height: 1.1;
  font-size: 0.95rem;
}


/* Phase 2 guided inquiry tool */
.tool-shell {
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(199,169,103,.36);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tool-header {
  background: linear-gradient(135deg, rgba(31,62,42,.98), rgba(47,93,57,.94));
  color: var(--ivory);
  padding: clamp(1.35rem, 3vw, 2rem);
  position: relative;
  overflow: hidden;
}
.tool-header::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -75px;
  width: 260px;
  height: 260px;
  background: url('../img/icon_mark.png') center/contain no-repeat;
  opacity: .1;
}
.tool-header h2 { color: var(--ivory); margin-bottom: .4rem; }
.tool-header p { color: rgba(247,241,230,.8); max-width: 75ch; }
.stepper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .35rem;
  padding: 1rem;
  background: rgba(247,241,230,.62);
  border-bottom: 1px solid rgba(199,169,103,.28);
}
.step-dot {
  display: grid;
  gap: .35rem;
  justify-items: center;
  color: var(--warm-gray);
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}
.step-dot span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(47,93,57,.25);
  background: rgba(255,255,255,.65);
  color: var(--green);
}
.step-dot.active span,
.step-dot.complete span {
  background: var(--green);
  color: var(--ivory);
  border-color: var(--green);
}
.step-dot.active { color: var(--deep-green); }
.tool-body { padding: clamp(1.25rem, 3vw, 2rem); }
.tool-step { display: none; }
.tool-step.active { display: block; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.tool-step h3 { margin-bottom: .4rem; }
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .8rem;
  margin: 1.2rem 0;
}
.radio-card {
  position: relative;
  border: 1px solid rgba(47,93,57,.25);
  background: rgba(255,255,255,.55);
  border-radius: 18px;
  padding: 1rem 1rem 1rem 3rem;
  cursor: pointer;
  min-height: 72px;
  display: flex;
  align-items: center;
  color: var(--deep-green);
  font-weight: 850;
}
.radio-card input {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
}
.radio-card:has(input:checked) {
  border-color: var(--gold);
  background: rgba(199,169,103,.18);
  box-shadow: 0 10px 24px rgba(31,62,42,.08);
}
.tool-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(199,169,103,.28);
}
.conditional-panel {
  display: none;
  border: 1px solid rgba(199,169,103,.35);
  background: rgba(247,241,230,.6);
  border-radius: 24px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.conditional-panel.active { display: block; }
.summary-box {
  background: rgba(247,241,230,.72);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 22px;
  padding: 1rem;
  max-height: 520px;
  overflow: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92rem;
  color: var(--charcoal);
}
.tiny-note { font-size: .88rem; color: var(--warm-gray); margin-top: .7rem; }
.tool-success {
  display: none;
  margin-top: 1rem;
  border-radius: 20px;
  background: rgba(183,198,178,.42);
  color: var(--deep-green);
  padding: 1rem;
  font-weight: 750;
}
.tool-success.show { display: block; }
@media (max-width: 760px) {
  .stepper { grid-template-columns: repeat(3, 1fr); }
  .option-grid { grid-template-columns: 1fr; }
}


/* Phase 3 local admin/review page */
.admin-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: start;
}
.admin-toolbar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.inquiry-list {
  display: grid;
  gap: .75rem;
}
.inquiry-card {
  border: 1px solid rgba(199,169,103,.35);
  background: rgba(255,255,255,.55);
  border-radius: 20px;
  padding: 1rem;
  cursor: pointer;
  transition: .18s ease;
}
.inquiry-card:hover,
.inquiry-card.active {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(31,62,42,.1);
  transform: translateY(-1px);
}
.inquiry-card h3 {
  margin-bottom: .25rem;
  font-size: 1.25rem;
}
.inquiry-meta {
  color: var(--warm-gray);
  font-size: .92rem;
  margin: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(183,198,178,.45);
  color: var(--deep-green);
  padding: .25rem .65rem;
  font-size: .78rem;
  font-weight: 900;
  margin-top: .6rem;
}
.admin-detail {
  position: sticky;
  top: 112px;
}
.empty-state {
  border: 1px dashed rgba(47,93,57,.35);
  border-radius: 22px;
  padding: 1.5rem;
  color: var(--warm-gray);
  background: rgba(255,255,255,.35);
}
.admin-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.admin-warning {
  background: rgba(199,169,103,.15);
  border-left: 4px solid var(--gold);
  padding: 1rem;
  border-radius: 16px;
  color: var(--deep-green);
  margin-top: 1rem;
}
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-detail { position: static; }
}


/* Phase 4 polish and accessibility cleanup */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.button,
button.button {
  min-height: 44px;
  text-align: center;
}
.main-nav .button {
  justify-self: start;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199,169,103,.16);
  outline: none;
}
.form-field small,
.helper-text {
  display: block;
  color: var(--warm-gray);
  font-size: .86rem;
  margin-top: .35rem;
}
.preview-notice,
.privacy-note {
  border: 1px solid rgba(199,169,103,.35);
  background: rgba(199,169,103,.13);
  color: var(--deep-green);
  border-radius: 18px;
  padding: 1rem;
  margin-top: 1rem;
}
.preview-notice strong,
.privacy-note strong { color: var(--deep-green); }
.tool-success a {
  color: var(--deep-green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary-box {
  line-height: 1.55;
}
.footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 620px) {
  .tool-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .step-dot {
    font-size: .68rem;
  }
  .step-dot span {
    width: 30px;
    height: 30px;
  }
  .admin-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }
}
@media print {
  .site-header,
  .footer,
  .admin-toolbar,
  .tool-actions,
  .button {
    display: none !important;
  }
  body { background: #fff; color: #111; }
  .summary-box, .card, .about-panel, .tool-shell { box-shadow: none; border: 1px solid #999; }
}


/* Contact + headshot update */
.about-headshot-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}
.headshot-card {
  position: relative;
  background: rgba(247,241,230,.72);
  border: 1px solid rgba(199,169,103,.42);
  border-radius: 30px;
  padding: .75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.headshot-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 210px;
  height: 210px;
  background: url('../img/icon_mark.png') center/contain no-repeat;
  opacity: .08;
}
.headshot-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  position: relative;
  z-index: 1;
}
.contact-inline {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.contact-inline a {
  color: var(--deep-green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 820px) {
  .about-headshot-grid { grid-template-columns: 1fr; }
  .headshot-card { max-width: 420px; margin-inline: auto; }
}

/* Headshot size correction */
.about-headshot-grid {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
}
.headshot-card {
  width: 100%;
  max-width: 280px;
  justify-self: center;
  padding: 0.55rem;
  border-radius: 22px;
}
.headshot-card img {
  aspect-ratio: 4 / 5;
  max-height: 350px;
  border-radius: 18px;
}
@media (max-width: 820px) {
  .about-headshot-grid {
    grid-template-columns: 1fr;
  }
  .headshot-card {
    max-width: 240px;
    justify-self: start;
    margin-inline: 0;
  }
  .headshot-card img {
    max-height: 300px;
  }
}


/* About author-page rewrite: force small headshot */
.author-bio-panel {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: flex-start;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 30px;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}
.author-headshot {
  flex: 0 0 180px !important;
  width: 180px !important;
  max-width: 180px !important;
}
.author-headshot img {
  width: 180px !important;
  max-width: 180px !important;
  height: auto !important;
  border-radius: 18px;
  border: 1px solid rgba(199,169,103,.42);
  box-shadow: 0 14px 34px rgba(31,62,42,.16);
}
.author-bio-copy {
  max-width: 760px;
}
.author-bio-copy h2 {
  margin-top: 0;
}
.author-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199,169,103,.35);
  color: var(--warm-gray);
  font-style: italic;
}
.author-contact-line {
  display: flex;
  gap: .75rem 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.author-contact-line a {
  color: var(--deep-green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.about-quote-card {
  background: var(--deep-green);
  color: var(--ivory);
  border-radius: 26px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.about-quote-card h2,
.about-quote-card h3 { color: var(--ivory); }
.about-quote-card p { color: rgba(247,241,230,.82); }
@media (max-width: 760px) {
  .author-bio-panel {
    display: block;
  }
  .author-headshot {
    width: 150px !important;
    max-width: 150px !important;
    margin-bottom: 1rem;
  }
  .author-headshot img {
    width: 150px !important;
    max-width: 150px !important;
  }
}


/* About page author-bio wrap update */
.author-story-panel {
  display: block;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 30px;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  max-width: 1020px;
  margin-inline: auto;
}
.author-story-panel::after {
  content: "";
  display: block;
  clear: both;
}
.author-headshot-float {
  float: left;
  width: 240px !important;
  max-width: 240px !important;
  margin: 0 1.65rem 1rem 0;
  padding: .55rem;
  border: 1px solid rgba(199,169,103,.42);
  border-radius: 22px;
  background: rgba(247,241,230,.76);
  box-shadow: 0 14px 34px rgba(31,62,42,.14);
}
.author-headshot-float img {
  width: 240px !important;
  max-width: 240px !important;
  height: auto !important;
  display: block;
  border-radius: 16px;
}
.author-story-panel h2 {
  margin-top: 0;
}
.author-story-panel p {
  font-size: 1.04rem;
}
.author-story-panel .lead-bio {
  font-size: 1.18rem;
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
.author-signoff {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold);
  background: rgba(199,169,103,.14);
  border-radius: 16px;
  color: var(--deep-green);
}
@media (max-width: 760px) {
  .author-headshot-float {
    float: none;
    width: 210px !important;
    max-width: 210px !important;
    margin: 0 0 1rem 0;
  }
  .author-headshot-float img {
    width: 210px !important;
    max-width: 210px !important;
  }
}


/* About page side-by-side correction: image left, copy right */
.author-two-column {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: clamp(1.4rem, 3vw, 2.25rem) !important;
  align-items: start !important;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(199,169,103,.35);
  border-radius: 30px;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
  max-width: 1120px;
  margin-inline: auto;
}
.author-two-column .author-image-box {
  width: 260px !important;
  max-width: 260px !important;
  padding: .55rem;
  border: 1px solid rgba(199,169,103,.42);
  border-radius: 22px;
  background: rgba(247,241,230,.76);
  box-shadow: 0 14px 34px rgba(31,62,42,.14);
}
.author-two-column .author-image-box img {
  display: block;
  width: 240px !important;
  max-width: 240px !important;
  height: auto !important;
  border-radius: 16px;
}
.author-two-column .author-bio-right {
  min-width: 0;
}
.author-two-column .author-bio-right h2 {
  margin-top: 0 !important;
  margin-bottom: 1rem;
}
.author-two-column .author-bio-right p {
  font-size: 1.04rem;
  line-height: 1.75;
}
.author-two-column .lead-bio {
  font-size: 1.18rem !important;
  color: var(--deep-green);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6 !important;
}
@media (max-width: 760px) {
  .author-two-column {
    grid-template-columns: 1fr !important;
  }
  .author-two-column .author-image-box {
    width: 220px !important;
    max-width: 220px !important;
  }
  .author-two-column .author-image-box img {
    width: 200px !important;
    max-width: 200px !important;
  }
}


/* Full mobile optimization pass */
@media (max-width: 900px) {
  body {
    overflow-x: hidden;
  }
  .nav-wrap {
    min-height: 74px;
  }
  .main-nav {
    top: 74px;
  }
  .main-nav a,
  .main-nav .button {
    width: 100%;
    text-align: center;
  }
  .main-nav .button {
    justify-self: stretch;
  }
  .page-hero {
    padding: 3rem 0 1.75rem;
  }
  .hero {
    padding: 3rem 0 2.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card {
    padding: 1.1rem;
    border-radius: 24px;
  }
  .hero-card-inner {
    min-height: auto;
    padding: 1.25rem;
  }
  .hero-card img {
    width: min(320px, 100%);
  }
  section {
    padding: 2.75rem 0;
  }
  .service-detail {
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1.45rem 0;
  }
  .card,
  .about-panel,
  .tool-shell {
    border-radius: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer img {
    width: 220px;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }
  h2 {
    font-size: clamp(1.75rem, 9vw, 2.45rem);
  }
  h3 {
    font-size: 1.25rem;
  }
  .lede {
    font-size: 1.05rem;
  }
  .container {
    width: min(100% - 30px, 1120px);
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .button,
  button.button {
    width: 100%;
    min-height: 46px;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .form-wrap,
  .form-grid {
    grid-template-columns: 1fr !important;
  }
  .tool-header {
    padding: 1.15rem;
  }
  .tool-body {
    padding: 1rem;
  }
  .stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: .75rem;
  }
  .step-dot {
    font-size: .68rem;
  }
  .step-dot span {
    width: 30px;
    height: 30px;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .radio-card {
    min-height: 58px;
    padding: .85rem .85rem .85rem 2.75rem;
  }
  input, select, textarea {
    font-size: 16px;
  }
  .summary-box {
    max-height: 380px;
    font-size: .84rem;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-detail {
    position: static;
  }
  .admin-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  /* Force the inline about layout to stack cleanly on mobile */
  .about-inline-article {
    display: block !important;
    grid-template-columns: 1fr !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }
  .about-inline-image {
    width: 210px !important;
    max-width: 210px !important;
    margin: 0 0 1rem 0 !important;
    padding: 8px !important;
  }
  .about-inline-image img {
    width: 194px !important;
    max-width: 194px !important;
    height: auto !important;
  }
  .about-inline-copy p {
    font-size: 1rem !important;
    line-height: 1.7 !important;
  }
  .about-inline-copy .lead-bio,
  .about-inline-copy p[style*="font-size:1.18rem"] {
    font-size: 1.06rem !important;
  }
}

@media (max-width: 420px) {
  .logo-text strong {
    font-size: .78rem;
    letter-spacing: .05em;
  }
  .logo-text span {
    font-size: .72rem;
  }
  .logo-link img {
    width: 46px;
  }
  .nav-toggle {
    padding: .55rem .7rem;
  }
  .page-hero,
  .hero {
    padding-top: 2.25rem;
  }
  .card,
  .about-panel,
  .tool-shell,
  form {
    padding: 1rem;
  }
  .stepper {
    grid-template-columns: 1fr 1fr;
  }
  .step-dot {
    gap: .2rem;
  }
  .about-inline-image {
    width: 180px !important;
    max-width: 180px !important;
  }
  .about-inline-image img {
    width: 164px !important;
    max-width: 164px !important;
  }
}
