/* Hallmark · component: social controls and cursor · existing BLACKTOP palette
 * Self-critique: P4 H4 E5 S5 R5 V4. */
:root {
  --site-cursor-rest: url('assets/cursor/black-pointer.svg') 5 4, auto;
  --site-cursor-click: url('assets/cursor/gold-click.svg') 21 20, auto;
  --site-cursor: var(--site-cursor-rest);
}
.hero-social .social-button:not(:disabled) {
  opacity: 1;
  border-color: var(--review-edge);
  background: linear-gradient(155deg, var(--review-glass-upper), var(--refresh-glass) 56%, var(--review-gold-haze)), var(--refresh-surface);
  box-shadow: inset 0 1px 0 var(--refresh-glint), inset 0 -2px 0 var(--refresh-shadow), 0 4px 0 var(--refresh-black), 0 7px 12px var(--refresh-shadow);
  transform: translateY(0);
  transition: transform 120ms ease-out, border-color 120ms ease-out, box-shadow 120ms ease-out, background-color 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
@media (hover: hover) {
  .hero-social .social-button:not(:disabled):hover {
    transform: translateY(-2px);
    border-color: var(--refresh-gold-light);
    box-shadow: inset 0 1px 0 var(--refresh-glint), inset 0 -2px 0 var(--refresh-shadow), 0 6px 0 var(--refresh-black), 0 9px 16px var(--refresh-shadow);
  }
}
.hero-social .social-button:not(:disabled):focus-visible {outline: 2px solid var(--refresh-gold-light); outline-offset: 5px;}
.hero-social .social-button:not(:disabled):active,
.hero-social .social-button:not(:disabled).is-pressed {
  transform: translateY(3px) scale(.96);
  border-color: var(--refresh-gold);
  box-shadow: inset 0 2px 5px var(--refresh-shadow), inset 0 1px 0 var(--refresh-accent-soft), 0 1px 0 var(--refresh-black);
}
.hero-social .social-button:disabled {opacity: .38; box-shadow: none;}

/* A real browser cursor: no tracking layer, drag interference, or idle glow.
 * Native text-entry and disabled cursors keep their usual meaning. */
@media (hover: hover) and (pointer: fine) {
  :root, :root body, :root body * {cursor: var(--site-cursor) !important;}
  :root.cursor-click {--site-cursor: var(--site-cursor-click);}
  :root body :is(input, textarea, [contenteditable="true"]) {cursor: text !important;}
  :root body :is(button:disabled, [aria-disabled="true"]) {cursor: not-allowed !important;}
}
@media (prefers-reduced-motion: reduce) {
  .hero-social .social-button:not(:disabled) {transition: none;}
}
@media (forced-colors: active) {
  .hero-social .social-button:not(:disabled) {background: ButtonFace; border-color: ButtonText; color: ButtonText; box-shadow: none;}
  :root, :root body, :root body * {cursor: auto !important;}
}

.daylight-cookie-choice{position:relative;z-index:2;background:#141513;color:#f4f0e8;padding:1rem max(5vw,1rem);font:1rem/1.5 system-ui,sans-serif}
.daylight-cookie-choice[hidden]{display:none}
.daylight-cookie-choice p{margin:0 0 .5rem}
.daylight-cookie-choice a,.daylight-cookie-settings{color:inherit;text-decoration:underline}
.daylight-cookie-choice button,.daylight-cookie-settings{cursor:pointer;font:inherit;min-height:44px}
.daylight-cookie-choice button{padding:.45rem 1rem;border:1px solid #aaa69d;border-radius:1rem;color:#f4f0e8;background:#141513}
.daylight-cookie-settings{background:transparent;border:0;padding:.5rem 1rem}

.daylight-launcher,#daylight-panel{--dl-edge:max(12px,env(safe-area-inset-right));--dl-bottom:max(12px,env(safe-area-inset-bottom));position:fixed;right:var(--dl-edge);left:auto;color:#f4f0e8;background:#101212;border:1px solid #65573b;box-shadow:0 6px 28px #0008;font:15px/1.45 system-ui,sans-serif}
.daylight-launcher{bottom:var(--dl-bottom);z-index:9997;display:flex;align-items:center;gap:6px;padding:3px 14px 3px 4px;border-radius:38px;cursor:pointer;font-weight:600}
.daylight-launcher video{display:block;width:52px;height:52px;border-radius:50%;background:black}
#daylight-panel{z-index:9998;top:auto;bottom:calc(var(--dl-bottom) + 68px);margin:0;padding:0;width:min(410px,calc(100vw - 24px));max-width:none;height:min(575px,calc(100dvh - 100px));max-height:none;box-sizing:border-box;border-radius:18px;overflow:hidden}
#daylight-panel[open]{display:flex;flex-direction:column}
#daylight-panel .daylight-bar{display:flex;align-items:center;gap:8px;border-bottom:1px solid #49453c;padding:8px 14px}
.daylight-bar strong{margin-right:auto}
#daylight-panel .daylight-bar button{font:inherit;color:inherit;background:transparent;border:0;cursor:pointer;padding:6px;min-height:44px}
#daylight-panel .daylight-body{overflow:auto;overscroll-behavior:contain;padding:18px;flex:1}
#daylight-panel #daylight{display:block;width:auto;max-width:100%;margin:0;padding:0;color:inherit}
#daylight-panel h2{font:500 26px/1.15 Georgia,serif;margin:.35em 0}
#daylight-panel p{font-size:15px;line-height:1.5;margin:12px 0}
#daylight-panel .label{display:none}
#daylight-panel details{padding:8px 0;border-bottom:1px solid #403d35}
#daylight-panel summary{font:inherit;padding:8px 0;cursor:pointer}
#daylight-panel a{color:#e3c48c}
#daylight-panel .meeting-form button{min-height:44px;margin:.5rem 0}
#daylight-panel input,#daylight-panel textarea{color:#f4f0e8;background:#161817;padding:10px 12px}
#daylight-panel :focus-visible,.daylight-launcher:focus-visible{outline:2px solid #e3c48c;outline-offset:2px}

#daylight-panel{overflow:visible}
#daylight-panel .daylight-body{border-radius:0 0 18px 18px}
.daylight-perch{display:block;position:relative;z-index:1;width:clamp(44px,13vw,62px);aspect-ratio:1;flex:none}
.daylight-perch video{display:block;width:100%;height:100%;border-radius:50%;background:black}
#daylight-panel .daylight-bar{gap:4px;padding-inline:9px}
.daylight-launcher[aria-expanded=true]{min-height:52px;padding-inline:14px}
@media(prefers-reduced-motion:no-preference){
  #daylight-panel[open]:not(.daylight-still) .daylight-perch{animation:daylight-hover 3.4s .74s ease-in-out infinite}
}
@keyframes daylight-hover{0%,100%{translate:0 0}50%{translate:0 -4px}}

/* Keep the consent card in document flow, including above the homepage overlay header. */
section.daylight-cookie-choice{box-sizing:border-box;width:min(70rem,calc(100% - 32px));margin:12px auto;padding:14px 18px;display:flex;align-items:center;gap:8px;border:1px solid #665a42;border-radius:14px;background:#141513}
section.daylight-cookie-choice[hidden]{display:none}
section.daylight-cookie-choice p{flex:1;margin:0 12px 0 0;font:400 15px/1.45 system-ui,sans-serif}
section.daylight-cookie-choice button{flex:none}
body.home-page:has(> .daylight-cookie-choice:not([hidden])) > header.wrap{position:relative;inset:auto;transform:none;margin:12px auto}
@media(max-width:700px){
  section.daylight-cookie-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px}
  section.daylight-cookie-choice p{grid-column:1/-1;margin:0 0 3px}
  section.daylight-cookie-choice button{padding-inline:4px}
}
