/* =====================================================================
   STUDIO — The Marketing Agency's layer over the demo: a floating brass
   "Make this site yours" pill that opens the instant quote, the notes
   guide (opened with ?notes), and nudges toward the order page. It keeps
   its own colours on light and dark sections, so it reads as a layer
   above the site rather than a part of it.
   ===================================================================== */
:root { --strip: 0px; }

/* ---------- the floating pill: Make this site yours ---------- */
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 94;
  display: flex; align-items: center;
  opacity: 0; transform: translateY(16px) scale(.55); transform-origin: 100% 50%; pointer-events: none;
  transition: bottom .6s var(--ease), opacity .4s, transform .6s var(--ease);
}
.fab.is-in { opacity: 1; transform: none; pointer-events: auto; transition: bottom .6s var(--ease), opacity .45s, transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.fab__go {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; height: 60px; padding: 7px; border-radius: 999px;
  background: linear-gradient(118deg, #e0bd78 0%, #c9a35a 46%, #b48c44 100%); color: #140f06; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 247, 224, .55), inset 0 -1px 0 rgba(70, 48, 12, .2), 0 24px 48px -22px rgba(0, 0, 0, .75), 0 10px 30px -12px rgba(201, 163, 90, .55);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fab__go:hover { transform: translateY(-3px); box-shadow: inset 0 1px 0 rgba(255, 247, 224, .6), inset 0 -1px 0 rgba(70, 48, 12, .2), 0 30px 56px -22px rgba(0, 0, 0, .8), 0 14px 40px -10px rgba(214, 178, 106, .75); }
.fab__go:active { transform: translateY(-1px) scale(.98); }
.fab__go:focus-visible { outline: 2px solid #ebe5d6; outline-offset: 3px; }
/* now and then a light passes across it */
.fab__go::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 36%, rgba(255, 250, 234, .62) 50%, transparent 64%); transform: translateX(-120%); animation: fabSheen 9s 3.6s ease-in-out infinite; }
@keyframes fabSheen { 0% { transform: translateX(-120%); } 14%, 100% { transform: translateX(120%); } }
/* the monogram, with a slow orbit; pointing at the pill closes the ring */
.fab__mark { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #15110a; color: #e8c987; box-shadow: inset 0 0 0 1px rgba(232, 201, 135, .16); }
.fab__mono { font-family: var(--serif); font-size: 22px; line-height: 1; letter-spacing: -.02em; transform: translateY(1px); }
.fab__mono.is-two { font-size: 17px; letter-spacing: .01em; }
.fab__site { width: 22px; height: 22px; }
.fab__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: fabOrbit 8s linear infinite; }
.fab__orbit circle { fill: none; stroke: #f2dba3; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 24 118; transition: stroke-dasharray .7s var(--ease); }
.fab__go:hover .fab__orbit circle { stroke-dasharray: 142 0; }
@keyframes fabOrbit { to { transform: rotate(360deg); } }
.fab__txt { display: grid; gap: 3px; width: 186px; padding-left: 12px; overflow: hidden; transition: width .75s var(--ease), padding .75s var(--ease), opacity .5s .18s; }
.fab__txt b { font-size: 15px; font-weight: 600; line-height: 1.15; letter-spacing: -.012em; }
.fab__sub { position: relative; display: block; height: 15px; overflow: hidden; }
.fab__line { position: absolute; left: 0; right: 0; top: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 500; line-height: 15px; color: rgba(20, 15, 6, .74); transition: transform .6s var(--ease), opacity .45s; }
.fab__line.is-in { transform: translateY(110%); opacity: 0; }
.fab__line.is-out { transform: translateY(-110%); opacity: 0; }
.fab__arrow { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; margin-left: 8px; border-radius: 50%; overflow: hidden; background: rgba(20, 15, 6, .1); transition: width .75s var(--ease), margin .75s var(--ease), opacity .45s .22s, background-color .35s, color .35s; }
.fab__arrow svg { width: 16px; height: 16px; flex-shrink: 0; animation: fabNudge 6.5s 5s var(--ease) infinite; }
@keyframes fabNudge { 0%, 86%, 100% { transform: none; } 92% { transform: translateX(4px); } }
.fab__go:hover .fab__arrow { background: #140f06; color: #e8c987; }
.fab__go:hover .fab__arrow svg { animation: none; transform: translateX(2px); transition: transform .4s var(--ease); }
/* folded to the monogram: on arrival, and while the reader scrolls down */
.fab.is-small .fab__txt { width: 0; padding-left: 0; opacity: 0; transition: width .55s var(--ease), padding .55s var(--ease), opacity .18s; }
.fab.is-small .fab__arrow { width: 0; margin-left: 0; opacity: 0; transition: width .55s var(--ease), margin .55s var(--ease), opacity .18s; }
.fab.is-small .fab__go::after { animation: none; }
html[data-motion="reduced"] .fab__go::after, html[data-motion="reduced"] .fab__orbit, html[data-motion="reduced"] .fab__arrow svg { animation: none; }
@media (prefers-reduced-motion: reduce) { .fab__go::after, .fab__orbit, .fab__arrow svg { animation: none; } }
/* says once a visit whose concept this is */
.fab__say { position: absolute; right: 0; bottom: calc(100% + 12px); width: max-content; max-width: min(300px, calc(100vw - 36px)); padding: 10px 14px; border-radius: 14px; background: rgba(8, 12, 9, .94); color: rgba(235, 229, 214, .86); border: 1px solid rgba(201, 163, 90, .28); font-size: 13px; line-height: 1.45; text-align: right; opacity: 0; transform: translateY(8px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; }
.fab__say b { color: #ebe5d6; font-weight: 500; }
.fab__say.is-on { opacity: 1; transform: none; }
/* where the site's own booking bar would sit beside it, the pill rises above the bar */
html:has(.sp-bar.is-on):not(.has-toast):not(.has-notes) .fab { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 1000px) { html.has-notes .fab { opacity: 0; pointer-events: none; transform: translateY(24px); } }
@media (max-width: 640px) {
  .fab { right: 12px; }
  .fab__go { height: 54px; padding: 6px; }
  .fab__mark { flex-basis: 42px; width: 42px; height: 42px; }
  .fab__mono { font-size: 20px; } .fab__mono.is-two { font-size: 15px; }
  .fab__txt { width: 168px; padding-left: 10px; }
  .fab__txt b { font-size: 14px; }
  .fab__line { font-size: 11.5px; }
  .fab__arrow { width: 36px; height: 36px; margin-left: 6px; }
  /* the notes and toasts use the bottom of a phone screen; the pill steps aside for them */
  html.has-notes .fab, html.has-toast .fab { opacity: 0; pointer-events: none; transform: translateY(24px); }
}
html.has-notes .sp-bar.is-on { transform: translate(-50%, 140%); }

/* ---------- notes pinned to the sections ---------- */
.note-pin { display: none; position: relative; vertical-align: middle; width: 26px; height: 26px; margin-left: 12px; border-radius: 50%; background: #c9a35a; color: #140f06; font: 600 12px/26px var(--mono); text-align: center; letter-spacing: 0; text-transform: none; cursor: pointer; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(201, 163, 90, .5); transition: transform .4s var(--ease), box-shadow .4s; }
html.has-notes .note-pin { display: inline-block; animation: pinIn .6s var(--ease) both; }
.note-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(201, 163, 90, .6); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .5s var(--ease); }
.note-pin.is-on { transform: scale(1.08); }
.note-pin.is-on::after { opacity: 1; transform: none; animation: pinPulse 2.2s var(--ease) infinite; }
@keyframes pinIn { from { opacity: 0; transform: scale(.4); } }
@keyframes pinPulse { 50% { transform: scale(1.18); opacity: .35; } }
.note-pin--float { position: absolute; z-index: 6; top: 12px; right: 12px; margin: 0; }
.has-pin { position: relative; }

.guide {
  position: fixed; left: calc(var(--gutter) * .6); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 92;
  width: min(392px, calc(100% - 24px)); padding: 18px 18px 16px; border-radius: 22px;
  background: rgba(8, 12, 9, .92); color: #ebe5d6; border: 1px solid rgba(201, 163, 90, .3);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
  transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; transition: transform .7s var(--ease), opacity .4s;
  --fg: #ebe5d6; --bg: #080c09; --muted: rgba(235, 229, 214, .7); --faint: rgba(235, 229, 214, .52); --line: rgba(235, 229, 214, .12); --line-2: rgba(235, 229, 214, .22); --card-2: rgba(235, 229, 214, .07); --accent: #c9a35a;
}
html.has-notes .guide { transform: none; opacity: 1; pointer-events: auto; }
.guide__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(235, 229, 214, .6); }
.guide__x { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: rgba(235, 229, 214, .7); }
.guide__x:hover { background: rgba(235, 229, 214, .08); color: #ebe5d6; }
.guide__tag { display: inline-block; margin-top: 12px; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(201, 163, 90, .45); color: #c9a35a; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.guide__t { margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: 24px; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.guide__s { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: rgba(235, 229, 214, .78); text-wrap: pretty; }
.guide__more { margin-top: 10px; }
.guide__more button { font-size: 13.5px; color: #c9a35a; text-decoration: underline; text-underline-offset: 3px; }
.guide__nav { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(235, 229, 214, .12); }
.guide__nav button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(235, 229, 214, .2); font-size: 13.5px; color: #ebe5d6; transition: border-color .3s, background-color .3s; }
.guide__nav button:hover { border-color: #ebe5d6; }
.guide__nav button[disabled] { opacity: .35; pointer-events: none; }
.guide__nav a { margin-left: auto; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: #c9a35a; color: #140f06; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.guide__body.is-swap { animation: guideSwap .45s var(--ease); }
@keyframes guideSwap { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 640px) {
  .guide { left: 10px; right: 10px; width: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 14px 14px 12px; border-radius: 18px; }
  .guide__t { font-size: 20px; }
  .guide__s { font-size: 14px; max-height: 26vh; overflow: auto; }
}

/* ---------- structured data viewer ---------- */
.ld { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(3, 5, 4, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: ldIn .35s var(--ease); }
.ld[hidden] { display: none; }
@keyframes ldIn { from { opacity: 0; } }
.ld__box { width: min(760px, 100%); max-height: min(80vh, 760px); display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #080c09; color: #ebe5d6; border: 1px solid rgba(235, 229, 214, .16); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.ld__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid rgba(235, 229, 214, .12); }
.ld__head p { font-family: var(--serif); font-size: 21px; letter-spacing: -.015em; }
.ld__head small { display: block; font-family: var(--sans); font-size: 13px; color: rgba(235, 229, 214, .6); margin-top: 2px; letter-spacing: 0; }
.ld pre { margin: 0; padding: 18px; overflow: auto; font: 12.5px/1.6 var(--mono); color: rgba(235, 229, 214, .86); white-space: pre-wrap; word-break: break-word; }
.ld pre .k { color: #c9a35a; } .ld pre .s { color: #a9c7a0; }

/* the opening says who the site was prepared for */
.boot__for { position: absolute; top: calc(var(--gutter) + env(safe-area-inset-top, 0px)); left: 0; right: 0; text-align: center; font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #c9a35a; opacity: 0; animation: bootFor 1s .3s var(--ease) forwards; }
.boot__for b { color: #ebe5d6; font-weight: 500; }
@keyframes bootFor { to { opacity: 1; } }
