/* =========================================================
   VIXO CONTACT — page layer (Vixo green on ink). Requires v2.css
   ========================================================= */

/* ---------- HERO + FORM ---------- */
.c-hero { background: var(--ink); color: var(--white); grid-template-rows: auto 1fr; padding-bottom: clamp(64px, 8vw, 110px); }
.c-hero::before { display: none; }
.c-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 46vw at 100% 0%, rgba(21,178,99,.42), transparent 70%),
    radial-gradient(50vw 40vw at 0% 100%, rgba(217,255,79,.16), transparent 70%); }
.clocks { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--f-display); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); }
.clocks span { display: inline-flex; align-items: center; gap: 8px; }
.clocks b { color: var(--white); font-weight: 500; font-variant-numeric: tabular-nums; }
.clocks .live-dot { display: inline-block; }

.c-grid { display: grid; gap: 32px; padding-top: 28px; align-items: start; }
.c-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(84px, 27vw, 300px); line-height: .82; letter-spacing: -0.065em;
}
.c-title .serif { color: var(--green-hi); font-weight: 600; letter-spacing: -0.04em; }
.c-sub { margin-top: 24px; font-size: 16px; color: rgba(255,255,255,.72); max-width: 40ch; }

.c-context { margin-top: 28px; }
.c-context-h { font-family: var(--f-display); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.66); margin-bottom: 10px; }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chips li { padding: 8px 14px; border-radius: 999px; background: rgba(21,178,99,.16); border: 1px solid rgba(34,208,122,.4); color: var(--white); font-size: 13px; animation: popIn .6s var(--ease-spring) both; }
.c-chips li:nth-child(2) { animation-delay: .06s; } .c-chips li:nth-child(3) { animation-delay: .12s; } .c-chips li:nth-child(4) { animation-delay: .18s; } .c-chips li:nth-child(5) { animation-delay: .24s; }

/* Mad-lib sentence form */
.c-formwrap { position: relative; }
.madlib, .sent {
  padding: 24px; border-radius: 28px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--sh-float-dark);
}
.ml-line {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(24px, 6.6vw, 44px); line-height: 1.5; letter-spacing: -0.035em;
  color: rgba(255,255,255,.62);
}
.ml-line + .ml-line { margin-top: 8px; }
.ml-in, .ml-sel {
  font: inherit; color: var(--white); letter-spacing: -0.03em;
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.25);
  padding: 0 2px 2px; margin: 0 2px; border-radius: 0; outline: none;
  max-width: 100%; vertical-align: baseline;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.ml-in { width: auto; min-width: 4ch; }
.ml-in::placeholder { color: rgba(255,255,255,.45); }
.ml-sel {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2322D07A' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: .4em auto;
  color: var(--green-hi);
}
.ml-sel option { color: var(--ink); font-size: 16px; }
.ml-in:focus, .ml-sel:focus { border-bottom-color: var(--green-hi); box-shadow: 0 10px 24px -14px rgba(34,208,122,.9); }
.ml-in.is-invalid { border-bottom-color: var(--pink); }
.ml-in:not(:placeholder-shown) { border-bottom-color: rgba(34,208,122,.6); }

.ml-more { display: grid; gap: 8px; margin-top: 26px; }
.ml-more span { font-family: var(--f-display); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.6); }
.ml-more i { font-style: normal; opacity: .6; }
.ml-more textarea {
  width: 100%; resize: vertical; min-height: 80px; padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--white); font-size: 16px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.ml-more textarea::placeholder { color: rgba(255,255,255,.35); }
.ml-more textarea:focus { border-color: var(--green); box-shadow: var(--glow-green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ml-actions { display: grid; gap: 14px; margin-top: 24px; }
.ml-actions .btn { width: 100%; justify-content: space-between; }
.ml-legal { font-size: 12px; color: rgba(255,255,255,.66); }
.ml-legal a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,.3); }
.ml-error { margin-top: 12px; font-size: 14px; color: var(--pink); }
.madlib.is-sending .btn { opacity: .6; pointer-events: none; }

/* Success */
.sent { display: grid; gap: 16px; justify-items: start; outline: none; }
.sent-check { width: 96px; height: 96px; fill: none; stroke: var(--green-hi); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(34,208,122,.6)); }
.sent-check path { stroke-width: 7; }
.sent-title { font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 10vw, 96px); letter-spacing: -0.055em; line-height: .9; }
.sent-sub { font-size: 16px; color: rgba(255,255,255,.72); max-width: 40ch; }
.sent-more { font-size: 14px; color: rgba(255,255,255,.7); }
.sent-more a { color: var(--white); border-bottom: 1px solid var(--green); }

@media (min-width: 900px) {
  .c-grid { grid-template-columns: .8fr 1.2fr; gap: 5vw; padding-top: 4vh; }
  .c-title { font-size: min(15vw, 30vh); }
  .madlib, .sent { padding: 40px; }
  .ml-line { font-size: clamp(30px, 2.7vw, 46px); }
  .ml-actions { grid-template-columns: auto 1fr; align-items: center; gap: 22px; }
  .ml-actions .btn { width: auto; }
}

/* ---------- NEXT ---------- */
.c-next { padding-block: clamp(96px, 12vw, 160px) clamp(60px, 8vw, 110px); }
.c-next .label { margin-bottom: 30px; }
.c-steps { display: grid; gap: 12px; }
.c-steps li { padding: 26px; border-radius: 26px; background: var(--white); box-shadow: var(--sh-float); display: grid; gap: 10px; align-content: start; }
.c-steps b { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--ink); font-family: var(--f-display); font-size: 20px; }
.c-steps li:nth-child(2) b { background: var(--lime); }
.c-steps li:nth-child(3) b { background: var(--ink); color: var(--green-hi); }
.c-steps h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.045em; line-height: 1; margin-top: 8px; }
.c-steps p { font-size: 15px; color: var(--ink-2); max-width: 36ch; }
@media (min-width: 900px) { .c-steps { grid-template-columns: repeat(3, 1fr); gap: 1.4vw; } .c-steps li { padding: 34px; min-height: 300px; } }

/* ---------- DIRECT ---------- */
.c-direct { padding-bottom: clamp(96px, 12vw, 160px); }
.c-direct .h-l { margin-bottom: 36px; }
.c-direct .serif { color: var(--green); }
.c-cards { display: grid; gap: 0; border-top: 1px solid var(--line); }
.c-card { position: relative; display: grid; gap: 8px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.c-card-h { font-family: var(--f-display); font-size: 13px; font-weight: 500; color: var(--muted); }
.c-big { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 4vw, 52px); letter-spacing: -0.045em; line-height: 1.05; width: fit-content; background: linear-gradient(var(--green), var(--green)) no-repeat 0 100% / 0 3px; transition: background-size .5s var(--ease-out); word-break: break-word; }
.c-big:hover { background-size: 100% 3px; }
.c-copy { justify-self: start; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: background .3s, color .3s; }
.c-copy:hover, .c-copy.is-done { background: var(--ink); color: var(--paper); }
.c-small { font-size: 13px; color: var(--muted); }
.c-social { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -0.03em; }
.c-social a:hover { color: var(--green); }
.c-addr { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.03em; line-height: 1.2; }
@media (min-width: 900px) {
  .c-cards { grid-template-columns: 1fr 1fr; column-gap: 4vw; }
  .c-card { padding: 34px 0; }
}
.c-grid > * { min-width: 0; }
.madlib { overflow-wrap: anywhere; }
.ml-sel, .ml-in { max-width: 100%; }

/* Reveal the sentence form once fonts are in and fields are sized (no layout shift) */
.js .madlib { visibility: hidden; opacity: 0; transition: opacity .5s var(--ease-out); }
.js .madlib.is-ready { visibility: visible; opacity: 1; }
.c-next .label { font-weight: 500; }

/* =========================================================
   v2 layout: title row + full-width sentence (no stacked cards)
   ========================================================= */
.c-head { display: grid; gap: 22px; padding-top: 24px; align-items: end; }
.c-side { display: grid; gap: 0; }
.c-sub { margin-top: 0; }
.c-body { margin-top: clamp(36px, 5vw, 64px); }
.madlib, .sent {
  padding: clamp(28px, 4vw, 48px) 0 0; border-radius: 0;
  background: none; border: 0; border-top: 1px solid rgba(255,255,255,.14);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
.ml-line { font-size: clamp(26px, 6.8vw, 64px); line-height: 1.55; color: rgba(255,255,255,.78); max-width: 26ch; }
@media (min-width: 900px) {
  .c-head { grid-template-columns: 1.1fr .9fr; gap: 5vw; padding-top: 3vh; }
  .c-title { font-size: min(17vw, 34vh); }
  .ml-line { font-size: clamp(32px, 3.3vw, 54px); max-width: none; }
  .ml-more { max-width: 760px; }
  .sent { grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
  .sent-check { grid-row: span 2; width: 120px; height: 120px; }
  .sent > :not(svg):not(.sent-title):not(.sent-sub) { grid-column: 2; }
}

/* Fields read as fields: tinted pill, green text, dashed green underline */
.ml-in, .ml-sel {
  color: var(--green-hi);
  background-color: rgba(34,208,122,.1);
  border: 0; border-bottom: 2px dashed rgba(34,208,122,.75);
  border-radius: 10px 10px 2px 2px;
  padding: 0 .28em .02em; margin: 0 .08em;
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.ml-sel { padding-right: 1.2em; background-position: right .3em center; }
.ml-in::placeholder { color: rgba(34,208,122,.62); }
.ml-in:hover, .ml-sel:hover { background-color: rgba(34,208,122,.18); }
.ml-in:focus, .ml-sel:focus { background-color: rgba(34,208,122,.2); border-bottom-style: solid; border-bottom-color: var(--green-hi); box-shadow: 0 12px 30px -14px rgba(34,208,122,.9); }
.ml-in:not(:placeholder-shown) { color: var(--white); border-bottom-style: solid; border-bottom-color: var(--green-hi); background-color: rgba(34,208,122,.14); }
.ml-in.is-invalid { border-bottom-color: var(--pink); background-color: rgba(242,138,217,.14); }
.ml-hint { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 8px; }
.ml-hint i { display: inline-block; width: 26px; height: 14px; border-radius: 6px 6px 2px 2px; background: rgba(34,208,122,.14); border-bottom: 2px dashed rgba(34,208,122,.75); }

/* Calendly shortcut + no film grain on this dark page (it read as TV static while scrolling) */
.page-contact::after { display: none; }
.ml-book { font-size: 14px; color: rgba(255,255,255,.72); }
.ml-book b { color: var(--green-hi); font-weight: 600; border-bottom: 1px solid rgba(34,208,122,.5); }
.ml-book:hover b { border-bottom-color: var(--green-hi); }
.ml-legal { grid-column: 1 / -1; }
@media (min-width: 900px) { .ml-actions { grid-template-columns: auto auto 1fr; } .ml-legal { grid-column: auto; } }
