/* VESSELBORN: Contractor, sign-up up front. Adds to contractor.css. Cuby Holdings LLC. */

/* hero sign-up */
.cx-join { margin-top: 2.2rem; max-width: 38rem; }
.cx-join-lead { font-family: var(--display); text-transform: uppercase; letter-spacing: .3em; font-size: clamp(.9rem, 1.3vw, 1.08rem); color: var(--amber); margin: 0 0 .9rem; }
.cx-join-form { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: stretch; }
.cx-join-form .field { grid-column: 1; margin: 0; }
.cx-join-form input[type=email] { width: 100%; height: 100%; min-height: 3.4rem; box-sizing: border-box; padding: 1rem 1.15rem; font: 400 1.15rem/1.2 Georgia, 'Noto Serif', 'DejaVu Serif', serif; color: var(--bright); background: rgba(5,5,6,.6); border: 1px solid rgba(236,236,236,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-radius: 0; outline: none; }
.cx-join-form input[type=email]::placeholder { color: rgba(236,236,236,.55); }
.cx-join-form input[type=email]:focus { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.cx-join-form .cx-btn { grid-column: 2; grid-row: 1; cursor: pointer; justify-content: center; white-space: nowrap; }
.cx-join-form .cx-btn[disabled] { opacity: .6; cursor: progress; }
.cx-join-form .cf-turnstile { grid-column: 1 / -1; }
.cx-join-form .status { grid-column: 1 / -1; min-height: 0; margin: 0; }
.cx-join-form .status:empty { display: none; }
.cx-join-done { padding: 1.1rem 1.25rem; border: 1px solid var(--amber); background: rgba(5,5,6,.65); color: var(--bright); font-size: 1.15rem; line-height: 1.45; }
.cx-join-done strong { color: var(--amber); font-weight: 600; }
.cx-join-fine { margin: .85rem 0 0; color: rgba(236,236,236,.72); font-size: 1rem; line-height: 1.5; }
.cx-join-fine a { color: var(--bright); white-space: nowrap; }

/* latest devlog strip */
.cx-latest { border-top: 1px solid var(--rule); padding: clamp(3rem, 6vw, 5rem) 0; background: radial-gradient(70% 80% at 15% 0%, rgba(209,168,95,.08), transparent 60%), var(--ink); }
.cx-latest-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.cx-latest-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(209,168,95,.3); }
.cx-latest-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.cx-latest-shot:hover img { transform: scale(1.03); }
.cx-latest-play { position: absolute; left: 50%; top: 50%; width: 4.6rem; height: 4.6rem; margin: -2.3rem 0 0 -2.3rem; border-radius: 50%; background: rgba(5,5,6,.6); border: 1px solid var(--amber); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cx-latest-play::after { content: ""; position: absolute; left: 1.85rem; top: 1.45rem; border-style: solid; border-width: .85rem 0 .85rem 1.35rem; border-color: transparent transparent transparent var(--amber); }
.cx-latest h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; color: var(--bright); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; margin: 1rem 0 0; }
.cx-latest p.cx-latest-text { margin-top: 1.1rem; color: var(--text); font-size: 1.2rem; line-height: 1.55; max-width: 34rem; }
.cx-latest .cx-cta { margin-top: 1.6rem; }

/* sticky sign-up bar */
.cx-stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; gap: .9rem; padding: .75rem clamp(1rem, 4vw, 3rem); padding-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); background: rgba(5,5,6,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(209,168,95,.55); transform: translateY(110%); transition: transform .35s ease; }
.cx-stick.on { transform: none; }
.cx-stick p { margin: 0; flex: 1; color: var(--bright); font-size: 1.05rem; line-height: 1.3; }
.cx-stick p span { color: var(--amber); }
.cx-stick .cx-btn { padding: .8rem 1.3rem; font-size: .95rem; letter-spacing: .24em; }
.cx-stick-x { background: none; border: 0; color: rgba(236,236,236,.6); font-size: 1.6rem; line-height: 1; padding: .3rem .4rem; cursor: pointer; }
.cx-stick-x:hover { color: var(--bright); }

@media (max-width: 760px) {
  .cx-join { margin-top: 1.6rem; }
  .cx-join-form { grid-template-columns: 1fr; }
  .cx-join-form .cx-btn { grid-column: 1; grid-row: auto; padding: 1.1rem 1rem; }
  .cx-latest-grid { grid-template-columns: 1fr; }
  .cx-stick p { font-size: .95rem; }
  .cx-stick p .cx-stick-long { display: none; }
  .cx-stick .cx-btn { padding: .75rem 1rem; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) { .cx-stick { transition: none; } .cx-latest-shot img { transition: none; } }
