/* ============ VarahaCraft — elevated dark, black & gold ============ */
:root {
  color-scheme: dark;
  --bg: #060504;
  --bg-2: #0c0a07;
  --surface: #12100b;
  --panel: #12100b;
  --text: #f2ede4;
  --ink: #f2ede4;
  --dim: #b8b0a1;
  --ink-dim: #b8b0a1;
  --ink-faint: #7d7668;
  --border: rgba(232, 195, 118, 0.16);
  --line: rgba(232, 195, 118, 0.16);
  --line-soft: rgba(242, 237, 228, 0.08);
  --accent: #d9a441;
  --gold: #d9a441;
  --gold-2: #e8c476;
  --gold-deep: #8a5f1c;
  --radius: 18px;
  --font-d: "Unbounded", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --font-m: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
/* The hidden attribute must always win — author display rules on .btn,
   .cform and friends would otherwise override the UA's display:none and
   leave "hidden" elements (form after submit, live-site button) visible. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); }
html, body { overflow-anchor: none; }
body {
  margin: 0; color: var(--ink); font-family: var(--font-b);
  font-size: 16px; line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: #140e02; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2517; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: #040302;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .6s ease, visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.pl-logo { position: relative; width: min(300px, 68vw); line-height: 0; animation: plLogoIn 1.15s cubic-bezier(.22,1,.36,1) both; }
.pl-logo img { width: 100%; height: auto; display: block; }
.pl-logo::before {
  content: ""; position: absolute; inset: -14% -10%; z-index: -1; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217,164,65,.22), transparent 65%);
  animation: plGlow 2.4s ease-in-out infinite;
}
.pl-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(232,195,118,.38) 50%, transparent 68%);
  transform: translateX(-130%); mix-blend-mode: screen;
  animation: plShine 2.2s ease-in-out .55s infinite;
}
@keyframes plLogoIn { from { opacity: 0; transform: translateY(16px) scale(.9); filter: blur(8px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes plGlow { 0%,100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes plShine { 0% { transform: translateX(-130%); } 55%,100% { transform: translateX(130%); } }
.pl-bar { width: min(280px, 60vw); height: 1px; background: rgba(242,237,228,.12); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 100%; background: var(--gold-2); transform-origin: left; animation: plfill 1.4s cubic-bezier(.22,1,.36,1) both; }
@keyframes plfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pl-ring { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(217,164,65,.25); border-top-color: var(--gold-2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pl-note { font-family: var(--font-m); font-size: 12px; color: var(--ink-faint); letter-spacing: .3em; }

/* ---------- cursor & progress ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150; border-radius: 50%; display: none; }
@media (hover:hover) and (pointer:fine) {
  .cursor-dot, .cursor-ring { display: block; }
  .cursor-dot { width: 6px; height: 6px; background: var(--gold-2); transform: translate(-50%,-50%); }
  .cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(232,195,118,.55); transform: translate(-50%,-50%); transition: width .3s, height .3s, background .3s, border-color .3s; }
  .cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(217,164,65,.08); border-color: rgba(232,195,118,.9); }
}
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); z-index: 120; }

/* ---------- nav ---------- */
header.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
header.site-head.scrolled { background: rgba(6,5,4,.78); backdrop-filter: blur(14px); border-bottom-color: var(--line-soft); }
.nav { max-width: 1440px; margin: 0 auto; padding: 18px clamp(20px,4vw,56px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; line-height: 0; transition: transform .25s ease; background: none; border: none; padding: 0; }
.logo:active { transform: scale(.96); }
.logo img { height: 54px; width: auto; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-family: var(--font-m); font-size: 12px; letter-spacing: .22em; color: var(--ink-dim); position: relative; padding: 4px 0; transition: color .3s; background: none; border: none; cursor: pointer; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold-2); transition: width .35s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em;
  padding: 13px 26px; border: 1px solid transparent;
  transition: transform .3s, background .3s, color .3s, border-color .3s;
}
.btn-gold { background: var(--gold); color: #171106; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(242,237,228,.28); color: var(--ink); background: rgba(6,5,4,.3); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn .arr { transition: transform .3s; }
.btn:hover .arr { transform: translate(3px,-3px); }
.btn[disabled] { opacity: .55; cursor: wait; }
.nav-cta { padding: 10px 22px; font-size: 13px; }
.burger { display: none; background: none; border: 1px solid var(--line-soft); border-radius: 10px; width: 44px; height: 44px; place-items: center; color: var(--ink); }
.burger svg { width: 20px; height: 20px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: rgba(4,3,2,.97);
  display: flex; flex-direction: column; justify-content: center; padding: 90px clamp(24px,6vw,60px) 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-d); font-weight: 600; font-size: clamp(26px,7vw,40px);
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; text-align: left;
  background: none; border-top: none; border-left: none; border-right: none; color: var(--ink); width: 100%;
}
.mobile-menu a span { font-family: var(--font-m); font-size: 12px; color: var(--gold); }

/* ---------- layout helpers ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px,4vw,56px); }
section { position: relative; }
.kicker { font-family: var(--font-m); font-size: 12px; letter-spacing: .34em; color: var(--gold-2); display: flex; align-items: center; gap: 14px; text-transform: uppercase; }
.kicker::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.kicker.center { justify-content: center; }
h2.sec-title { font-family: var(--font-d); font-weight: 600; line-height: 1.08; font-size: clamp(30px,4.6vw,58px); margin: 20px 0 0; letter-spacing: .005em; }
h2.sec-title em { font-style: normal; color: var(--gold-2); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px,5vw,64px); }
.sec-head p { max-width: 420px; color: var(--ink-dim); margin: 0; }

/* reveal on scroll */
[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
[data-rv].rv-in { opacity: 1; transform: none; }

/* page transition — route changes never teleport: the outgoing page eases
   up and fades (~300ms), then the incoming page mounts at the very top
   and settles in with pageIn. */
.page-view { animation: pageIn .65s cubic-bezier(.22,1,.36,1) both; }
.page-view.is-leaving { animation: none; opacity: 0; transform: translateY(-16px); transition: opacity .3s ease, transform .3s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,4,.55) 0%, rgba(6,5,4,.05) 34%, rgba(6,5,4,.28) 62%, var(--bg) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 40%, rgba(6,5,4,.45) 100%);
}
#gl { position: absolute; inset: 0; z-index: 1; pointer-events: none; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; padding: 150px 0 0; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-family: var(--font-m); font-size: 11px; letter-spacing: .26em; color: var(--ink-dim); background: rgba(6,5,4,.35); backdrop-filter: blur(6px); text-transform: uppercase; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
h1.hero-title { font-family: var(--font-d); font-weight: 800; line-height: 1.02; font-size: clamp(40px,8.2vw,118px); margin: 26px 0 0; letter-spacing: .002em; text-transform: uppercase; }
h1.hero-title .line { display: block; overflow: hidden; }
h1.hero-title .line-inner { display: inline-block; animation: lineUp 1.1s cubic-bezier(.22,1,.36,1) both; }
h1.hero-title .line:nth-child(2) .line-inner { animation-delay: .12s; }
h1.hero-title .line:nth-child(3) .line-inner { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
h1.hero-title .gold { color: var(--gold-2); }
h1.hero-title .stroke { color: transparent; -webkit-text-stroke: 1.5px rgba(242,237,228,.85); }
.hero-sub { max-width: 560px; color: #ddd5c6; font-size: clamp(16px,1.6vw,19px); margin: 28px 0 0; font-weight: 500; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.hero-meta { margin-top: clamp(44px,6vw,72px); border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: repeat(4,1fr); }
.hero-meta .cell { padding: 22px 26px 26px; border-right: 1px solid var(--line-soft); }
.hero-meta .cell:last-child { border-right: none; }
.hero-meta .num { font-family: var(--font-d); font-weight: 600; font-size: clamp(22px,2.6vw,34px); color: var(--ink); }
.hero-meta .num b { color: var(--gold-2); font-weight: 600; }
.hero-meta .lbl { font-family: var(--font-m); font-size: 11px; letter-spacing: .2em; color: var(--ink-faint); margin-top: 6px; text-transform: uppercase; }
.scroll-hint { position: absolute; right: clamp(20px,4vw,56px); bottom: 150px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--font-m); font-size: 10px; letter-spacing: .3em; color: var(--ink-faint); writing-mode: vertical-rl; }
.scroll-hint i { width: 1px; height: 56px; background: linear-gradient(var(--gold-2), transparent); display: block; animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-d); font-weight: 500; font-size: clamp(15px,2vw,22px); letter-spacing: .06em; padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee-track .star { color: var(--gold); font-size: .8em; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(90px,12vw,170px) 0; }
.manifesto-text { font-family: var(--font-d); font-weight: 500; line-height: 1.32; font-size: clamp(24px,3.6vw,46px); max-width: 1100px; margin: 34px 0 0; }
.manifesto-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px,5vw,80px); align-items: start; }
.manifesto-side { color: var(--ink-dim); font-size: 17px; }
.manifesto-side p { margin: 0 0 18px; }
.orbit-chip { display: inline-flex; gap: 10px; align-items: center; border: 1px dashed rgba(217,164,65,.45); padding: 10px 18px; border-radius: 999px; font-family: var(--font-m); font-size: 12px; letter-spacing: .18em; color: var(--gold-2); }

/* ---------- services ---------- */
.services { padding: clamp(80px,10vw,140px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.svc-list { border-top: 1px solid var(--line-soft); }
.svc { border-bottom: 1px solid var(--line-soft); position: relative; overflow: hidden; scroll-margin-top: 96px; }
.svc::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(217,164,65,.09), transparent 65%); opacity: 0; transition: opacity .45s; pointer-events: none; }
.svc:hover::before, .svc.open::before { opacity: 1; }
.svc-head { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; padding: 30px 10px; position: relative; z-index: 1; width: 100%; background: none; border: none; color: var(--ink); text-align: left; }
.svc-num { font-family: var(--font-m); font-size: 14px; color: var(--gold); letter-spacing: .1em; }
.svc-name { font-family: var(--font-d); font-weight: 600; font-size: clamp(21px,3.2vw,38px); transition: transform .45s cubic-bezier(.22,1,.36,1), color .3s; }
.svc:hover .svc-name, .svc.open .svc-name { transform: translateX(14px); color: var(--gold-2); }
.svc-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; color: var(--gold-2); flex: none; transition: transform .45s cubic-bezier(.22,1,.36,1), background .3s; }
.svc.open .svc-toggle { transform: rotate(45deg); background: rgba(217,164,65,.12); }
.svc-body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1), visibility 0s linear .55s; position: relative; z-index: 1; }
.svc.open .svc-body { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1), visibility 0s; }
.svc-body-in { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 0 10px 36px; overflow: hidden; min-height: 0; }
.svc-body p { max-width: 640px; color: var(--ink-dim); margin: 0 0 18px; font-size: 16.5px; }
.svc-wa { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-m); font-size: 11.5px; letter-spacing: .16em; color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin-top: 16px; transition: background .3s, color .3s; }
.svc-wa:hover { background: var(--gold); color: #171106; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span { font-family: var(--font-m); font-size: 11px; letter-spacing: .14em; color: var(--ink-dim); border: 1px solid var(--line-soft); border-radius: 999px; padding: 6px 14px; }

/* ---------- work cards ---------- */
.work { padding: clamp(90px,11vw,150px) 0; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2.6vw,34px); }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); cursor: pointer; text-align: left; width: 100%; padding: 0; color: var(--ink); transition: border-color .35s; display: block; }
.card:hover { border-color: var(--line); }
.card-media { overflow: hidden; aspect-ratio: 4/3.4; background: #000; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.card:hover .card-media img, .card:hover .card-media video { transform: scale(1.06); }
.card-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 26px; }
.card-info h3 { font-family: var(--font-d); font-weight: 600; font-size: clamp(18px,2vw,24px); margin: 0 0 6px; }
.card-info p { margin: 0; color: var(--ink-faint); font-size: 14px; }
.card-tag { font-family: var(--font-m); font-size: 10.5px; letter-spacing: .18em; color: var(--gold-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; white-space: nowrap; }
.work-more { margin-top: clamp(30px,4vw,48px); text-align: center; }
.empty-note { border: 1px dashed var(--line); border-radius: var(--radius); padding: 44px 30px; text-align: center; color: var(--ink-dim); font-size: 16px; }

/* ---------- showreel ---------- */
.reel { padding: clamp(70px,9vw,120px) 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: radial-gradient(ellipse 60% 90% at 85% 50%, rgba(217,164,65,.12), transparent 60%), var(--bg-2); overflow: hidden; }
.reel-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px,5vw,70px); align-items: center; }
.reel-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.reel-frame video { width: 100%; height: 100%; object-fit: cover; }
.reel-frame .play-wrap { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.reel-frame .play-wrap .play-btn { pointer-events: auto; width: clamp(76px,8vw,104px); height: clamp(76px,8vw,104px); }
.play-btn { width: clamp(96px,12vw,150px); height: clamp(96px,12vw,150px); border-radius: 50%; border: 1px solid var(--gold); background: rgba(217,164,65,.06); color: var(--gold-2); display: grid; place-items: center; position: relative; transition: background .3s, transform .3s; }
.play-btn::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(217,164,65,.25); animation: pulseRing 2.4s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
.play-btn:hover { background: rgba(217,164,65,.16); }
.play-btn svg { width: 34%; height: 34%; margin-left: 6%; }
.play-btn.is-playing svg { margin-left: 0; }
.reel h2 { font-family: var(--font-d); font-weight: 600; font-size: clamp(26px,4vw,50px); line-height: 1.14; margin: 14px 0; }
.reel h2 em { font-style: normal; color: var(--gold-2); }
.reel p { color: var(--ink-dim); max-width: 560px; margin: 0; }
.reel-note { font-family: var(--font-m); font-size: 11px; letter-spacing: .22em; color: var(--ink-faint); margin-top: 20px; text-transform: uppercase; }

/* ---------- process ---------- */
.process { padding: clamp(90px,11vw,150px) 0; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,26px); }
.step { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px 34px; background: linear-gradient(180deg, rgba(242,237,228,.025), transparent); position: relative; overflow: hidden; transition: border-color .35s, transform .35s; }
.step:hover { border-color: var(--line); transform: translateY(-6px); }
.step .s-num { font-family: var(--font-d); font-weight: 800; font-size: 44px; color: transparent; -webkit-text-stroke: 1px rgba(217,164,65,.55); line-height: 1; }
.step h3 { font-family: var(--font-d); font-weight: 600; font-size: 19px; margin: 20px 0 10px; }
.step p { color: var(--ink-dim); font-size: 15px; margin: 0; }
.step .s-line { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s; }
.step:hover .s-line { width: 100%; }

/* ---------- statement ---------- */
.statement { padding: clamp(90px,12vw,170px) 0; text-align: center; overflow: hidden; background: radial-gradient(ellipse 55% 70% at 50% 110%, rgba(217,164,65,.14), transparent 65%); }
.statement h2 { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; line-height: 1.1; font-size: clamp(30px,5.6vw,74px); margin: 26px auto 0; max-width: 1050px; }
.statement h2 em { font-style: normal; color: var(--gold-2); }
.statement p { color: var(--ink-dim); max-width: 520px; margin: 26px auto 0; }

/* ---------- contact form ---------- */
.contact-sec { padding: clamp(80px,10vw,130px) 0; background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(34px,5vw,80px); align-items: start; }
.cform { display: grid; gap: 16px; position: relative; }
/* Honeypot wrapper: parked far off-screen so it is invisible and
   unreachable for people, but present in the DOM for bots to trip on. */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-m); font-size: 11px; letter-spacing: .22em; color: var(--ink-faint); text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(242,237,228,.04); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 14px 16px; color: var(--ink); font-family: var(--font-b);
  font-size: 15.5px; transition: border-color .3s, background .3s;
}
.field select option { background: #171410; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(217,164,65,.05); }
.form-ok { border: 1px solid var(--gold); border-radius: var(--radius); padding: 34px 30px; background: rgba(217,164,65,.06); text-align: center; }
.form-ok h3 { font-family: var(--font-d); font-size: 22px; margin: 0 0 10px; }
.form-ok p { color: var(--ink-dim); margin: 0 0 20px; }

/* ---------- footer ---------- */
footer.site-foot { border-top: 1px solid var(--line-soft); background: #040302; padding: clamp(60px,8vw,100px) 0 34px; position: relative; overflow: hidden; }
.foot-logo-btn { background: none; border: none; padding: 0; display: block; cursor: pointer; }
.foot-logo { height: 84px; width: auto; margin-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(34px,5vw,80px); }
.foot-big { font-family: var(--font-d); font-weight: 800; font-size: clamp(34px,6vw,84px); line-height: 1.04; text-transform: uppercase; margin: 18px 0 30px; }
.foot-big em { font-style: normal; color: var(--gold-2); }
.foot-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-list { display: flex; flex-direction: column; gap: 6px; }
.contact-list a, .contact-list div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); font-size: 16px; transition: color .3s, padding-left .3s; }
.contact-list a:hover { color: var(--gold-2); padding-left: 12px; }
.contact-list .k { font-family: var(--font-m); font-size: 11px; letter-spacing: .22em; color: var(--ink-faint); text-transform: uppercase; padding-top: 4px; }
.foot-bottom { margin-top: clamp(50px,7vw,84px); padding-top: 24px; padding-right: 92px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--font-m); font-size: 11px; letter-spacing: .16em; color: var(--ink-faint); text-transform: uppercase; }
.foot-giant { font-family: var(--font-d); font-weight: 800; text-align: center; line-height: .9; font-size: clamp(48px,11vw,168px); letter-spacing: .02em; color: rgba(242,237,228,.045); user-select: none; pointer-events: none; margin-top: 44px; text-transform: uppercase; white-space: nowrap; }

/* ---------- work page ---------- */
.workpage { padding: 138px 0 clamp(80px,10vw,130px); background: radial-gradient(ellipse 60% 42% at 85% 0%, rgba(217,164,65,.10), transparent 60%), var(--bg); min-height: 100svh; }
.wp-back { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-m); font-size: 12px; letter-spacing: .22em; color: var(--ink-dim); background: none; border: none; padding: 0; transition: color .3s, gap .3s; }
.wp-back:hover { color: var(--gold-2); gap: 16px; }
.workpage .kicker { margin-top: 36px; }
.wp-title { font-family: var(--font-d); font-weight: 800; text-transform: uppercase; line-height: 1.04; font-size: clamp(36px,6.6vw,88px); margin: 22px 0 0; letter-spacing: .002em; }
.wp-title em { font-style: normal; color: var(--gold-2); }
.wp-sub { color: var(--ink-dim); max-width: 640px; margin: 24px 0 0; font-size: 17px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: clamp(36px,5vw,52px) 0 0; }
.filter-btn { font-family: var(--font-m); font-size: 12px; letter-spacing: .18em; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-soft); background: transparent; color: var(--ink-dim); transition: background .3s, color .3s, border-color .3s; }
.filter-btn:hover { border-color: var(--gold); color: var(--ink); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: #171106; font-weight: 600; }
.wp-count { font-family: var(--font-m); font-size: 11.5px; letter-spacing: .24em; color: var(--ink-faint); text-transform: uppercase; margin: 20px 0 26px; }
.wp-grid { columns: 3; column-gap: clamp(18px,2.6vw,34px); }
.wcard { break-inside: avoid; margin: 0 0 clamp(18px,2.6vw,34px); position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-soft); cursor: pointer; transition: border-color .35s; width: 100%; padding: 0; color: var(--ink); text-align: left; display: block; animation: wpIn .55s cubic-bezier(.22,1,.36,1) both; }
.wcard:hover { border-color: var(--line); }
@keyframes wpIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.wcard-media { overflow: hidden; position: relative; background: #000; }
.wcard-media.ar-std { aspect-ratio: 4/3; }
.wcard-media.ar-tall { aspect-ratio: 9/16; }
.wcard-media.ar-wide { aspect-ratio: 16/10; }
.wcard-media img, .wcard-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.wcard:hover .wcard-media img, .wcard:hover .wcard-media video { transform: scale(1.06); }
.play-badge { position: absolute; right: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(6,5,4,.55); border: 1px solid var(--gold); color: var(--gold-2); display: grid; place-items: center; backdrop-filter: blur(4px); pointer-events: none; }
.play-badge svg { width: 15px; height: 15px; margin-left: 2px; }
.wp-cta { margin-top: clamp(16px,3vw,30px); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(30px,5vw,54px); display: flex; justify-content: space-between; align-items: center; gap: 26px; flex-wrap: wrap; background: radial-gradient(ellipse 60% 120% at 90% 50%, rgba(217,164,65,.10), transparent 60%), var(--panel); }
.wp-cta h3 { font-family: var(--font-d); font-weight: 600; font-size: clamp(22px,3vw,34px); line-height: 1.2; margin: 0; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 180; display: none; place-items: center; padding: 18px; }
.lightbox.open { display: grid; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(3,2,1,.92); backdrop-filter: blur(8px); border: none; cursor: pointer; }
.lb-panel { position: relative; width: min(880px,100%); max-height: 92svh; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); animation: lbIn .4s cubic-bezier(.22,1,.36,1) both; }
@keyframes lbIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.lb-media { background: #000; display: grid; place-items: center; }
.lb-media img, .lb-media video { width: 100%; height: auto; max-height: 64svh; object-fit: contain; background: #000; }
.lb-body { padding: 26px 28px 30px; }
.lb-tag { font-family: var(--font-m); font-size: 11px; letter-spacing: .22em; color: var(--gold-2); text-transform: uppercase; }
.lb-body h3 { font-family: var(--font-d); font-weight: 600; font-size: clamp(20px,2.6vw,28px); margin: 10px 0 8px; }
.lb-body p { color: var(--ink-dim); margin: 0; max-width: 640px; }
.lb-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(6,5,4,.65); color: var(--ink); font-size: 17px; display: grid; place-items: center; transition: border-color .3s, color .3s; }
.lb-close:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 110; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(37,211,102,.5); animation: pulseRing 2.4s ease-out infinite; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta .cell:nth-child(2) { border-right: none; }
  .hero-meta .cell { border-bottom: 1px solid var(--line-soft); }
  .scroll-hint { display: none; }
  .wp-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .logo img { height: 44px; }
  .foot-logo { height: 68px; }
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: grid; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .svc-head { grid-template-columns: 52px 1fr auto; padding: 24px 4px; }
  .svc-body-in { grid-template-columns: 1fr; padding: 0 4px 30px; }
  .svc-body-in .svc-num-spacer { display: none; }
  .reel-in { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .wp-grid { columns: 1; }
  .workpage { padding-top: 112px; }
  .foot-bottom { padding-right: 0; padding-bottom: 84px; }
  footer.site-foot { padding-bottom: 0; }
  .filters { gap: 8px; }
  .filter-btn { padding: 10px 16px; font-size: 11px; }
  .lb-body { padding: 22px 20px 26px; }
  .cform .row2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; transform: none; }
}

/* ---- block 2 ---- */
[data-rv]{opacity:1 !important; transform:none !important;} #preloader{display:none !important;}
