/* =====================================================================
   LOLA · C · REST OR STAY — contact.css (contact.html only)
   Round 3 (8 Oct 2026): night boudoir. "Lipstick on the mirror": the chips compose
   the message, written in glowing pink lipstick on a dark, smoky, steamed mirror
   framed by a neon tube. The tube and the picked chips follow Rest (pink neon) or
   Stay (mint neon): contact.js flips [data-tone] on .ct-grid. The send keys always
   sit outside the glass. No light grounds, no offset sticker shadows: glow only.
   ===================================================================== */

.page-contact [hidden] { display: none !important; }

/* ---------- tone: REST pink neon / STAY mint neon ------------------ */
.ct-grid {
  --tube: #FF2E8B; --tube-core: #FFD9EA;
  --tube-soft: rgba(255,46,139,.5); --tube-faint: rgba(255,46,139,.18);
  --pick-bg: rgba(255,46,139,.16); --pick-line: #FF5FA6; --pick-ink: #FFF0F7; --pick-sub: #FFB3D6;
}
.ct-grid[data-tone="stay"] {
  --tube: #3FE6B0; --tube-core: #E8FFF7;
  --tube-soft: rgba(63,230,176,.45); --tube-faint: rgba(63,230,176,.16);
  --pick-bg: var(--emerald); --pick-line: var(--mint); --pick-ink: #F1FFF9; --pick-sub: var(--mint);
}

/* ---------- top grid: head + chips (left), mirror + keys (right) ---- */
.ct-grid {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "mirror" "now" "compose" "send";
  padding-top: var(--header-h);
}
.ct-grid::before {   /* Stay: emerald light spills in from the right, over the pink-lit night */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background:
    radial-gradient(70% 50% at 92% -6%, rgba(21,122,100,.42), transparent 64%),
    radial-gradient(60% 45% at 0% 104%, rgba(63,230,176,.08), transparent 60%);
  transition: opacity .7s var(--ease-sign);
}
.ct-grid[data-tone="stay"]::before { opacity: 1; }

.ct-head { grid-area: head; padding: 20px var(--gutter) 14px; }
.ct-head .crumbs { margin-bottom: 10px; }
.ct-head__neon { font-size: clamp(2.1rem, 10vw, 5.2rem); max-width: 11.5em; text-wrap: balance; }
.ct-head__h1 { margin-top: 12px; font-size: clamp(1.8rem, 7.2vw, 3.4rem); max-width: 17ch; }
.ct-head__sub { margin: 10px 0 0; font-size: 1rem; color: var(--ink-2); }
.ct-now { grid-area: now; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 16px var(--gutter) 0; }
.ct-away {
  margin: 0; display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px;
  font-stretch: 82%; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--void); color: #FFC2DC; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255,46,139,.6), 0 0 16px -4px rgba(255,46,139,.6);
  text-shadow: 0 0 8px rgba(255,46,139,.6);
}

/* ---------- the mirror: dark smoky glass in a neon tube ------------- */
.ct-stage { display: contents; }
/* Phones: the mirror scrolls with the page; it stays pinned (sticky) only on tall screens,
   where it still leaves room to tap the chips underneath. */
.mirror {
  grid-area: mirror; margin: 0; position: relative; z-index: 8; align-self: start;
  padding: 10px var(--gutter) 10px; background: var(--linen);
}
@media (max-width: 959px) and (min-height: 800px) {
  .mirror { position: sticky; top: var(--header-h); box-shadow: 0 16px 20px -16px rgba(0,0,0,.9); }
}
.mirror__frame {   /* the frame is a neon tube: a lit ring with a pale core, glowing into the room */
  position: relative; padding: 5px; border-radius: 24px; background: var(--void);
  box-shadow:
    0 0 0 1.5px var(--tube),
    0 0 10px var(--tube-soft),
    0 0 42px -6px var(--tube-soft),
    inset 0 0 14px var(--tube-faint);
  transition: box-shadow .6s var(--ease-sign);
}
.mirror__frame::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid var(--tube-core); opacity: .7;
}
.mirror__glass {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(220px, 31svh, 330px); border-radius: 19px; background: #120A19;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07), inset 0 0 50px rgba(0,0,0,.65);
}
.mirror__photo {   /* it's a reflection in dark glass: mirrored, dimmed, a touch warmer */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%;
  transform: scaleX(-1);
  filter: brightness(.58) contrast(1.12) saturate(1.2);
}
.mirror__glass::before {   /* the smoke in the glass: always there, keeps the lipstick legible when wiped */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,10,29,.6) 0%, rgba(20,10,29,.34) 58%, rgba(12,6,18,.62) 100%);
}
/* CSS condensation: shown when there is no steam canvas (reduced motion, no JS) */
.mirror__fog {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.42' numOctaves='1' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .88 0 0 0 0 .94 18 0 0 0 -13.4'/%3E%3CfeGaussianBlur stdDeviation='.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(58,34,72,.5), rgba(44,24,56,.3) 60%, rgba(30,15,40,.42));
  background-size: 260px 260px, auto;
  opacity: .75;
}
.mirror__glass.has-steam .mirror__fog { display: none; }
.mirror__glass:not(.has-steam) .mirror__photo { transform: scale(-1.04, 1.04); filter: brightness(.58) contrast(1.12) saturate(1.2) blur(1.6px); }   /* no canvas: the reflection is softened by steam */
.mirror__steam {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  touch-action: pan-y; cursor: grab; transition: opacity .7s ease;
}
.mirror__glass.is-clear .mirror__steam { opacity: 0; pointer-events: none; }
.mirror__tint {   /* the sign's light on the glass: pink for Rest, mint for Stay */
  position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  background:
    radial-gradient(85% 60% at 12% -4%, var(--tube-faint), transparent 70%),
    radial-gradient(60% 40% at 100% 100%, var(--tube-faint), transparent 72%);
}
.mirror__sheen {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    linear-gradient(118deg, rgba(255,255,255,0) 24%, rgba(255,235,245,.08) 31%, rgba(255,255,255,0) 38%),
    linear-gradient(118deg, rgba(255,255,255,0) 41%, rgba(255,235,245,.05) 44%, rgba(255,255,255,0) 47%);
}
.mirror__clear {
  position: absolute; z-index: 6; right: 12px; bottom: 12px; min-height: 40px; padding: 0 12px;
  font-stretch: 80%; font-weight: 750; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream); background: rgba(12,6,18,.84); border-radius: 3px;
  box-shadow: 0 0 0 1px var(--hair);
}
.mirror__clear:hover { background: var(--mint); color: var(--void); box-shadow: 0 0 18px rgba(126,242,203,.6); }
.mirror__cap { margin-top: 8px; font-size: .84rem; line-height: 1.35; color: var(--ink-2); }
.mirror__cap b { color: var(--ink); font-weight: 700; }

/* the lipstick: real DOM text (never canvas), Archivo at its narrowest, slanted; it glows
   like a pink tube on the dark glass. One small SVG filter gives the waxy hand wobble. */
.lipstick {
  position: absolute; z-index: 3; top: 7%; left: 7%; right: 9%; margin: 0; pointer-events: none;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 620; font-size: var(--fs, 24px);
  line-height: 1.1; letter-spacing: .01em; color: #FF9ACB;
  text-shadow:
    0 1px 2px rgba(12,6,18,.75),
    0 0 1px rgba(255,220,236,.9),
    0 0 7px rgba(255,46,139,.85),
    0 0 18px rgba(255,46,139,.5),
    0 0 38px rgba(255,46,139,.28);
  transform: rotate(-2.5deg) skewX(-7deg); transform-origin: 0 0;
  filter: url(#lipstick);
  overflow-wrap: anywhere; text-wrap: pretty;
}
.lipstick__hi {
  display: block; font-size: 1.5em; font-weight: 720; line-height: 1; margin-bottom: .12em;
  color: #FFE6F2;
  text-shadow: 0 0 1px #fff, 0 0 5px #FF2E8B, 0 0 14px #FF2E8B, 0 0 34px rgba(255,46,139,.6);
}
.lipstick__x { display: inline-block; width: 1.1em; height: .9em; margin-left: .25em; vertical-align: -.05em; overflow: visible; filter: drop-shadow(0 0 4px #FF2E8B); }
.lipstick__x path { fill: none; stroke: currentColor; stroke-width: 4.2; stroke-linecap: round; }

/* ---------- send keys (outside the glass, always) ----------------- */
/* On phones the mirror is sticky; the send panel paints ABOVE it (z 9 > 8),
   so the glass can never sit on top of the WhatsApp / Text / Call keys. */
.ct-send {
  grid-area: send; position: relative; z-index: 9;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px;
  padding: 20px var(--gutter) 30px; background: var(--linen);
  box-shadow: 0 -1px 0 var(--hair);
}
.ct-send .btn { min-width: 0; padding-inline: .8em; }
.ct-send__wa { grid-column: 1 / -1; min-height: 58px !important; font-size: 1.08rem; }
.ct-send__wa span { overflow: hidden; text-overflow: ellipsis; }
.ct-send__more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; margin: 2px 0 0; }
.ct-link {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 2px; cursor: copy;
  font-stretch: 88%; font-weight: 650; font-size: .92rem; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: .28em;
}
.ct-link svg { width: 15px; height: 15px; }
.ct-link:hover { color: var(--rouge); text-decoration-color: currentColor; }
.ct-link--num {
  font-family: var(--f-display); font-stretch: 108%; font-weight: 850; font-size: 1.12rem; letter-spacing: .01em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.ct-send__note { grid-column: 1 / -1; margin: 0; color: var(--ink-2); }

/* ---------- chips: dark keys that light up when picked ------------- */
.ct-compose { grid-area: compose; padding: clamp(28px, 6vw, 56px) var(--gutter) 8px; }
.ct-compose__lead { margin: 14px 0 22px; max-width: 46ch; font-size: 1.02rem; color: var(--ink-2); }
.chips { display: grid; gap: 4px; }
.chips__set { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.chips__set legend {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 0; margin-bottom: 10px;
  font-family: var(--f-display); font-stretch: 125%; font-weight: 900; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.chips__set legend::after { content: ""; flex: 1; height: 1px; background: var(--hair); }
.chips__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chips__opts + .chips__opts { margin-top: 8px; }
.chips__empty { margin: 0; font-size: .92rem; color: var(--ink-2); font-style: italic; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip > span {
  display: grid; gap: 2px; align-content: center; min-height: 48px; padding: 6px 13px;
  border: 1px solid rgba(248,237,231,.3); border-radius: var(--radius);
  background: rgba(255,255,255,.035); color: var(--ink);
  cursor: pointer; line-height: 1.1; -webkit-tap-highlight-color: transparent;
  transition: background .18s, color .18s, border-color .18s, box-shadow .25s var(--ease-sign), transform .12s;
}
.chip b { font-family: var(--f-display); font-stretch: 104%; font-weight: 800; font-size: .96rem; display: inline-flex; align-items: center; gap: 7px; }
.chip small { font-stretch: 85%; font-weight: 600; font-size: .76rem; color: var(--ink-2); }
.chip:hover > span { border-color: var(--pick-line); box-shadow: 0 0 14px -4px var(--tube-soft); }
.chip input:focus-visible + span { outline: 3px solid var(--pick-line); outline-offset: 3px; }
.chip input:checked + span {
  background: var(--pick-bg); color: var(--pick-ink); border-color: var(--pick-line);
  box-shadow: 0 0 0 1px var(--pick-line), 0 0 18px -2px var(--tube-soft), inset 0 0 12px var(--tube-faint);
}
.chip input:checked + span small { color: var(--pick-sub); }
.chip input:active + span { transform: translateY(1px); }
.chip input:disabled + span { cursor: not-allowed; border-style: dashed; background: transparent; box-shadow: none; opacity: .6; }
.chip input:disabled + span b { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.chip--world > span { min-height: 64px; min-width: 132px; padding: 8px 18px; }
.chip--world b { font-stretch: 125%; font-weight: 900; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
.chip--world input:checked + span b { color: var(--tube-core); text-shadow: 0 0 6px var(--tube), 0 0 16px var(--tube-soft); }
.chip--sm > span { min-height: 44px; }
.chip--sm b { font-size: .9rem; font-weight: 700; }
.chip__sw { display: inline-block; width: 14px; height: 14px; border-radius: 2px; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.chip__price { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; }
.chips__note { margin: 0; min-height: 1.4em; font-size: .92rem; font-weight: 600; color: var(--pick-sub); max-width: 52ch; }
.chips__note:empty { display: none; }
.chips__reset {
  justify-self: start; min-height: 44px; padding: 0 2px; margin-top: 4px;
  font-stretch: 85%; font-weight: 700; font-size: .9rem; color: var(--ink-2);
  text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: .2em;
}
.chips__reset:hover { color: var(--rouge); text-decoration-color: currentColor; }

/* ---------- desktop: chips left, sticky mirror + keys right ------- */
@media (min-width: 960px) {
  .ct-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head stage" "now stage" "compose stage";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(32px, 4vw, 72px);
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-bottom: clamp(56px, 7vw, 96px);
  }
  .ct-head { padding: clamp(40px, 5vw, 64px) 0 0; }
  .ct-now { padding: 18px 0 0; align-self: start; }
  .ct-compose { padding: clamp(40px, 5vw, 60px) 0 0; }
  .ct-stage { display: block; grid-area: stage; position: sticky; top: calc(var(--header-h) + 22px); align-self: start; margin-top: clamp(28px, 3vw, 44px); }
  .mirror { position: static; padding: 0; background: none; box-shadow: none; }
  .mirror__frame { padding: 8px; border-radius: 34px; }
  .mirror__glass { height: calc(100svh - var(--header-h) - 280px); min-height: 400px; max-height: 700px; border-radius: 27px; }
  .ct-send {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    padding: 18px 0 0; background: none; box-shadow: none; z-index: auto;
  }
  .ct-send__wa { grid-column: auto; }
  .ct-send__more { gap: 0 24px; }
  .ct-head__neon { font-size: clamp(3.2rem, 4.9vw, 5rem); }
  .ct-head__h1 { font-size: clamp(2.2rem, 3.1vw, 3.2rem); }
}

/* ---------- how to book: three texts on velvet -------------------- */
.ct-how__grid { display: grid; gap: 28px; }
.ct-how__head .h-kicker { margin-bottom: 0; }
.ct-how__print {   /* one small print: the only light object in the section */
  display: none; width: 190px; aspect-ratio: 3 / 4; margin-top: 34px; rotate: -3deg;
  border: 5px solid var(--cream); border-bottom-width: 24px; border-radius: 2px;
  box-shadow: 0 24px 40px -20px rgba(0,0,0,.85), 0 0 34px -8px rgba(126,242,203,.4);
}
.ct-how__print img { position: absolute; inset: 0; }
.ct-how .thread { gap: 12px; }
.ct-how .thread__msg { box-shadow: none; }
.ct-how .thread__msg p:not(.thread__who) { font-size: 1rem; line-height: 1.5; }
.ct-how .thread__msg--you {
  background: var(--void); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255,46,139,.6), 0 0 26px -8px rgba(255,46,139,.55);
}
.ct-how .thread__msg--me {
  background: var(--emerald-deep); color: var(--on-emerald);
  box-shadow: 0 0 0 1px rgba(126,242,203,.45), 0 0 26px -10px rgba(126,242,203,.45);
}
@media (min-width: 900px) {
  .ct-how__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .ct-how__print { display: block; }
  .ct-how .thread { padding-top: 8px; }
}

/* ---------- the practical bit + house rules (night) ---------------- */
.ct-info__grid { display: grid; gap: clamp(48px, 7vw, 96px); }
.facts-list, .rules { margin: 22px 0 0; display: grid; border-top: 2px solid var(--ink); }
.facts-list > div { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--hair); }
.facts-list dt { font-family: var(--f-display); font-stretch: 112%; font-weight: 900; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rouge); }
.facts-list dd { margin: 0; font-size: .98rem; line-height: 1.5; }
.facts-list a, .rules a { color: var(--rouge); font-weight: 600; }
.facts-list a { white-space: nowrap; }
.rules { list-style: none; }
.rules li { padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.rules b { font-family: var(--f-display); font-stretch: 104%; font-weight: 850; color: var(--ink); margin-right: .25em; }
.ct-rules__cut {   /* the CUT TO line: a sensory beat, then away */
  margin: 22px 0 0; max-width: 46ch; padding-left: 16px;
  border-left: 2px solid var(--neon); box-shadow: -10px 0 18px -14px var(--neon);
  font-family: var(--f-display); font-stretch: 100%; font-weight: 750; font-size: 1.04rem; line-height: 1.42; color: var(--rouge);
}
@media (min-width: 900px) {
  .ct-info__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

/* ---------- reduced motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mirror__steam { display: none; }
  .mirror__clear { display: none !important; }
}
