/* site/phosphor-ask.css
 *
 * THE ONE ASK, the partner line and the quiz. Otto, 31 October 2026, on Aster's
 * brief ("Phosphor becomes the fun resource") and Ion's rules for it. Tyler: "Hey,
 * where are you located? ... Talk to us about what you're looking for. If you want
 * to get in direct contact with the dealerships, we'll get you in direct contact."
 *
 * Linked by scripts/phosphor-clean.mjs (rules 9 to 11) on every page, before
 * /contrast.css so Aster's measured fixes still win. Phosphor Night's own palette:
 * night #111714, graphite #171b1c, slate #20272a for doors on dark, lime #C5D957 as
 * the one accent, paper #F1F2E9 and silver blue #A4B8C4 for the quiet words.
 * Measured with the playbook's one liner:
 *   paper #F1F2E9 on night #111714 15.9, on slate #20272a 13.3
 *   silver blue #A4B8C4 on night 8.9, on slate 7.5
 *   lime #C5D957 on night 11.0, night ink #111714 on lime 11.0
 * No oxford commas, no em dashes. */

.ph-ask {
  margin: 40px 40px 16px;
  padding: clamp(36px, 5vw, 64px) clamp(22px, 4vw, 56px);
  border-radius: 22px;
  background: radial-gradient(ellipse 60% 80% at 92% 0%, rgba(197, 217, 87, 0.12), rgba(197, 217, 87, 0) 60%), #111714;
  color: #f1f2e9;
  font-family: 'Phosphor Sans', Geist, Arial, sans-serif;
}
@media (max-width: 760px) {
  .ph-ask {
    margin: 24px 12px 12px;
  }
}
.ph-ask__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  max-width: 1320px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .ph-ask__in {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-ask__k {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #c5d957;
  color: #111714;
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ph-ask h2,
.ph-quiz h1,
.ph-res h2 {
  margin: 18px 0 0;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #f1f2e9;
}
.ph-ask__head p {
  max-width: 44ch;
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-ask__doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 560px) {
  .ph-ask__doors {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-ask__door {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 170px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(241, 242, 233, 0.16);
  border-radius: 18px;
  background: #20272a;
  color: #f1f2e9;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ph-ask__door:hover,
.ph-ask__door:focus-visible {
  border-color: #c5d957;
  transform: translateY(-2px);
}
.ph-ask__door--talk {
  border-color: rgba(197, 217, 87, 0.55);
}
.ph-ask__n {
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #c5d957;
}
.ph-ask__door b {
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ph-ask__door span:not(.ph-ask__n) {
  font-size: 15px;
  line-height: 1.5;
  color: #a4b8c4;
}
.ph-ask__door i {
  position: absolute;
  top: 18px;
  right: 20px;
  font-style: normal;
  font-size: 20px;
  color: #c5d957;
}
.ph-ask__doors--sm .ph-ask__door {
  min-height: 0;
}
.ph-ask__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 15px;
}
.ph-ask__more a,
.ph-ask__more button {
  padding: 0;
  border: 0;
  background: none;
  color: #f1f2e9;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #c5d957;
  text-underline-offset: 4px;
  cursor: pointer;
}
.ph-ask__sq {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c5d957;
}

/* the home hero's one line */
.ph-ask-hero {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.ph-ask-hero a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* the partner line in every footer (Ion's honest line) */
.ph-partners {
  flex-basis: 100%;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.86;
}

/* ---------------------------------------------------------------- the quiz */
.ph-quiz-page {
  padding: 0 0 8px;
}
.ph-quiz {
  margin: 24px 40px 0;
  padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 56px);
  border-radius: 22px;
  background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(197, 217, 87, 0.14), rgba(197, 217, 87, 0) 60%), #111714;
  color: #f1f2e9;
  font-family: 'Phosphor Sans', Geist, Arial, sans-serif;
}
@media (max-width: 760px) {
  .ph-quiz {
    margin: 12px 12px 0;
  }
}
.ph-quiz__intro p {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-quiz__form {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.ph-q {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(241, 242, 233, 0.14);
  border-radius: 18px;
  background: #171b1c;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 900px) {
  .ph-q {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .ph-q {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-q legend {
  float: left;
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 6px;
  font-family: 'Phosphor Display', 'Phosphor Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: #f1f2e9;
}
.ph-q legend span {
  display: block;
  margin-bottom: 8px;
  font: 500 12px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  color: #c5d957;
}
.ph-q label {
  position: relative;
  display: block;
  cursor: pointer;
}
.ph-q input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.ph-q label span {
  display: flex;
  align-items: center;
  min-height: 64px;
  height: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(241, 242, 233, 0.2);
  border-radius: 14px;
  background: #20272a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #f1f2e9;
  transition: border-color 0.15s, background 0.15s;
}
.ph-q input:checked + span {
  border-color: #c5d957;
  background: #c5d957;
  color: #111714;
}
.ph-q input:focus-visible + span {
  outline: 3px solid #c5d957;
  outline-offset: 2px;
}
.ph-quiz__go {
  justify-self: start;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: #c5d957;
  color: #111714;
  font: 600 17px/1 'Phosphor Sans', Geist, Arial, sans-serif;
  cursor: pointer;
}
.ph-res {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .ph-res {
    grid-template-columns: minmax(0, 1fr);
  }
}
.ph-res__pic {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(241, 242, 233, 0.14), rgba(241, 242, 233, 0) 70%), #171b1c;
}
.ph-res__pic img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.ph-res__pic figcaption {
  margin-top: 8px;
  font: 500 11px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a4b8c4;
}
.ph-res__body {
  margin: 10px 0 0;
  font: 500 13px/1 'Geist Mono', ui-monospace, monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5d957;
}
.ph-res__txt > p {
  font-size: 17px;
  line-height: 1.55;
  color: #a4b8c4;
}
.ph-res__txt > p.ph-res__ask {
  margin: 22px 0 12px;
  color: #f1f2e9;
  font-weight: 600;
}
.ph-quiz__nojs a {
  color: #f1f2e9;
}
