/* ==========================================================================
   Contact: a note you fill in, on glass
   ========================================================================== */
.page-contact main { background: radial-gradient(60% 50% at 85% 10%, rgba(255, 214, 232, .55), transparent 70%), radial-gradient(50% 45% at 5% 60%, rgba(221, 235, 255, .7), transparent 70%), radial-gradient(45% 40% at 90% 85%, rgba(221, 243, 231, .6), transparent 70%); }

/* ---------- Hero ---------- */
.ct-hero { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 300px); justify-content: center; gap: 32px; align-items: center; padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 72px)); }
.ct-hero__h { margin: 16px 0 22px; font-size: clamp(42px, 5.4vw, 80px); font-weight: 500; letter-spacing: -.055em; line-height: .96; }
.ct-hero__h .serif { font-weight: 400; letter-spacing: -.02em; padding-bottom: .04em; background: var(--thread) no-repeat 0 96% / 100% .06em; }
.ct-live { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(255, 255, 255, .7); font-size: 14px; color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ct-live i { width: 8px; height: 8px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(43, 182, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); } }
.ct-hero__art { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 1; }
.ct-hero__art img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: float 7s ease-in-out infinite alternate; }
.ct-hero__glow { position: absolute; inset: 14%; border-radius: 50%; background: var(--thread); filter: blur(60px); opacity: .3; }
@keyframes float { to { transform: translateY(-14px) rotate(-2deg); } }

/* ---------- The note (form) ---------- */
.ct-main { display: grid; grid-template-columns: minmax(0, 860px); justify-content: center; gap: 28px; align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(88px, 11vw, 140px); }
.note { position: relative; padding: clamp(26px, 4vw, 52px); border-radius: 32px; display: grid; gap: 14px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .58));
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(255, 255, 255, .7), 0 40px 80px -40px rgba(40, 30, 80, .3); }
.note__line { margin: 6px 0 0; font-size: clamp(22px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.5; color: var(--ink); }
.blank { display: inline-block; position: relative; vertical-align: baseline; }
.blank input, .blank textarea { font: inherit; color: var(--ink); background: transparent; border: 0; border-radius: 0; padding: 0 2px 2px; outline: none; width: auto; min-width: 7ch;
  box-shadow: inset 0 -2px 0 rgba(11, 11, 12, .14); transition: box-shadow .3s; }
.blank input { field-sizing: content; max-width: 100%; }
.blank input::placeholder, .blank textarea::placeholder { color: rgba(11, 11, 12, .28); font-weight: 400; }
.blank input:focus, .blank textarea:focus { box-shadow: inset 0 -2px 0 transparent; background: linear-gradient(90deg, #E6F03C, #FF9BC4 55%, #9FC3FF) no-repeat 0 100% / 100% 2px; }
.blank.is-error input, .blank.is-error textarea { box-shadow: inset 0 -2px 0 #E2445C; }
.blank--area { display: block; }
.blank--area textarea { display: block; width: 100%; resize: none; field-sizing: content; min-height: 3.2em; font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; letter-spacing: -.015em; line-height: 1.5; padding: 4px 2px 8px; }
.note__picks { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; }
.pick input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; color: var(--text); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(11, 11, 12, .1); transition: background .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.pick span::before { content: ''; width: 8px; height: 8px; background: rgba(11, 11, 12, .18); transition: background .25s; }
.pick:hover span { box-shadow: inset 0 0 0 1px var(--ink); }
.pick input:checked + span { background: var(--ink); color: #fff; box-shadow: none; transform: translateY(-1px); }
.pick input:checked + span::before { background: var(--volt); }
.pick input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.note__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(11, 11, 12, .08); }
.note__wa .ico { width: 18px; height: 18px; }
.note__status { flex-basis: 100%; margin: 4px 0 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }
.note__status.is-error { color: #D93025; }

/* ---------- Other ways: one quiet line ---------- */
.ct-alt { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; font-size: 16px; color: var(--muted); }
.ct-alt a { color: var(--ink); font-weight: 500; background: var(--thread) no-repeat 0 100% / 100% 2px; padding-bottom: 2px; transition: background-size .35s var(--ease); }
.ct-alt a:hover { background-size: 0 2px; }
.ct-alt i { width: 5px; height: 5px; background: var(--volt); box-shadow: 0 0 0 1px rgba(11, 11, 12, .25); }

/* ---------- Sent ---------- */
.sent { position: fixed; inset: 0; z-index: 120; background: rgba(250, 250, 248, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; place-items: center; padding: 20px; }
.sent[hidden] { display: none; }
.sent__box { position: relative; background: rgba(255, 255, 255, .92); border-radius: 28px; padding: 28px 32px 32px; max-width: 440px; display: grid; gap: 12px; justify-items: center; text-align: center; box-shadow: inset 0 1px 0 #fff, 0 40px 80px -30px rgba(40, 30, 80, .35); }
.sent__box img { width: 150px; height: auto; margin-top: -90px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .15)); }
.sent__box p { margin: 0 0 8px; }


@media (max-width: 700px) {
  .ct-hero { grid-template-columns: 1fr; gap: 0; }
  .ct-hero__art { order: -1; width: min(62vw, 260px); margin-bottom: -10px; }
  .note { border-radius: 26px; }
  .note__line { font-size: clamp(20px, 6vw, 26px); }
  .pick span { height: 38px; padding: 0 14px; font-size: 14px; }
  .note__send .btn { flex: 1 1 auto; justify-content: center; }
}
