/* generated by _src/build.mjs from _src/parts/contact.css */
/* ------------------------------------------------------------ contact (ct-) */
.ct-hero svg, .ct-grid svg, .ct-lanes svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ct-hero .float-chip svg { stroke: #5FD38D; }
.ct-mark svg, .ct-office-ring { stroke-linecap: butt; }

/* the desk on the stage */
.ct-desk { width: min(500px, 100%); display: grid; gap: 14px; }
.ct-desk-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ct-zone { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .24); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); min-width: 0; }
.ct-zone .mono { font-size: 9.5px; }
.ct-zone b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ct-zone small { font-size: 12px; color: rgba(246, 245, 242, .55); }
.ct-zone em { margin-top: 6px; font-style: normal; font-size: 13px; color: rgba(246, 245, 242, .86); font-variant-numeric: tabular-nums; }
.ct-thread { display: grid; gap: 8px; }
.ct-msg { max-width: 82%; display: grid; gap: 4px; padding: 11px 14px; border-radius: 18px; }
.ct-msg .mono { font-size: 9.5px; }
.ct-msg p { font-size: 14px; line-height: 1.4; }
.ct-msg.me { justify-self: end; background: rgba(246, 245, 242, .92); color: #0B0B0B; border-bottom-right-radius: 6px; }
.ct-msg.me .mono { color: #6E6E73; }
.ct-msg.them { justify-self: start; background: rgba(255, 255, 255, .1); border-bottom-left-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ct-typing { display: flex; gap: 5px; min-height: 19px; align-items: center; }
.ct-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(246, 245, 242, .7); animation: ct-dot 1.2s ease-in-out infinite; }
.ct-typing i:nth-child(2) { animation-delay: .15s; }
.ct-typing i:nth-child(3) { animation-delay: .3s; }
.ct-typing.is-text { display: block; animation: ct-fade .5s ease both; }
@keyframes ct-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes ct-fade { from { opacity: 0; } }
.ct-desk-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: rgba(246, 245, 242, .7); }
.ct-desk-foot span { display: inline-flex; align-items: center; gap: 7px; }
.ct-desk-foot svg { width: 15px; height: 15px; }

/* the form and the ways in */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.ct-form-card { position: relative; overflow: hidden; padding: 30px 30px 26px; border-radius: 28px; }
.ct-form-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--ink), var(--live)); }
.ct-form-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ct-mark { width: 22px; height: 22px; color: var(--ink); }
.ct-mark svg { width: 100%; height: 100%; }
/* The goal ring draws its own stroke widths in viewBox units — the global
   non-scaling-stroke rule turns them into screen pixels and the 22px ring
   becomes a solid blob. Same exemption as .intro-ring/.top-logo. */
.ct-mark circle { vector-effect: none; }
.ct-form-h { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; }
.ct-form-sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.ct-form { display: grid; gap: 14px; margin-top: 24px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ct-field { display: grid; gap: 7px; min-width: 0; border: 0; padding: 0; margin: 0; }
.ct-field > span, .ct-field legend { font-size: 13px; font-weight: 600; color: var(--ink); padding: 0; }
.ct-field em { font-style: normal; font-weight: 400; color: var(--faint); margin-left: 4px; }
.ct-field input, .ct-field textarea {
  /* the kit's field: 40 high (44 on a phone), 10px corners, a quiet well, no stroke */
  width: 100%; min-width: 0; height: 40px; border: 0; border-radius: 10px; padding: 0 12px; outline: 0;
  font: 400 15px/1.4 var(--font); color: var(--ink); background: rgba(28, 27, 26, .07);
  box-shadow: none; transition: box-shadow 160ms ease, background-color 160ms ease;
}
.ct-field textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 88px; }
@media (max-width: 639px), (pointer: coarse) { .ct-field input { height: 44px; } .ct-field input, .ct-field textarea { font-size: 16px; } }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: var(--faint); }
@media (hover: hover) { .ct-field input:hover:not(:focus), .ct-field textarea:hover:not(:focus) { background: rgba(28, 27, 26, .1); } }
.ct-field input:focus, .ct-field textarea:focus { background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 3px rgba(11, 11, 11, .22); }
.ct-field.is-bad input { box-shadow: 0 0 0 3px rgba(217, 48, 37, .28); }
.ct-interest legend { margin-bottom: 7px; }
.ct-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-pills label { position: relative; cursor: pointer; }
.ct-pills input { position: absolute; opacity: 0; pointer-events: none; }
.ct-pills span {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink); background: var(--tile); box-shadow: inset 0 0 0 1px transparent;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.ct-pills small { font-size: 12px; font-weight: 400; color: var(--muted); }
.ct-pills label:hover span { box-shadow: inset 0 0 0 1px var(--faint); }
.ct-pills input:checked + span { background: var(--ink); color: var(--canvas); }
.ct-pills input:checked + span small { color: inherit; opacity: .7; }
.ct-pills input:focus-visible + span { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink); }
.ct-err[hidden], .ct-sent[hidden] { display: none; }
.ct-err { font-size: 13.5px; font-weight: 500; color: var(--live-text); }
.ct-send { width: 100%; height: 52px; font-size: 16px; }
.ct-fine { display: flex; align-items: flex-start; justify-content: center; gap: 7px; text-wrap: pretty; font-size: 12.5px; line-height: 1.45; color: var(--muted); text-align: center; }
.ct-fine svg { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.ct-fine a, .ct-sent a { text-decoration: underline; text-underline-offset: 3px; }
.ct-sent { padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; background: var(--up-soft); color: var(--ink); }
.ct-sent b { color: var(--up); font-weight: 600; }

.ct-ways { display: grid; gap: 8px; }
.ct-way { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border-radius: 22px; }
.ct-way.card:hover { box-shadow: var(--float-hover); transform: translateY(-2px); }
.ct-way .t-ico, .ct-office .t-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tile); }
.ct-way .t-ico svg, .ct-office .t-ico svg { width: 20px; height: 20px; }
.ct-way-t { display: grid; gap: 3px; min-width: 0; }
.ct-way-t b { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.ct-way-t small { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.ct-way-t em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.ct-way-t em svg { width: 15px; height: 15px; flex: none; transition: transform .43s var(--spring-fast); }
.ct-way:hover em svg { transform: translateX(4px); }
.ct-office { display: grid; justify-items: start; gap: 8px; padding: 22px; }
.ct-office .t-ico { background: rgba(246, 245, 242, .1); margin-bottom: 6px; }
.ct-office b { font-size: 17px; font-weight: 600; }
.ct-office address { font-style: normal; font-size: 15px; line-height: 1.5; color: rgba(246, 245, 242, .78); }
.ct-office .btn { margin-top: 8px; }
.ct-office-ring { position: absolute; right: -46px; bottom: -46px; width: 190px; height: 190px; color: rgba(246, 245, 242, .07); z-index: -1; }

/* the two lanes */
.ct-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ct-lane { display: grid; align-content: start; gap: 12px; padding: 24px 26px 26px; border-radius: 26px; }
.ct-lane h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
.ct-lane p { font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 52ch; }
.ct-lane.dark-card p { color: rgba(246, 245, 242, .68); }
.ct-lane-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ct-btn-line { color: var(--ink); } /* the kit's quiet track (from .btn), no stroke */
.ct-lane-art { display: grid; place-items: center; min-height: 220px; margin-bottom: 10px; border-radius: 18px; background: radial-gradient(60% 70% at 50% 40%, var(--card) 0%, transparent 100%), var(--tile); }
.ct-lane.dark-card .ct-lane-art { background: radial-gradient(60% 70% at 50% 40%, rgba(255, 255, 255, .08) 0%, transparent 100%), rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ct-ticket { width: min(320px, 86%); display: grid; gap: 9px; padding: 16px; border-radius: 18px; background: var(--card); box-shadow: var(--float); }
.ct-ticket-top { display: flex; justify-content: space-between; align-items: center; }
.ct-ticket-top .chip { height: 22px; font-size: 11px; }
.ct-ticket b { font-size: 16px; font-weight: 600; }
.ct-ticket-line { display: block; height: 7px; width: calc(var(--w) * 100%); border-radius: 4px; background: var(--hair); }
.ct-ticket-who { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.ct-ticket-who .av { width: 26px; height: 26px; font-size: 9px; font-style: normal; background: var(--ink); color: var(--canvas); }
.ct-spec { width: min(340px, 88%); display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ct-spec-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ct-spec-row .av { width: 34px; height: 34px; font-size: 10px; font-style: normal; background: var(--paper); color: #0B0B0B; }
.ct-spec-row b { display: block; font-size: 14px; font-weight: 600; }
.ct-spec-row small { display: block; font-size: 12px; color: rgba(246, 245, 242, .55); }
.ct-spec-row .chip { height: 22px; font-size: 10.5px; background: rgba(235, 74, 30, .16); color: #FF8A62; }
.ct-spec-plans { display: flex; gap: 6px; }
.ct-spec-plans span { height: 28px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 12.5px; background: rgba(246, 245, 242, .08); color: rgba(246, 245, 242, .86); }

:root[data-theme="dark"] .ct-msg.me { background: rgba(246, 245, 242, .9); }
:root[data-theme="dark"] .ct-form-card::before { background: linear-gradient(90deg, var(--paper), var(--live)); }

@media (max-width: 1023px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-office { grid-column: 1 / -1; }
  .ct-ways > .ct-way:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ct-lanes { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .ct-desk-zones { grid-template-columns: 1fr 1fr; }
  .ct-zone b { font-size: 26px; }
  .ct-form-card { padding: 24px 18px 20px; border-radius: 24px; }
  .ct-row { grid-template-columns: 1fr; }
  .ct-ways { grid-template-columns: 1fr; }
  .ct-way { padding: 18px; gap: 14px; grid-template-columns: 42px minmax(0, 1fr); }
  .ct-way .t-ico { width: 42px; height: 42px; }
  .ct-lane { padding: 18px 18px 20px; }
  .ct-lane-art { min-height: 190px; }
  .ct-lane-act .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-typing i { animation: none; opacity: .7; }
}
