/* Contact — a live chat-style brief with Hisan. Namespaced ct- to stay clear of legacy contact rules. */

.ct-page {
  --ct-bg: var(--ua-paper, #efe9de);
  --ct-ink: var(--ua-ink, #14251f);
  --ct-muted: var(--ua-muted, #53615a);
  --ct-line: var(--ua-line, rgba(20, 37, 31, .16));
  --ct-surface: #f8f4ec;
  --ct-surface-2: #e6dfd1;
  --ct-green: var(--ua-green, #17382d);
  --ct-deep: #10261e;
  --ct-lime: var(--ua-lime, #dfff63);
  --ct-on-lime: #17382d;
  --ct-orange: var(--ua-orange, #d9522d);
  --ct-accent: #ad4022;
  --ct-cream: #fbf7ef;
  --ct-shadow: 0 30px 70px -36px rgba(20, 37, 31, .5);
  --ct-shadow-soft: 0 16px 36px -24px rgba(20, 37, 31, .4);
  --ct-display: var(--ua-display, "DM Serif Display", Georgia, serif);
  --ct-sans: var(--ua-sans, "Manrope", system-ui, sans-serif);
  --ct-ease: cubic-bezier(.2, .8, .2, 1);
  position: relative;
  display: block;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--ct-ink);
  background: var(--ct-bg);
  font: 500 16px/1.6 var(--ct-sans);
}

html.theme-dark .ct-page {
  --ct-surface: #17211c;
  --ct-surface-2: #1e2b24;
  --ct-accent: #f47a52;
  --ct-shadow: 0 34px 80px -38px rgba(0, 0, 0, .85);
  --ct-shadow-soft: 0 18px 40px -26px rgba(0, 0, 0, .8);
}

html[data-palette="desert"] .ct-page { --ct-on-lime: #352017; --ct-accent: var(--ua-orange); }

.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
.ct-page :where(h1, h2, h3, p, ol, ul, dl, dd, figure, fieldset) { margin: 0; }
.ct-page :where(ol, ul) { padding: 0; list-style: none; }
.ct-page fieldset { min-width: 0; padding: 0; border: 0; }
.ct-page button, .ct-page input, .ct-page textarea { font: inherit; color: inherit; }
.ct-page button { cursor: pointer; }
.ct-page :focus-visible { outline: 2px solid var(--ct-orange); outline-offset: 3px; border-radius: 8px; }
body .ct-page .interior-motion-target { opacity: 1; translate: none; }

.ct-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ct-i { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-shell { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }

.ct-logo { display: inline-grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 14px; background: var(--ct-cream); box-shadow: inset 0 0 0 1px rgba(20, 37, 31, .08), 0 8px 18px -10px rgba(0, 0, 0, .45); }
.ct-logo svg { width: 24px; height: 24px; fill: var(--brand); }

.ct-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ct-muted); font: 800 11px/1 var(--ct-sans); letter-spacing: .14em; text-transform: uppercase; }
.ct-kicker b { display: inline-grid; min-width: 30px; height: 22px; padding: 0 9px; place-items: center; color: var(--ct-on-lime); border-radius: 99px; background: var(--ct-lime); font-weight: 800; letter-spacing: .06em; }
.ct-kicker-light { color: rgba(251, 247, 239, .7); }

.ct-page h2 { font: 400 clamp(38px, 4.8vw, 66px)/1 var(--ct-display); letter-spacing: -.035em; text-wrap: balance; }
.ct-page :is(h1, h2) em { font-style: normal; color: var(--ct-accent); }

.ct-page .ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 1px solid transparent; border-radius: 99px; background: none; font: 800 15px/1 var(--ct-sans); text-decoration: none; transition: transform .35s var(--ct-ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s, opacity .25s; }
.ct-page .ct-btn:hover { transform: translateY(-2px); }
.ct-page .ct-btn .ct-i { transition: transform .35s var(--ct-ease); }
.ct-page .ct-btn-primary { color: #fff; background: var(--ct-orange); box-shadow: 0 14px 30px -16px var(--ct-orange); }
.ct-page .ct-btn-primary:hover { background: color-mix(in srgb, var(--ct-orange) 86%, #000); }
.ct-page .ct-btn-primary:hover .ct-i { transform: translateX(3px); }
.ct-page .ct-btn-primary[data-ct-submit]:hover .ct-i, .ct-page .ct-btn-primary[href]:hover .ct-i { transform: translate(2px, -2px); }
.ct-page .ct-btn-ghost { color: var(--ct-ink); border-color: var(--ct-line); }
.ct-page .ct-btn-ghost:hover { border-color: var(--ct-ink); }
.ct-page .ct-btn-lime { color: var(--ct-on-lime); background: var(--ct-lime); box-shadow: 0 16px 40px -18px rgba(223, 255, 99, .7); }
.ct-page .ct-btn-lime:hover .ct-i { transform: translateY(3px); }
.ct-page .ct-btn[disabled] { opacity: .6; pointer-events: none; }

.ct-js [data-ct-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ct-ease) var(--ct-delay, 0ms), transform .8s var(--ct-ease) var(--ct-delay, 0ms); }
.ct-js [data-ct-reveal].is-in { opacity: 1; transform: none; }
@keyframes ct-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ================= SAY HELLO ================= */
/* A short, playful header — the chat below is the centrepiece, so this stays compact. */

.ct-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-say { position: relative; padding: 30px 0 46px; overflow: hidden; isolation: isolate; }
.ct-say-bg { position: absolute; inset: 0; z-index: -1; }
.ct-say-bg i { position: absolute; width: 38vw; max-width: 560px; aspect-ratio: 1; border-radius: 50%; filter: blur(80px); opacity: .35; animation: ct-drift 20s ease-in-out infinite alternate; }
.ct-say-bg i:first-child { top: -40%; left: -6%; background: color-mix(in srgb, var(--ct-lime) 60%, transparent); }
.ct-say-bg i:last-child { top: -20%; right: -8%; background: color-mix(in srgb, var(--ct-orange) 55%, transparent); animation-delay: -8s; }
html.theme-dark .ct-say-bg i { opacity: .16; }
@keyframes ct-drift { to { transform: translate(8%, 12%) scale(1.15); } }

.ct-say-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.ct-crumbs { display: flex; gap: 10px; color: var(--ct-muted); font-size: 13px; font-weight: 700; }
.ct-page .ct-crumbs a { color: var(--ct-muted); transition: color .2s; }
.ct-page .ct-crumbs a:hover { color: var(--ct-ink); }
.ct-crumbs [aria-current] { color: var(--ct-ink); }

.ct-status { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border: 1px solid var(--ct-line); border-radius: 99px; background: color-mix(in srgb, var(--ct-surface) 70%, transparent); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; }
.ct-status b { font-weight: 800; }
.ct-status time { font-weight: 800; font-variant-numeric: tabular-nums; }
.ct-status-sep { color: var(--ct-muted); }
.ct-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #71c042; }
.ct-dot::after { content: ""; position: absolute; inset: -4px; border: 2px solid #71c042; border-radius: 50%; animation: ct-ping 2.4s var(--ct-ease) infinite; }
.ct-status.is-closed .ct-dot { background: #e0a53a; }
.ct-status.is-closed .ct-dot::after { border-color: #e0a53a; }
@keyframes ct-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

.ct-say-title { display: grid; gap: 10px; font-weight: 400; }
.ct-say-line { font: 400 clamp(64px, 10vw, 150px)/.9 var(--ct-display); letter-spacing: -.055em; }
.ct-hello { display: inline-block; min-width: 1.6em; color: var(--ct-accent); transition: opacity .38s, filter .38s, transform .38s var(--ct-ease); }
.ct-hello span { display: inline-block; transition: inherit; }
.ct-hello span.is-out { opacity: 0; filter: blur(12px); transform: translateY(.2em); }
.ct-say-sub { color: var(--ct-muted); font: 400 clamp(24px, 2.6vw, 36px)/1.1 var(--ct-display); letter-spacing: -.02em; }
.ct-say-lead { max-width: 560px; margin-top: 20px; color: var(--ct-muted); font-size: 17px; }

/* ================= CHAT ZONE ================= */

.ct-chatzone { padding: 10px 0 110px; scroll-margin-top: 80px; }
.ct-chat-grid { display: grid; grid-template-columns: minmax(280px, .62fr) minmax(0, 1.38fr); gap: 22px; align-items: start; }

.ct-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.ct-profile { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--ct-line); border-radius: 24px; background: var(--ct-surface); }
.ct-profile-photo { width: 64px; height: 64px; border-radius: 20px; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.ct-profile-name { font: 400 26px/1.05 var(--ct-display); }
.ct-profile-role { color: var(--ct-muted); font-size: 13px; font-weight: 600; }
.ct-profile-meta { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); padding-top: 14px; border-top: 1px solid var(--ct-line); }
.ct-profile-meta > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.ct-profile-meta > div + div { padding-left: 12px; border-left: 1px solid var(--ct-line); }
.ct-profile-meta dd { font: 400 19px/1.1 var(--ct-display); }
.ct-profile-meta dt { color: var(--ct-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.ct-direct { display: grid; padding: 6px 14px; border: 1px solid var(--ct-line); border-radius: 24px; background: var(--ct-surface); }
.ct-direct li { position: relative; display: flex; align-items: center; }
.ct-direct li + li { border-top: 1px solid var(--ct-line); }
.ct-page .ct-direct-row { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; padding: 11px 2px; color: var(--ct-ink); transition: transform .35s var(--ct-ease); }
.ct-page .ct-direct-row:hover { transform: translateX(4px); }
.ct-direct .ct-logo { width: 38px; height: 38px; border-radius: 12px; }
.ct-direct .ct-logo svg { width: 20px; height: 20px; }
.ct-direct-text { display: grid; flex: 1; min-width: 0; }
.ct-direct-text b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.ct-direct-text small { overflow: hidden; color: var(--ct-muted); font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ct-tag { padding: 3px 7px; color: var(--ct-on-lime); border-radius: 99px; background: var(--ct-lime); font-size: 9.5px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ct-direct-go { width: 16px; height: 16px; color: var(--ct-muted); transition: color .25s; }
.ct-direct-row:hover .ct-direct-go { color: var(--ct-accent); }
.ct-copy { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; min-height: 30px; padding: 0 10px; border: 1px solid var(--ct-line); border-radius: 99px; background: var(--ct-bg); font-size: 11.5px; font-weight: 800; transition: border-color .2s, background-color .2s, color .2s; }
.ct-copy:hover { border-color: var(--ct-ink); }
.ct-copy .ct-i { width: 13px; height: 13px; }
.ct-copy.is-copied { color: var(--ct-on-lime); border-color: var(--ct-lime); background: var(--ct-lime); }

.ct-qr { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px dashed var(--ct-line); border-radius: 24px; }
.ct-qr-code { position: relative; display: grid; width: 104px; height: 104px; padding: 9px; place-items: center; border-radius: 16px; background: var(--ct-cream); }
.ct-qr-code > svg { width: 100%; height: 100%; }
.ct-qr-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ct-qr-logo .ct-logo { width: 26px; height: 26px; border-radius: 8px; box-shadow: 0 0 0 3px var(--ct-cream); }
.ct-qr-logo .ct-logo svg { width: 15px; height: 15px; }
.ct-qr p { color: var(--ct-muted); font-size: 13.5px; }
.ct-qr p b { display: block; color: var(--ct-ink); font-size: 15px; }

/* Chat window */
.ct-chat { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: min(700px, calc(100vh - 150px)); min-height: 540px; overflow: hidden; border: 1px solid var(--ct-line); border-radius: 30px; background: var(--ct-surface); box-shadow: var(--ct-shadow); }
.ct-chat::before { content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; background: linear-gradient(150deg, color-mix(in srgb, var(--ct-lime) 55%, transparent), transparent 30%, transparent 72%, color-mix(in srgb, var(--ct-orange) 40%, transparent)); opacity: .5; pointer-events: none; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; }
.ct-chat-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--ct-line); background: color-mix(in srgb, var(--ct-surface) 92%, transparent); backdrop-filter: blur(10px); }
.ct-chat-avatar { position: relative; flex: 0 0 auto; }
.ct-chat-avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.ct-chat-avatar i { position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border: 2.5px solid var(--ct-surface); border-radius: 50%; background: #71c042; }
.ct-chat-avatar i.is-away { background: #e0a53a; }
.ct-chat-who { display: grid; flex: 1; min-width: 0; }
.ct-chat-who b { font-weight: 800; }
.ct-chat-who small { overflow: hidden; color: var(--ct-muted); font-size: 12.5px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ct-page .ct-chat-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; color: var(--ct-ink); border: 1px solid var(--ct-line); border-radius: 99px; background: none; font-size: 12.5px; font-weight: 800; transition: border-color .2s; }
.ct-page .ct-chat-tool:hover { border-color: var(--ct-ink); }
.ct-chat-tool[hidden] { display: none !important; }
.ct-chat-tool .ct-i { width: 15px; height: 15px; }
.ct-page .ct-chat-wa { padding: 0; border: 0; }
.ct-chat-wa .ct-logo { width: 38px; height: 38px; border-radius: 50%; }
.ct-chat-wa .ct-logo svg { width: 20px; height: 20px; }

.ct-chat-log { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 26px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background-color: var(--ct-bg); background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--ct-ink) 7%, transparent) 1px, transparent 0); background-size: 22px 22px; }
.ct-chat-day { align-self: center; margin: 2px 0 8px; }
.ct-chat-day span { padding: 5px 12px; color: var(--ct-muted); border-radius: 99px; background: var(--ct-surface); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.ct-bubble { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 10px; max-width: min(78%, 520px); padding: 10px 14px 8px; border-radius: 20px; font-size: 15px; line-height: 1.5; animation: ct-pop .45s var(--ct-ease) both; }
@keyframes ct-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.ct-bubble-them { align-self: flex-start; color: var(--ct-ink); border: 1px solid var(--ct-line); border-bottom-left-radius: 6px; background: var(--ct-surface); transform-origin: bottom left; }
.ct-bubble-me { align-self: flex-end; color: var(--ct-on-lime); border-bottom-right-radius: 6px; background: var(--ct-lime); transform-origin: bottom right; }
.ct-bubble-body { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.ct-bubble-body .ct-logo { width: 26px; height: 26px; border-radius: 8px; box-shadow: none; }
.ct-bubble-body .ct-logo svg { width: 15px; height: 15px; }
.ct-bubble-meta { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: 10.5px; font-weight: 700; opacity: .55; font-variant-numeric: tabular-nums; }
.ct-ticks { width: 16px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 5.5 3 3L10 1.5M7 8.5l7-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 5.5 3 3L10 1.5M7 8.5l7-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ct-bubble-me.is-read .ct-ticks { color: #2a8cff; }
.ct-bubble-me.is-read .ct-bubble-meta { opacity: .9; }
.ct-skipped { font-style: italic; opacity: .7; }
.ct-edit { position: absolute; top: 50%; left: -40px; display: grid; width: 30px; height: 30px; place-items: center; padding: 0; color: var(--ct-muted); border: 1px solid var(--ct-line); border-radius: 50%; background: var(--ct-surface); opacity: 0; transform: translateY(-50%) scale(.9); transition: opacity .2s, transform .2s, color .2s, border-color .2s; }
.ct-edit .ct-i { width: 13px; height: 13px; }
.ct-bubble-me:hover .ct-edit, .ct-edit:focus-visible { opacity: 1; transform: translateY(-50%); }
.ct-edit:hover { color: var(--ct-accent); border-color: var(--ct-accent); }
@media (hover: none) { .ct-edit { opacity: .8; transform: translateY(-50%); } .ct-type-tip { display: none; } }

.ct-typing { gap: 4px; padding: 14px 16px; }
.ct-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ct-muted); animation: ct-dots 1.1s ease-in-out infinite; }
.ct-typing span:nth-child(2) { animation-delay: .15s; }
.ct-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ct-dots { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.ct-bubble-attach { flex-direction: column; align-items: stretch; max-width: min(84%, 540px); white-space: normal; }
.ct-attach-label { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }

.ct-bubble-card { flex-direction: column; align-items: stretch; width: min(100%, 460px); max-width: 100%; padding: 16px 18px 10px; }
.ct-bubble-card .ct-bubble-body { display: block; }
.ct-card-title { margin-bottom: 8px; font: 400 22px/1.1 var(--ct-display); }
.ct-card { display: grid; }
.ct-card > div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--ct-line); }
.ct-card dt { color: var(--ct-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ct-card dd { font-size: 14px; font-weight: 600; }
.ct-card-note { margin-top: 6px; color: var(--ct-muted); font-size: 12px; }
.ct-bubble-card.is-sent { border-color: var(--ct-lime); box-shadow: 0 0 0 1px var(--ct-lime); }
.ct-bubble-card.is-sent .ct-card-note { display: none; }

/* Composer */
.ct-composer { position: relative; z-index: 1; display: grid; gap: 10px; min-height: 76px; padding: 14px 18px 16px; border-top: 1px solid var(--ct-line); background: var(--ct-surface); }
.ct-composer:empty::before { content: ""; align-self: center; justify-self: center; width: 40px; height: 6px; border-radius: 6px; background: var(--ct-surface-2); }
.ct-composer[data-kind="send"], .ct-composer[data-kind="done"] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ct-quick { display: flex; flex-wrap: wrap; gap: 8px; max-height: 210px; overflow-y: auto; animation: ct-in .4s var(--ct-ease); }
.ct-quick-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ct-quick-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; color: var(--ct-ink); border: 1px solid var(--ct-line); border-radius: 99px; background: var(--ct-bg); font-size: 14px; font-weight: 700; text-align: left; transition: border-color .2s, background-color .2s, transform .25s var(--ct-ease); }
.ct-quick-tiles .ct-quick-btn { min-height: 50px; padding: 6px 12px 6px 6px; border-radius: 14px; }
.ct-quick-btn .ct-logo { width: 34px; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(20, 37, 31, .08); }
.ct-quick-btn .ct-logo svg { width: 18px; height: 18px; }
.ct-logo-line { color: var(--ct-green); }
.ct-logo-line .ct-i { width: 18px; height: 18px; fill: none; stroke: currentColor; }
.ct-quick-btn:hover { border-color: var(--ct-lime); background: color-mix(in srgb, var(--ct-lime) 14%, var(--ct-bg)); transform: translateY(-2px); }
.ct-quick-btn.is-previous { border-color: var(--ct-lime); box-shadow: 0 0 0 1px var(--ct-lime); }
.ct-quick-skip { color: var(--ct-muted); border-style: dashed; background: none; }

.ct-type { display: grid; gap: 8px; animation: ct-in .4s var(--ct-ease); }
.ct-type-row { display: flex; align-items: flex-end; gap: 10px; }
.ct-page .ct-type-field { flex: 1; min-width: 0; min-height: 50px; padding: 13px 18px; border: 1px solid var(--ct-line); border-radius: 26px; background: var(--ct-bg); font-size: 16px; font-weight: 600; line-height: 1.45; resize: none; transition: border-color .2s, box-shadow .2s; }
.ct-page .ct-type-field:focus { outline: none; border-color: var(--ct-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ct-orange) 15%, transparent); }
.ct-page .ct-type-field::placeholder { color: color-mix(in srgb, var(--ct-muted) 75%, transparent); font-weight: 500; }
.ct-send { display: grid; flex: 0 0 auto; width: 50px; height: 50px; place-items: center; padding: 0; color: #fff; border: 0; border-radius: 50%; background: var(--ct-orange); box-shadow: 0 10px 24px -12px var(--ct-orange); transition: transform .3s var(--ct-ease), background-color .2s; }
.ct-send:hover { transform: scale(1.06) rotate(-8deg); }
.ct-send .ct-i { width: 20px; height: 20px; }
.ct-type-error { color: var(--ct-accent); font-size: 13px; font-weight: 700; }
.ct-type-error[hidden] { display: none; }
.ct-type-skip { justify-self: start; padding: 0; border: 0; background: none; color: var(--ct-muted); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ct-type-tip { color: var(--ct-muted); font-size: 11.5px; }
.ct-type-tip kbd { padding: 1px 5px; border: 1px solid var(--ct-line); border-bottom-width: 2px; border-radius: 5px; font: 700 10.5px var(--ct-sans); }
.ct-nudges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ct-nudges span { margin-right: 2px; color: var(--ct-muted); font-size: 12px; font-weight: 700; }
.ct-nudges button { min-height: 28px; padding: 0 10px; border: 1px dashed var(--ct-line); border-radius: 99px; background: none; color: var(--ct-muted); font-size: 12px; font-weight: 700; transition: color .2s, border-color .2s; }
.ct-nudges button::before { content: "+ "; color: var(--ct-accent); }
.ct-nudges button:hover { color: var(--ct-ink); border-color: var(--ct-ink); }
.ct-send-brief { min-height: 50px; }
.ct-send-note { display: inline-flex; align-items: center; gap: 6px; color: var(--ct-muted); font-size: 12.5px; font-weight: 600; }
.ct-send-note .ct-i { width: 14px; height: 14px; color: var(--ct-accent); }

.ct-error { padding: 12px 14px; color: var(--ct-accent); border-radius: 12px; background: color-mix(in srgb, var(--ct-orange) 10%, transparent); font-size: 14px; font-weight: 700; }
.ct-error[hidden] { display: none; }
.ct-context-note { margin-bottom: 18px; padding: 12px 14px; color: var(--ct-ink); border-left: 3px solid var(--ct-lime); border-radius: 0 12px 12px 0; background: var(--ct-surface-2); font-size: 14px; font-weight: 600; }
.ct-context-note[hidden] { display: none; }

.ct-review { display: grid; border-top: 1px solid var(--ct-line); }
.ct-review > div { display: grid; grid-template-columns: 140px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--ct-line); }
.ct-review dt { color: var(--ct-muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ct-review dd { overflow-wrap: anywhere; font-weight: 600; white-space: pre-line; }
.ct-review button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ct-accent); font-size: 13px; font-weight: 800; }
.ct-review button .ct-i { width: 14px; height: 14px; }

/* ================= NEXT ================= */

.ct-next { padding: 30px 0 110px; border-top: 1px solid var(--ct-line); }
.ct-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin: 80px 0 40px; }
.ct-head .ct-kicker { order: -1; flex-basis: 100%; }
.ct-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: step; }
.ct-timeline li { position: relative; display: grid; align-content: start; gap: 10px; padding: 30px 32px 6px 0; border-top: 2px solid var(--ct-line); counter-increment: step; }
.ct-timeline li + li { padding-left: 32px; border-left: 1px solid var(--ct-line); }
.ct-timeline li::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--ct-lime), var(--ct-orange)); transition: width 1.1s var(--ct-ease) var(--ct-delay, 0ms); }
.ct-timeline li.is-in::before, .ct-timeline:not(.ct-js *) li::before { width: 100%; }
.ct-timeline li::after { content: "0" counter(step); position: absolute; top: 26px; right: 32px; color: var(--ct-muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.ct-tl-when { color: var(--ct-accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ct-timeline h3 { font: 400 30px/1.05 var(--ct-display); letter-spacing: -.02em; }
.ct-timeline p { max-width: 340px; color: var(--ct-muted); }

/* ================= WHERE & ANSWERS ================= */

.ct-where { padding: 0 0 130px; }
.ct-where-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: start; }
.ct-hours { display: grid; gap: 26px; padding: 36px; overflow: hidden; color: var(--ct-cream); border-radius: 30px; background: radial-gradient(ellipse 70% 70% at 0% 100%, rgba(244, 122, 82, .14), transparent 60%), var(--ct-deep); box-shadow: var(--ct-shadow); }
.ct-hours h2 { font-size: clamp(34px, 3.6vw, 50px); }
.ct-hours h2 em { color: var(--ct-lime); }
.ct-hours-body { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.ct-clock { position: relative; width: 170px; height: 170px; border: 1px solid rgba(251, 247, 239, .2); border-radius: 50%; background: radial-gradient(circle, rgba(251, 247, 239, .06), transparent 70%), repeating-conic-gradient(from -1deg, rgba(251, 247, 239, .35) 0 2deg, transparent 2deg 30deg); -webkit-mask: radial-gradient(circle, #000 0 100%); }
.ct-clock::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--ct-deep); }
.ct-clock::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ct-lime); box-shadow: 0 0 0 3px var(--ct-deep); }
.ct-clock i { position: absolute; bottom: 50%; left: 50%; z-index: 1; border-radius: 4px; transform-origin: 50% 100%; transform: translateX(-50%) rotate(var(--a, 0deg)); }
.ct-clock-h { width: 5px; height: 44px; background: var(--ct-cream); }
.ct-clock-m { width: 3px; height: 62px; background: var(--ct-cream); opacity: .85; }
.ct-clock-s { width: 1.5px; height: 68px; background: var(--ct-orange); transition: transform .3s cubic-bezier(.4, 2.2, .5, 1); }
.ct-clock-label { position: absolute; left: 50%; bottom: 36px; z-index: 1; color: rgba(251, 247, 239, .55); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; transform: translateX(-50%); }
.ct-week { display: grid; }
.ct-week li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; color: rgba(251, 247, 239, .7); font-size: 14px; }
.ct-week li b { font-weight: 700; }
.ct-week li.is-today { color: var(--ct-on-lime); background: var(--ct-lime); font-weight: 800; }

.ct-answers { display: grid; gap: 20px; padding: 36px 8px 0; }
.ct-qa-list { display: grid; gap: 10px; }
.ct-qa { border: 1px solid var(--ct-line); border-radius: 20px; background: color-mix(in srgb, var(--ct-surface) 60%, transparent); transition: border-color .3s, background-color .3s; }
.ct-qa.is-open { border-color: color-mix(in srgb, var(--ct-accent) 50%, var(--ct-line)); background: var(--ct-surface); }
.ct-qa h3 { margin: 0; font-size: inherit; }
.ct-qa button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 20px; border: 0; background: none; text-align: left; font: 400 21px/1.25 var(--ct-display); }
.ct-qa button i { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid var(--ct-line); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .45s var(--ct-ease); }
.ct-qa button i::before, .ct-qa button i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ct-ease); }
.ct-qa button i::after { transform: rotate(90deg); }
.ct-qa.is-open button i { color: #fff; border-color: var(--ct-orange); background: var(--ct-orange); transform: rotate(180deg); }
.ct-qa.is-open button i::after { transform: rotate(0); }
.ct-qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ct-ease); }
.ct-qa.is-open .ct-qa-a { grid-template-rows: 1fr; }
.ct-qa-a > div { overflow: hidden; }
.ct-qa-a p { padding: 0 20px 20px; color: var(--ct-muted); }

/* ================= RESPONSIVE ================= */

@media (max-width: 1080px) {
  .ct-chat-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); order: 2; }
  .ct-qr { display: none; }
  .ct-where-grid { grid-template-columns: minmax(0, 1fr); }
  .ct-answers { padding: 20px 0 0; }
}

@media (max-width: 760px) {
  .ct-shell { width: calc(100% - 32px); }
  .ct-say { padding: 20px 0 30px; }
  .ct-say-top { flex-direction: column; align-items: flex-start; margin-bottom: 18px; }
  .ct-say-line { font-size: clamp(56px, 17vw, 84px); }
  .ct-say-lead { font-size: 16px; }
  .ct-chatzone { padding-bottom: 70px; }
  .ct-side { grid-template-columns: minmax(0, 1fr); }
  .ct-chat { height: min(640px, calc(100svh - 90px)); min-height: 520px; border-radius: 24px; }
  .ct-chat-head { padding: 12px 14px; }
  .ct-chat-tool span { display: none; }
  .ct-chat-log { padding: 16px 14px 22px; }
  .ct-bubble { max-width: 88%; font-size: 14.5px; }
  .ct-edit { left: -36px; }
  .ct-composer { padding: 12px 12px 14px; }
  .ct-quick-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-quick-tiles .ct-quick-btn { font-size: 13px; }
  .ct-head { margin-top: 60px; }
  .ct-timeline { grid-template-columns: minmax(0, 1fr); }
  .ct-timeline li, .ct-timeline li + li { padding: 26px 0 24px; border-left: 0; }
  .ct-timeline li::after { right: 0; }
  .ct-next { padding-bottom: 70px; }
  .ct-where { padding-bottom: 90px; }
  .ct-hours { padding: 28px 22px; border-radius: 24px; }
  .ct-hours-body { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ct-week { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-page *, .ct-page *::before, .ct-page *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ct-js [data-ct-reveal] { opacity: 1; transform: none; }
}
