/* Happy Lemon Labs: shared tokens, buttons, lemon rig, dock, footer, booking modal.
   Used by index.html and contact.html. */
:root {
  --sc-canvas:     #0E0E10;
  --sc-surface:    #18181C;
  --sc-ink:        #F7F5EF;
  --sc-ink-soft:   #ACA89C;
  --sc-accent:     #FFD500;
  --sc-accent-ink: #121210;
  --sc-font-display: "Poppins", system-ui, sans-serif;
  --sc-font-text:    "Poppins", system-ui, sans-serif;
  --sc-font-mono:    "Geist Mono", ui-monospace, monospace;
  --sc-shadow-color: 240 10% 2%;
  --sc-r-sm: 8px; --sc-r-md: 14px; --sc-r-lg: 22px;
  --line: color-mix(in oklab, var(--sc-ink) 12%, transparent);
  --mark-ar: 6006 / 4751;
}

body { font-weight: 400; letter-spacing: 0; }
.sc-display { font-weight: 600; letter-spacing: -0.04em; }
.sc-display--xl { font-size: clamp(2.6rem, 1.4rem + 5.2vw, 6.2rem); line-height: 0.98; }
.sc-display--lg { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.6rem); line-height: 1.02; }
.sc-display--md { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; }
.sc-lede { font-weight: 400; }
.sc-body { line-height: 1.7; }
h3 { font-family: var(--sc-font-display); font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.mono { font-family: var(--sc-font-mono); font-size: var(--sc-t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--sc-ink-soft); }
.yl { color: var(--sc-accent); }
.nw { white-space: nowrap; }

/* Hidden vector source for every lemon on the page */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 600 var(--sc-t-sm)/1 var(--sc-font-text);
  padding: 1.05em 1.5em; border-radius: var(--sc-r-pill);
  text-decoration: none; white-space: nowrap;
  transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out), box-shadow var(--sc-d-fast) var(--sc-ease-out);
}
.btn svg { width: 1em; height: 1em; transition: transform var(--sc-d-base) var(--sc-ease-out); }
.btn--primary { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / 0.45); }
.btn--ghost { color: var(--sc-ink); box-shadow: inset 0 0 0 1px var(--sc-hairline-strong); }
.btn--ink { background: var(--sc-accent-ink); color: var(--sc-accent); box-shadow: var(--sc-e2); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #FFE14D; }
  .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--sc-ink); }
  .btn--ink:hover { background: #26241c; }
  .btn:hover svg { transform: translateX(3px); }
}
.link { color: var(--sc-ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.link:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------- lemon rig -- */
.rig { position: relative; aspect-ratio: var(--mark-ar); }
.pc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: currentColor; will-change: transform; }
.pc--body    { transform-origin: 52% 57%; }
.pc--bracket { transform-origin: 84% 21%; }
.pc--leafA   { transform-origin: 12% 70%; }
.pc--leafB   { transform-origin: 16% 92%; }

/* ---------------------------------------------------------------- dock -- */
.dock {
  position: fixed; z-index: var(--sc-z-chrome);
  left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  translate: -50% 0;
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0.4rem; border-radius: var(--sc-r-pill);
  background: color-mix(in oklab, var(--sc-surface) 94%, transparent);
  box-shadow: var(--sc-e3), inset 0 0 0 1px var(--line), var(--sc-edge);
  transition: opacity var(--sc-d-slow) var(--sc-ease-out), translate var(--sc-d-slow) var(--sc-ease-out);
}
.dock.is-away { opacity: 0; translate: -50% 140%; pointer-events: none; }
.dock__home { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; }
.dock__home svg { width: 1.9rem; }
.dock__home:hover { background: color-mix(in oklab, var(--sc-ink) 7%, transparent); }
.dock__nav { display: flex; }
.dock__nav a {
  color: var(--sc-ink-soft); text-decoration: none; font-size: var(--sc-t-sm); font-weight: 500;
  padding: 0.7rem 0.95rem; border-radius: var(--sc-r-pill);
  transition: color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.dock__nav a:hover, .dock__nav a[aria-current="true"] { color: var(--sc-ink); background: color-mix(in oklab, var(--sc-ink) 7%, transparent); }
.dock .btn { padding: 0.95em 1.3em; }
.juice-outline { fill: none; stroke: color-mix(in oklab, var(--sc-ink) 55%, transparent); stroke-width: 150; }
.juice-fill { fill: var(--sc-accent); }
@media (max-width: 860px) {
  .dock__nav { display: none; }
  .dock { width: calc(100% - 32px); justify-content: space-between; }
}


/* ---------------------------------------------------------------- footer -- */
.foot { border-top: 1px solid var(--line); padding: var(--sc-5) var(--sc-gutter) calc(var(--sc-5) + 5.5rem); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sc-4) var(--sc-7); color: var(--sc-ink-soft); font-size: var(--sc-t-xs); }
.foot img { width: 9.5rem; height: auto; }
.foot nav { display: flex; gap: var(--sc-5); flex-wrap: wrap; }
.foot a { color: var(--sc-ink-soft); text-decoration: none; }
.foot a:hover { color: var(--sc-ink); }
.foot p { margin: 0; }
.close.is-final .foot { padding-bottom: var(--sc-5); }

/* ------------------------------------------------------------ dock extras -- */
.dock__icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; color: var(--sc-ink); transition: background-color var(--sc-d-fast) var(--sc-ease-out); }
.dock__icon svg { width: 1.15rem; height: 1.15rem; }
.dock__icon:hover { background: color-mix(in oklab, var(--sc-ink) 7%, transparent); }
.dock__end { display: flex; align-items: center; gap: 0.25rem; }
@media (max-width: 860px) { .dock .btn { padding: 0.95em 1.1em; } }
@media (max-width: 370px) { .dock .btn { font-size: 0.8rem; padding: 0.9em 0.9em; } }

/* --------------------------------------------------------------- socials -- */
.socials { display: flex; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; color: var(--sc-ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: color var(--sc-d-fast) var(--sc-ease-out), box-shadow var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out); }
.socials a:hover { color: var(--sc-accent-ink); background: var(--sc-accent); box-shadow: none; }
.socials svg { width: 1.3rem; height: 1.3rem; }
.tel { color: var(--sc-ink); font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tel:hover { color: var(--sc-accent); }

/* ---------------------------------------------------------- booking modal -- */
/* Closed means display:none, not visibility:hidden. GoHighLevel's form_embed.js
   forces its iframe to visibility:visible + pointer-events:auto, which beats a
   hidden parent and left an invisible frame eating clicks after close. */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px 16px; }
.modal.is-shown { display: grid; }
.modal__scrim { position: absolute; inset: 0; background: rgb(8 8 10 / 0.72); opacity: 0; transition: opacity var(--sc-d-base) var(--sc-ease-out); }
.modal.is-open .modal__scrim { opacity: 1; }
.modal__panel {
  position: relative; width: min(100%, 760px); max-height: calc(100svh - 32px); overflow: auto; overscroll-behavior: contain;
  background: #FFFFFF; color: #141412; border-radius: var(--sc-r-lg); box-shadow: var(--sc-e3);
  opacity: 0; transform: translateY(16px) scale(0.98);
  transition: opacity var(--sc-d-base) var(--sc-ease-out), transform var(--sc-d-base) var(--sc-ease-out);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: #FFFFFF; border-bottom: 1px solid rgb(20 20 18 / 0.1); }
.modal__head strong { font-weight: 600; letter-spacing: -0.02em; font-size: var(--sc-t-lg); }
.modal__head span { display: block; font-size: var(--sc-t-sm); color: #57534A; }
.modal__head a { color: #141412; }
.modal__close { appearance: none; border: 0; cursor: pointer; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 50%; background: #F1F0EC; color: #141412; display: grid; place-items: center; }
.modal__close:hover { background: #E5E3DC; }
.modal__close svg { width: 1rem; height: 1rem; }
.modal__body { min-height: 420px; position: relative; }
.modal__load { position: absolute; inset: 0; display: grid; place-items: center; color: #57534A; font-size: var(--sc-t-sm); }
.modal__cal { display: block; width: 100%; border: 0; min-height: 640px; }
@media (prefers-reduced-motion: reduce) { .modal__panel { transform: none; } }
