/* Contact page — standalone.
   Adds on top of _paper_template_styles.css.
   Reuses .res-hero, .eyebrow, .lede, .divider from _resources_styles.css
   if both stylesheets are linked; duplicated here as a safety fallback
   so contact.html renders correctly even if _resources_styles.css is not loaded. */

/* ============================================================
   FALLBACK HERO (mirrors _resources_styles.css)
   ============================================================ */
.res-hero{padding:48px 0 36px;position:relative}
.res-hero .eyebrow{font-family:'JetBrains Mono',monospace;font-size:13px;color:var(--accent-teal);letter-spacing:.18em;text-transform:uppercase;margin-bottom:18px}
.res-hero h1{font-family:'Syne',sans-serif;font-size:54px;font-weight:800;line-height:1.08;margin-bottom:16px;max-width:820px}
.res-hero h1 .accent{color:var(--accent-teal)}
.res-hero .lede{font-size:19px;color:var(--text-secondary);line-height:1.55;max-width:720px;margin-bottom:0}
.res-hero .divider{height:1px;background:linear-gradient(90deg,var(--accent-teal) 0%,transparent 60%);margin:40px 0 0;opacity:.5}
@media(max-width:768px){.res-hero h1{font-size:36px}.res-hero .lede{font-size:17px}}

/* ============================================================
   CONTACT — LAYOUT SHELL
   ============================================================ */
.contact-shell{display:grid;grid-template-columns:1fr 1.35fr;gap:48px;padding:48px 0 72px;align-items:start}
@media(max-width:920px){.contact-shell{grid-template-columns:1fr;gap:36px}}

/* ============================================================
   CONTACT — LEFT COLUMN (routing / expectations)
   ============================================================ */
.ct-routing{position:sticky;top:24px}
.ct-routing h2{font-family:'Syne',sans-serif;font-size:26px;font-weight:700;margin:0 0 14px;line-height:1.2}
.ct-routing .ct-intro{font-size:16px;line-height:1.62;color:var(--text-secondary);margin:0 0 28px}
.ct-routing .ct-intro strong{color:var(--text-primary);font-weight:600}

.ct-lanes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ct-lanes li{display:grid;grid-template-columns:26px 1fr;gap:14px;padding:12px 14px;border:1px solid var(--border-light);border-radius:10px;background:var(--bg-card);align-items:start;transition:border-color .18s}
.ct-lanes li:hover{border-color:var(--accent-teal)}
.ct-lanes .ct-tag{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--accent-teal);font-weight:500;margin-top:2px}
.ct-lanes .ct-name{font-family:'Outfit',sans-serif;font-size:14.5px;font-weight:500;color:var(--text-primary);line-height:1.35}
.ct-lanes .ct-desc{font-size:13px;color:var(--text-muted);line-height:1.45;margin-top:3px}

.ct-foot{margin-top:26px;padding-top:22px;border-top:1px solid var(--border-light);display:flex;flex-direction:column;gap:10px}
.ct-foot .ct-availability{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--accent-teal);letter-spacing:.1em;text-transform:uppercase}
.ct-foot .ct-privacy{font-size:13px;color:var(--text-muted);line-height:1.5}
.ct-foot .ct-privacy a{color:var(--text-secondary);text-decoration:underline;text-decoration-color:rgba(255,255,255,.2);text-underline-offset:3px}
.ct-foot .ct-privacy a:hover{color:var(--accent-teal);text-decoration-color:var(--accent-teal)}

/* ============================================================
   CONTACT — RIGHT COLUMN (form card)
   ============================================================ */
.ct-form-card{background:var(--bg-card);border:1px solid var(--border);border-radius:16px;padding:36px}
@media(max-width:640px){.ct-form-card{padding:24px}}
.ct-form-card h2{font-family:'Syne',sans-serif;font-size:24px;font-weight:700;margin:0 0 6px}
.ct-form-card .ct-sub{font-size:14.5px;color:var(--text-muted);margin:0 0 24px;line-height:1.5}

/* form elements */
.contact-form{display:flex;flex-direction:column;gap:18px}
.contact-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.contact-form .form-row{grid-template-columns:1fr}}
.contact-form .form-group{display:flex;flex-direction:column;gap:7px}
.contact-form label{font-family:'JetBrains Mono',monospace;font-size:11px;color:var(--text-muted);letter-spacing:.12em;text-transform:uppercase}
.contact-form input,.contact-form select,.contact-form textarea{font-family:'Outfit',sans-serif;font-size:15px;color:var(--text-primary);background:var(--bg-surface);border:1px solid var(--border-light);border-radius:8px;padding:12px 14px;transition:border-color .18s,background .18s;width:100%}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--accent-teal);background:var(--bg-card)}
.contact-form input::placeholder,.contact-form textarea::placeholder{color:rgba(156,163,175,.55)}
.contact-form textarea{min-height:150px;resize:vertical;line-height:1.55}
.contact-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--text-muted) 50%),linear-gradient(135deg,var(--text-muted) 50%,transparent 50%);background-position:calc(100% - 20px) 50%,calc(100% - 14px) 50%;background-size:6px 6px;background-repeat:no-repeat;padding-right:36px}

.ct-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 22px;font-family:'Outfit',sans-serif;font-size:15px;font-weight:600;color:#0a1220;background:var(--accent-teal);border:0;border-radius:10px;cursor:pointer;transition:transform .15s,background .18s;align-self:flex-start;margin-top:6px}
.ct-btn:hover{background:#2edabf;transform:translateY(-1px)}
.ct-btn:active{transform:translateY(0)}

/* small meta under the submit */
.ct-form-meta{font-size:12.5px;color:var(--text-muted);margin-top:14px;line-height:1.5}
.ct-form-meta code{font-family:'JetBrains Mono',monospace;font-size:11.5px;background:var(--bg-surface);padding:2px 6px;border-radius:4px;color:var(--text-secondary)}

/* Thank-you success state (shown after JS / Netlify redirect) */
.ct-success{display:none;padding:22px 24px;border:1px solid var(--accent-teal);border-radius:12px;background:rgba(40,212,180,.08);color:var(--text-primary);font-size:15px;line-height:1.55}
.ct-success strong{color:var(--accent-teal)}
.contact-form.is-sent + .ct-success{display:block}
