/* ===== v5 "brune" theme: warm tactile palettes per page, rounded ultra-bold display type, hangtag intro, spotlights ===== */
[data-theme="brune"] {
  --bg: #0d0b14; --fg: #f4f1ea; --acc: #8b6cff;
  --mut: color-mix(in srgb, var(--fg) 58%, transparent);
  --line: color-mix(in srgb, var(--fg) 16%, transparent);
  --vio: var(--acc); --vio2: var(--acc);
  --head: "Bricolage Grotesque", "Anton", system-ui, sans-serif;
}
[data-theme="brune"] html, html:has(body[data-theme="brune"]) { background: var(--bg); }
body[data-theme="brune"] { background: var(--bg); color: var(--fg); }
[data-theme="brune"] #fx, [data-theme="brune"] .glow { display: none !important; }

/* display type: rounded, ultra-bold, condensed width axis */
[data-theme="brune"] .hero__title, [data-theme="brune"] .big, [data-theme="brune"] .contact__title,
[data-theme="brune"] .work__title, [data-theme="brune"] .tools__title, [data-theme="brune"] .stat b, [data-theme="brune"] .spot__t {
  font-family: var(--head); font-weight: 800; font-stretch: 75%; letter-spacing: -0.035em; font-variation-settings: "wdth" 75, "opsz" 96;
}
[data-theme="brune"] .outline { -webkit-text-stroke-color: var(--fg); color: transparent; }
[data-theme="brune"] .ghost-word span, [data-theme="brune"] .ghost-word { -webkit-text-stroke-color: color-mix(in srgb, var(--fg) 12%, transparent) !important; }
[data-theme="brune"] .marquee { background: var(--fg); color: var(--bg); transform: rotate(-2deg) scale(1.04); border: 0; }
[data-theme="brune"] .marquee__track { color: var(--bg); }
[data-theme="brune"] .marquee__track i, [data-theme="brune"] .marquee__track em { color: var(--acc); }

/* surfaces that were dark-only */
[data-theme="brune"] .svc, [data-theme="brune"] .cx__link, [data-theme="brune"] .hq__chip, [data-theme="brune"] .wcard__media,
[data-theme="brune"] .pstep, [data-theme="brune"] .wmore, [data-theme="brune"] .tools {
  background: color-mix(in srgb, var(--fg) 5%, transparent) !important; border-color: var(--line) !important; color: var(--fg);
}
[data-theme="brune"] .svc::before { background: linear-gradient(90deg, transparent, var(--acc), transparent) 0 0 / 300% 100%; }
[data-theme="brune"] .svc__sweep { background: linear-gradient(100deg, transparent, color-mix(in srgb, var(--acc) 30%, transparent) 45%, rgba(255,255,255,.5) 50%, transparent 60%); }
[data-theme="brune"] .svc__tags span, [data-theme="brune"] .wcard__tag, [data-theme="brune"] .tag {
  background: var(--fg) !important; color: var(--bg) !important; border: 0 !important;
}
[data-theme="brune"] .hq__main, [data-theme="brune"] .cta, [data-theme="brune"] .pb-cta { background: var(--fg); color: var(--bg); }
[data-theme="brune"] .hq__main:hover, [data-theme="brune"] .cta:hover { background: var(--acc); }
[data-theme="brune"] .hq__chip { color: var(--fg); }
[data-theme="brune"] .hq__chip .ico, [data-theme="brune"] .cx__link b .ico { color: var(--acc); }
[data-theme="brune"] .nav { mix-blend-mode: normal; }
[data-theme="brune"] .nav a, [data-theme="brune"] .logo { color: var(--fg); }
[data-theme="brune"] .progress span, [data-theme="brune"] #progress { background: var(--acc); }
[data-theme="brune"] .cursor { mix-blend-mode: normal; }
[data-theme="brune"] .cursor__dot, [data-theme="brune"] .cursor span { background: var(--acc) !important; border-color: var(--acc) !important; }
[data-theme="brune"] .loader { background: #0d0b14; color: #f4f1ea; }
[data-theme="brune"] .loader__bar span { background: #7c5cff; }
[data-theme="brune"] .modal { background: rgba(20, 12, 8, .85); }
[data-theme="brune"] .allp { background: color-mix(in srgb, var(--bg) 94%, transparent); color: var(--fg); }
[data-theme="brune"] .allp__x { background: var(--fg); color: var(--bg); }
[data-theme="brune"] .phone { box-shadow: none; } [data-theme="brune"] .phone__in { box-shadow: 0 30px 70px rgba(0,0,0,.6), 0 0 40px color-mix(in srgb, var(--acc) 18%, transparent); }
[data-theme="brune"] .wcard__media { box-shadow: 0 24px 50px color-mix(in srgb, var(--fg) 18%, transparent); }

/* ---------- hangtag intro ---------- */
.tagi { position: fixed; inset: 0; z-index: 300; background: #0d0b14; color: #f4f1ea; overflow: hidden; touch-action: none; user-select: none; perspective: 900px;
  background-image: radial-gradient(circle at 50% 40%, rgba(139,108,255,.22), transparent 50%); }
body.tag-open { overflow: hidden; }
.tagi__top { position: absolute; top: 26px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: center; font: 500 12px var(--mono); letter-spacing: .14em; }
.tagi__top b { font: 800 22px "Bricolage Grotesque", var(--sub); letter-spacing: -.02em; }
.tagi__top b i { color: #8b6cff; font-style: normal; }
.tagi__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.tagi__svg path { stroke: #f4f1ea; stroke-width: 1.6; stroke-linecap: round; transition: stroke .2s; }
.tagi__tag { position: absolute; left: 0; top: 0; width: clamp(190px, 15vw, 260px); aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  background: #111; cursor: grab; transform-origin: 50% 14px; will-change: transform;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: var(--sh, 0px) 40px 70px rgba(0,0,0,.6), 0 0 90px rgba(139,108,255,.22); }
.tagi.is-grab .tagi__tag { cursor: grabbing; }
.tagi__tag img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.tagi__tag::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 22%, transparent 55%, rgba(8,6,16,.92) 100%); pointer-events: none; }
.tagi__eyelet { position: absolute; top: 9px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; z-index: 3;
  background: radial-gradient(circle, #0d0b14 0 38%, #d9d4c7 42% 70%, #8f897c 74%); box-shadow: 0 1px 3px rgba(0,0,0,.6); }
.tagi__rec { position: absolute; top: 12px; left: 14px; z-index: 2; font: 500 9px var(--mono); letter-spacing: .12em; color: #ff5a6e; display: flex; gap: 5px; align-items: center; }
.tagi__rec i { width: 6px; height: 6px; border-radius: 50%; background: #ff5a6e; animation: recB 1.2s steps(2) infinite; }
@keyframes recB { 50% { opacity: 0; } }
.tagi__tc { position: absolute; top: 12px; right: 14px; z-index: 2; font: 500 9px var(--mono); color: rgba(255,255,255,.75); }
.tagi__name { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 4px; color: #fff; }
.tagi__name b { font: 800 clamp(16px, 1.3vw, 21px)/1 "Bricolage Grotesque", var(--sub); letter-spacing: -.01em; }
.tagi__name em { font: 500 9px var(--mono); letter-spacing: .14em; font-style: normal; color: #b9a4ff; }
.tagi__hint { position: absolute; left: 0; right: 0; bottom: 13vh; text-align: center; font: 500 12px var(--mono); letter-spacing: .3em; }
.tagi__hint::after { content: ""; display: block; width: 1px; height: 28px; margin: 12px auto 0; background: currentColor; animation: tagHint 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes tagHint { 0%, 100% { transform: scaleY(.3); opacity: .3; } 50% { transform: scaleY(1); opacity: 1; } }
.tagi__skip { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); font: 500 11px var(--mono); letter-spacing: .12em; opacity: .5; }
.tagi__skip:hover { opacity: 1; }

/* ---------- spotlights ---------- */
.spot { position: relative; overflow: hidden; }
.spot__k { position: absolute; top: 13vh; left: var(--pad); z-index: 2; }
.spot__item { position: absolute; inset: 0; padding: 14vh var(--pad) 10vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; }
.spot__badge { display: inline-block; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.spot__t { font-size: clamp(64px, 10vw, 190px); line-height: .86; margin: 18px 0 20px; color: var(--fg); }
.spot__t .sl { display: block; overflow: hidden; padding-bottom: .04em; }
.spot__t .sc { display: inline-block; }
.spot__d { font: 400 clamp(15px, 1.15vw, 19px)/1.55 var(--body); max-width: 40ch; opacity: .85; }
.spot__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.spot__pills span { padding: 9px 16px; border-radius: 99px; background: var(--fg); color: var(--bg); font: 600 13px var(--sub); }
.spot__cta { padding: 15px 26px; border-radius: 99px; background: var(--acc); color: var(--bg); font: 700 15px var(--sub); transition: transform .3s; }
.spot__cta:hover { transform: translateY(-3px) scale(1.03); }
.spot__media { position: relative; height: 62vh; display: grid; place-items: center; transform-style: preserve-3d; }
.spot__frame { width: min(100%, 720px); aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  box-shadow: 0 50px 90px rgba(0,0,0,.6), 0 0 80px color-mix(in srgb, var(--acc) 25%, transparent); position: relative; z-index: 1; }
.spot__frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot__float { position: absolute; width: 30%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--fg) 18%, transparent);
  box-shadow: 0 24px 40px rgba(0,0,0,.55); z-index: 2; }
.spot__float.f1 { left: -6%; top: 2%; rotate: -9deg; }
.spot__float.f2 { right: -4%; bottom: 0%; rotate: 8deg; }
.spot__n { position: absolute; right: var(--pad); bottom: 7vh; font: 500 13px var(--mono); letter-spacing: .2em; }
.spot--b .spot__n { right: auto; left: var(--pad); }
.spot--c { grid-template-columns: 1fr; place-items: center; text-align: center; }
.spot--c .spot__t--big { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; font-size: clamp(80px, 16vw, 330px); white-space: nowrap; pointer-events: none; }
.spot--c .spot__media { width: min(52vw, 760px); height: auto; z-index: 1; }
.spot__corner { position: absolute; bottom: 8vh; max-width: 30ch; text-align: left; z-index: 2; }
.spot__corner.l { left: var(--pad); }
.spot__corner.r { right: var(--pad); text-align: right; display: grid; justify-items: end; }
.spot__corner .spot__d { margin-top: 12px; }
.spot--c .spot__n { bottom: auto; top: 13vh; }
.spot__dots { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 3; }
.spot__dots i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--fg); transition: .4s; }
.spot__dots i.on { background: var(--fg); height: 26px; border-radius: 6px; }

@media (max-width: 760px) {
  .spot__item { grid-template-columns: 1fr; align-content: center; gap: 22px; padding: 12vh var(--pad) 8vh; }
  .spot--b .spot__media { order: 2; }
  .spot__media { height: 30vh; }
  .spot__t { font-size: 16vw; margin: 10px 0; }
  .spot__d { font-size: 13px; }
  .spot__pills { margin: 12px 0; }
  .spot__pills span { padding: 7px 12px; font-size: 11px; }
  .spot__cta { padding: 11px 18px; font-size: 13px; }
  .spot--c .spot__t--big { font-size: 22vw; white-space: normal; align-content: start; padding-top: 18vh; }
  .spot--c .spot__media { width: 86vw; margin-top: 8vh; }
  .spot__corner { bottom: 5vh; max-width: 44vw; }
  .spot__corner .spot__d { display: none; }
  .spot__dots { right: 10px; }
  .tagi__tag { width: 150px; }
}
.spot { height: var(--vvh, 100vh) !important; width: 100%; }
[data-theme="brune"] .step__dot { background: var(--acc) !important; border-color: var(--acc) !important; box-shadow: none !important; }
[data-theme="brune"] .hero__title { font-size: clamp(56px, 8.4vw, 170px); }
[data-theme="brune"] .hero__title, [data-theme="brune"] .hero__title *, [data-theme="brune"] .hero__sub, [data-theme="brune"] .eyebrow { text-shadow: none !important; background: none !important; }
@media (max-width: 760px) { .spot__k { display: none; } .spot__frame { border-width: 5px; } }
/* dark mode: soft glow of the page accent behind content */
body[data-theme="brune"]::before { content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0;
  background: radial-gradient(40% 40% at 75% 30%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 70%),
              radial-gradient(35% 35% at 15% 85%, color-mix(in srgb, var(--acc) 10%, transparent), transparent 70%); }
[data-theme="brune"] .marquee { background: var(--acc); color: #0d0b14; }
[data-theme="brune"] .marquee__track { color: #0d0b14; }
@media (max-width: 760px) { .spot__frame { border-width: 1px; } }
@media (min-width: 761px) { .spot__corner.r { right: calc(var(--pad) + 13vw); } }
/* 03: headline readable above the video instead of behind it */
.spot--c { display: grid; grid-template-rows: auto 1fr; align-content: start; justify-items: center; padding-top: 15vh; gap: 2vh; }
.spot--c .spot__t--big { position: relative; inset: auto; display: block; font-size: clamp(64px, 10.5vw, 210px); line-height: .86; z-index: 2; }
.spot--c .spot__media { width: min(40vw, 640px); }
@media (max-width: 760px) {
  .spot--c { padding-top: 16vh; }
  .spot--c .spot__t--big { font-size: 17vw; white-space: normal; padding-top: 0; }
  .spot--c .spot__media { width: 84vw; margin-top: 2vh; }
}
.spot__t .sw { display: inline-block; white-space: nowrap; }
/* horizontal paging */
.hpan main > section { will-change: transform; backface-visibility: hidden; }
/* spotlight cards burst open on hover */
.spot__frame, .spot__float { transition: translate .7s cubic-bezier(.2,.9,.25,1.2), scale .7s cubic-bezier(.2,.9,.25,1.2), box-shadow .5s; }
.spot__media:hover .spot__frame { scale: 1.07; }
.spot__media:hover .spot__float.f1 { translate: -14% -22%; scale: 1.18; }
.spot__media:hover .spot__float.f2 { translate: 14% 20%; scale: 1.18; }
.spot__float:hover { scale: 1.45 !important; z-index: 4; box-shadow: 0 40px 70px rgba(0,0,0,.7), 0 0 0 2px var(--acc); }
.spot__frame:hover { box-shadow: 0 60px 100px rgba(0,0,0,.7), 0 0 0 2px var(--acc), 0 0 90px color-mix(in srgb, var(--acc) 35%, transparent); }
.spot__media { cursor: pointer; }
.hpan main { position: fixed; inset: 0; z-index: 2; }
.hpan-spacer { width: 1px; pointer-events: none; }
.hpan main > section { position: absolute !important; top: 0; left: 0; width: 100%; }
