/* Shared functional components: navigation, catalog, reading, feedback. */
.and-site { --muted: #595959; }
.ui-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; width: 24px; height: 24px; }
.action-button .ui-icon, .text-link .ui-icon, .nav-contact .ui-icon { width: 26px; height: 26px; transition: transform .2s ease; }
.action-button:hover .ui-icon, .text-link:hover .ui-icon, .nav-contact:hover .ui-icon { transform: translateX(3px); }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow .ui-icon { width: 21px; height: 21px; color: var(--firm-red); }
.card-number, .situation-number, .step-number, .role-index { display: inline-flex; color: var(--firm-red); }
.card-number .ui-icon, .situation-number .ui-icon, .step-number .ui-icon { width: 30px; height: 30px; }
.and-site .hero-description { font-size: 19px; }
.and-site .hero-note, .and-site .panel-topline, .and-site .panel-bottom, .and-site .service-tag, .and-site .eyebrow, .and-site .site-footer p, .and-site .footer-copyright { font-size: 14px; }
.and-site .role-description, .and-site .card-intro, .and-site .section-heading p, .and-site .service-list li span:last-child, .and-site .section-footnote p, .and-site .section-intro, .and-site .situation-card p, .and-site .process-step p, .and-site .contact-description { font-size: 17px !important; line-height: 1.7; }
.and-site .service-list li span:first-child { font-size: 18px; }
.and-site .field-label, .and-site .form-status { font-size: 15px; }
.and-site .field-optional { font-size: 13px; }
.and-site .role-stage { min-height: 178px; }
.and-site .rotation-toggle { min-width: 128px; }
.and-site .rotation-toggle { font-size: 14px !important; }
.and-site .situation-list p, .and-site .process-grid p { font-size: 17px; line-height: 1.75; }
.and-site .situation-list h3 a:hover { color: var(--firm-red); }
.and-site .process-grid li:hover .step-number { color: var(--firm-red); transform: translateY(-2px); }
.and-site .situation-card h3 a { color: inherit; text-decoration: none; }
.and-site .situation-card h3 a:hover { color: var(--firm-red); }
.and-site .service-card, .and-site .situation-card, .and-site .process-step { transition: border-color .2s, background-color .2s, transform .2s; }
.and-site .service-card:hover, .and-site .situation-card:hover { border-color: #dfaaa8; }
.and-site .process-step:hover .step-number { transform: translateY(-2px); }
.and-site .site-nav { gap: 22px; font-size: 15px; }
.and-site .nav-contact { display: inline-flex; align-items: center; gap: 12px; }
.and-site .site-nav a[aria-current="page"] { color: var(--firm-red); }
.nav-dropdown { position: relative; }
.nav-direction-label { display: flex; align-items: center; gap: 3px; }
.direction-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; min-height: 44px; border: 0; background: transparent; color: inherit; border-radius: 8px; cursor: pointer; }
.direction-toggle:hover, .direction-toggle[aria-expanded="true"] { color: var(--firm-red); background: #fff4f3; }
.direction-toggle .ui-icon { width: 20px; height: 20px; transition: transform .2s; }
.direction-toggle[aria-expanded="true"] .ui-icon { transform: rotate(180deg); }
.direction-panel { position: absolute; z-index: 20; top: calc(100% + 10px); left: -65px; width: 620px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border: 1px solid #e9e6e6; border-top: 2px solid var(--firm-red); border-radius: 15px; background: #fff; box-shadow: 0 18px 45px #22222212; }
.direction-column { display: flex; flex-direction: column; align-items: stretch; gap: 3px; }
.and-site .direction-column a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 7px; font-size: 15px; white-space: normal; }
.and-site .direction-column a:hover { color: var(--firm-red); background: #fff4f3; }
.and-site .direction-column .direction-title { font-size: 17px; font-weight: 600; padding-bottom: 15px; margin-bottom: 4px; border-bottom: 1px solid #eee; border-radius: 0; }
.direction-title .ui-icon:last-child { width: 20px; margin-left: auto; }
.direction-title .ui-icon { color: var(--firm-red); }
.and-site .contact-copy > p:not(.eyebrow) { font-size: 17px; line-height: 1.75; }
.and-site .contact-copy .contact-note { font-size: 15px !important; }
.and-site .field label { font-size: 15px; }
.and-site .field label span { font-size: 13px; }
.and-site .field input, .and-site .field select, .and-site .field textarea { font-size: 16px; }
.contact-checklist { margin-top: 25px; }
.contact-checklist h3 { margin-bottom: 14px; font-size: 21px; }
.contact-checklist li { font-size: 17px; line-height: 1.7; color: var(--muted); }
.page-intro { max-width: 900px; padding: 40px 0 46px; }
.and-site .page-intro h1 { font-size: clamp(36px, 4.8vw, 60px); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; margin: 20px 0; }
.page-description { max-width: 810px; font-size: 19px; line-height: 1.75; color: var(--muted); margin: 0; }
.catalog-section { margin-bottom: 52px; }
.catalog-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; }
.catalog-heading .ui-icon { color: var(--firm-red); }
.catalog-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.025em; }
.destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.destination-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid #e5e5e5; border-radius: 20px; background: #fafafa; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s, background-color .2s; }
.destination-card:hover { transform: translateY(-2px); border-color: #dfaaa8; box-shadow: 0 8px 20px #65000008; background: #fff; }
.destination-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }
.icon-tile { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: #fff1f0; color: var(--firm-red); border-radius: 13px; }
.card-arrow { color: #777; width: 28px; height: 28px; transition: color .2s, transform .2s; }
.destination-card:hover .card-arrow { color: var(--firm-red); transform: translate(2px,-2px); }
.destination-card h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 600; }
.destination-card:hover h3 { color: var(--firm-red); }
.destination-card p { font-size: 17px; line-height: 1.7; color: var(--muted); margin: 0; }
.card-label { font-size: 14px; color: var(--muted); margin-bottom: 9px; }
.reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 76px; align-items: start; padding-bottom: 76px; }
.reading-aside { position: sticky; top: 126px; }
.reading-section { padding: 30px 0; border-top: 1px solid #e7e7e7; }
.reading-section h2 { display: flex; align-items: flex-start; gap: 14px; font-size: 28px; line-height: 1.3; letter-spacing: -.025em; margin: 0 0 20px; }
.reading-section h2 .ui-icon { color: var(--firm-red); width: 27px; height: 27px; margin-top: 4px; }
.reading-section p, .reading-section li { font-size: 18px; line-height: 1.8; color: var(--muted); }
.reading-section p { margin: 0 0 17px; }
.reading-section h3 { font-size: 21px; line-height: 1.4; margin: 26px 0 10px; }
.plain-list { padding-left: 22px; margin: 0; }
.plain-list li { padding-left: 3px; margin-bottom: 12px; }
.plain-list li::marker { color: var(--firm-red); }
.summary-card { background: #f7f7f7; border: 1px solid #e9e9e9; border-radius: 18px; padding: 26px; }
.summary-card h2 { font-size: 21px; line-height: 1.35; margin: 0 0 20px; }
.summary-card li { font-size: 16px; line-height: 1.7; color: var(--muted); }
.summary-card .action-button { display: flex; justify-content: space-between; margin-top: 24px; padding: 15px 16px; font-size: 15px; }
.related-nav { padding: 24px 6px; }
.related-nav h2 { font-size: 15px; color: var(--muted); font-weight: 500; margin: 0 0 13px; }
.related-nav a { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid #e7e7e7; line-height: 1.5; font-size: 16px; }
.outcome-note { border-left: 2px solid var(--firm-red); padding: 18px 22px; background: #faf7f7; border-radius: 0 12px 12px 0; }
.faq-list details { border-bottom: 1px solid #e5e5e5; padding: 18px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 18px; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--firm-red); }
.faq-list summary .ui-icon { transition: transform .2s; }
.faq-list details[open] summary .ui-icon { transform: rotate(180deg); color: var(--firm-red); }
.faq-list details p { margin: 15px 0 0; font-size: 17px; }
.editorial-note { display: flex; gap: 20px; padding: 30px; border: 1px solid #e7e7e7; border-radius: 18px; margin-bottom: 52px; }
.editorial-note > .ui-icon { color: var(--firm-red); margin-top: 3px; }
.editorial-note h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.3; }
.editorial-note p { font-size: 18px; line-height: 1.75; color: var(--muted); }
.compact-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 38px; margin-bottom: 76px; border-radius: 20px; background: #f5f5f5; }
.compact-cta h2 { font-size: 31px; line-height: 1.25; letter-spacing: -.025em; margin: 16px 0; }
.compact-cta p:not(.eyebrow) { max-width: 650px; margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.compact-cta > .action-button { flex-shrink: 0; }
.brief-section { max-width: 950px; margin-bottom: 70px; }
.quiz-container { border: 1px solid #e5e5e5; border-radius: 20px; padding: 35px; }
.brief-progress { background: #ededed; height: 5px; border-radius: 3px; margin-bottom: 30px; overflow: hidden; }
#quizProgress { height: 100%; background: var(--firm-red); transition: width .25s; }
.quiz-step h3 { font-size: 28px; margin-bottom: 15px; }
.quiz-step p { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 20px; }
.quiz-step .row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.option-card { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 7px; padding: 20px; text-align: left; border: 1px solid #ddd; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.option-card:hover, .option-card.selected { border-color: var(--firm-red); background: #fff5f4; }
.option-title { font-size: 18px; font-weight: 600; }
.option-card small { font-size: 15px; line-height: 1.6; color: var(--muted); }
.quiz-step .form-control, .quiz-step .form-select { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 10px; color: #222; background: #fff; }
.quiz-step textarea { resize: vertical; }
.quiz-step .form-check { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; font-size: 18px; }
.quiz-step input[type="checkbox"], .quiz-step input[type="radio"] { width: 18px; height: 18px; accent-color: var(--firm-red); }
.brief-controls { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; }
.brief-back, .brief-reset { border: 0; background: transparent; padding: 12px 0; cursor: pointer; color: var(--muted); }
.brief-back:hover, .brief-reset:hover { color: var(--firm-red); }
.brief-note { color: var(--muted); font-size: 15px; line-height: 1.7; }
.brief-result-label { display: block; margin: 18px 0 10px; font-size: 15px; font-weight: 600; }
.brief-reset { font-size: 14px !important; text-decoration: underline; }
.and-site summary:focus-visible { outline: 2px solid var(--firm-red); outline-offset: 5px; }
@media (max-width: 1100px) {
  .direction-panel { left: -130px; }
  .and-site .site-nav { gap: 14px; }
  .destination-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reading-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 36px; }
}
@media (max-width: 900px) {
  .and-site .site-nav { gap: 10px; font-size: 14px; }
  .and-site .nav-contact { gap: 5px; }
}
@media (max-width: 800px) {
  .reading-layout { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .reading-aside { position: static; }
  .compact-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 700px) {
  .catalog-heading { flex-wrap: wrap; }
  .and-site .panel-bottom { flex-wrap: wrap; gap: 12px; }
  .and-site .rotator-controls { flex-wrap: wrap; gap: 8px; }
  .quiz-container { padding: 22px; }
  .quiz-step .row { grid-template-columns: 1fr; }
  .and-site .site-nav { font-size: 17px; max-height: calc(100dvh - 90px); overflow-y: auto; align-items: stretch; }
  .nav-direction-label { justify-content: space-between; }
  .direction-toggle { width: 44px; }
  .direction-panel { position: static; width: 100%; grid-template-columns: 1fr; padding: 16px; gap: 16px; box-shadow: none; margin: 5px 0 10px; }
  .and-site .direction-column a { font-size: 16px; padding: 10px; }
  .and-site .nav-contact { justify-content: space-between; }
  .page-intro { padding: 30px 0 32px; }
  .page-description { font-size: 18px; }
  .destination-grid { grid-template-columns: 1fr; gap: 15px; }
  .destination-card { padding: 24px; }
  .catalog-section { margin-bottom: 35px; }
  .reading-layout { padding-bottom: 45px; }
  .reading-section { padding: 25px 0; }
  .reading-section h2 { font-size: 25px; }
  .reading-section p, .reading-section li { font-size: 17px; }
  .compact-cta { padding: 25px; margin-bottom: 45px; }
  .compact-cta h2 { font-size: 28px; }
  .editorial-note { padding: 24px; gap: 14px; }
  .editorial-note h2 { font-size: 24px; }
  .and-site .process-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .and-site *, .and-site *::before, .and-site *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* Shared task brief: a compact introduction beside the existing step-by-step quiz. */
.brief-feature { display:grid; grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); align-items:start; gap:clamp(30px,5vw,72px); padding-block:72px; }
.brief-feature-copy { min-width:0; padding-top:16px; }
.brief-feature-copy h2 { margin:16px 0 20px; font-size:clamp(30px,3.2vw,42px); line-height:1.16; letter-spacing:-.035em; }
.brief-feature-copy > p:not(.eyebrow) { max-width:460px; color:var(--muted); font-size:17px; line-height:1.7; }
.brief-feature-copy .brief-feature-hint { margin-top:18px; font-size:15px !important; }
.brief-feature-copy .text-link { margin-top:22px; }
.brief-feature .quiz-container { min-width:0; background:var(--card-bg); border-color:var(--line); }
.brief-feature .brief-progress { background:var(--line); }
@media (max-width:900px) { .brief-feature { grid-template-columns:1fr; gap:28px; padding-block:48px; } .brief-feature-copy { padding-top:0; } }
@media (max-width:600px) { .brief-feature { padding-block:40px; } .brief-feature-copy > p:not(.eyebrow) { font-size:16px; } .brief-feature .quiz-container { padding:22px; } }
@media (max-width:359px) { .and-site .page-intro h1 { font-size:clamp(29px,9vw,32px); } }
