/* =========================================================
   Contact page (night theme). Shared bar/signal/close: night.css.
   Night photo opener, Daylight choices, coral affiliate block,
   night team, green close.
   ========================================================= */

.cx-h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.8rem); letter-spacing: -0.04em; }

/* ---------- Opener ---------- */
.cx-hero { position: relative; min-height: 56svh; display: grid; align-items: end; overflow: clip; background: var(--night); color: #fff; }
.cx-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 55% 55%; }
.cx-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 15, 20, 0.94) 0%, rgba(11, 15, 20, 0.75) 40%, rgba(11, 15, 20, 0.15) 78%), linear-gradient(0deg, rgba(11, 15, 20, 0.6), rgba(11, 15, 20, 0) 40%); }
.cx-hero-copy { position: relative; z-index: 2; padding-block: clamp(96px, 18svh, 180px) clamp(44px, 8svh, 80px); }
.cx-title { margin: 0; font-size: clamp(3.4rem, 9vw, 8rem); line-height: 0.92; letter-spacing: -0.05em; color: #fff; }
.cx-title span { color: var(--sc-accent); }
.cx-lead { margin: 1.1rem 0 0; max-width: 40ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dde3ea; }
@media (prefers-reduced-motion: no-preference) { .cx-hero-img { animation: cx-settle 1.6s var(--sc-ease-out) both; } }
@keyframes cx-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (max-width: 700px) { .cx-hero-scrim { background: linear-gradient(0deg, rgba(11, 15, 20, 0.95) 0%, rgba(11, 15, 20, 0.7) 50%, rgba(11, 15, 20, 0.25) 90%); } }

/* ---------- Two choices (Daylight) ---------- */
.cx-choices { background: var(--bg); padding-block: clamp(56px, 9vw, 110px); }
.cx-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cx-choice {
  display: flex; flex-direction: column; min-height: clamp(320px, 42svh, 440px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); transition: transform 200ms var(--sc-ease-out), box-shadow 200ms var(--sc-ease-out);
}
.cx-choice:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(60, 45, 30, 0.06), 0 22px 44px -22px rgba(60, 45, 30, 0.3); }
.cx-choice:active { transform: translateY(0); }
.cx-choice--dark { background: var(--night); border-color: var(--night); color: #fff; }
.cx-choice-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; }
.cx-choice--dark .cx-choice-icon { background: rgba(88, 101, 242, 0.2); color: #aab3ff; }
.cx-choice-kicker { margin-top: auto; padding-top: 2rem; font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.cx-choice--dark .cx-choice-kicker { color: var(--night-soft); }
.cx-choice-title { margin-top: 0.4rem; font-family: var(--sc-font-display); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; }
.cx-choice-text { margin-top: 0.9rem; max-width: 42ch; color: var(--muted); }
.cx-choice--dark .cx-choice-text { color: var(--night-soft); }
.cx-choice-cta { display: inline-flex; align-items: center; gap: 0.4em; margin-top: 1.4rem; font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.cx-choice--dark .cx-choice-cta { color: #fff; }
.cx-choice-cta .icon { transition: transform 200ms var(--sc-ease-out); flex: none; }
.cx-choice:hover .cx-choice-cta .icon { transform: translateX(3px); }
.cx-form { margin-top: 3rem; }
@media (max-width: 800px) { .cx-choice-grid { grid-template-columns: 1fr; } .cx-choice { min-height: 0; } }

/* ---------- Affiliates (coral): requirements tick on one after another ---------- */
.cx-aff { background: var(--sc-accent); color: #1a0d08; padding-block: clamp(64px, 10vw, 120px); }
.cx-aff .cx-h2 { color: #1a0d08; }
.cx-aff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cx-aff-lead { margin: 1.2rem 0 0; max-width: 42ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #3b170c; }
.cx-aff-how { margin: 1.2rem 0 0; max-width: 46ch; color: #3b170c; }
.cx-aff-how strong { color: #1a0d08; }
.cx-aff-req { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: #fff6f2; box-shadow: 0 20px 40px -24px rgba(90, 30, 10, 0.45); }
.cx-aff-req h3 { margin: 0 0 1.2rem; font-size: 1.15rem; color: #1a0d08; }
.cx-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cx-ticks li { display: flex; align-items: center; gap: 12px; color: #2a140c; font-weight: 500; }
.cx-tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #1f7a47; color: #fff; font-size: 0.9rem; }
.cx-aff-note { margin: 1rem 0 0; font-size: 0.88rem; color: #6b3a2a; }
.cx-aff-note:first-of-type { margin-top: 1.4rem; }
@media (max-width: 860px) { .cx-aff-grid { grid-template-columns: 1fr; } }

/* ---------- Team (night): ranks as rows ---------- */
.cx-team { background: var(--night); color: var(--night-ink); padding-block: clamp(64px, 10vw, 120px); }
.cx-team .cx-h2 { color: #fff; }
.cx-team-lead { margin: 0.9rem 0 clamp(28px, 5vw, 56px); color: var(--night-soft); font-size: 1.08rem; }
.cx-rank { display: grid; grid-template-columns: 13rem 1fr; gap: 16px 32px; padding-block: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

.cx-rank-title { margin: 0; padding-top: 14px; font-family: var(--sc-font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sc-accent); }
.cx-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.cx-person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius); background: #121820; border: 1px solid rgba(255, 255, 255, 0.07); }
.cx-person .avatar { width: 52px; height: 52px; margin: 0; flex: none; }
.cx-name { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-size: 1.1rem; color: #fff; overflow-wrap: anywhere; }
.cx-handles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cx-handles span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #d3d9e0; font-size: 0.82rem; }
.cx-handles .icon { font-size: 1em; }
@media (max-width: 760px) { .cx-rank { grid-template-columns: 1fr; gap: 12px; } .cx-rank-title { padding-top: 0; } }
.cx-credit { margin: 0 0 2px; font-size: 0.82rem; color: #f5a48f; }
