/* ═══════════════════════════════════════════════════════════════
   page-contact.css (v0.30.0 — Round 4D-F)

   VERBATIM PORT from prototype 10-contact.html lines 238-840
   (stripped of <style>/</style> boundary tags but otherwise byte-
   identical to the prototype). All Contact-page-only selectors:

     #hero / .hero-*       — medium hero with parallax bg + fadeUp
                              keyframe (scoped — Contact uses a
                              slightly different size than other
                              archive heroes; About/Services/Works
                              hero rules are in their own pages or
                              in page-hero.css)
     #ct / .ct-*           — particle weave canvas + 2-col glass
                              grid; LEFT text/info chips/office/
                              socials, RIGHT glass form card with
                              fields/chips/select/textarea/captcha/
                              submit/success
     #faq / .faq-*         — single-open accordion with orange-glow
                              hover, scrollHeight-driven open/close.
                              Verbatim from careers prototype.

   NOT in this file (lives elsewhere in the theme):
     nav (verbatim — components / main.js)
     pixel CTA (verbatim — block-vertwo-button + v-btn-helper)
     footer (verbatim — components / footer.php)
     back-to-top button (#backToTop — components.css)
     scroll-reveal .r/.in/.d1/.d2/.d3 (components.css)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   HERO — DELETED v0.31.5.
   The contact hero now uses vertwo_render_page_hero() identically to
   the Works archive. All hero CSS lives in page-hero.css (canonical
   .vw-hero-* rules) plus the universal typography-system.css overrides.
   The bespoke .hero-bg / .hero-content / .hero-eyebrow / .hero-title /
   .hero-sub block that used to be here was the source of every contact-
   page divergence flagged across v0.31.0–v0.31.4.
═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   CONTACT SECTION  (C3 glass overlay — wider card)
═══════════════════════════════════════ */
#ct{
  position:relative;
  background:
    radial-gradient(ellipse at 50% 100%,#180814 0%,#0a050d 65%,#04020a 100%);
  padding:96px 32px 120px;
  overflow:hidden;
}
.ct-particles{
  position:absolute;inset:0;
  width:100%;height:100%;
  pointer-events:none;
  z-index:1;
  display:block;
}
#ct::after{
  content:'';
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at center,transparent 35%,rgba(0,0,0,0.45) 100%);
  pointer-events:none;z-index:2;
}
@media (prefers-reduced-motion: reduce){
  .ct-particles{display:none}
}
#ct.ct-particles-fallback::before{
  content:'';
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse at 30% 30%,rgba(120,45,190,0.30),transparent 50%),
    radial-gradient(ellipse at 70% 60%,rgba(255,80,130,0.25),transparent 55%),
    radial-gradient(ellipse at 50% 100%,rgba(255,140,60,0.20),transparent 60%);
  pointer-events:none;z-index:1;
}
.ct-grid{
  position:relative;z-index:2;
  max-width:1320px;margin:0 auto;
  display:grid;grid-template-columns:1fr 640px;gap:80px;
  align-items:start;
}

.ct-text{color:#fff}
.ct-eyebrow{
  font-family:var(--font-title);
  font-size:0.72rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  display:inline-flex;align-items:center;gap:10px;
  padding:7px 14px;border-radius:980px;
  background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.13);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  margin-bottom:14px;
}
.ct-eyebrow::before{
  content:'';width:8px;height:8px;border-radius:50%;background:var(--orange);
  box-shadow:0 0 12px rgba(242,122,15,0.7);
}
.ct-headline{
  font-family:var(--font-title);
  font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;
  letter-spacing:-0.04em;line-height:1.1;color:#fff;
  margin-bottom:14px;
}
.ct-headline em{font-style:normal;color:var(--orange)}
.ct-lede{
  font-size:1.02rem;font-weight:300;color:rgba(255,255,255,0.7);
  max-width:680px;line-height:1.7;margin-bottom:28px;
}

.ct-info-row{
  display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;
}
.ct-info-chip{
  display:inline-flex;align-items:center;gap:9px;
  padding:10px 16px;border-radius:980px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.13);
  font-size:0.82rem;color:rgba(255,255,255,0.85);font-weight:500;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:background .25s,border-color .25s;
}
.ct-info-chip:hover{background:rgba(255,255,255,0.10);border-color:rgba(255,255,255,0.22)}
.ct-info-chip svg{width:15px;height:15px;flex-shrink:0;stroke:rgba(255,255,255,0.7);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

.ct-office{
  display:flex;gap:14px;align-items:flex-start;
  margin-bottom:24px;
  padding:18px 20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:14px;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  max-width:440px;
}
.ct-office-icon{
  flex-shrink:0;width:36px;height:36px;border-radius:10px;
  background:rgba(242,122,15,0.18);
  border:1px solid rgba(242,122,15,0.30);
  display:flex;align-items:center;justify-content:center;
}
.ct-office-icon svg{width:16px;height:16px;stroke:var(--orange)}
.ct-office-body{display:flex;flex-direction:column;gap:4px}
.ct-office-label{
  font-family:var(--font-title);
  font-size:0.62rem;font-weight:700;letter-spacing:0.14em;
  text-transform:uppercase;color:rgba(255,255,255,0.55);
  margin-bottom:2px;
}
.ct-office-addr{
  font-size:0.92rem;font-weight:500;color:rgba(255,255,255,0.92);
  line-height:1.55;
}

.ct-text .ft-socials{margin-top:4px;flex-wrap:nowrap}
@media (max-width:1023px){
  .ct-text .ft-soc{
    width:38px;height:38px;padding:0;justify-content:center;
  }
  .ct-text .ft-soc .ft-soc-label{display:none}
  .ct-text .ft-soc:hover{
    padding:0;
    color:var(--orange);
    border-color:rgba(242,122,15,0.50);
    background:rgba(242,122,15,0.08);
  }
}

.ct-card{
  background:rgba(20,18,28,0.5);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:26px;
  padding:36px 38px;
  backdrop-filter:blur(32px) saturate(180%);
  -webkit-backdrop-filter:blur(32px) saturate(180%);
  box-shadow:
    0 20px 70px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  display:flex;flex-direction:column;gap:18px;
  color:#fff;
}
.ct-card-head{margin-bottom:6px}
.ct-card-title{
  font-family:var(--font-title);
  font-size:1.18rem;font-weight:800;letter-spacing:-0.025em;color:#fff;margin-bottom:5px;
}
.ct-card-sub{font-size:0.78rem;font-weight:300;color:rgba(255,255,255,0.55);line-height:1.55}

.ct-form{display:flex;flex-direction:column;gap:16px}
.ct-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ct-field{display:flex;flex-direction:column;gap:7px}
.ct-label{
  font-family:var(--font-title);
  font-size:0.66rem;font-weight:700;letter-spacing:0.1em;
  text-transform:uppercase;color:rgba(255,255,255,0.7);
  display:flex;align-items:center;gap:5px;
}
.ct-required{color:var(--orange);font-size:0.72rem}
.ct-optional{color:rgba(255,255,255,0.4);font-weight:400;letter-spacing:0;text-transform:none;font-size:0.66rem}
.ct-input,.ct-select,.ct-textarea{
  width:100%;padding:12px 14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:10px;
  font-family:var(--font-body);font-size:0.88rem;font-weight:400;color:#fff;
  outline:none;
  transition:border-color .2s,background .2s,box-shadow .2s;
  appearance:none;
}
.ct-input::placeholder,.ct-textarea::placeholder{color:rgba(255,255,255,0.35);font-weight:300}
.ct-input:focus,.ct-select:focus,.ct-textarea:focus{
  border-color:rgba(242,122,15,0.7);
  background:rgba(255,255,255,0.10);
  box-shadow:0 0 0 3px rgba(242,122,15,0.15);
}
.ct-input.error,.ct-select.error,.ct-textarea.error{
  border-color:#ff5a4f;box-shadow:0 0 0 3px rgba(255,90,79,0.15);
}
.ct-error-msg{
  font-size:0.7rem;color:#ff8076;font-weight:500;display:none;
  margin-top:-2px;
}
.ct-field.has-error .ct-error-msg{display:block}
.ct-field.has-error .ct-input,
.ct-field.has-error .ct-select,
.ct-field.has-error .ct-textarea{border-color:#ff5a4f;box-shadow:0 0 0 3px rgba(255,90,79,0.15)}

.ct-chips{display:flex;flex-wrap:wrap;gap:7px;padding:2px 0}
.ct-chip{
  display:inline-flex;align-items:center;
  padding:9px 14px;border-radius:980px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  font-size:0.78rem;color:rgba(255,255,255,0.78);font-weight:500;
  cursor:pointer;user-select:none;
  transition:all .2s;
}
.ct-chip:hover{background:rgba(255,255,255,0.10);color:#fff}
.ct-chip.active{
  background:var(--orange);border-color:var(--orange);color:#fff;
  box-shadow:0 4px 14px rgba(242,122,15,0.35);
}

.ct-select-wrap{position:relative}
.ct-select-wrap::after{
  content:'';position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:0;height:0;pointer-events:none;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:5px solid rgba(255,255,255,0.55);
}
.ct-select{padding-right:36px;cursor:pointer}
.ct-select option{background:#1a1a1a;color:#fff}
.ct-textarea{min-height:120px;resize:vertical;line-height:1.55}

.ct-captcha-wrap{display:flex;flex-direction:column;gap:8px}
.ct-captcha-note{font-size:0.66rem;color:rgba(255,255,255,0.4);line-height:1.5}
.ct-captcha-note a{color:var(--orange);text-decoration:underline}

.ct-submit-row{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;
  padding-top:14px;border-top:1px solid rgba(255,255,255,0.1);margin-top:6px;
}
.ct-privacy{font-size:0.7rem;color:rgba(255,255,255,0.45);line-height:1.5;max-width:280px}
.ct-privacy a{color:var(--orange)}
.ct-submit{
  display:inline-flex;align-items:center;gap:9px;
  padding:13px 28px;border-radius:980px;
  background:var(--orange);color:#fff;
  font-family:var(--font-body);
  font-size:0.86rem;font-weight:700;
  border:none;cursor:pointer;
  box-shadow:0 4px 18px rgba(242,122,15,0.35);
  transition:background .25s,transform .2s,box-shadow .25s;
  flex-shrink:0;
}
.ct-submit:hover{
  background:#d96a00;transform:translateY(-1px);
  box-shadow:0 6px 24px rgba(242,122,15,0.5);
}
.ct-submit:active{transform:none}
.ct-submit svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;transition:transform .25s}
.ct-submit:hover svg{transform:translateX(3px)}
.ct-submit.sending{opacity:0.7;pointer-events:none}

.ct-success{
  display:none;flex-direction:column;align-items:center;
  text-align:center;padding:36px 16px;gap:14px;
}
.ct-success.show{display:flex}
.ct-success-icon{
  width:64px;height:64px;border-radius:50%;
  background:rgba(52,199,89,0.18);
  border:1px solid rgba(52,199,89,0.35);
  display:flex;align-items:center;justify-content:center;
}
.ct-success-icon svg{width:28px;height:28px;stroke:#34c759;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.ct-success-title{font-family:var(--font-title);font-size:1.18rem;font-weight:800;letter-spacing:-0.02em;color:#fff}
.ct-success-text{font-size:0.85rem;font-weight:300;color:rgba(255,255,255,0.6);line-height:1.7;max-width:340px}

/* v0.30.2 — "success mode": when the form has been submitted, the card
   no longer needs the .ct-card-head ("Tell us about your project" +
   "Fields marked * are required..." line) — that copy is a prompt for
   the user to start filling out the form, not a label for the success
   confirmation. JS adds .ct-card--success to the parent card; we then:
     · hide .ct-card-head entirely
     · keep the card visually tall (matches the form's vertical footprint
       so the success state doesn't make the section collapse upward)
     · vertical-center the .ct-success block in the now-spare card height
   The .ct-success block itself already center-aligns its own children
   horizontally via flex-direction:column + align-items:center, so we
   only need to lift the BLOCK to the card's center axis. */
.ct-card--success .ct-card-head{display:none}
.ct-card--success{
  min-height:540px;       /* roughly matches the form-card's natural height */
  justify-content:center; /* centers .ct-success vertically (card is flex col) */
}
@media (max-width:520px){
  .ct-card--success{min-height:420px}
}

/* ═══════════════════════════════════════
   FAQ — careers-page accordion effect
═══════════════════════════════════════ */
#faq{
  background:var(--off);
  padding:80px 48px;
  border-top:1px solid var(--hairline);
  border-bottom:1px solid var(--hairline);
}
.faq-inner{max-width:var(--max);margin:0 auto}
.faq-header{margin-bottom:32px;text-align:left;max-width:780px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.faq-eyebrow{
  font-family:var(--font-title);
  font-size:0.72rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;
  color:var(--orange);display:inline-block;margin-bottom:14px;
}
.faq-title{
  font-family:var(--font-title);font-weight:900;letter-spacing:-0.04em;
  font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.1;color:var(--black);margin-bottom:14px;
}
.faq-title em{font-style:normal;color:var(--orange)}
.faq-sub{font-size:1.02rem;font-weight:300;line-height:1.7;color:var(--mid);max-width:680px}

.faq-list{
  display:flex;flex-direction:column;gap:14px;
  max-width:920px;margin:0 auto;
}
.faq-item{
  background:var(--white);border:1px solid var(--hairline);border-radius:14px;
  overflow:hidden;
  transition:
    border-color .25s ease,
    box-shadow .35s ease,
    transform .35s var(--ease);
}
.faq-item:hover,
.faq-item.open{
  border-color:rgba(242,122,15,0.55);
  box-shadow:
    0 18px 40px rgba(242,122,15,0.30),
    0 4px 14px rgba(242,122,15,0.20),
    0 0 0 1px rgba(242,122,15,0.40);
  transform:translateY(-2px);
}
.faq-q{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  width:100%;
  padding:20px 26px;
  font-family:var(--font-title);font-weight:700;letter-spacing:-0.015em;
  font-size:1.02rem;color:var(--black);text-align:left;
  background:transparent;border:none;cursor:pointer;
  transition:color .25s ease,background .25s ease;
}
.faq-q:hover{color:var(--orange)}
.faq-icon{
  flex-shrink:0;width:32px;height:32px;border-radius:50%;
  background:var(--off);border:1px solid var(--hairline);
  display:flex;align-items:center;justify-content:center;color:var(--black);
  transition:background .25s ease,border-color .25s ease,color .25s ease,transform .35s var(--ease);
}
.faq-icon svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.faq-item.open .faq-icon{background:var(--orange);border-color:var(--orange);color:#fff;transform:rotate(45deg)}
.faq-a{
  height:0;overflow:hidden;opacity:0;
  transition:
    height .55s cubic-bezier(.83,0,.17,1),
    opacity .35s ease,
    padding .55s cubic-bezier(.83,0,.17,1);
  padding:0 26px;
}
.faq-item.open .faq-a{opacity:1;padding:0 26px 22px}
.faq-a p{font-size:0.95rem;font-weight:300;line-height:1.75;color:rgba(26,26,26,0.78)}
.faq-a p+p{margin-top:12px}
.faq-a strong{font-weight:700;color:var(--black)}
.faq-a a{color:var(--orange);font-weight:500}

/* ═══════════════════════════════════════
   CONTACT SECTION mobile
═══════════════════════════════════════ */
@media(max-width:980px){
  .ct-grid{grid-template-columns:1fr;gap:48px;min-height:auto}
  .ct-card{order:2}
  .ct-text{order:1;text-align:left}
  .ct-lede{max-width:100%}
}
@media(max-width:860px){
  /* v0.31.5 — hero overrides removed (now handled by typography-system.css) */
  #ct{padding:72px 24px 90px}
  .ct-card{padding:28px 22px}
  #faq{padding:64px 28px}
  .faq-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  /* v0.31.5 — hero overrides removed (now handled by typography-system.css) */
  #ct{padding:56px 16px 72px}
  .ct-card{padding:22px 18px;border-radius:20px}
  .ct-row{grid-template-columns:1fr}
  .ct-submit-row{flex-direction:column;align-items:stretch}
  .ct-submit{justify-content:center}
  .ct-privacy{max-width:100%}
  .ct-headline{font-size:2rem}
  #faq{padding:48px 16px}
}
