/* North Texas Move Matchmaker — a focused, app-like layer over the existing brand system. */
.matchmaker-page { background: #edf2f3; overflow-anchor: none; }
.matchmaker-page [hidden] { display: none !important; }
.matchmaker-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(1180px, calc(100% - 2rem)); min-height: 5.5rem; margin: 0 auto; }
.matchmaker-brand img { width: clamp(10rem, 18vw, 12.5rem); }
.matchmaker-exit { color: var(--muted); font-size: .82rem; font-weight: 700; }
.matchmaker-exit:hover { color: var(--ink); }
.matchmaker-main { padding: 1rem 0 0; }
.matchmaker-app { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }
.matchmaker-shell { min-height: min(720px, calc(100vh - 8rem)); display: grid; align-items: center; padding: clamp(2rem, 6vw, 5rem) 0; }
.matchmaker-welcome, .matchmaker-question-region, .matchmaker-results, .matchmaker-lead { width: 100%; }
.matchmaker-welcome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); min-height: 560px; background: var(--ink); color: #fff; box-shadow: 0 24px 70px rgb(19 37 61 / .18); }
.matchmaker-welcome-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 7vw, 6rem); }
.matchmaker-eyebrow { color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.matchmaker-welcome .matchmaker-eyebrow, .matchmaker-lead .matchmaker-eyebrow { color: var(--sky); }
.matchmaker-welcome h1 { max-width: 11ch; margin-top: 1rem; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.matchmaker-lede { max-width: 52ch; margin-top: 1.6rem; color: #d7e2e7; font-size: clamp(1.03rem, .94rem + .28vw, 1.2rem); }
.matchmaker-welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; margin-top: 2.2rem; }
.matchmaker-duration, .matchmaker-trust { color: #c7d6dd; font-size: .78rem; }
.matchmaker-trust { margin-top: 2.6rem; }
.matchmaker-form-status { max-width: 42ch; margin-top: 1.4rem; padding: .85rem 1rem; border-left: 3px solid var(--gold); background: rgb(255 255 255 / .1); color: #fff; font-size: .84rem; }
.matchmaker-form-status-error { border-left-color: #efb2a9; }
.matchmaker-welcome-aside { display: flex; align-items: flex-end; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(145deg, #23466a, #13253d 72%); }
.matchmaker-welcome-aside p { color: #c7d6dd; font: 400 clamp(1.2rem, 2vw, 1.9rem)/1.25 var(--font-display); }
.matchmaker-welcome-aside strong { color: #fff; font-weight: 500; }
.matchmaker-question-region { max-width: 920px; margin: 0 auto; }
.matchmaker-question-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.matchmaker-progress { height: 4px; overflow: hidden; background: rgb(19 37 61 / .12); }
.matchmaker-progress span { display: block; height: 100%; background: var(--gold); transition: width 420ms cubic-bezier(.16, 1, .3, 1); }
.matchmaker-question-region form { display: flex; flex-direction: column; height: 50rem; min-height: 50rem; overflow: hidden; margin-top: clamp(2rem, 5vw, 4.5rem); padding: clamp(1.5rem, 5vw, 4rem); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.matchmaker-fieldset { display: flex; flex: 1; flex-direction: column; min-height: 0; border: 0; }
.matchmaker-fieldset legend { max-width: 24ch; color: var(--ink); font: 500 clamp(2.2rem, 4vw, 4.2rem)/1.08 var(--font-display); letter-spacing: -.035em; }
.matchmaker-helper { max-width: 52ch; margin-top: 1rem; color: var(--muted); }
.matchmaker-answer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2.4rem; }
.matchmaker-answer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 6rem; min-height: 6rem; padding: 1.2rem 1.25rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); cursor: pointer; transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease); }
.matchmaker-answer:hover { border-color: var(--ink-2); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.matchmaker-answer.is-selected { background: #e3edf1; border-color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-2); }
.matchmaker-answer input { position: absolute; opacity: 0; pointer-events: none; }
.matchmaker-answer span { font-weight: 700; line-height: 1.35; }
.matchmaker-answer b { color: var(--gold); font-size: 1.1rem; font-weight: 400; }
.matchmaker-answer:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.matchmaker-question-actions, .matchmaker-result-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; }
.matchmaker-question-actions { margin-top: auto; padding-top: 2.4rem; }
.matchmaker-question-actions > div, .matchmaker-result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.matchmaker-button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .82rem 1.2rem; border: 1px solid transparent; font-size: .88rem; font-weight: 700; cursor: pointer; transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease); }
.matchmaker-button:hover:not(:disabled) { transform: translateY(-2px); }
.matchmaker-button:disabled { cursor: not-allowed; opacity: .45; }
.matchmaker-button-primary { background: #fff; color: var(--ink); }
.matchmaker-button-primary:hover:not(:disabled) { background: var(--sky); }
.matchmaker-button-dark { background: var(--ink); color: #fff; }
.matchmaker-button-dark:hover:not(:disabled) { background: var(--ink-2); }
.matchmaker-button-light { background: transparent; border-color: var(--line); color: var(--ink); }
.matchmaker-button-light:hover:not(:disabled) { border-color: var(--ink); background: var(--mist); }
.matchmaker-text-button { padding: .3rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ink-2); font-size: .82rem; font-weight: 700; cursor: pointer; }
.matchmaker-text-button:hover { color: var(--ink); }
.matchmaker-results { max-width: 1080px; margin: 0 auto; }
.matchmaker-results-heading { max-width: 700px; }
.matchmaker-results-heading h2 { margin-top: .6rem; }
.matchmaker-results-heading > p:not(.matchmaker-eyebrow) { margin-top: 1rem; color: var(--muted); }
.matchmaker-result-note { padding: 1rem 1.2rem; border-left: 3px solid var(--gold); background: #f4ecdf; color: var(--ink) !important; font-size: .9rem; }
.matchmaker-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 3rem; }
.matchmaker-carousel { margin-top: 3rem; }
.matchmaker-carousel:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.matchmaker-carousel-viewport { overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.matchmaker-carousel-track { display: flex; width: 100%; transition: transform 480ms cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.matchmaker-carousel-slide { flex: 0 0 100%; min-width: 100%; padding: 1px; }
.matchmaker-carousel-slide .matchmaker-city-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto auto 1fr auto; column-gap: clamp(2rem, 6vw, 6rem); row-gap: 1.2rem; min-height: 32rem; padding: clamp(2rem, 5vw, 4rem); border: 0; }
.matchmaker-carousel-slide .matchmaker-city-card:first-child { border-top: 3px solid var(--gold); }
.matchmaker-carousel-slide .matchmaker-city-card-top, .matchmaker-carousel-slide .matchmaker-city-card h3, .matchmaker-carousel-slide .matchmaker-card-link { grid-column: 1 / -1; }
.matchmaker-carousel-slide .matchmaker-city-card h3 { max-width: 25ch; margin-top: 1.8rem; font-size: clamp(2rem, 3.3vw, 3.6rem); }
.matchmaker-carousel-slide .matchmaker-reasons, .matchmaker-carousel-slide .matchmaker-prompts { align-self: start; margin-top: .8rem; }
.matchmaker-carousel-slide .matchmaker-card-link { margin-top: 1rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.matchmaker-carousel-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.matchmaker-carousel-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 42px; padding: .5rem .75rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: .78rem; font-weight: 700; cursor: pointer; }
.matchmaker-carousel-button:hover:not(:disabled) { border-color: var(--ink-2); background: var(--mist); }
.matchmaker-carousel-button:disabled { cursor: not-allowed; opacity: .35; }
.matchmaker-carousel-button-next { justify-self: end; }
.matchmaker-carousel-position { display: flex; align-items: baseline; gap: .4rem; color: var(--muted); font-size: .8rem; }
.matchmaker-carousel-position strong { color: var(--ink); font: 500 1.6rem/1 var(--font-display); }
.matchmaker-carousel-position em { margin-left: .55rem; color: var(--ink-2); font-style: normal; font-weight: 700; }
.matchmaker-carousel-progress { height: 3px; margin-top: .8rem; overflow: hidden; background: rgb(19 37 61 / .12); }
.matchmaker-carousel-progress span { display: block; width: 33.333%; height: 100%; background: var(--gold); transition: width 480ms cubic-bezier(.16, 1, .3, 1); }
.matchmaker-carousel-hint { margin-top: .7rem; color: var(--muted); font-size: .72rem; text-align: right; }
.matchmaker-city-card { display: flex; flex-direction: column; min-height: 100%; padding: 1.45rem; background: var(--surface); border: 1px solid var(--line); }
.matchmaker-city-card:first-child { border-top: 3px solid var(--gold); }
.matchmaker-city-card-top { display: flex; justify-content: space-between; gap: 1rem; }
.matchmaker-rank { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.matchmaker-city-name { color: var(--ink-2); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.matchmaker-city-card h3 { margin-top: 2.1rem; font-size: clamp(1.45rem, 1.7vw, 1.9rem); }
.matchmaker-reasons, .matchmaker-prompts { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.matchmaker-reasons p, .matchmaker-prompts p { color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.matchmaker-reasons ul, .matchmaker-prompts ul { margin-top: .55rem; padding-left: 1rem; color: var(--muted); font-size: .84rem; line-height: 1.48; }
.matchmaker-reasons li + li, .matchmaker-prompts li + li { margin-top: .45rem; }
.matchmaker-card-link { margin-top: auto; padding-top: 1.5rem; color: var(--ink); font-size: .86rem; font-weight: 700; }
.matchmaker-card-link:hover { color: var(--ink-2); }
.matchmaker-lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 1rem; padding: clamp(2rem, 5vw, 4rem); background: var(--ink); color: #fff; }
.matchmaker-lead-copy h2 { margin-top: .65rem; color: #fff; }
.matchmaker-lead-copy > p:not(.matchmaker-eyebrow) { margin-top: 1rem; color: #d7e2e7; }
.matchmaker-lead-copy .matchmaker-button { margin-top: 1.8rem; }
.matchmaker-lead-form-wrap { align-self: center; }
.matchmaker-lead-form { display: grid; gap: 1rem; }
.matchmaker-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.matchmaker-lead-form label { display: grid; gap: .35rem; color: #d7e2e7; font-size: .78rem; font-weight: 700; }
.matchmaker-lead-form label span { color: #9fb0b8; font-weight: 400; }
.matchmaker-lead-form input:not([type="checkbox"]), .matchmaker-lead-form textarea { width: 100%; padding: .75rem .8rem; border: 1px solid rgb(255 255 255 / .24); border-radius: 0; background: rgb(255 255 255 / .09); color: #fff; outline: 0; }
.matchmaker-lead-form input:not([type="checkbox"]):focus, .matchmaker-lead-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgb(159 198 220 / .18); }
.matchmaker-lead-form textarea { resize: vertical; }
.matchmaker-consent { display: flex !important; grid-template-columns: auto 1fr; align-items: start; gap: .55rem; }
.matchmaker-consent input { margin-top: .3rem; accent-color: var(--gold); }
.matchmaker-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.matchmaker-form-note { color: #9fb0b8; font-size: .73rem; }
.matchmaker-aftercare { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 5rem; border-top: 1px solid var(--line); }
.matchmaker-aftercare-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.matchmaker-aftercare-heading h2 { margin-top: .5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.matchmaker-aftercare-heading p:last-child { max-width: 42ch; color: var(--muted); font-size: .9rem; }
.matchmaker-resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 1.8rem; }
.matchmaker-resource-card { padding: 1.3rem; background: rgb(255 253 249 / .66); border: 1px solid var(--line); }
.matchmaker-resource-card h3 { font-size: 1.35rem; }
.matchmaker-resource-card p { margin-top: .55rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.matchmaker-resource-card a { display: inline-flex; margin-top: 1rem; color: var(--ink-2); font-size: .82rem; font-weight: 700; }
.matchmaker-resource-card a:hover { color: var(--ink); }
.matchmaker-footer { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; padding: 1.1rem 0 1.8rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.matchmaker-footer-inner { display: flex; justify-content: space-between; gap: 1rem; }
.matchmaker-footer a:hover { color: var(--ink); }
@media (max-width: 800px) {
  .matchmaker-welcome { grid-template-columns: 1fr; }
  .matchmaker-welcome-aside { min-height: 210px; }
  .matchmaker-result-grid, .matchmaker-resource-grid { grid-template-columns: 1fr; }
  .matchmaker-carousel-slide .matchmaker-city-card { display: flex; min-height: 0; }
  .matchmaker-carousel-slide .matchmaker-city-card h3, .matchmaker-carousel-slide .matchmaker-reasons, .matchmaker-carousel-slide .matchmaker-prompts { grid-column: auto; }
  .matchmaker-carousel-slide .matchmaker-city-card h3 { max-width: 18ch; }
  .matchmaker-lead { grid-template-columns: 1fr; }
  .matchmaker-aftercare-heading { display: block; }
  .matchmaker-aftercare-heading p:last-child { margin-top: 1rem; }
}
@media (max-width: 560px) {
  .matchmaker-header { min-height: 4.8rem; }
  .matchmaker-exit { font-size: .74rem; }
  .matchmaker-main { padding-top: 0; }
  .matchmaker-shell { padding: 1rem 0 3rem; }
  .matchmaker-welcome-copy { padding: 2rem 1.4rem 2.5rem; }
  .matchmaker-welcome h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .matchmaker-welcome-aside { min-height: 160px; }
  .matchmaker-question-region form { padding: 1.25rem; }
  .matchmaker-question-region form { height: auto; min-height: 0; overflow: visible; }
  .matchmaker-answer-grid, .matchmaker-form-row { grid-template-columns: 1fr; }
  .matchmaker-answer { height: auto; min-height: 5.7rem; }
  .matchmaker-question-actions { align-items: flex-start; }
  .matchmaker-question-actions > div { justify-content: flex-end; }
  .matchmaker-result-actions { align-items: flex-start; flex-direction: column; }
  .matchmaker-carousel-controls { grid-template-columns: 1fr 1fr; }
  .matchmaker-carousel-position { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .matchmaker-carousel-button-next { justify-self: end; }
  .matchmaker-carousel-hint { text-align: left; }
  .matchmaker-footer-inner { flex-direction: column; }
}
@media print {
  .matchmaker-page { background: #fff; }
  .matchmaker-header, .matchmaker-aftercare, .matchmaker-footer, .matchmaker-welcome, .matchmaker-question-region, .matchmaker-lead, .matchmaker-result-actions, .matchmaker-carousel-controls, .matchmaker-carousel-progress, .matchmaker-carousel-hint { display: none !important; }
  .matchmaker-main, .matchmaker-app, .matchmaker-shell { width: 100%; min-height: 0; padding: 0; }
  .matchmaker-results { display: block !important; }
  .matchmaker-carousel-viewport { overflow: visible; border: 0; box-shadow: none; }
  .matchmaker-carousel-track { display: block; transform: none !important; }
  .matchmaker-carousel-slide { break-inside: avoid; }
  .matchmaker-city-card { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) {
  .matchmaker-progress span, .matchmaker-answer, .matchmaker-button { transition: none; }
}
