/* Advisory resource pages: Trust Structuring & Business Consulting (.ad-*).
   Built on the shared tokens (hero-lux.css / sections-lux.css / ci-pages.css). */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.req { color: var(--lx-gold); }

/* ---------- Hero art ---------- */
.ad-art { display: block; width: 100%; max-width: 480px; height: auto; margin-left: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,.45)); }
.ad-slab { animation: adFloat 8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); }
.ad-sweep { animation: adSweep 11s linear infinite; }
@keyframes adFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes adSweep { from { transform: translateX(-200px) skewX(-18deg); } to { transform: translateX(900px) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .ad-slab, .ad-sweep { animation: none; } .ad-sweep { display: none; } }
@media (max-width: 760px) { .ad-slab, .ad-sweep { animation: none; } .ad-sweep { display: none; } }
@media (max-width: 900px) { .ad-art { max-width: 340px; margin: 12px auto 0; } }
.ad-disc { margin: 20px 0 0; max-width: 40em; font-size: 13.5px; line-height: 1.65; color: rgba(245,242,235,.78); }
.ad-disc-center { margin: 28px auto 0; max-width: 56em; text-align: center; }

/* ---------- Shared layout ---------- */
.ad-split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.ad-prose { font-size: 17px; line-height: 1.75; color: #1B242E; }
.ad-prose p { margin: 0 0 1.1em; }
.ad-dl { margin: 2em 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.ad-dl > div { padding-top: 14px; border-top: 1px solid rgba(198,166,103,.7); }
.ad-dl dt { font: 400 1.35rem/1.25 var(--lx-font-serif); color: var(--sx-ink); }
.ad-dl dd { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: #35424F; }
.ad-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 2em 0 1em; }
.ad-principles > div { padding-top: 14px; border-top: 1px solid rgba(198,166,103,.7); }
.ad-principles h3 { margin: 0 0 6px; font: 400 1.5rem/1.2 var(--lx-font-serif); color: var(--sx-ink); }
.ad-principles p { margin: 0; font-size: 15px; line-height: 1.6; color: #35424F; }
.ad-note { margin: 24px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--lx-platinum); max-width: 52em; }
.ad-note-ink, .ad-prose .ad-note { color: #35424F; }
.ad-lede-ink { color: #35424F; }

/* ---------- Explorer (shared by trust + clarity) ---------- */
.ad-pick { border: 0; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); min-width: 0; }
.ad-pick-s { grid-template-columns: repeat(3, 1fr); }
.ad-opt { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; cursor: pointer; border: 1px solid rgba(198,166,103,.3); border-radius: 6px; background: linear-gradient(170deg, rgba(27,36,46,.9), rgba(13,27,42,.9)); color: var(--lx-ivory); transition: border-color .3s, background .3s, transform .3s; }
.ad-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ad-opt:hover { border-color: rgba(198,166,103,.75); }
.ad-opt:has(input:focus-visible) { outline: 2px solid var(--lx-gold-hi); outline-offset: 3px; }
.ad-opt.is-on { border-color: var(--lx-gold); background: linear-gradient(170deg, rgba(198,166,103,.22), rgba(27,36,46,.92)); box-shadow: 0 0 0 1px var(--lx-gold) inset; }
.ad-opt-n { font: 400 1.4rem/1 var(--lx-font-serif); color: var(--lx-gold); }
.ad-opt-t { font: 400 1.35rem/1.2 var(--lx-font-serif); }
.ad-opt-d { font-size: 14px; line-height: 1.55; color: rgba(245,242,235,.8); }
.rv-light .ad-opt { background: #fff; color: var(--sx-ink); border-color: rgba(13,27,42,.2); }
.rv-light .ad-opt-n { color: #7A5F28; }
.rv-light .ad-opt.is-on { background: #FBF6E8; border-color: #B08F45; box-shadow: 0 0 0 1px #B08F45 inset; }
.ad-detail-wrap { min-height: 80px; }
.ad-prompt { margin: 0; padding: 18px 0; font-size: 15px; color: var(--lx-platinum); }
.rv-light .ad-prompt { color: #35424F; }
.ad-detail { padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(198,166,103,.4); border-left: 3px solid var(--lx-gold); border-radius: 6px; background: rgba(27,36,46,.7); margin-top: 16px; }
.ad-detail[hidden] { display: none; }
.ad-detail h3 { margin: 0 0 10px; font: 400 clamp(1.7rem, 1.3rem + 1vw, 2.3rem)/1.15 var(--lx-font-serif); color: var(--lx-ivory); }
.ad-detail p { margin: 0 0 16px; max-width: 52em; font-size: 16.5px; line-height: 1.7; color: rgba(245,242,235,.88); }
.ad-detail h4 { margin: 0 0 8px; font: 700 12px/1.4 var(--lx-font-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold); }
.ad-detail ul { margin: 0 0 22px; padding-left: 1.2em; max-width: 52em; font-size: 15.5px; line-height: 1.65; color: rgba(245,242,235,.88); }
.ad-detail li { margin-bottom: 6px; }
.rv-light .ad-detail { background: #fff; border-color: rgba(13,27,42,.15); border-left-color: #B08F45; }
.rv-light .ad-detail h3 { color: var(--sx-ink); }
.rv-light .ad-detail p, .rv-light .ad-detail ul { color: #1B242E; }
.rv-light .ad-detail h4 { color: #7A5F28; }

/* ---------- Trust advisory areas ---------- */
.ad-areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.ad-area { position: relative; padding: 26px 26px 30px; background: #fff; border-top: 2px solid #B08F45; box-shadow: 0 18px 40px -28px rgba(13,27,42,.4); transition: transform .35s var(--lx-ease), box-shadow .35s; }
.ad-area:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -26px rgba(13,27,42,.5); }
.ad-area-n { font: 400 1.5rem/1 var(--lx-font-serif); color: #7A5F28; }
.ad-glyph { display: block; width: 64px; height: 64px; margin: 14px 0 12px; }
.rv-light .ad-glyph { stroke: #8F7440; }
.ad-area h3 { margin: 0 0 8px; font: 400 1.55rem/1.2 var(--lx-font-serif); color: var(--sx-ink); }
.ad-area p { margin: 0; font-size: 15px; line-height: 1.65; color: #35424F; }

/* ---------- Consulting rows ---------- */
.ad-rows { display: grid; gap: clamp(16px, 2vw, 26px); margin-top: clamp(28px, 4vw, 48px); }
.ad-row { display: grid; grid-template-columns: 220px 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(22px, 2.6vw, 34px); border: 1px solid rgba(198,166,103,.3); border-radius: 6px; background: linear-gradient(170deg, rgba(27,36,46,.85), rgba(13,27,42,.85)); transition: border-color .35s; }
.ad-row:hover { border-color: rgba(198,166,103,.75); }
.ad-row-r { grid-template-columns: 1fr 220px; }
.ad-row-r .ad-row-art { order: 2; }
.ad-row-art { display: grid; place-items: center; aspect-ratio: 1 / .8; border: 1px solid rgba(198,166,103,.25); border-radius: 4px; background: radial-gradient(80% 80% at 50% 40%, rgba(18,63,72,.55), rgba(9,13,18,.6)); }
.ad-row-art .ad-glyph { width: 96px; height: 96px; margin: 0; }
.ad-row .ad-area-n { color: var(--lx-gold); }
.ad-row h3 { margin: 6px 0 8px; font: 400 clamp(1.7rem, 1.3rem + 1vw, 2.2rem)/1.15 var(--lx-font-serif); color: var(--lx-ivory); }
.ad-row p { margin: 0; max-width: 46em; font-size: 16px; line-height: 1.7; color: rgba(245,242,235,.86); }

/* ---------- Process ---------- */
.ad-steps4 { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.ad-steps4 li { padding-top: 16px; border-top: 1px solid rgba(198,166,103,.7); }
.ad-steps4 span { font: 400 2rem/1 var(--lx-font-serif); color: var(--lx-gold); }
.ad-steps4 h3 { margin: 10px 0 6px; font: 400 1.4rem/1.25 var(--lx-font-serif); color: var(--lx-ivory); }
.ad-steps4 p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(245,242,235,.84); }
.ad-tl { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; max-width: 820px; }
.ad-tl li { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding-bottom: 34px; }
.ad-tl li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 6px; width: 1px; background: linear-gradient(#B08F45, rgba(176,143,69,.15)); }
.ad-tl li:last-child::before { display: none; }
.ad-tl-n { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #B08F45; border-radius: 50%; background: #fff; font: 400 1.15rem/1 var(--lx-font-serif); color: #7A5F28; }
.ad-tl h3 { margin: 6px 0 4px; font: 400 1.5rem/1.2 var(--lx-font-serif); color: var(--sx-ink); }
.ad-tl p { margin: 0; font-size: 16px; line-height: 1.65; color: #35424F; }
.ad-auds { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 24px); }
.ad-aud { padding: 24px 28px; border: 1px solid rgba(198,166,103,.3); border-left: 3px solid var(--lx-gold); border-radius: 6px; background: rgba(27,36,46,.7); }
.ad-aud h3 { margin: 0 0 6px; font: 400 1.5rem/1.2 var(--lx-font-serif); color: var(--lx-ivory); }
.ad-aud p { margin: 0; font-size: 15.5px; line-height: 1.65; color: rgba(245,242,235,.86); }

/* ---------- Inquiry ---------- */
.ad-inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.ad-facts { margin: 0 0 24px; padding-left: 1.1em; font-size: 15.5px; line-height: 1.7; color: rgba(245,242,235,.88); }
.ad-facts li { margin-bottom: 8px; }
.ad-facts a, .ad-co a { color: var(--lx-gold-hi); }
.ad-co { font-style: normal; font-size: 14.5px; line-height: 1.75; color: rgba(245,242,235,.8); padding-top: 18px; border-top: 1px solid rgba(198,166,103,.35); }
.ad-form-wrap { padding: clamp(24px, 3vw, 40px); border: 1px solid rgba(198,166,103,.4); border-radius: 6px; background: rgba(27,36,46,.62); }
.ad-form h3, .ad-done h3 { margin: 0 0 6px; font: 400 1.9rem/1.2 var(--lx-font-serif); color: var(--lx-ivory); }
.ad-form .sub { margin: 0 0 22px; font-size: 14px; color: var(--lx-platinum); }
.ad-fs { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.ad-fs legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-ivory); }
.ad-fs legend i { font-style: normal; font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--lx-platinum); }
.ad-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-chk { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(170,181,190,.4); border-radius: 4px; font-size: 14px; color: var(--lx-ivory); cursor: pointer; }
.ad-chk input { width: 18px; height: 18px; accent-color: var(--lx-gold); flex: none; }
.ad-chk:has(input:checked) { border-color: var(--lx-gold); background: rgba(198,166,103,.12); }
.ad-chk:has(input:focus-visible) { outline: 2px solid var(--lx-gold-hi); outline-offset: 2px; }
.ad-privacy { margin: 4px 0 16px; padding: 12px 14px; border-left: 3px solid var(--lx-gold); background: rgba(198,166,103,.08); font-size: 13.5px; line-height: 1.6; color: rgba(245,242,235,.9); }
.ad-done { display: none; }
.ad-done.show { display: block; }
.ad-done p { font-size: 16px; line-height: 1.65; color: rgba(245,242,235,.88); }
.ad-done a:not(.lx-btn) { color: var(--lx-gold-hi); }
.ad-close { padding: clamp(64px, 8vw, 110px) 0; text-align: center; background: radial-gradient(70% 120% at 50% 0%, rgba(18,63,72,.5), transparent 70%), linear-gradient(180deg, #0D1B2A, #090D12); border-top: 1px solid rgba(198,166,103,.3); }
.ad-close .rv-h2 { margin-left: auto; margin-right: auto; }
.ad-close .lx-btn { margin-top: 10px; }

/* FAQ on ivory */
.ad-faq-light .rv-faq { border-top-color: rgba(13,27,42,.18); }
.ad-faq-light .rv-faq:last-of-type { border-bottom-color: rgba(13,27,42,.18); }
.ad-faq-light .rv-faq summary { color: var(--sx-ink); }
.ad-faq-light .rv-faq summary::after { color: #7A5F28; }
.ad-faq-light .rv-faq p { color: #35424F; }
.ad-faq-light .rv-faq a { color: #7A5F28; }

/* Legacy global `nav` rule must not affect breadcrumbs here (reset lives in hero-lux.css) */
.ad-form input:focus-visible, .ad-form select:focus-visible, .ad-form textarea:focus-visible, .ad-detail .lx-btn:focus-visible { outline: 2px solid var(--lx-gold-hi); outline-offset: 2px; }

@media (max-width: 1100px) {
  .ad-pick { grid-template-columns: repeat(2, 1fr); }
  .ad-areas { grid-template-columns: repeat(2, 1fr); }
  .ad-steps4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ad-split, .ad-inq-grid { grid-template-columns: 1fr; }
  .ad-row, .ad-row-r { grid-template-columns: 1fr; }
  .ad-row-r .ad-row-art { order: 0; }
  .ad-row-art { aspect-ratio: auto; padding: 18px; justify-self: start; width: 140px; }
  .ad-row-art .ad-glyph { width: 72px; height: 72px; }
  .ad-pick-s { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ad-pick, .ad-pick-s, .ad-areas, .ad-steps4, .ad-auds, .ad-dl, .ad-principles { grid-template-columns: 1fr; }
  .ad-checks { grid-template-columns: 1fr; }
}

/* Gradient strokes vanish on perfectly straight paths (zero-size bbox), so use solid gold */
.ad-flow { stroke: #C6A667; opacity: .85; }
