/* ==========================================================================
   Interior page styles — layered on top of styles.css
   ========================================================================== */

/* ---------- Page hero ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(60px, 8vw, 100px) clamp(56px, 7vw, 88px);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero .hero-peaks path {
  fill: rgba(255, 255, 255, 0.014);
  stroke: rgba(201, 165, 95, 0.045);
}

.page-hero-inner {
  position: relative;
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted-dim);
  margin-bottom: 26px;
}

.breadcrumb a { transition: color .22s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: .5; }

.page-title {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.06;
  margin-bottom: 24px;
}

.page-title em { font-style: italic; color: var(--gold); }

/* Playfair's italic capital Q has a long swash tail that drops well below the
   baseline and reads as a glitch. Keep the gold accent, drop the slant. */
.page-title--upright em { font-style: normal; }

.page-lede {
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.85;
}

/* ---------- Generic content blocks ---------- */

.block-head { max-width: 62ch; margin-bottom: 52px; }

.block-head .section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

.prose { max-width: 68ch; }

.prose p + p { margin-top: 20px; }

.prose h3 {
  font-size: 1.45rem;
  margin-top: 44px;
  margin-bottom: 16px;
}

.prose strong { color: var(--cream); font-weight: 500; }

/* ---------- Numbered process list ---------- */

.process {
  display: grid;
  gap: 2px;
  counter-reset: step;
  margin-top: 48px;
}

.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 28px;
  align-items: start;
  padding: 32px 34px;
  background: var(--card);
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.process li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.process li:last-child { border-radius: 0 0 var(--radius) var(--radius); }

.process li:hover {
  background: var(--card-hover);
  border-color: var(--border);
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--gold);
  line-height: 1;
}

.process h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.process p { font-size: 1rem; line-height: 1.78; }

/* ---------- Legal provision cards ---------- */

.law-group + .law-group { margin-top: 68px; }

.law-group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.law-group-head h3 { font-size: 1.6rem; }

.law-group-head .law-scope {
  font-size: 14px;
  color: var(--muted-dim);
}

.law-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 20px;
}

.law {
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 30px 30px 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.law:hover { border-color: var(--border); transform: translateY(-3px); }

.law-cite {
  display: inline-block;
  font-family: var(--serif);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--gold);
  margin-bottom: 12px;
}

.law h4 {
  font-size: 1.16rem;
  margin-bottom: 12px;
}

.law p { font-size: .96rem; line-height: 1.75; }

/* ---------- Checklist ---------- */

.checklist { display: grid; gap: 16px; margin-top: 36px; }

.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  align-items: start;
  font-size: 1.02rem;
  line-height: 1.75;
}

.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(201, 165, 95, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a55f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- Two-column split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: start;
}

/* ---------- Callout ---------- */

.callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  align-items: start;
  padding: 34px 36px;
  margin-top: 56px;
  background: rgba(201, 165, 95, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.callout-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 165, 95, 0.14);
  color: var(--gold);
}

.callout-icon svg { width: 21px; height: 21px; }

.callout h3 { font-size: 1.24rem; margin-bottom: 12px; }
.callout p { font-size: 1rem; line-height: 1.78; }
.callout p + p { margin-top: 14px; }

/* ---------- Stat strip (inline, lighter than home) ---------- */

.mini-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 28px;
  margin-top: 52px;
}

.mini-stat {
  padding: 28px 30px;
  background: var(--card);
  border-radius: var(--radius);
}

.mini-stat .num {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.mini-stat .label { font-size: 14.5px; color: var(--muted-dim); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-top: 48px; }

.faq details {
  border-bottom: 1px solid var(--border-soft);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--cream);
  list-style: none;
  transition: color .22s var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform .3s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p {
  padding-bottom: 28px;
  max-width: 70ch;
  line-height: 1.8;
}

/* ---------- Role / team cards ---------- */

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 56px;
}

.role {
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.role:hover { border-color: var(--border); transform: translateY(-4px); }

.role-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(201, 165, 95, 0.12);
  color: var(--gold);
  margin-bottom: 26px;
}

.role-icon svg { width: 23px; height: 23px; }

.role h3 { font-size: 1.3rem; margin-bottom: 14px; }

.role-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 26px;
}

.leader-grid .role h3 { margin-bottom: 6px; }

.role-title {
  color: var(--gold);
  font-size: .8rem !important;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.role p { font-size: .98rem; line-height: 1.78; }

/* ---------- Article list (insights) ---------- */

.article-list { display: grid; gap: 2px; margin-top: 56px; }

.article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 40px 38px;
  background: var(--card);
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}

.article:first-of-type { border-radius: var(--radius) var(--radius) 0 0; }
.article:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }
.article:hover { background: var(--card-hover); border-color: var(--border); }

.article-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}

.article h3 { font-size: 1.5rem; }
.article p { font-size: 1rem; line-height: 1.8; max-width: 72ch; }

/* ---------- Related services ---------- */

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-top: 48px;
}

.related {
  display: block;
  padding: 30px 30px 26px;
  background: var(--card);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease);
}

.related:hover {
  background: var(--card-hover);
  border-color: var(--border);
  transform: translateY(-3px);
}

.related h3 { font-size: 1.2rem; margin-bottom: 10px; }
.related p { font-size: .95rem; line-height: 1.7; margin-bottom: 16px; }

.related .card-link { font-size: 14px; }

/* ---------- Disclosure block ---------- */

.disclosure {
  max-width: 78ch;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .process li { grid-template-columns: 54px 1fr; gap: 20px; padding: 28px 26px; }
  .process li::before { font-size: 1.6rem; }
  .article { padding: 32px 26px; }
  .callout { padding: 28px 26px; gap: 18px; }
}

@media (max-width: 560px) {
  .callout { grid-template-columns: 1fr; }
  .law { padding: 26px 24px; }
  .role { padding: 32px 26px; }

  .faq summary {
    font-size: 1.1rem;
    gap: 16px;
    padding: 22px 0;
    align-items: flex-start;
  }
  .faq summary::after { line-height: 1.2; }

  /* Statute citations are long and unbreakable — keep them inside the card */
  .law-cite { overflow-wrap: anywhere; }

  /* Stack the numeral above the copy rather than squeezing two columns */
  .process li {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 26px 24px;
  }

  .page-lede { font-size: 1.05rem; }
  .breadcrumb { margin-bottom: 20px; }
  .block-head { margin-bottom: 38px; }
  .mini-stats { gap: 16px; }
  .article { padding: 28px 24px; }
}
