/* "Let's talk" pop-up (2026-09-27): book a call-back time, or send a message. Opened by js/talk.js. */
.tk { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 24px; }
.tk[hidden] { display: none; }
.tk-bg { position: absolute; inset: 0; background: rgba(6, 14, 25, .62); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); opacity: 0; transition: opacity .45s var(--ease); }
.tk.is-open .tk-bg { opacity: 1; }
.tk-panel { position: relative; width: min(980px, 100%); max-height: min(720px, calc(100dvh - 48px)); display: grid; grid-template-columns: 340px 1fr; border-radius: 28px; overflow: hidden; background: var(--sand); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06);
  opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.16, 1.2, .3, 1); }
.tk.is-open .tk-panel { opacity: 1; transform: none; }

/* left: the night-coast side, same world as the hero */
.tk-side { position: relative; overflow: hidden; padding-bottom: 118px !important; background: radial-gradient(120% 70% at 70% 105%, rgba(224,169,58,.45), rgba(224,169,58,0) 55%), linear-gradient(180deg, #0C1B2E, #102640); color: var(--sand); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; }
.tk-side .moon { position: absolute; right: 38px; bottom: 58px; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #FFE7B3, #E0A93A); box-shadow: 0 0 60px 10px rgba(224,169,58,.45); animation: tk-moon 6s ease-in-out infinite; }
@keyframes tk-moon { 50% { transform: translateY(-6px); } }
.tk-side .sea { position: absolute; left: 0; right: 0; bottom: 0; height: 88px; background: linear-gradient(180deg, #0E2238, #0C1B2E); }
.tk-side .sea i { position: absolute; left: -10%; right: -10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(255,221,150,.55), transparent); animation: tk-swell 5s ease-in-out infinite; }
.tk-side .sea i:nth-child(1) { top: 12px; } .tk-side .sea i:nth-child(2) { top: 30px; opacity: .6; animation-delay: -1.6s; } .tk-side .sea i:nth-child(3) { top: 52px; opacity: .35; animation-delay: -3.2s; }
@keyframes tk-swell { 50% { transform: translateX(6%) scaleX(.9); } }
.tk-side .eyebrow { color: var(--gold); }
.tk-side h2 { font: 800 clamp(40px, 4vw, 54px)/.95 var(--display); letter-spacing: -.035em; margin: 0; }
.tk-side h2 em { font-style: normal; color: var(--gold); }
.tk-side p { color: #c9d2de; font-size: 15.5px; line-height: 1.5; margin: 0; }
.tk-side ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.tk-side li { display: flex; gap: 10px; align-items: flex-start; }
.tk-side li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgba(224,169,58,.18); color: var(--gold); display: grid; place-items: center; font-size: 11px; font-weight: 800; margin-top: 1px; }
.tk-who { margin-top: auto; position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: #c9d2de; }
.tk-who b { display: block; color: var(--sand); font-size: 15px; }
.tk-who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font: 800 18px var(--display); flex: none; }

/* right: the form */
.tk-main { position: relative; padding: 28px 32px 30px; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.tk-x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .2s; z-index: 2; }
.tk button:focus-visible, .tk input:focus-visible, .tk textarea:focus-visible, .tk a:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }
.tk button:focus:not(:focus-visible) { outline: none; }
.tk-x:hover { transform: rotate(90deg); background: var(--sand-3); }
.tk-x svg { width: 18px; height: 18px; }
.tk-tabs { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--sand-2); border-radius: 99px; padding: 4px; margin-right: 52px; align-self: flex-start; }
.tk-tabs button { position: relative; z-index: 1; border: 0; background: none; font: 700 14.5px var(--body); color: var(--slate); padding: 11px 18px; border-radius: 99px; cursor: pointer; transition: color .3s; white-space: nowrap; }
.tk-tabs button[aria-selected="true"] { color: var(--sand); }
.tk-tabs .ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 99px; background: var(--ink); transition: transform .45s cubic-bezier(.3, 1.3, .4, 1); }
.tk-tabs[data-on="message"] .ind { transform: translateX(100%); }
.tk-view { margin-top: 22px; animation: tk-in .5s var(--ease) both; }
@keyframes tk-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.tk h3 { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 4px; }
.tk .sub { font-size: 14px; color: var(--slate); margin: 0; }

/* calendar */
.tk-cal { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 16px; align-items: start; }
.tk-mon { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tk-mon b { font: 700 16px var(--display); }
.tk-mon button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--sand-3); background: none; cursor: pointer; font-size: 16px; color: var(--ink); }
.tk-mon button:disabled { opacity: .3; cursor: default; }
.tk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tk-grid .dow { font-size: 11px; font-weight: 700; color: var(--slate); text-align: center; padding: 4px 0; letter-spacing: .06em; }
.tk-grid button { aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font: 600 14px var(--body); color: var(--ink); cursor: pointer; position: relative; transition: background .2s, color .2s, transform .2s; animation: tk-pop .45s var(--ease) both; }
.tk-grid button:disabled { color: #b7ae9f; cursor: default; }
.tk-grid button.ok { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sand-3); }
.tk-grid button.ok:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--gold); }
.tk-grid button small { position: absolute; top: 1px; left: 0; right: 0; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-2); }
.tk-grid button.on small { color: var(--gold); }
.tk-grid button.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.tk-grid button.on { background: var(--ink); color: var(--sand); box-shadow: 0 10px 20px -10px rgba(12,27,46,.6); }
@keyframes tk-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.tk-times h4 { margin: 0 0 10px; font: 700 16px var(--display); min-height: 34px; display: flex; align-items: center; }
.tk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.tk-slots button { border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sand-3); font: 600 13.5px var(--body); color: var(--ink); padding: 11px 4px; cursor: pointer; transition: all .2s; animation: tk-pop .4s var(--ease) both; }
.tk-slots button:hover { box-shadow: inset 0 0 0 1.5px var(--gold); transform: translateY(-2px); }
.tk-slots button:disabled { opacity: .35; cursor: default; transform: none; }
.tk-slots button.on { background: var(--gold); box-shadow: none; }
.tk-empty { border: 1.5px dashed var(--sand-3); border-radius: 16px; padding: 26px 18px; text-align: center; color: var(--slate); font-size: 14px; }
.tk-empty i { display: block; font-style: normal; font-size: 26px; margin-bottom: 6px; animation: tk-moon 3s ease-in-out infinite; }
.tk-tz { font-size: 12px; color: var(--slate); margin-top: 10px; }

/* details */
.tk-pick { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--sand); border-radius: 99px; padding: 8px 8px 8px 16px; font-weight: 700; font-size: 14.5px; margin-top: 12px; animation: tk-pop .4s var(--ease) both; }
.tk-pick button { border: 0; background: rgba(255,255,255,.12); color: var(--sand); border-radius: 99px; padding: 6px 12px; font: 600 12.5px var(--body); cursor: pointer; }
.tk-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.tk-form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--slate); letter-spacing: .02em; }
.tk-form label.full { grid-column: 1 / -1; }
.tk-form input, .tk-form textarea { font: 500 16px var(--body); color: var(--ink); background: #fff; border: 0; box-shadow: inset 0 0 0 1.5px var(--sand-3); border-radius: 14px; padding: 13px 14px; min-height: 48px; width: 100%; transition: box-shadow .2s; }
.tk-form textarea { min-height: 110px; resize: vertical; }
.tk-form input:focus, .tk-form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.tk-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.tk-go { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.tk-go .btn { border: 0; cursor: pointer; }
.tk-go .btn[disabled] { opacity: .6; cursor: default; }
.tk-err { color: #b3261e; font-size: 13.5px; font-weight: 600; }
.tk-fine { font-size: 12.5px; color: var(--slate); }

/* done */
.tk-done { flex: 1; display: grid; place-items: center; text-align: center; padding: 30px 10px; }
.tk-done svg.tk-tick { width: 96px; height: 96px; display: block; margin: 0 auto; }
.tk-done > div { position: relative; }
.tk-done svg.tk-tick circle, .tk-done svg.tk-tick path { fill: none !important; }
.tk-done .c { fill: none; stroke: var(--gold); stroke-width: 4; stroke-dasharray: 290; stroke-dashoffset: 290; animation: tk-draw .8s var(--ease) .1s forwards; }
.tk-done .k { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: tk-draw .5s var(--ease) .75s forwards; }
@keyframes tk-draw { to { stroke-dashoffset: 0; } }
.tk-done h3 { font-size: 30px; margin-top: 16px; }
.tk-done p { color: var(--slate); max-width: 38ch; margin: 8px auto 0; font-size: 15.5px; }
.tk-done .row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.tk-done .row .btn { border: 0; cursor: pointer; }
.tk-burst { position: absolute; left: 50%; top: 48px; width: 0; height: 0; pointer-events: none; }
.tk-burst i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0; animation: tk-burst 1.1s var(--ease) .7s forwards; }
@keyframes tk-burst { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); } }

@media (max-width: 860px) {
  .tk { padding: 0; place-items: end center; }
  .tk-panel { grid-template-columns: 1fr; border-radius: 26px 26px 0 0; max-height: calc(100dvh - 18px); height: calc(100dvh - 18px); transform: translateY(100%); transition: opacity .3s, transform .6s cubic-bezier(.16, 1, .3, 1); }
  .tk-side { padding: 22px 20px 18px !important; gap: 6px; }
  .tk-side h2 { font-size: 34px; padding-right: 50px; }
  .tk-side p { font-size: 14px; }
  .tk-side ul, .tk-who, .tk-side .sea { display: none; }
  .tk-side .moon { width: 40px; height: 40px; right: 70px; bottom: auto; top: 22px; }
  .tk-main { padding: 18px 16px 28px; }
  .tk-x { top: 16px; right: 16px; background: rgba(255,255,255,.14); color: var(--sand); }
  .tk-tabs { margin-right: 0; align-self: stretch; }
  .tk-cal { grid-template-columns: 1fr; gap: 14px; }
  .tk-form { grid-template-columns: 1fr; }
  .tk-slots { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tk-panel, .tk-bg { transition: none; }
  .tk-view, .tk-grid button, .tk-slots button, .tk-pick, .tk-side .moon, .tk-side .sea i { animation: none; }
  .tk-done .c, .tk-done .k { animation: none; stroke-dashoffset: 0; }
  .tk-burst { display: none; }
}
