/* ==========================================================================
   STAND READY — Subpage stylesheet
   Complements styles.css with the hero, article, cards, and form styles
   used across all secondary pages.
   ========================================================================== */

/* ---------- Solid nav (subpages don't have a hero backdrop) ---------- */
.nav--solid {
  position: sticky;
  top: 0;
  background: var(--olive);
  border-bottom: 1px solid rgba(239, 236, 226, 0.08);
  z-index: 60;
}
.nav--solid .nav__links a { color: var(--paper); }
.nav--solid .nav__brand img { height: 44px; width: auto; display: block; }
.nav__brand { display: flex; align-items: center; padding: 4px 0; }

/* ---------- Page hero (used on every subpage) ---------- */
.phero {
  position: relative;
  background: var(--olive);
  color: var(--paper);
  padding: clamp(80px, 10vw, 160px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.phero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.phero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42,45,34,0.4) 0%, rgba(42,45,34,0.85) 100%);
}
.phero .wrap { position: relative; z-index: 2; }
.phero .eyebrow { color: var(--sage); }
.phero__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 12px 0 20px;
  max-width: 14ch;
}
.phero__sub {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  max-width: 60ch;
  color: rgba(239, 236, 226, 0.85);
}

/* ---------- Long-form article ---------- */
.article {
  padding: var(--sec-pad-y) 0;
  background: var(--paper);
}
.article .wrap { max-width: 780px; }
.article h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.6em;
  color: var(--ink);
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  margin: 1.8em 0 0.5em;
  color: var(--ink);
}
.article p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 1.1em;
  color: var(--ink);
}
.article p.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1.6em;
}
.article ul, .article ol {
  margin: 0 0 1.4em 1.4em;
  list-style: disc;
  padding-left: 0;
}
.article ul li, .article ol li {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 0.5em;
  color: var(--ink);
}
.article ol { list-style: decimal; }
.article blockquote {
  border-left: 3px solid var(--sage);
  padding: 8px 0 8px 22px;
  margin: 1.6em 0;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.article blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 12px;
  color: var(--olive);
}
.article a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--ink); }
.article strong { color: var(--ink); font-weight: 700; }

/* ---------- Sage / Olive alternating sections ---------- */
.section--sage-alt { background: var(--sage); color: var(--ink); padding: var(--sec-pad-y) 0; }
.section--olive-alt { background: var(--olive); color: var(--paper); padding: var(--sec-pad-y) 0; }
.section--cream { background: var(--cream); color: var(--ink); padding: var(--sec-pad-y) 0; }
.section--bone { background: var(--bone); color: var(--ink); padding: var(--sec-pad-y) 0; }

/* ---------- Feature/service detail block ---------- */
.detail-block {
  padding: var(--sec-pad-y) 0;
  background: var(--paper);
  border-bottom: 1px solid rgba(42,45,34,0.08);
}
.detail-block:nth-of-type(even) { background: var(--bone); }
.detail-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.detail-block__img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.detail-block__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--olive);
  margin-bottom: 20px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42,45,34,0.2);
}
.detail-block h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.detail-block__lede {
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 24px;
  color: var(--ink);
}
.detail-block__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}
.detail-block__list li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(42,45,34,0.1);
  font-size: 16.5px;
  line-height: 1.55;
  position: relative;
}
.detail-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--olive);
  border-radius: 50%;
}
.detail-block--reverse .detail-block__grid { grid-template-columns: 1.15fr 1fr; }
.detail-block--reverse .detail-block__img { order: 2; }
@media (max-width: 820px) {
  .detail-block__grid, .detail-block--reverse .detail-block__grid { grid-template-columns: 1fr; }
  .detail-block--reverse .detail-block__img { order: 0; }
  .detail-block__img { aspect-ratio: 4 / 3; }
}

/* ---------- Card grid (for family/veterans landing pages) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.card {
  background: var(--paper);
  border: 1px solid rgba(42,45,34,0.1);
  padding: 32px 28px;
  border-radius: 4px;
}
.card--olive { background: var(--olive-deep); color: var(--paper); border-color: rgba(239,236,226,0.1); }
.card__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--olive);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.card--olive .card__eyebrow { color: var(--sage); }
.card h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
}
.card p { font-size: 16px; line-height: 1.55; margin: 0; }
@media (max-width: 820px) { .card-grid { grid-template-columns: 1fr; } }

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 60px 0;
  background: var(--olive-deep);
  color: var(--paper);
}
.stat {
  text-align: center;
  padding: 0 20px;
}
.stat__num {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--sage);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}
.stat__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239,236,226,0.75);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 40px; padding: 40px 20px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--olive);
  color: var(--paper);
  padding: clamp(70px, 8vw, 110px) 0;
  text-align: center;
}
.cta-band__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-band__sub {
  font-size: 18px;
  line-height: 1.5;
  max-width: 50ch;
  margin: 0 auto 32px;
  color: rgba(239,236,226,0.85);
}
.cta-band .btn--solid {
  background: var(--sage);
  color: var(--ink);
}
.cta-band .btn--solid:hover { background: var(--paper); }

/* ---------- FAQ accordion (semantic, better for schema) ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-top: 1px solid rgba(42,45,34,0.15);
  padding: 22px 0;
}
.faq-item:last-child { border-bottom: 1px solid rgba(42,45,34,0.15); }
.faq-item__q {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  padding-right: 4px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  font-family: var(--mono);
  font-size: 24px;
  color: var(--olive);
  transition: transform 0.2s ease;
  line-height: 1;
}
.faq-item[open] .faq-item__q::after { content: "−"; }
.faq-item__a {
  padding: 14px 0 4px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 68ch;
}
.faq-item__a p { margin-bottom: 0.9em; }
.faq-item__a p:last-child { margin-bottom: 0; }

/* ---------- Form ---------- */
.intake-form {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 0;
}
.intake-form label {
  display: block;
  margin-bottom: 22px;
}
.intake-form label > span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(239,236,226,0.7);
  margin-bottom: 8px;
}
.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(239,236,226,0.08);
  border: 1px solid rgba(239,236,226,0.2);
  color: var(--paper);
  border-radius: 3px;
  font-size: 16px;
  transition: border-color 0.15s ease;
}
.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: rgba(239,236,226,0.12);
}
.intake-form textarea { min-height: 120px; resize: vertical; font-family: var(--serif); }
.intake-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 640px) { .intake-form .form-grid { grid-template-columns: 1fr; } }
.intake-form button[type="submit"] {
  background: var(--sage);
  color: var(--ink);
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
  border: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-top: 8px;
}
.intake-form button[type="submit"]:hover { background: var(--paper); }
.form-help {
  font-size: 14px;
  color: rgba(239,236,226,0.6);
  margin-top: 20px;
  text-align: center;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- Story hero (individual case studies) ---------- */
.story-hero {
  background: var(--olive-deep);
  color: var(--paper);
  padding: clamp(100px, 12vw, 180px) 0 clamp(70px, 9vw, 140px);
}
.story-hero .eyebrow { color: var(--sage); }
.story-hero__title {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.05;
  margin: 12px 0 24px;
  max-width: 24ch;
  letter-spacing: -0.01em;
}
.story-hero__quote {
  font-size: clamp(22px, 2.4vw, 30px);
  font-style: italic;
  line-height: 1.4;
  max-width: 44ch;
  color: var(--sage);
  margin: 0;
}

/* ---------- Two-column split (used on Family & Veterans pages) ---------- */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: var(--sec-pad-y) 0;
}
.split-2__img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.split-2 h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.split-2 p { font-size: 18px; line-height: 1.7; margin-bottom: 1em; }
@media (max-width: 820px) { .split-2 { grid-template-columns: 1fr; } }

/* ---------- Toc (table of contents for long pages) ---------- */
.toc {
  background: var(--bone);
  padding: 30px 32px;
  border-radius: 4px;
  margin: 30px 0 40px;
  font-size: 15px;
}
.toc__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 14px;
}
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { padding: 6px 0; border-bottom: 1px solid rgba(42,45,34,0.08); }
.toc li:last-child { border-bottom: 0; }
.toc a { color: var(--ink); font-size: 15.5px; }
.toc a:hover { color: var(--olive); }

/* ---------- Mobile nav tweaks ---------- */
@media (max-width: 900px) {
  .nav__brand img { height: 36px; }
  .nav__links { display: none; }
}

/* =========================================================================
   Contact — side-by-side split (photo LEFT, form RIGHT, no overlap)
   ========================================================================= */
.phero--short { padding: clamp(70px, 8vw, 120px) 0 clamp(40px, 5vw, 70px); }

.contact-split,
.contact.contact--split {
  background: var(--paper);
  padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px);
  position: relative;
  overflow: visible;
}
.contact.contact--split .contact__bg,
.contact.contact--split .contact__scrim,
.contact.contact--split .contact__inner { display: none; }
.contact-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 70px);
  align-items: stretch;
}
.contact-split__image {
  border-radius: 6px;
  overflow: hidden;
  min-height: 520px;
  background: var(--olive-deep);
}
.contact-split__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.contact-split__form-wrap {
  background: var(--cream);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 6px;
}
@media (max-width: 900px) {
  .contact-split__grid { grid-template-columns: 1fr; }
  .contact-split__image { min-height: 300px; order: 1; }
  .contact-split__image img { min-height: 300px; }
  .contact-split__form-wrap { order: 2; }
}

/* Intake form (used inside .contact-split__form-wrap) */
.intake-form { display: flex; flex-direction: column; gap: 18px; }
.intake-form__label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.intake-form__label span,
.contact.contact--split .intake-form__label span,
.contact.contact--split .intake-form__label > span {
  color: #21231b !important;
  font-weight: 400;
  opacity: 1;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.intake-form input[type="text"],
.intake-form input[type="email"],
.intake-form input[type="tel"],
.intake-form select,
.intake-form textarea {
  font-family: var(--serif);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(63, 68, 51, 0.35);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus { border-color: var(--olive); }
.intake-form textarea { resize: vertical; min-height: 100px; }
.intake-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 500px) {
  .intake-form__row { grid-template-columns: 1fr; }
}
.btn--wide { display: block; width: 100%; text-align: center; margin-top: 6px; }
.intake-form__disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(42, 45, 34, 0.6);
  text-align: center;
  margin: 4px 0 0;
  letter-spacing: 0.08em;
}

/* =========================================================================
   Blog — Field Notes index + individual post pages
   ========================================================================= */

.blog-list { background: var(--paper); padding: clamp(50px, 6vw, 100px) 0 clamp(70px, 9vw, 130px); position: relative; }
.blog-list__label {
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: left;
  margin: 0 0 30px;
  position: relative;
  padding-bottom: 14px;
}
.blog-list__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(35, 40, 30, 0.35);
}

/* Cards */
.blog-card { background: var(--cream); border-radius: 6px; overflow: hidden; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(31, 34, 25, 0.09); }
.blog-card__link { display: block; text-decoration: none; color: inherit; }
.blog-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--olive-deep); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__body { padding: clamp(24px, 2.6vw, 36px); }
.blog-card__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.blog-card__dot { opacity: 0.5; }
.blog-card__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 14px;
}
.blog-card__dek {
  font-family: var(--serif);
  color: var(--ink);
  opacity: 0.82;
  line-height: 1.55;
  font-size: 15.5px;
  margin: 0 0 18px;
}
.blog-card__cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--olive-deep);
  border-bottom: 1px solid rgba(35, 40, 30, 0.5);
  padding-bottom: 3px;
}

/* Featured card = full-width horizontal */
.blog-card--featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.blog-card--featured .blog-card__link { display: contents; }
.blog-card--featured .blog-card__media { aspect-ratio: auto; min-height: 420px; }
.blog-card--featured .blog-card__body { padding: clamp(30px, 3vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.blog-card--featured .blog-card__title { font-size: clamp(28px, 2.8vw, 42px); }

/* Grid of secondary cards */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 40px); }

/* Mobile stacking */
@media (max-width: 900px) {
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__media { min-height: 260px; }
  .blog-grid { grid-template-columns: 1fr; }
}

.blog-list__closer {
  margin-top: clamp(60px, 7vw, 100px);
  text-align: center;
  padding: clamp(30px, 4vw, 60px);
  background: var(--cream);
  border-radius: 6px;
}
.blog-list__closer p { font-family: var(--serif); font-size: 18px; color: var(--ink); margin: 0 0 22px; }

/* Individual post */
.blog-hero { padding: clamp(80px, 9vw, 140px) 0 clamp(30px, 4vw, 60px); }
.blog-hero .eyebrow { color: var(--sage); }
.blog-hero .eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 2px; }
.blog-hero .eyebrow a:hover { color: var(--paper); border-color: var(--paper); }
.blog-post__hero-img { margin: 0; background: var(--paper); }
.blog-post__hero-img img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.article p.closer {
  margin-top: 40px;
  padding: 26px 30px;
  background: rgba(63, 68, 51, 0.06);
  border-left: 3px solid var(--olive);
  font-size: 17px;
}

/* Related posts strip */
.blog-related { background: var(--paper); padding: clamp(60px, 7vw, 100px) 0; }
.blog-card--sm .blog-card__media { aspect-ratio: 16 / 10; }
.blog-card--sm .blog-card__title { font-size: clamp(18px, 1.7vw, 22px); }
.blog-card--sm .blog-card__dek { display: none; }
