/* Shared page families. Brand, navigation and cards inherit site.css. */
.quiet-cta .city-outline { opacity: .4; }
.quiet-cta .container > div { min-width: 0; }
.navigation-list a[aria-current] { color: var(--teal); text-decoration: underline; text-decoration-thickness: 2px; }
.breadcrumbs { padding-block: 25px; font-size: 12px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: baseline; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.breadcrumbs li + li::before { content: '/'; flex-shrink: 0; padding-right: 12px; color: var(--border-strong); }
.breadcrumbs a, .breadcrumbs span { display: inline-block; min-width: 0; padding-block: 5px; }
.page-hero { padding-bottom: 64px; background: var(--paper); border-bottom: 1px solid var(--border); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .6fr); gap: 64px; align-items: center; padding-top: 24px; }
.page-hero h1 { max-width: 960px; font-size: clamp(34px, 4.1vw, 56px); overflow-wrap: break-word; }
.page-intro { max-width: 710px; margin-bottom: 28px; color: var(--text); font-size: 18px; line-height: 1.85; }
.hero-aside { padding: 30px; border-left: 1px solid var(--border-strong); }
.hero-aside .icon { width: 52px; height: 52px; color: var(--teal); margin-bottom: 28px; }
.hero-aside .brand-symbol { display: block; width: 68px; height: auto; margin-bottom: 28px; }
.hero-aside p { font-size: 14px; color: var(--text); }
.hero-aside p:last-child { margin-bottom: 0; }
.page-portrait { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 50% 38%; }
.page-hero--portrait .page-hero-grid { grid-template-columns: 1.3fr .7fr; }
.page-hero--portrait h1 { font-size: clamp(40px, 4.5vw, 62px); }
.section-intro { max-width: 720px; color: var(--text); margin-block: 20px 32px; }
.page-note { padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--gold); color: var(--muted); font-size: 12px; line-height: 1.8; margin-block: 24px; }
.page-hero .page-note { max-width: 720px; background: var(--white); }
.wide-advisory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide-advisory-grid .advisory-card { padding: 36px; }
.wide-advisory-grid h3 { font-size: 28px; }
.card-points { padding-left: 20px; color: var(--text); font-size: 14px; line-height: 1.9; }
.split-section { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 70px; align-items: start; }
.split-section > * { min-width: 0; }
.numbered-list { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.numbered-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--border); color: var(--text); counter-increment: item; }
.numbered-list li:first-child { padding-top: 0; }
.numbered-list li::before { content: counter(item, decimal-leading-zero); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--teal); padding-top: 4px; }
.expert-panel { padding: 42px; background: var(--navy); color: var(--white); }
.expert-panel .eyebrow { color: var(--gold); }
.expert-panel h2 { font-size: 30px; margin-bottom: 24px; }
.expert-panel p { color: #e0e0eb; }
.expert-panel a { color: var(--gold); }
.steps { --step-gap: 32px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--step-gap); padding: 0; margin: 42px 0 0; counter-reset: step; }
.steps li { --step-color: var(--navy); --step-next: #005b70; position: relative; min-width: 0; padding-top: 38px; counter-increment: step; }
.steps li:nth-child(2) { --step-color: #005b70; --step-next: #008b8b; }
.steps li:nth-child(3) { --step-color: #008b8b; --step-next: #13b6a5; }
.steps li:nth-child(n+4) { --step-color: #087f78; --step-next: #13b6a5; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; color: var(--step-color); font-size: 44px; line-height: 1.15; font-weight: 600; letter-spacing: -.04em; margin-bottom: 20px; }
.step-connector { position: absolute; top: 6px; left: 6px; width: calc(100% + var(--step-gap) - 18px); height: 3px; background: linear-gradient(90deg, var(--step-color), var(--step-next)); }
.step-connector::before { content: ''; position: absolute; left: -6px; top: -5px; width: 13px; height: 13px; border-radius: 50%; background: var(--step-color); }
.step-connector::after { content: ''; position: absolute; top: -5px; right: -1px; width: 22px; height: 13px; background: var(--step-next); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.steps li:last-child .step-connector { width: 0; }
.steps li:last-child .step-connector::after { display: none; }
.steps li:last-child .step-connector::before { background: var(--step-next); }
.steps h3 { font-size: 18px; }
.steps p { color: var(--text); font-size: 14px; }
.steps p:last-child { margin-bottom: 0; }
.quiet-cta { background: var(--navy); color: var(--white); }
.quiet-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.quiet-cta p { color: #e0e0eb; max-width: 660px; margin-block: 20px 0; }
.quiet-cta .button { background: var(--white); color: var(--navy); flex-shrink: 0; }
.quiet-cta .button:is(:hover, :focus-visible) { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.quiet-cta .button:focus-visible { outline-color: var(--gold); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px 0; }
.tag { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--border-strong); border-radius: 3px; text-decoration: none; font-size: 12px; color: var(--teal); background: var(--white); }
.recording-card { position: relative; }
.recording-card .card-action { color: var(--navy); }
.content-switch { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.content-switch a { padding: 10px 20px; border-bottom: 2px solid var(--border); min-height: 44px; text-decoration: none; }
.content-switch [aria-current] { border-color: var(--teal); color: var(--teal); font-weight: 600; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 3px; text-decoration: none; font-size: 13px; }
.pagination [aria-current] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tag, .pagination a, .content-switch a, .faq summary, .demo-controls summary {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.tag:is(:hover, :focus-visible),
.pagination a:is(:hover, :focus-visible),
.content-switch a:is(:hover, :focus-visible),
.faq summary:is(:hover, :focus-visible),
.demo-controls summary:is(:hover, :focus-visible) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.search-form { max-width: 820px; margin-block: 30px; }
.search-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.search-row { display: flex; gap: 12px; }
input, textarea, select { max-width: 100%; color: var(--navy); background: var(--white); border: 1px solid var(--muted); border-radius: 3px; }
input, textarea { width: 100%; padding: 14px 16px; }
.search-row input { min-width: 0; flex: 1; }
.search-row .button { flex-shrink: 0; }
.search-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 10px; }
.result-list { max-width: 940px; }
.result-item { padding: 28px 0; border-bottom: 1px solid var(--border); }
.result-item h2 { font-size: 25px; margin-bottom: 14px; }
.result-item p { color: var(--text); }
.result-item .content-meta { justify-content: start; margin-bottom: 10px; }
.empty-state { max-width: 850px; padding: 40px; background: var(--paper); border: 1px solid var(--border); }
.empty-state h2 { font-size: 28px; margin-bottom: 20px; }
.empty-state p:last-child { margin: 0; }
.reading-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 70px; justify-content: center; align-items: start; }
.contents { position: sticky; top: 130px; border-top: 2px solid var(--teal); padding-top: 22px; }
.contents h2 { font-size: 17px; margin-bottom: 14px; }
.contents ol { padding: 0; margin: 0; color: var(--text); list-style: none; counter-reset: contents; }
.contents li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 6px; counter-increment: contents; }
.contents li::before { content: counter(contents) '.'; padding-top: 8px; font-size: 12px; }
.contents a { display: inline-block; padding: 8px 0; font-size: 12px; }
.prose { min-width: 0; color: var(--text); line-height: 1.95; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { color: var(--navy); font-size: 30px; margin-block: 46px 22px; scroll-margin-top: 130px; }
.prose h3 { color: var(--navy); font-size: 22px; margin-block: 32px 16px; }
.prose p, .prose ul, .prose ol { margin-bottom: 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 32px 0; padding: 12px 0 12px 26px; border-left: 3px solid var(--gold); color: var(--navy); font-size: 21px; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 36px 0; }
.prose figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin-block: 28px; border: 1px solid var(--border); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 550px; }
.prose caption { text-align: left; padding: 16px; color: var(--navy); font-weight: 600; }
.prose td, .prose th { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.prose th { background: var(--paper); color: var(--navy); }
.author-signature { display: flex; align-items: center; gap: 18px; padding-top: 24px; margin-top: 40px; border-top: 1px solid var(--border); }
.author-signature img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.author-signature p { margin: 0; font-size: 13px; }
.video-placeholder { aspect-ratio: 16/9; background: var(--navy); color: var(--white); display: grid; align-content: center; justify-items: center; text-align: center; padding: 32px; gap: 12px; }
.video-placeholder .icon { color: var(--gold); width: 50px; height: 50px; }
.video-placeholder h2 { font-size: 25px; color: var(--white); margin: 0; }
.video-placeholder p { font-size: 13px; color: #e0e0eb; max-width: 430px; margin: 0; }
.demo-controls { padding: 18px; border: 1px solid var(--border); margin-bottom: 28px; }
.demo-controls summary { cursor: pointer; padding: 8px; font-size: 13px; font-weight: 600; }
.demo-controls .button-group { margin: 16px 8px 0; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding-block: 32px; border-top: 1px solid var(--border); }
.timeline strong { color: var(--teal); font-size: 14px; }
.timeline h3 { font-size: 22px; }
.timeline p { color: var(--text); margin: 0; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 80px; align-items: start; }
.contact-form { padding: 36px; background: var(--paper); border-top: 2px solid var(--teal); scroll-margin-top: 130px; }
.contact-form h2 { font-size: 28px; margin-bottom: 24px; }
.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.field textarea { resize: vertical; min-height: 200px; }
.field-error { color: #9f2424; font-size: 13px; margin: 8px 0 0; }
[aria-invalid="true"] { border-color: #9f2424; }
.form-feedback { border: 1px solid var(--teal); padding: 20px; margin-top: 24px; background: var(--white); }
.form-feedback[data-state="error"] { border-color: #9f2424; }
.form-feedback h3 { font-size: 19px; margin-bottom: 10px; }
.form-feedback p { margin: 0; font-size: 14px; }
.form-feedback ul { margin: 12px 0 0; padding-left: 20px; font-size: 14px; }
.form-feedback a { display: inline-block; padding-block: 6px; }
.contact-sidebar h2 { font-size: 30px; margin-bottom: 24px; }
.contact-sidebar .contact-details { padding: 0; border: 0; }
.contact-sidebar .contact-method strong { font-size: 16px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { padding: 22px 32px 22px 0; cursor: pointer; font-size: 18px; font-weight: 500; }
.faq details p { max-width: 720px; padding-bottom: 16px; color: var(--text); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review-group { padding: 26px; background: var(--paper); border-top: 2px solid var(--teal); }
.review-group h2 { font-size: 23px; margin-bottom: 18px; }
.review-group ul { list-style: none; padding: 0; margin: 0; }
.review-group a { display: block; padding-block: 12px; font-size: 14px; }
.project-mark { display: grid; place-content: center; padding: 32px; background: var(--navy); color: var(--gold); aspect-ratio: 1; font-size: clamp(30px, 4vw, 52px); line-height: 1.2; font-weight: 500; }
.project-mark small { display: block; color: #e0e0eb; font-size: 10px; letter-spacing: .1em; margin-top: 22px; text-transform: uppercase; }
.formal-prose { max-width: 800px; margin-inline: auto; }
@media(max-width: 979px) {
  .page-hero-grid { gap: 30px; grid-template-columns: minmax(0, 1fr) 220px; }
  .split-section { gap: 36px; }
  /* A continuous vertical timeline avoids a misleading arrow at a row wrap. */
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 38px; }
  .steps li::before { font-size: 36px; margin-bottom: 12px; }
  .step-connector { top: 14px; left: 6px; width: 3px; height: calc(100% + var(--step-gap) - 18px); background: linear-gradient(180deg, var(--step-color), var(--step-next)); }
  .step-connector::before { left: -5px; top: -6px; }
  .step-connector::after { top: auto; right: auto; bottom: -1px; left: -5px; width: 13px; height: 22px; clip-path: polygon(0 0, 100% 0, 50% 100%); }
  .steps li:last-child .step-connector { height: 0; width: 3px; }
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 800px; margin-inline: auto; }
  .contents { position: static; }
  .contact-page-grid { gap: 36px; }
  .contact-form { padding: 24px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 759px) {
  .page-hero { padding-bottom: 42px; }
  .page-hero-grid, .page-hero--portrait .page-hero-grid, .split-section, .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-grid { padding-top: 12px; }
  .page-intro { font-size: 16px; }
  .hero-aside { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--border-strong); }
  .hero-aside .icon { width: 32px; height: 32px; margin-bottom: 12px; }
  .hero-aside .brand-symbol { width: 52px; margin-bottom: 16px; }
  .page-portrait { max-width: 440px; aspect-ratio: 4/3.6; }
  .wide-advisory-grid { grid-template-columns: 1fr; }
  .wide-advisory-grid .advisory-card { padding: 26px; }
  .wide-advisory-grid h3 { font-size: 25px; }
  .quiet-cta .container { flex-direction: column; align-items: start; gap: 24px; }
  .expert-panel { padding: 28px; }
  .project-mark { aspect-ratio: 2; font-size: 36px; }
  .timeline li { grid-template-columns: 1fr; gap: 12px; }
  .video-placeholder { aspect-ratio: auto; min-height: 260px; padding: 24px; }
  .prose h2 { font-size: 26px; }
  .form-feedback, .empty-state { padding: 24px; }
}
@media(max-width: 519px) {
  .page-hero h1 { font-size: 34px; }
  .search-row { flex-direction: column; }
  .steps, .review-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .contact-form .button { width: 100%; }
  .content-switch { gap: 4px; }
  .content-switch a { padding-inline: 12px; font-size: 14px; }
  .page-hero .button { width: 100%; }
  .page-note { padding: 14px; }
}
