/* ==========================================================================
   OFFCUT — Thread Theme · Contact page
   ========================================================================== */

/* ---------- shared form atoms: floating-label fields ---------- */
.fl { position: relative; display: block; min-width: 0; }
.fl input, .fl textarea, .fl select {
  width: 100%;
  height: 58px;
  padding: 22px 16px 8px;
  border-radius: var(--r-s);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.fl textarea { height: auto; min-height: 150px; resize: vertical; line-height: 1.55; padding-top: 28px; }
.fl select { cursor: pointer; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%230d0d0c' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 16px center; }
.fl > span {
  position: absolute; left: 17px; top: 19px;
  font-size: 15px; color: var(--mute);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .3s var(--ease), color .3s;
}
.fl > span small { color: var(--mute-2); }
.fl input:focus, .fl textarea:focus, .fl select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 13, 12, .06); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span,
.fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span,
.fl--select > span { transform: translateY(-11px) scale(.76); color: var(--ink-3); }
.fl.is-bad input, .fl.is-bad textarea { border-color: #b23a12; }
.fl__err { display: block; font-style: normal; font-size: 12px; color: #b23a12; min-height: 0; margin-top: 6px; }
.fl__err:empty { display: none; }
.fl__count { position: absolute; right: 12px; top: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--mute); }
.fl--dark input { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: #fff; }
.fl--dark input:focus { border-color: #fff; box-shadow: none; }
.fl--dark > span { color: rgba(255, 255, 255, .55); }
.fl--dark input:focus + span, .fl--dark input:not(:placeholder-shown) + span { color: rgba(255, 255, 255, .75); }

/* status dot */
.status { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--white); font-size: 13px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute-2); }
.status.is-on .dot { background: var(--ok); animation: openPulse 2s infinite; }
@keyframes openPulse { 0% { box-shadow: 0 0 0 0 rgba(47, 125, 79, .5); } 70% { box-shadow: 0 0 0 7px rgba(47, 125, 79, 0); } 100% { box-shadow: none; } }
.status b { font-weight: 500; }

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.chi { position: relative; height: clamp(620px, 90vh, 920px); background: var(--sw-sand); overflow: hidden; isolation: isolate; }
.chi__word {
  position: absolute; left: 0; right: 0; top: 46%; transform: translateY(-50%);
  text-align: center;
  font-weight: 500; font-size: clamp(8rem, 33vw, 38rem); line-height: .8; letter-spacing: -.085em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}
.chi__word > span { display: inline-block; transform: translateY(100%); transition: transform 1.3s var(--ease); }
.is-ready .chi__word > span { transform: none; }
.chi__hand {
  position: absolute; right: 2%; bottom: -4%;
  height: 96%; width: auto; max-width: none;
  mix-blend-mode: multiply;                 /* hand sits over the word, white backdrop drops out */
  filter: contrast(1.25) brightness(1.18) grayscale(.6);
  /* soften the photo's own edges so no backdrop seam shows against the sand */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%), linear-gradient(to top, transparent 0%, #000 18%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 28%), linear-gradient(to top, transparent 0%, #000 18%); mask-composite: intersect;
  opacity: 0; transform: translate(6%, 6%) rotate(4deg);
  transition: opacity 1.2s var(--ease) .3s, transform 1.6s var(--ease) .3s, translate 1s var(--ease);
  translate: var(--hx, 0) var(--hy, 0);
}
.is-ready .chi__hand { opacity: 1; transform: none; }
.chi__ui { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--bar-h) + var(--head-h) + 18px); padding-bottom: clamp(20px, 3vw, 36px); pointer-events: none; }
.chi__ui > * { pointer-events: auto; }
.chi .crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.chi .crumbs a { opacity: .6; }
.chi .crumbs span[aria-hidden] { opacity: .35; }
.chi__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.chi__copy {
  display: grid; gap: 16px; justify-items: start;
  max-width: 440px;
  padding: 22px;
  border-radius: var(--r-l);
  background: rgba(244, 242, 238, .5);
  border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
}
.chi__title { font-weight: 500; font-size: clamp(2.4rem, 4.4vw, 4.2rem); line-height: .92; letter-spacing: -.055em; }
.chi__title .serif { font-size: 1.05em; }
.chi__lede { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }
.chi__ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.chi__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin: 0; padding: 14px 6px; border-radius: var(--r-m); color: #fff; background: rgba(13, 13, 12, .66); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.chi__stats div { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
.chi__stats div:first-child { border: 0; }
.chi__stats dt { font-size: 9.5px; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.chi__stats dd { margin: 0; font-size: 26px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.chi__stats small { font-size: 14px; opacity: .6; }

/* ==========================================================================
   02 · ROUTES
   ========================================================================== */
.routes__grid { display: grid; grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: 10px; }
.route {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px;
  min-height: 300px;
  border-radius: var(--r-m);
  background: var(--white);
  transition: transform .5s var(--ease), background-color .4s;
}
a.route:hover { transform: translateY(-4px); }
.route__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.route__top .mono { font-size: 10px; color: var(--mute); }
.route__ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.route__ico .i { width: 20px; height: 20px; }
.route h3 { font-size: 20px; font-weight: 500; letter-spacing: -.035em; margin-top: 24px; }
.route p { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.route__go { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; margin-top: 6px; }
.route__go .i { width: 15px; height: 15px; transition: transform .4s var(--ease); }
a.route:hover .route__go .i { transform: translateX(4px); }
.route--ink { background: var(--ink); color: #fff; }
.route--ink .route__ico { background: rgba(255, 255, 255, .1); }
.route--ink p, .route--ink .route__top .mono { color: rgba(255, 255, 255, .6); }
.route--track { background: var(--sw-sage); }
.route--track .route__ico { background: rgba(255, 255, 255, .5); }
.route--track .route__top .mono { color: var(--ink-3); }
.track { display: grid; gap: 8px; margin-top: 6px; }
.track .fl input { height: 52px; background: rgba(255, 255, 255, .7); border-color: transparent; }
.track .fl > span { top: 16px; font-size: 14px; }
.track__err { font-size: 12.5px; color: #b23a12; }
.track__err:empty { display: none; }
.tracked { display: grid; gap: 12px; margin-top: 6px; animation: rIn .5s var(--ease) both; }
@keyframes rIn { from { opacity: 0; transform: translateY(8px); } }
.tracked__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.tracked__head b { font-weight: 600; }
.tracked ol { display: grid; gap: 0; }
.tracked li { position: relative; display: grid; gap: 1px; padding: 0 0 12px 22px; font-size: 13px; color: var(--ink-3); }
.tracked li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; }
.tracked li::after { content: ""; position: absolute; left: 7px; top: 16px; bottom: 0; width: 1px; background: rgba(13, 13, 12, .2); }
.tracked li:last-child::after { display: none; }
.tracked li.is-done::before { background: var(--ink); }
.tracked li.is-now::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 0 4px rgba(47, 125, 79, .18); }
.tracked li b { color: var(--ink); font-weight: 500; }
.tracked li small { font-size: 11.5px; color: var(--mute); }
.tracked button { justify-self: start; font-size: 12.5px; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   03 · FORM + CHANNELS
   ========================================================================== */
.cform { border-top: 1px solid var(--line); }
.cform__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: clamp(32px, 5vw, 88px); align-items: start; }
.cform__main { display: grid; gap: 18px; }
.cform__main > .eyebrow { color: var(--mute); }
.msg { display: grid; gap: 18px; margin-top: 12px; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.topic { cursor: pointer; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; background: var(--white); transition: background-color .3s, color .3s, border-color .3s; }
.topic:hover span { border-color: var(--ink); }
.topic input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.topic input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.msg__hint { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-3); padding: 12px 14px; border-radius: var(--r-s); background: var(--sw-mist); }
.msg__hint:empty { display: none; }
.msg__hint a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; color: var(--ink); }
.msg__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.msg__grid .fl--area, .msg__grid .drop { grid-column: 1 / -1; }
[data-show].is-hidden { display: none; }

.drop__zone {
  display: grid; justify-items: center; gap: 6px; text-align: center;
  padding: 26px 16px;
  border: 1.5px dashed rgba(13, 13, 12, .22);
  border-radius: var(--r-m);
  background: var(--white);
  cursor: pointer;
  font-size: 14px; color: var(--ink-3);
  transition: border-color .3s, background-color .3s;
}
.drop__zone .i { width: 26px; height: 26px; color: var(--ink); }
.drop__zone b { color: var(--ink); font-weight: 500; }
.drop__zone small { font-size: 10px; color: var(--mute); }
.drop__zone:hover, .drop.is-over .drop__zone { border-color: var(--ink); background: var(--sw-mist); }
#fFiles:focus-visible + .drop__zone { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.drop__list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.drop__list:empty { display: none; }
.drop__list li { position: relative; width: 76px; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; background: var(--sw-stone); animation: rIn .4s var(--ease) both; }
.drop__list img { width: 100%; height: 100%; object-fit: cover; }
.drop__list button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 13, 12, .7); color: #fff; }
.drop__list button .i { width: 12px; height: 12px; }

.msg__reply { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.msg__reply > .mono { color: var(--mute); font-size: 10px; }
.seg-l { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.seg-l label { position: relative; z-index: 1; cursor: pointer; }
.seg-l input { position: absolute; opacity: 0; pointer-events: none; }
.seg-l span { display: grid; place-items: center; height: 34px; padding: 0 18px; font-size: 13px; font-weight: 500; color: var(--ink-3); transition: color .35s; }
.seg-l input:checked + span { color: var(--paper); }
.seg-l input:focus-visible + span { outline: 1.5px solid var(--ink); border-radius: 999px; }
.seg-l i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease); }
.seg-l:has(label:nth-child(2) input:checked) i { transform: translateX(100%); }
.fl--inline { flex: 1; min-width: 220px; }
.fl--inline input { height: 50px; }
.fl--inline > span { top: 15px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.msg__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 6px; }
.msg__foot .btn { --bh: 56px; padding: 0 30px; }
.msg__eta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.msg__eta b { color: var(--ink); font-weight: 500; }
.msg.is-sending .btn { opacity: .6; pointer-events: none; }

.sent { display: grid; gap: 18px; justify-items: start; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--white); animation: rIn .6s var(--ease) both; }
.sent__tick { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; animation: pop .6s var(--ease) both .1s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.sent__tick .i { width: 26px; height: 26px; stroke-width: 2; }
.sent__meta { display: grid; grid-template-columns: repeat(3, auto); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-m); }
.sent__meta div { padding: 12px 18px; border-left: 1px solid var(--line); }
.sent__meta div:first-child { border: 0; }
.sent__meta dt { font-size: 9.5px; color: var(--mute); margin-bottom: 4px; }
.sent__meta dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

.chan { align-self: stretch; }
.chan__in { position: sticky; top: calc(var(--bar-h) + var(--head-h) + 24px); display: grid; gap: 14px; padding: 22px; border-radius: var(--r-l); background: var(--white); transition: top .6s var(--ease); }
.bar-hidden .chan__in { top: calc(var(--head-h) + 24px); }
.chan__team { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.chan__team b { color: var(--ink); font-weight: 500; }
.avatars { display: flex; flex: none; }
.avatars img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--white); background: var(--sw-stone); }
.avatars img + img { margin-left: -10px; }
.chan__list { display: grid; gap: 2px; }
.chan__item { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 10px; border-radius: var(--r-s); text-align: left; transition: background-color .3s; }
.chan__item:hover { background: var(--paper); }
.chan__item b { display: block; font-weight: 500; font-size: 14px; }
.chan__item small { color: var(--mute); font-size: 12.5px; }
.chan__item small.is-on { color: var(--ok); }
.chan__chart { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.chan__chart-head { display: flex; justify-content: space-between; align-items: baseline; }
.chan__chart-head .mono { font-size: 9.5px; color: var(--mute); }
.chan__chart-head b { font-weight: 500; font-size: 18px; letter-spacing: -.03em; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; align-items: end; height: 90px; }
.bars span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }   /* flex so the % bar height resolves */
.bars i { display: block; height: 0; border-radius: 4px 4px 2px 2px; background: var(--sw-stone); transition: height 1s var(--ease); transition-delay: calc(var(--k) * 60ms); }
.bars span.is-today i { background: var(--ink); }
.bars small { position: absolute; left: 0; right: 0; bottom: -18px; text-align: center; font-family: var(--f-mono); font-size: 9px; color: var(--mute); }
.chan__chart { padding-bottom: 18px; }

/* ==========================================================================
   04 · BOOK
   ========================================================================== */
.book { background: var(--ink); color: #fff; padding-block: clamp(80px, 9vw, 130px); }
.book__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); align-items: start; }
.book__copy { display: grid; gap: 20px; }
.book .eyebrow { color: rgba(255, 255, 255, .6); }
.book .lede { color: rgba(255, 255, 255, .65); }
.kinds { display: grid; gap: 8px; margin-top: 8px; }
.kind { cursor: pointer; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
.kind > span { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-m); border: 1px solid rgba(255, 255, 255, .16); transition: border-color .3s, background-color .3s; }
.kind b { font-weight: 500; font-size: 15px; }
.kind small { color: rgba(255, 255, 255, .55); font-size: 13px; }
.kind:hover > span { border-color: rgba(255, 255, 255, .45); }
.kind input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.kind input:checked + span small { color: var(--mute); }
.kind input:focus-visible + span { outline: 1.5px solid #fff; outline-offset: 2px; }
.cal { display: grid; gap: 18px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-l); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); }
.cal__head { display: flex; justify-content: space-between; align-items: center; }
.cal__head .mono { color: rgba(255, 255, 255, .7); font-size: 11px; }
.cal__nav { display: flex; gap: 4px; }
.cal__nav .icon-btn { color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.cal__nav .icon-btn:disabled { opacity: .3; cursor: not-allowed; }
.dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.date { display: grid; justify-items: center; gap: 2px; padding: 10px 0 12px; border-radius: var(--r-s); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.date small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.date b { font-size: 22px; font-weight: 400; letter-spacing: -.04em; }
.date:hover:not(:disabled) { border-color: rgba(255, 255, 255, .5); }
.date[aria-checked="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.date:disabled { opacity: .25; cursor: not-allowed; text-decoration: line-through; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; min-height: 44px; }
.slot { height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 13.5px; font-variant-numeric: tabular-nums; transition: background-color .25s, color .25s, border-color .25s; animation: rIn .4s var(--ease) both; animation-delay: calc(var(--k) * 25ms); }
.slot:hover:not(:disabled) { border-color: #fff; }
.slot[aria-checked="true"] { background: var(--signal); border-color: var(--signal); }
.slot:disabled { opacity: .28; text-decoration: line-through; cursor: not-allowed; }
.slots__none { grid-column: 1 / -1; color: rgba(255, 255, 255, .55); font-size: 14px; }
.cal__confirm { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); animation: rIn .5s var(--ease) both; }
.cal__sum { font-size: 15px; }
.cal__sum b { font-weight: 500; }
.cal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cal__msg { font-size: 13px; }
.cal__msg:empty { display: none; }
.cal__msg.is-ok { color: #9be3b5; }
.cal__msg.is-err { color: #ffb08f; }

/* ==========================================================================
   05 · MAP
   ========================================================================== */
.where__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.map { position: relative; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 10 / 7; background: var(--sw-stone); }
.map svg { width: 100%; height: 100%; display: block; }
.map__pin { position: absolute; left: var(--x); top: var(--y); }
.map__pin::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px #fff; }
.map__pulse { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--signal); animation: pinPulse 2.2s var(--ease) infinite; }
@keyframes pinPulse { to { transform: scale(4); opacity: 0; } }
.map__label { position: absolute; left: -60px; top: 22px; white-space: nowrap; padding: 10px 14px; border-radius: var(--r-s); background: rgba(13, 13, 12, .82); color: #fff; font-size: 13px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.map__label b { font-weight: 600; letter-spacing: -.02em; margin-right: 4px; }
.where__copy { display: grid; gap: 22px; justify-items: start; }
.where__copy .eyebrow { color: var(--mute); }
.where__list { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.where__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
.where__list b { display: block; color: var(--ink); font-weight: 500; }
.where__ctas { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==========================================================================
   06 · FAQ PREVIEW
   ========================================================================== */
.cfaq { border-top: 1px solid var(--line); }
.cfaq__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
.cfaq__in > div:first-child { display: grid; gap: 18px; justify-items: start; }
.cfaq .eyebrow { color: var(--mute); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -.02em; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { transition: transform .45s var(--ease); flex: none; }
.acc details[open] summary .i { transform: rotate(45deg); }
.acc details > div { padding: 0 40px 22px 0; color: var(--ink-3); line-height: 1.6; animation: rIn .5s var(--ease) both; }

/* ==========================================================================
   CHAT WIDGET
   ========================================================================== */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; justify-items: end; gap: 12px; }
.chat__fab { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.chat__fab:hover { transform: translateY(-2px); }
.chat__badge { position: absolute; top: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); font-style: normal; font-size: 11px; font-weight: 600; }
.chat.is-open .chat__badge, .chat.is-seen .chat__badge { display: none; }
.chat__panel {
  width: min(370px, calc(100vw - 24px));
  height: min(540px, calc(100vh - 120px));
  display: grid; grid-template-rows: auto 1fr auto auto;
  border-radius: var(--r-l);
  background: rgba(244, 242, 238, .86);
  backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .45);
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0; transform: translateY(12px) scale(.96); visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility 0s .5s;
}
.chat.is-open .chat__panel { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.chat__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.chat__head b { display: block; font-weight: 500; font-size: 14px; }
.chat__head small { font-size: 12px; color: var(--mute); }
.chat__head small.is-on { color: var(--ok); }
.chat__head .avatars img { width: 30px; height: 30px; border-color: var(--paper); }
.chat__log { overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; animation: rIn .35s var(--ease) both; }
.bub--them { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.bub--me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.bub a { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.bub--typing { display: inline-flex; gap: 4px; }
.bub--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute-2); animation: typing 1s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; }
.bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .5; } }
.chat__quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chat__quick:empty { display: none; }
.chat__quick button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 12.5px; transition: border-color .25s; }
.chat__quick button:hover { border-color: var(--ink); }
.chat__form { display: flex; gap: 6px; padding: 10px 10px 10px 16px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; }
.chat__form .icon-btn { background: var(--ink); color: var(--paper); }
.page-contact .to-top { right: 20px; bottom: 84px; }
.page-contact .proof { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .routes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route--track { grid-column: span 3; min-height: 0; }
  .route--track .track { grid-template-columns: 1fr 1fr auto; align-items: start; }
  .route--track .track .btn { height: 52px; }
}
@media (max-width: 1024px) {
  .chi__stats { display: none; }
  .cform__in, .book__in, .where__in, .cfaq__in { grid-template-columns: minmax(0, 1fr); }
  .chan__in { position: static; }
}
@media (max-width: 760px) {
  .chi { height: clamp(600px, 88svh, 760px); }
  .chi__word { font-size: 36vw; top: 32%; }
  .chi__hand { height: 64%; right: -12%; bottom: 22%; }
  .chi__copy { max-width: none; padding: 16px; }
  .chi__lede { display: none; }
  .routes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route--track { grid-column: 1 / -1; }
  .route--track .track { grid-template-columns: minmax(0, 1fr); }
  .route { min-height: 220px; padding: 16px; }
  .route h3 { font-size: 17px; margin-top: 12px; }
  .route--ink { grid-column: 1 / -1; min-height: 0; }
  .msg__grid { grid-template-columns: minmax(0, 1fr); }
  .sent__meta { grid-template-columns: minmax(0, 1fr); }
  .sent__meta div { border-left: 0; border-top: 1px solid var(--line); }
  .sent__meta div:first-child { border-top: 0; }
  .dates { gap: 4px; }
  .date b { font-size: 18px; }
  .cal__fields { grid-template-columns: minmax(0, 1fr); }
  .map__label { top: 20px; left: -110px; }
  .chat { right: 12px; bottom: 12px; }
  .chat__fab span { display: none; }
  .chat__fab { padding: 0 16px; }
  .page-contact .to-top { right: 12px; bottom: 76px; }
}
