/* =====================================================================
   THAT HOCKEY × NITEX — About ("The Marque") + Contact, black-and-lime
   Themes the existing #th-about / #th-contact editorial markup (ACF-driven,
   rendered by page-templates/about.php + contact.php) into the nitex field.
   Scoped under body.th-nx so the live Premium design is untouched. Tokens
   come from nitex-home.css (--nx-*), enqueued alongside this file. Anton
   display / Space Mono bracketed labels / Archivo body.
   ===================================================================== */

/* ---------- shared page shell ---------- */
body.th-nx #th-about,
body.th-nx #th-contact {
    background: var(--nx-bg);
    color: var(--nx-ink);
}
body.th-nx #th-about .th-eyebrow,
body.th-nx #th-contact .th-eyebrow {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    color: var(--nx-acid);
}

/* =====================================================================
   ABOUT — The Marque
   ===================================================================== */
body.th-nx .th-about-hero {
    padding: clamp(80px, 11vw, 150px) var(--nx-bleed) clamp(40px, 6vw, 80px);
    border-bottom: 1px solid var(--nx-line);
}
body.th-nx .th-about-title {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.8rem, 8.5vw, 7rem);
    line-height: 0.88;
    letter-spacing: -0.005em;
    color: var(--nx-ink);
    max-width: 15ch;
    text-wrap: balance;
}

body.th-nx .th-about-body {
    max-width: 820px;
    margin: 0;
    padding: clamp(48px, 7vw, 96px) var(--nx-bleed) clamp(24px, 4vw, 48px);
}
body.th-nx .th-about-lead {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    line-height: 1.5;
    color: var(--nx-ink);
    margin: 0 0 24px;
    text-wrap: pretty;
}
body.th-nx .th-about-p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.75;
    color: var(--nx-dim);
    margin: 0;
    max-width: 62ch;
    text-wrap: pretty;
}

body.th-nx .th-about-pillars-wrap {
    padding: clamp(40px, 6vw, 80px) var(--nx-bleed) clamp(72px, 10vw, 120px);
}
body.th-nx .th-about-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--nx-line);
}
body.th-nx .th-pillar {
    padding: clamp(28px, 3vw, 44px) clamp(22px, 2.2vw, 32px);
    border-bottom: 1px solid var(--nx-line2);
    border-right: 1px solid var(--nx-line2);
    position: relative;
    transition: background 0.4s var(--nx-ease, cubic-bezier(.22,1,.36,1));
}
body.th-nx .th-pillar:last-child { border-right: 0; }
/* acid top-accent that draws across on hover */
body.th-nx .th-pillar::before {
    content: "";
    position: absolute;
    top: -1px; left: 0;
    height: 2px; width: 0;
    background: var(--nx-acid);
    transition: width 0.5s var(--nx-ease, cubic-bezier(.22,1,.36,1));
}
body.th-nx .th-pillar:hover::before { width: 100%; }
body.th-nx .th-pillar:hover { background: rgba(255,255,255,0.02); }
body.th-nx .th-pillar-num {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--nx-acid);
    margin-bottom: 20px;
}
body.th-nx .th-pillar-title {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--nx-ink);
    margin-bottom: 12px;
}
body.th-nx .th-pillar-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--nx-dim);
    margin: 0;
}
body.th-nx .th-about-cta {
    text-align: center;
    margin-top: clamp(48px, 6vw, 80px);
}
/* .th-btn is themed acid by nitex-home.css; make it mono + hover-invert here */
body.th-nx .th-about-cta .th-btn {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 13px;
    padding: 18px 34px;
    border: 1px solid var(--nx-acid);
    transition: background 0.3s, color 0.3s;
}
body.th-nx .th-about-cta .th-btn:hover {
    background: transparent;
    color: var(--nx-acid);
}

@media (max-width: 820px) {
    body.th-nx .th-about-pillars { grid-template-columns: 1fr; }
    body.th-nx .th-pillar { border-right: 0; }
}

/* =====================================================================
   CONTACT
   ===================================================================== */
body.th-nx .th-contact-head {
    padding: clamp(72px, 10vw, 140px) var(--nx-bleed) clamp(28px, 4vw, 48px);
}
body.th-nx .th-contact-title {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: 0.86;
    letter-spacing: -0.005em;
    color: var(--nx-ink);
    margin: 0 0 18px;
    text-wrap: balance;
}
body.th-nx .th-contact-sub {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.6;
    color: var(--nx-dim);
    max-width: 56ch;
    margin: 0;
    text-wrap: pretty;
}

body.th-nx .th-contact-grid {
    margin: clamp(32px, 5vw, 56px) var(--nx-bleed) clamp(72px, 10vw, 120px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--nx-line);
    border: 1px solid var(--nx-line);
}
body.th-nx .th-contact-direct {
    background: var(--nx-bg);
    padding: clamp(36px, 4vw, 56px);
}
body.th-nx .th-contact-direct-label {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-dim);
    margin-bottom: 12px;
}
body.th-nx .th-contact-email {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    letter-spacing: -0.005em;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    color: var(--nx-acid);
    display: inline-block;
    transition: opacity 0.25s;
    word-break: break-word;
}
body.th-nx .th-contact-email:hover { opacity: 0.68; }
body.th-nx .th-contact-cards {
    display: flex;
    flex-direction: column;
    margin-top: clamp(28px, 3vw, 44px);
    border-top: 1px solid var(--nx-line);
}
body.th-nx .th-contact-card {
    padding: 22px 0;
    border-bottom: 1px solid var(--nx-line2);
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
body.th-nx .th-contact-card:last-child { border-bottom: 0; }
body.th-nx .th-contact-card-num {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    color: var(--nx-acid);
    padding-top: 3px;
}
body.th-nx .th-contact-card-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--nx-ink);
    margin-bottom: 5px;
}
body.th-nx .th-contact-card-body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--nx-dim);
    margin: 0;
    text-wrap: pretty;
}

/* reserve form — distinct panel + nitex fields */
body.th-nx .th-contact-form-panel {
    background: var(--nx-panel);
    color: var(--nx-ink);
    padding: clamp(36px, 4vw, 56px);
}
body.th-nx .th-contact-form-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-acid);
    margin-bottom: 12px;
}
body.th-nx .th-contact-form-title {
    font-family: 'Anton', 'Archivo', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    color: var(--nx-ink);
    margin: 0 0 24px;
}
body.th-nx .th-contact-form { display: flex; flex-direction: column; gap: 10px; }
body.th-nx .th-contact-form input,
body.th-nx .th-contact-form textarea {
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    padding: 15px 16px;
    border: 1px solid var(--nx-line);
    background: var(--nx-bg);
    color: var(--nx-ink);
    border-radius: 0;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}
/* --nx-dim, not --nx-faint: faint (#5a5a5a) placeholders read 2.9:1 on the
   field and fail AA; dim (#8b8b8b) clears it while staying clearly secondary. */
body.th-nx .th-contact-form input::placeholder,
body.th-nx .th-contact-form textarea::placeholder { color: var(--nx-dim); }
body.th-nx .th-contact-form input:focus,
body.th-nx .th-contact-form textarea:focus {
    border-color: var(--nx-acid);
    background: #181818;
}
body.th-nx .th-contact-form textarea { resize: vertical; }
body.th-nx .th-contact-form button {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--nx-acid);
    color: #000;
    border: 1px solid var(--nx-acid);
    padding: 18px;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
body.th-nx .th-contact-form button:hover {
    background: transparent;
    color: var(--nx-acid);
}

@media (max-width: 820px) {
    body.th-nx .th-contact-grid { grid-template-columns: 1fr; }
}
