/* ============================================================
   HOTP — Hop Off The Porch
   Dark · minimalist · video-first · violet→magenta
   ============================================================ */

:root {
  --bg:        #0A090F;
  --bg-2:      #100E17;
  --bg-3:      #16131F;
  --line:      rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --text:      #F4F1F8;
  --muted:     #9F98B0;
  --muted-2:   #6E6880;

  --violet:      #A855F7;
  --violet-deep: #8B3FE0;
  --magenta:     #D46BFF;
  --lavender:    #CDB4F0;
  --grad: linear-gradient(120deg, #8B5CF6 0%, #C850E8 100%);

  --max: 1240px;
  --pad: 7vw;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.display {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-size: clamp(3rem, 11vw, 8.5rem);
  text-transform: uppercase;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 30px;
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad);
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,9,15,0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  padding-top: 15px; padding-bottom: 15px;
}

.nav-group { display: flex; gap: 30px; align-items: center; font-size: 0.9rem; font-weight: 400; }
.nav-right { justify-content: flex-end; }

.nav-group a { position: relative; color: var(--muted); transition: color 0.2s ease; }
.nav-group a:hover { color: var(--text); }
.nav-group a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--grad); transition: width 0.25s ease;
}
.nav-group a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  border: 1px solid var(--line);
  padding: 9px 20px; border-radius: 999px; color: var(--text) !important;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.nav-cta:hover { border-color: transparent; background: var(--grad); transform: translateY(-1px); }

.nav-logo { justify-self: center; }
.nav-logo img { height: 26px; width: auto; opacity: 0.96; transition: opacity 0.2s ease; }
.nav-logo:hover img { opacity: 1; }

.menu-toggle {
  display: none; position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; width: 30px; height: 20px;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%; background: var(--text);
  border-radius: 2px; margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(10,9,15,0.97); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 34px; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-menu a { font-size: 2rem; font-weight: 300; letter-spacing: -0.01em; }
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 0 var(--pad);
}
.hero-video, .hero-backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-backdrop { z-index: 0; background: radial-gradient(circle at 50% 40%, #1a1526 0%, #0A090F 70%); }
.hero-video { z-index: 1; }

.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow-1 { width: 46vw; height: 46vw; background: var(--violet-deep); top: -8%; left: -6%; animation: drift 16s ease-in-out infinite; }
.glow-2 { width: 40vw; height: 40vw; background: var(--magenta); bottom: -12%; right: -4%; opacity: 0.4; animation: drift 20s ease-in-out infinite reverse; }
.glow-3 { width: 30vw; height: 30vw; background: var(--violet); top: 40%; left: 55%; opacity: 0.3; animation: drift 24s ease-in-out infinite; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(4vw,-3vw) scale(1.12); }
}

.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,9,15,0.55) 0%, rgba(10,9,15,0.30) 35%, rgba(10,9,15,0.55) 75%, rgba(10,9,15,0.9) 100%),
    radial-gradient(circle at 50% 45%, transparent 0%, rgba(10,9,15,0.45) 75%, rgba(10,9,15,0.8) 100%);
}

.hero-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: min(760px, 84vw); height: auto; margin-bottom: 34px;
  filter: drop-shadow(0 8px 40px rgba(138,63,224,0.35));
  animation: rise 1s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tag {
  font-size: clamp(0.9rem, 1.6vw, 1.15rem); font-weight: 300;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  animation: rise 1s 0.15s cubic-bezier(.2,.7,.2,1) both;
}
.hero-tag span { color: var(--magenta); margin: 0 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; justify-content: center;
  animation: rise 1s 0.3s cubic-bezier(.2,.7,.2,1) both; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px; border-radius: 999px; font-weight: 500; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(200,80,232,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(200,80,232,0.65); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--lavender); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 17px; font-size: 1.05rem; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-2);
}
.scroll-line { width: 1px; height: 42px; background: linear-gradient(var(--lavender), transparent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.3; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============ TICKER ============ */
.ticker {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  overflow: hidden; white-space: nowrap; padding: 22px 0; background: var(--bg-2);
}
.ticker-track { display: inline-flex; align-items: center; gap: 28px; animation: scroll 28s linear infinite; }
.ticker-track span {
  font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; text-transform: uppercase;
  letter-spacing: -0.01em; color: var(--text);
}
.ticker-track i { color: var(--magenta); font-style: normal; font-size: 1.4rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ WORK ============ */
.work { max-width: var(--max); margin: 0 auto; padding: 120px var(--pad) 100px; }
.work-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end;
  margin-bottom: 60px;
}
.work-lead { color: var(--muted); font-size: 1.05rem; font-weight: 300; max-width: 460px; justify-self: end; }

/* ============ SOCIAL CARDS — liquid glass ============ */
.sc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.sc-card {
  --r: 26px;
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--r); overflow: hidden; isolation: isolate;
  background: var(--bg-3); color: var(--text); font: inherit; text-align: left;
  box-shadow:
    0 24px 50px -22px rgba(0,0,0,0.75),
    0 0 0 1px rgba(255,255,255,0.10);
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1), box-shadow 0.5s ease;
}
/* frosted outer pane: the poster itself, heavily blurred */
.sc-card .sc-backdrop {
  position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none;
  object-fit: cover; z-index: -2;
  filter: blur(22px) saturate(1.5) brightness(0.9);
}
/* glass rim + specular highlight */
.sc-card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(120% 60% at 15% 0%, rgba(255,255,255,0.28), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0) 30%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    inset 0 -1px 0 rgba(255,255,255,0.10),
    inset 1px 0 0 rgba(255,255,255,0.12),
    inset -1px 0 0 rgba(255,255,255,0.06);
  mix-blend-mode: screen;
}

/* inner window where poster / preview live */
.sc-window {
  position: absolute; inset: 7px; z-index: 1;
  border-radius: calc(var(--r) - 7px); overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), 0 6px 24px -10px rgba(0,0,0,0.6);
}
.sc-poster, .sc-loop {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.sc-poster { transform: scale(1.04); transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.sc-loop { opacity: 0; transition: opacity 0.45s ease; }
.sc-card.is-live .sc-loop { opacity: 1; }

/* the milk-glass layer over the still — clears on hover */
.sc-frost {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.04) 40%, rgba(205,180,240,0.05) 70%, rgba(10,9,15,0.30) 100%);
  -webkit-backdrop-filter: blur(2.5px) saturate(1.3);
          backdrop-filter: blur(2.5px) saturate(1.3);
  transition: opacity 0.5s ease;
}
/* soft glass sheen that stays on top even while playing */
.sc-window::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.14) 0%, transparent 28%, transparent 72%, rgba(255,255,255,0.05) 100%);
  opacity: 0.6;
}

.sc-play {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
          backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.22), 0 10px 30px -8px rgba(0,0,0,0.55);
  transition: transform 0.4s cubic-bezier(.2,.7,.2,1), background 0.3s ease, opacity 0.3s ease;
}
.sc-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }

.sc-meta {
  position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 10px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 12px; border-radius: 16px;
  background: rgba(16,14,23,0.32);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
          backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), inset 0 0 0 1px rgba(255,255,255,0.10);
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.sc-kind {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavender);
}
.sc-stack { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; }
.sc-handle {
  font-size: 0.84rem; font-weight: 600; line-height: 1.22; letter-spacing: 0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sc-kind { line-height: 1.3; }

/* hover / focus */
@media (hover: hover) {
  .sc-card:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -24px rgba(168,85,247,0.45), 0 0 0 1px rgba(205,180,240,0.35); }
  .sc-card:hover .sc-poster { transform: scale(1.1); }
  .sc-card:hover .sc-play { background: var(--grad); transform: translate(-50%,-50%) scale(1.08); }
}
.sc-card.is-live .sc-frost { opacity: 0; }
.sc-card.is-live .sc-play { opacity: 0.0; transform: translate(-50%,-50%) scale(0.8); }
.sc-card:hover.is-live .sc-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.sc-card:focus-visible { outline: 2px solid var(--magenta); outline-offset: 4px; }

/* no backdrop-filter support → keep a readable frost */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sc-frost { background: rgba(205,180,240,0.18); }
  .sc-meta, .sc-play { background: rgba(16,14,23,0.7); }
}

@media (max-width: 1000px) {
  .sc-grid {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--pad) * -1); padding: 6px var(--pad) 22px;
    scrollbar-width: none;
  }
  .sc-grid::-webkit-scrollbar { display: none; }
  .sc-card { flex: 0 0 34vw; scroll-snap-align: start; scroll-margin-left: var(--pad); }
}
@media (max-width: 620px) { .sc-card { flex-basis: 62vw; } }

/* ============ SOCIAL PLAYER (lightbox) ============ */
.sc-lightbox { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; }
.sc-lightbox[hidden] { display: none; }
.sc-lb-backdrop {
  position: absolute; inset: 0; background: rgba(6,5,10,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  animation: scFade 0.3s ease;
}
.sc-lb-body { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; animation: scRise 0.4s cubic-bezier(.2,.7,.2,1); }
.sc-lb-top { display: flex; align-items: center; gap: 16px; width: 100%; font-size: 0.9rem; }
.sc-lb-handle { font-weight: 500; }
.sc-lb-ig { color: var(--lavender); margin-left: auto; transition: color 0.2s ease; }
.sc-lb-ig:hover { color: #fff; }
.sc-lb-close {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 1.5rem; line-height: 1;
  background: rgba(255,255,255,0.12); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.15);
}
.sc-lb-close:hover { background: var(--grad); }
.sc-lb-frame {
  position: relative; padding: 8px; border-radius: 26px;
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 0 0 1px rgba(255,255,255,0.14), 0 40px 90px -30px rgba(0,0,0,0.9);
}
.sc-lb-video {
  display: block; border-radius: 19px; background: #000;
  max-height: min(80vh, 900px); max-width: min(92vw, 1100px); min-width: 240px;
}
.sc-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), inset 0 0 0 1px rgba(255,255,255,0.18);
  transition: background 0.25s ease;
}
.sc-lb-nav:hover { background: var(--grad); }
.sc-lb-nav svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sc-lb-prev { left: -62px; }
.sc-lb-next { right: -62px; }
.sc-lb-nav[hidden] { display: none; }
.sc-lb-dots { display: flex; gap: 8px; min-height: 8px; }
.sc-lb-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.3); transition: width 0.3s ease, background 0.3s ease;
}
.sc-lb-dots button[aria-current="true"] { width: 24px; background: var(--grad); }
body.sc-open { overflow: hidden; }
@keyframes scFade { from { opacity: 0; } }
@keyframes scRise { from { opacity: 0; transform: translateY(18px) scale(0.98); } }
@media (max-width: 760px) {
  .sc-lb-body { padding: 0 12px; }
  .sc-lb-prev { left: 14px; } .sc-lb-next { right: 14px; }
  .sc-lb-video { max-width: calc(100vw - 40px); max-height: 74vh; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-card, .sc-poster, .sc-lb-body, .sc-lb-backdrop { transition: none; animation: none; }
}

/* ============ SERVICES ============ */
.services { max-width: var(--max); margin: 0 auto; padding: 60px var(--pad) 100px; }
.services-list { list-style: none; border-top: 1px solid var(--line-soft); }
.services-list li { border-bottom: 1px solid var(--line-soft); }
.services-list a {
  display: grid; grid-template-columns: 70px 1fr 1.2fr 40px; align-items: center; gap: 24px;
  padding: 30px 6px; color: inherit;
  transition: padding 0.3s ease, background 0.3s ease;
}
.services-list a:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(168,85,247,0.06), transparent); }
.services-list .num { color: var(--muted-2); font-size: 0.85rem; letter-spacing: 0.1em; }
.services-list .svc { font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 500; letter-spacing: -0.02em; }
.services-list .svc-desc { color: var(--muted); font-weight: 300; }
.services-list .svc-go { justify-self: end; font-size: 1.4rem; color: var(--muted-2); transition: color 0.3s ease, transform 0.3s ease; }
.services-list a:hover .svc { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.services-list a:hover .svc-go { color: var(--magenta); transform: translate(4px,-4px); }

/* ============ ABOUT ============ */
.about { max-width: var(--max); margin: 0 auto; padding: 60px var(--pad) 110px; }
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: start; }
.about-lead { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.35; }
.about-body { margin-top: 24px; color: var(--muted); font-weight: 300; max-width: 540px; }
.about-stats { display: flex; flex-direction: column; gap: 26px; border-left: 1px solid var(--line-soft); padding-left: 40px; }
.stat-num { display: block; font-size: 2.6rem; font-weight: 600; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 0.9rem; font-weight: 300; }

/* ============ CONNECT ============ */
.connect { position: relative; padding: 110px var(--pad) 120px; overflow: hidden; border-top: 1px solid var(--line-soft); }
.connect-glow {
  position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,85,247,0.28), transparent 65%);
  top: -20%; right: -15%; filter: blur(40px); z-index: 0;
}
.connect-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.connect-intro .display { margin-bottom: 26px; }
.connect-intro p { color: var(--muted); font-size: 1.1rem; font-weight: 300; max-width: 380px; }
.connect-email {
  display: inline-block; margin-top: 28px; font-size: 1.35rem; font-weight: 400;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: border-color 0.25s ease, color 0.25s ease;
}
.connect-email:hover { border-color: var(--magenta); color: var(--lavender); }

.connect-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: var(--bg-3);
}
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239F98B0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.form-note { font-size: 0.9rem; color: var(--lavender); min-height: 1.2em; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line-soft); padding: 60px var(--pad) 40px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.footer-logo { height: 30px; width: auto; opacity: 0.9; }
.footer-links { display: flex; gap: 28px; font-size: 0.92rem; }
.footer-links a { color: var(--muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px;
  font-size: 0.82rem; color: var(--muted-2); flex-wrap: wrap; }

/* ============ SUB-PAGES ============ */
.subhero {
  padding: 150px var(--pad) 60px;
  max-width: var(--max); margin: 0 auto;
  border-bottom: 1px solid var(--line-soft);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted);
  font-size: 0.9rem; margin-bottom: 30px; transition: color 0.2s ease;
}
.back-link:hover { color: var(--lavender); }
.subhero h1 {
  font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 700; letter-spacing: -0.03em;
  line-height: 0.92; text-transform: uppercase;
}
.subhero .kicker {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 18px;
}
.subhero .sub-lead { color: var(--muted); font-weight: 300; font-size: 1.1rem; max-width: 620px; margin-top: 22px; }
.subhero .sub-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.section-wrap { max-width: var(--max); margin: 0 auto; padding: 70px var(--pad) 90px; }

/* featured playlist embed */
.featured-embed {
  position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
  background: #000;
}
.featured-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wrap-label { font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }

/* YouTube facade grid */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.yt-card {
  position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; cursor: pointer;
  background: #12101a; border: 1px solid var(--line-soft);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease;
}
.yt-card:hover { transform: translateY(-5px); border-color: rgba(205,180,240,0.45); }
.yt-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt-card .yt-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55)); z-index: 1; transition: background 0.3s ease; }
.yt-card:hover .yt-overlay { background: linear-gradient(180deg, rgba(138,63,224,0.15), rgba(0,0,0,0.55)); }
.yt-card .yt-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 54px; height: 54px; border-radius: 50%; background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.95rem; padding-left: 3px; transition: background 0.3s ease, transform 0.3s ease;
}
.yt-card:hover .yt-play { background: var(--grad); border-color: transparent; transform: translate(-50%,-50%) scale(1.1); }

/* Brand-film vertical video cards */
.bf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bf-card {
  position: relative; aspect-ratio: 9/16; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: #12101a; border: 1px solid var(--line-soft);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s ease;
}
.bf-card:hover { transform: translateY(-6px); border-color: rgba(205,180,240,0.45); }
.bf-card img, .bf-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-card .bf-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.65)); transition: background 0.3s ease; }
.bf-card .bf-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 62px; height: 62px; border-radius: 50%; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; padding-left: 3px; transition: background 0.3s ease, transform 0.3s ease;
}
.bf-card:hover .bf-play { background: var(--grad); border-color: transparent; transform: translate(-50%,-50%) scale(1.08); }
.bf-card.playing .bf-overlay, .bf-card.playing .bf-play, .bf-card.playing .bf-meta { opacity: 0; pointer-events: none; }
.bf-card .bf-meta { position: absolute; z-index: 2; left: 18px; bottom: 18px; right: 18px; transition: opacity 0.3s ease; }
.bf-card .bf-meta h3 { font-size: 1.05rem; font-weight: 500; }
.bf-card .bf-meta span { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lavender); }

/* Coming-soon / placeholder */
.soon { max-width: var(--max); margin: 0 auto; padding: 90px var(--pad) 120px; text-align: center; }
.soon-inner { max-width: 620px; margin: 0 auto; }
.soon .badge { display: inline-block; font-size: 0.75rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lavender); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; margin-bottom: 30px; }
.soon h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 18px; }
.soon p { color: var(--muted); font-weight: 300; font-size: 1.08rem; }
.soon .placeholder-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.soon .ph { aspect-ratio: 9/16; border-radius: 12px; background: linear-gradient(160deg, #16131f, #100e17);
  border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.soon .ph::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(168,85,247,0.10) 50%, transparent 70%);
  animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

@media (max-width: 900px) {
  .yt-grid { grid-template-columns: repeat(2, 1fr); }
  .bf-grid { grid-template-columns: repeat(2, 1fr); }
  .soon .placeholder-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .yt-grid { grid-template-columns: 1fr; }
  .bf-grid { grid-template-columns: 1fr; }
  .soon .placeholder-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .work-head { grid-template-columns: 1fr; gap: 20px; }
  .work-lead { justify-self: start; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-stats { flex-direction: row; flex-wrap: wrap; gap: 30px; border-left: none; padding-left: 0;
    border-top: 1px solid var(--line-soft); padding-top: 30px; }
  .connect-inner { grid-template-columns: 1fr; gap: 46px; }
  .services-list a { grid-template-columns: 46px 1fr 30px; }
  .services-list .svc-desc { grid-column: 2; color: var(--muted); }
}

@media (max-width: 620px) {
  .nav-group { display: none; }
  .nav { grid-template-columns: 1fr auto 1fr; }
  .menu-toggle { display: block; }
  .nav-logo { justify-self: start; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ============ LANGUAGE SWITCHER ============ */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: 0; padding: 6px 2px; color: var(--muted);
  font: inherit; font-size: 0.82rem; letter-spacing: 0.06em; transition: color 0.2s ease;
}
.lang-btn:hover, .lang-switch.open .lang-btn { color: var(--text); }
.lang-btn svg, .lang-row-title svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang-menu {
  position: absolute; top: calc(100% + 12px); right: -14px; min-width: 190px; list-style: none;
  padding: 8px; border-radius: 18px; z-index: 300;
  background: rgba(16,14,23,0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), inset 0 0 0 1px rgba(255,255,255,0.10), 0 24px 50px -18px rgba(0,0,0,0.8);
  opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-switch.open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 11px;
  background: none; color: var(--muted); font: inherit; font-size: 0.9rem; text-align: left; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-menu button:hover { background: rgba(255,255,255,0.07); color: var(--text); }
.lang-menu button[aria-selected="true"] { color: var(--text); background: rgba(168,85,247,0.18); }
.lang-code { min-width: 30px; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--lavender); }

.lang-row { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 18px; }
.lang-row-title { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-2); }
.lang-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 360px; padding: 0 12px; }
.lang-pills button {
  min-width: 44px; padding: 9px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); font: inherit; font-size: 0.85rem; letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lang-pills button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }

/* scripts Poppins doesn't cover */
html:lang(zh-Hans) body { font-family: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html:lang(zh-Hans) .display, html:lang(zh-Hans) .subhero h1 { letter-spacing: 0.02em; }
html:lang(ru) .display { letter-spacing: -0.02em; }
/* Turkish dotted capitals / cedillas and CJK need more room than the tight 0.9 display leading */
html:lang(tr) .display { line-height: 1.02; }
html:lang(zh-Hans) .display { line-height: 1.08; }
html:lang(tr) .connect-intro .display, html:lang(zh-Hans) .connect-intro .display { margin-bottom: 42px; }

/* 3-up variant (brand-films page): bigger cards */
.sc-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sc-grid--3 .sc-card { --r: 30px; }
.sc-grid--3 .sc-handle { font-size: 1rem; }
.sc-grid--3 .sc-kind { font-size: 0.68rem; }
@media (max-width: 1000px) { .sc-grid--3 .sc-card { flex-basis: 46vw; } }
@media (max-width: 620px)  { .sc-grid--3 .sc-card { flex-basis: 72vw; } }

/* ============ LEGAL PAGES (AGB) ============ */
.footer-legal { display: inline-flex; gap: 22px; }
.footer-legal a { color: var(--muted); transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--text); }
.legal { max-width: 780px; margin: 0 auto; padding: 20px var(--pad) 120px; box-sizing: content-box; color: var(--muted); font-weight: 300; line-height: 1.75; }
.legal h2 { color: var(--text); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; margin: 48px 0 14px; }
.legal p, .legal li { font-size: 0.98rem; }
.legal ol { padding-left: 1.4em; display: grid; gap: 10px; }
.legal ol > li::marker { color: var(--lavender); font-weight: 500; }
.legal ul { padding-left: 1.2em; margin: 8px 0; display: grid; gap: 4px; }
.legal a { color: var(--lavender); }
.legal-note { padding: 14px 18px; border-radius: 14px; background: rgba(168,85,247,0.10); border: 1px solid rgba(205,180,240,0.22); color: var(--text); margin-bottom: 28px; }
html:lang(de) .legal-note { display: none; }
.legal-provider { padding: 22px 24px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line-soft); }
.legal-provider-label { display: block; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--lavender); margin-bottom: 8px; }
.legal-provider p { color: var(--text); }
.legal-num { color: var(--lavender); font-weight: 500; font-variant-numeric: tabular-nums; margin-right: 0.4em; }
.legal p { margin-top: 10px; }
.legal h2 { line-height: 1.35; }
mark.ph { background: rgba(212,107,255,0.16); color: var(--magenta); border-radius: 4px; padding: 0 4px; outline: 1px dashed rgba(212,107,255,0.5); }

/* ============ WIDE (16:9) STILL CARDS — music videos ============ */
.sc-grid--wide { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sc-card--wide, .sc-grid--wide .sc-card { aspect-ratio: 16 / 9; --r: 22px; }
.sc-grid--wide .sc-window { inset: 6px; border-radius: calc(var(--r) - 6px); }
/* 100 cards: no backdrop-filter here (cheap to scroll) — frost via a filter on the still */
.sc-card--still .sc-frost { -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(155deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.03) 40%, rgba(10,9,15,0.28) 100%); }
.sc-card--still .sc-poster { filter: blur(1.5px) saturate(1.2); transition: transform 0.8s cubic-bezier(.2,.7,.2,1), filter 0.4s ease; }
.sc-card--still .sc-play { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(16,14,23,0.45); }
.sc-card--still .sc-backdrop { filter: blur(16px) saturate(1.5) brightness(0.9); }
@media (hover: hover) {
  .sc-card--still:hover .sc-frost { opacity: 0; }
  .sc-card--still:hover .sc-poster { filter: none; transform: scale(1.08); }
}
.sc-card--still:focus-visible .sc-frost { opacity: 0; }
@media (max-width: 1000px) {
  .sc-grid--wide { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; gap: 16px; }
  .sc-grid--wide .sc-card { flex: none; }
}
@media (max-width: 620px) { .sc-grid--wide { grid-template-columns: 1fr; } }

/* lightbox playing a YouTube video */
.sc-lb-yt { display: block; width: min(92vw, 1100px, calc(78vh * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 19px; background: #000; }
.sc-lightbox.is-yt .sc-lb-dots { display: none; }

/* featured playlist player in a glass frame to match */
.featured-embed { border-radius: 26px; padding: 8px; background: rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.12), 0 30px 70px -30px rgba(0,0,0,0.85); }
.featured-embed iframe { inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); border-radius: 19px; }
.sc-lb-video[hidden] { display: none; }
