/* ============================================================================
   Timeless Legacy — expansion component styles (loaded after styles.css)
   Pathways, IDX empty state, communities, difference, process tabs, valuation,
   resources, client stories, footer columns, mobile CTA, a11y helpers.
   ============================================================================ */

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

#site-header { display: block; height: 100%; }

/* Fit the nav on one line: wider header, tighter gap, no text wrap, trimmer logo */
.site-header .container { max-width: 1340px; }
.brand-emblem { height: 52px; }
.nav { gap: 1.2rem; }
.nav a, .nav .nav-cta { white-space: nowrap; letter-spacing: 0.09em; }
@media (min-width: 941px) { .brand-word .wm { font-size: 1.32rem; } }
@media (min-width: 941px) and (max-width: 1340px) {
  .nav { gap: 0.72rem; }
  .nav a, .nav .nav-cta { font-size: 0.66rem; letter-spacing: 0.04em; }
  .nav .nav-cta { padding: 0.55rem 0.8rem; }
  .brand-emblem { height: 46px; }
  .brand-word .wm { font-size: 1.12rem; }
  .brand-word .wm-sub { font-size: 0.5rem; letter-spacing: 0.34em; }
}

.hero-trust { color: var(--ink-soft); font-size: 0.95rem; max-width: 520px; margin: 1.8rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(53,52,46,0.14); }

.text-cta { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 0.4rem; }
.text-cta:hover { color: var(--ink); }

/* first section clears the fixed header on non-hero pages */
.page-top { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); }

/* --- Pathways --- */
.pathway-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.pathway-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.pathway-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.pathway-icon { width: 40px; height: 40px; color: var(--gold-deep); margin-bottom: 1rem; }
.pathway-icon svg { width: 100%; height: 100%; }
.pathway-card h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.pathway-card p { font-size: 0.96rem; margin: 0 0 1.3rem; }
.pathway-card .text-cta { margin-top: auto; }

.team-photo[data-initials] .photo-label { letter-spacing: 0.08em; }

/* --- IDX empty state --- */
.idx-empty { max-width: 640px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem); box-shadow: var(--shadow-soft); }
.idx-empty-mark { width: 54px; height: 54px; color: var(--gold); margin: 0 auto 1rem; }
.idx-empty h3 { font-size: 1.7rem; margin-bottom: 0.6rem; }
.idx-empty p { font-size: 1rem; max-width: 460px; margin: 0 auto 1.6rem; }
.idx-empty-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

/* --- Communities --- */
.community-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.community-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; }
.community-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.community-media { aspect-ratio: 3 / 2; background: linear-gradient(150deg, var(--sage-soft), var(--sage)); background-size: cover; background-position: center; }
.community-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.community-body h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.community-body p { font-size: 0.92rem; margin: 0 0 1.1rem; }
.community-body .text-cta { margin-top: auto; }

/* --- Difference --- */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.diff-card { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); padding: 1.8rem 1.6rem; }
.diff-num { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold-soft); display: block; margin-bottom: 0.5rem; }
.diff-card h3 { font-size: 1.22rem; margin-bottom: 0.4rem; }
.diff-card p { font-size: 0.94rem; margin: 0; }

/* --- Process (tabs) --- */
.process { text-align: center; }
.process .process-tabs { display: inline-flex; gap: 0.3rem; padding: 0.35rem; background: var(--card); border: 1px solid var(--line); border-radius: 100px; margin: 0 auto 2.2rem; }
.process-tab { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); background: none; border: none; border-radius: 100px; padding: 0.65rem 1.6rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.process-tab.is-active { background: var(--gold); color: #fff; }
.process .section-head, .process-panel { text-align: left; }
.process-panel { max-width: 720px; margin: 0 auto; }
.process-list { display: grid; gap: 0.9rem; }
.process-step { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; text-align: left; }
.process-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.process-step h4 { font-size: 1.08rem; margin: 0 0 0.2rem; color: var(--ink); }
.process-step p { font-size: 0.92rem; margin: 0; }

/* --- Valuation form extras --- */
.req { color: var(--gold-deep); }
.valuation-form { margin-top: 0.5rem; }

/* --- Resources --- */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.resource-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.7rem; transition: transform .25s ease, box-shadow .25s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.resource-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.resource-card p { font-size: 0.94rem; margin: 0 0 1.2rem; }
.resource-card .text-cta { margin-top: auto; }

/* --- Client stories --- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.quote-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(219,199,141,0.22); border-radius: var(--radius); padding: 2rem 1.7rem; margin: 0; }
.quote-card blockquote { margin: 0 0 1.2rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: #fdfbf6; font-style: italic; }
.quote-card figcaption { color: var(--gold-soft); font-size: 0.82rem; letter-spacing: 0.04em; }

/* --- FAQ (details/summary) --- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.7rem; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-deep); font-family: var(--sans); font-size: 1.3rem; flex: none; transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 1.3rem 1.2rem; }
.faq-a p { margin: 0; font-size: 0.95rem; }

/* --- Footer columns --- */
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(253,251,246,0.55); margin: 0 0 0.9rem; font-weight: 600; }
.footer-col a { display: block; font-size: 0.9rem; margin-bottom: 0.55rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-soft); }
.footer-fine { font-size: 0.78rem !important; }
.footer-fine a { color: rgba(253,251,246,0.6); }
.footer-fine a:hover { color: var(--gold-soft); }
.site-footer .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }

/* --- Mobile sticky quick actions --- */
.mobile-cta { display: none; }

/* --- Page hero (internal pages) --- */
.page-hero { text-align: center; }
.page-hero .container { max-width: 780px; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p { font-size: 1.14rem; color: var(--ink-soft); margin: 1rem auto 0; }

@media (max-width: 940px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(247,242,232,0.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-cta a { text-align: center; padding: 0.95rem; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
  .mobile-cta a.primary { background: var(--gold); color: #fff; }
  body { padding-bottom: 54px; }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* --- Process disclaimer --- */
.process-disclaimer { max-width: 720px; margin: 1.8rem auto 0; text-align: center; font-size: 0.82rem; color: var(--ink-mute); font-style: italic; }

/* --- Buyer specialties chips --- */
.specialty-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; max-width: 780px; margin: 0 auto; }
.specialty-chip { background: var(--card); border: 1px solid var(--gold-soft); border-radius: 100px; padding: 0.7rem 1.4rem; font-size: 0.9rem; color: var(--ink); }
