
/* LIQUID GLASS BUTTONS — 2026-10-14 */
:root{
  --liq-blue:#49ddff;
  --liq-violet:#9a67ff;
  --liq-pink:#ff6cc8;
}

/* base enhanced buttons */
.header-cta,
.button.button--gradient,
.ghost-button,
.project-modal__open,
.showreel b,
.color-theme-toggle{
  position:relative;
  overflow:hidden;
}

.header-cta,
.button.button--gradient,
.project-modal__open{
  border:1px solid rgba(255,255,255,.12)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08) 38%, rgba(255,255,255,.03) 39%, rgba(255,255,255,.02) 100%),
    linear-gradient(135deg, #ff67bf 0%, #d56df3 42%, #8b74ff 100%)!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.35),
    inset 0 -10px 18px rgba(96,20,123,.18),
    0 0 0 1px rgba(255,255,255,.02),
    0 10px 28px rgba(130,111,255,.24),
    0 16px 46px rgba(242,93,173,.20),
    0 2px 8px rgba(255,255,255,.08)!important;
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  isolation:isolate;
}
.header-cta::before,
.button.button--gradient::before,
.project-modal__open::before{
  content:"";
  position:absolute;
  left:10%; right:10%; top:2px; height:48%;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(255,255,255,.50), rgba(255,255,255,.08));
  opacity:.62;
  z-index:0;
  pointer-events:none;
}
.header-cta::after,
.button.button--gradient::after,
.project-modal__open::after{
  content:"";
  position:absolute;
  top:-35%; bottom:-35%; left:-30%; width:28%;
  background:linear-gradient(110deg, transparent, rgba(255,255,255,.28), transparent);
  transform:translateX(-180%) skewX(-20deg);
  transition:transform .8s cubic-bezier(.16,1,.3,1);
  z-index:0;
  pointer-events:none;
}
.header-cta:hover::after,
.button.button--gradient:hover::after,
.project-modal__open:hover::after{
  transform:translateX(470%) skewX(-20deg);
}
.header-cta > *,
.button.button--gradient > *,
.project-modal__open > *{position:relative; z-index:1;}
.header-cta:hover,
.button.button--gradient:hover,
.project-modal__open:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.38),
    inset 0 -12px 18px rgba(96,20,123,.20),
    0 0 0 1px rgba(255,255,255,.03),
    0 14px 32px rgba(130,111,255,.28),
    0 20px 54px rgba(242,93,173,.24),
    0 2px 8px rgba(255,255,255,.10)!important;
}

/* outline / glass buttons */
.ghost-button,
.showreel{
  transition:transform .28s ease,color .28s ease,filter .28s ease!important;
}
.ghost-button{
  border:1px solid rgba(115,214,255,.26)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 45%, rgba(255,255,255,.02) 100%),
    linear-gradient(135deg, rgba(4,34,55,.60), rgba(10,47,70,.38))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -8px 18px rgba(8,25,45,.26),
    0 8px 30px rgba(2,20,36,.26),
    0 0 22px rgba(73,221,255,.06)!important;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}
.ghost-button::before{
  content:"";
  position:absolute; inset:1px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(73,221,255,.14), rgba(154,103,255,.12), rgba(255,108,200,.12));
  opacity:.55; filter:blur(16px); z-index:0; pointer-events:none;
}
.ghost-button > *{position:relative; z-index:1}
.ghost-button:hover{
  transform:translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -10px 22px rgba(8,25,45,.28),
    0 12px 34px rgba(2,20,36,.30),
    0 0 26px rgba(73,221,255,.10)!important;
}

.showreel{
  gap:14px!important;
  color:#f3f8fb;
}
.showreel:hover{transform:translateY(-1px);filter:brightness(1.04)}
.showreel b{
  flex:0 0 54px;
  width:54px!important;height:54px!important;
  border:1px solid rgba(115,214,255,.34)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04) 45%, rgba(255,255,255,.025) 100%),
    linear-gradient(135deg, rgba(4,37,58,.70), rgba(8,54,82,.38))!important;
  color:#95e7ff!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -10px 18px rgba(0,0,0,.20),
    0 12px 32px rgba(3,18,32,.30),
    0 0 0 1px rgba(255,255,255,.02),
    0 0 18px rgba(73,221,255,.10)!important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.showreel b::before{
  content:"";
  position:absolute; inset:1px;
  border-radius:50%;
  background:radial-gradient(circle at 28% 24%, rgba(255,255,255,.32), transparent 44%);
  pointer-events:none;
}
.showreel b::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius:50%;
  padding:1px;
  background:linear-gradient(135deg, rgba(73,221,255,.95), rgba(128,120,255,.72), rgba(255,108,200,.70));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity:.72;
  pointer-events:none;
}
.showreel span{gap:2px!important}
.showreel small{color:#7fa1b2!important;letter-spacing:.01em}

/* modal action button slightly more compact */
.project-modal__open{
  min-height:52px!important;
  border-radius:14px!important;
}

/* light theme adaptations */
html[data-theme="light"] .header-cta,
html[data-theme="light"] .button.button--gradient,
html[data-theme="light"] .project-modal__open{
  border-color:rgba(255,255,255,.55)!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.70),
    inset 0 -10px 18px rgba(155,98,216,.10),
    0 8px 24px rgba(127,143,160,.12),
    0 14px 38px rgba(242,93,173,.14),
    0 0 0 1px rgba(255,255,255,.35)!important;
}
html[data-theme="light"] .ghost-button{
  color:#17384a!important;
  border-color:rgba(94,174,216,.28)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.42) 50%, rgba(255,255,255,.34) 100%),
    linear-gradient(135deg, rgba(234,243,247,.80), rgba(255,255,255,.65))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -8px 18px rgba(109,145,168,.10),
    0 10px 26px rgba(127,143,160,.12),
    0 0 22px rgba(73,221,255,.05)!important;
}
html[data-theme="light"] .ghost-button::before{opacity:.35}
html[data-theme="light"] .showreel{color:#17384a!important}
html[data-theme="light"] .showreel b{
  border-color:rgba(94,174,216,.34)!important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.48) 48%, rgba(255,255,255,.42) 100%),
    linear-gradient(135deg, rgba(232,244,248,.88), rgba(250,252,253,.70))!important;
  color:#1182ad!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.90),
    inset 0 -10px 18px rgba(109,145,168,.10),
    0 10px 24px rgba(127,143,160,.12),
    0 0 18px rgba(73,221,255,.08)!important;
}
html[data-theme="light"] .showreel small{color:#67808d!important}
html[data-theme="light"] .color-theme-toggle{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.80),
    0 8px 20px rgba(127,143,160,.10),
    0 0 18px rgba(73,221,255,.04)!important;
}

/* mobile */
@media (max-width: 640px){
  .hero__actions{gap:18px!important}
  .showreel b{width:50px!important;height:50px!important;flex-basis:50px}
  .header-cta,
  .button.button--gradient{min-height:52px!important}
}

@media (prefers-reduced-motion: reduce){
  .header-cta::after,
  .button.button--gradient::after,
  .project-modal__open::after{display:none!important}
}
