/* =====================================================================
   Kinetika — neo-brutalist company template (by Vosss)
   Nama perusahaan, angka, klien, dan testimoni di template ini fiktif.
   Ganti warna brand cukup di :root.
===================================================================== */
:root{
  --paper: #f3efe6;
  --paper-2: #ebe5d8;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #5a5750;
  --lime: #c6f24e;
  --orange: #ff5a2b;
  --blue: #4b5cff;
  --pink: #ffb4d9;
  --line: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1260px;
  --font: "Bricolage Grotesque", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;
}
*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{ margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
html{ overflow-x: clip; }
img, svg, canvas{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p{ margin: 0; }
h1, h2, h3{ font-weight: 800; letter-spacing: -0.04em; line-height: .98; }
ul{ list-style: none; margin: 0; padding: 0; }
::selection{ background: var(--lime); color: var(--ink); }
:focus-visible{ outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap{ width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width: 600px){ .wrap{ width: calc(100% - 32px); } body{ font-size: 16px; } }

/* paper texture: subtle dot grid */
body::before{
  content:""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(17,17,17,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ---------- small type ---------- */
.tag{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 7px 12px; border: var(--line); border-radius: 999px; background: var(--paper);
}
.tag i{ width: 9px; height: 9px; border-radius: 50%; background: var(--orange); border: 1.5px solid var(--ink); }
.tag.lime{ background: var(--lime); }
.mono{ font-family: var(--mono); }
.xl{ font-size: clamp(52px, 9.4vw, 150px); }
.lg{ font-size: clamp(40px, 6vw, 92px); }
.md{ font-size: clamp(30px, 3.6vw, 52px); }
.lead{ font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 600px; line-height: 1.5; }
.hl{ /* highlighter that draws in */
  position: relative; display: inline-block; padding: 0 .12em; margin: 0 -.04em; z-index: 0; white-space: nowrap;
}
.hl::before{
  content:""; position: absolute; inset: .12em -.02em .02em; z-index: -1; background: var(--lime);
  border: var(--line); border-radius: 12px; transform: scaleX(0) rotate(-1.5deg); transform-origin: left;
  transition: transform .9s var(--ease) var(--hd, .3s);
}
.hl.o::before{ background: var(--orange); }
.hl.b::before{ background: var(--pink); }
.in .hl::before, .hl.in::before{ transform: scaleX(1) rotate(-1.5deg); }
.stroke{ -webkit-text-stroke: 2px var(--ink); color: transparent; }

/* ---------- buttons ---------- */
.btn{
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 26px; border: var(--line); border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em;
  box-shadow: 4px 4px 0 var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover{ transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active{ transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn .ico{ width: 34px; height: 34px; margin-right: -14px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; border: 1.5px solid var(--ink); transition: transform .5s var(--spring); }
.btn:hover .ico{ transform: rotate(-45deg); }
.btn .ico svg{ width: 16px; height: 16px; }
.btn.lime{ background: var(--lime); color: var(--ink); }
.btn.lime .ico{ background: var(--ink); color: var(--lime); }
.btn.ghost{ background: var(--paper); color: var(--ink); }
.btn.sm{ height: 48px; padding: 0 20px; font-size: 15px; }

/* ---------- intro (every load) ---------- */
.intro{ position: fixed; inset: 0; z-index: 300; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.intro span{ background: var(--ink); transform-origin: top; animation: intro-col .7s cubic-bezier(.76,0,.24,1) forwards; animation-delay: calc(1.05s + var(--c) * .06s); }
@keyframes intro-col{ to{ transform: scaleY(0); } }
.intro-word{ position: fixed; inset: 0; z-index: 301; display: grid; place-items: center; pointer-events: none; }
.intro-word b{ display: flex; overflow: hidden; font-size: clamp(56px, 12vw, 180px); font-weight: 800; letter-spacing: -0.06em; color: var(--lime); animation: intro-out .45s ease-in forwards 1.02s; }
.intro-word b i{ font-style: normal; display: inline-block; transform: translateY(110%); animation: intro-letter .6s var(--spring) forwards; animation-delay: calc(var(--l) * .05s + .1s); }
@keyframes intro-letter{ to{ transform: none; } }
@keyframes intro-out{ to{ transform: translateY(-40%); opacity: 0; } }

/* ---------- cursor ---------- */
.cur{ position: fixed; left: 0; top: 0; z-index: 250; width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--ink); border-radius: 4px; pointer-events: none; opacity: 0; transition: width .3s var(--spring), height .3s var(--spring), margin .3s var(--spring), border-radius .3s, background .3s, opacity .3s; mix-blend-mode: difference; }
.cur{ background: #fff; }
.has-cur .cur{ opacity: 1; }
.cur.big{ width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; }

/* ---------- header ---------- */
.header{ position: fixed; left: 0; right: 0; top: 16px; z-index: 100; transition: transform .5s var(--ease); }
.header.hide{ transform: translateY(-140%); }
.header .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand{ display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px 0 8px; border: var(--line); border-radius: 999px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
.brand-mark{ width: 40px; height: 40px; }
.brand-mark .spin{ transform-origin: 20px 20px; animation: spin 8s linear infinite; }
.menu{ display: flex; gap: 4px; padding: 5px; border: var(--line); border-radius: 999px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.menu a{ height: 46px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15.5px; transition: background .25s, color .25s; }
.menu a:hover{ background: var(--paper-2); }
.menu a.active{ background: var(--ink); color: var(--lime); }
.burger{ display: none; width: 58px; height: 58px; border: var(--line); border-radius: 50%; background: var(--lime); box-shadow: 4px 4px 0 var(--ink); position: relative; }
.burger i{ position: absolute; left: 18px; right: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--spring), top .45s var(--spring); }
.burger i:nth-child(1){ top: 22px; } .burger i:nth-child(2){ top: 31px; }
.nav-open .burger i:nth-child(1){ top: 26.5px; transform: rotate(45deg); }
.nav-open .burger i:nth-child(2){ top: 26.5px; transform: rotate(-45deg); }
.drawer{ position: fixed; inset: 0; z-index: 99; background: var(--lime); padding: 110px 20px 30px; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(-100%); transition: transform .7s cubic-bezier(.76,0,.24,1); }
.nav-open .drawer{ transform: none; }
.drawer a.d{ display: flex; justify-content: space-between; align-items: center; font-size: 48px; font-weight: 800; letter-spacing: -0.05em; padding: 8px 0; border-bottom: var(--line); }
.drawer a.d span{ font-family: var(--mono); font-size: 13px; }
@media (max-width: 1000px){ .menu, .header .btn{ display: none; } .burger{ display: block; } }

/* ---------- sections ---------- */
section{ position: relative; padding: 130px 0; }
@media (max-width: 760px){ section{ padding: 90px 0; } }
.head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 60px; flex-wrap: wrap; }
.head h2{ margin-top: 18px; max-width: 900px; }

/* ---------- hero ---------- */
.hero{ min-height: 100svh; padding: 150px 0 50px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-grid{ display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.hero h1{ font-size: clamp(50px, 6.2vw, 98px); }
.hero h1{ margin-top: 26px; }
.rot{ display: inline-grid; vertical-align: top; height: 1.02em; overflow: hidden; }
.rot > span{ grid-area: 1 / 1; transform: translateY(105%); transition: transform .8s var(--spring); color: var(--orange); }
.rot > span.on{ transform: none; }
.rot > span.out{ transform: translateY(-105%); transition: transform .6s var(--ease); }
.hero .lead{ margin-top: 30px; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.stage{ position: relative; aspect-ratio: 1; border: var(--line); border-radius: 28px; background: var(--paper-2); box-shadow: var(--shadow-lg); overflow: hidden; }
.stage canvas{ width: 100%; height: 100%; }
.stage .tag{ position: absolute; left: 16px; top: 16px; }
.stage-meter{ position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border: var(--line); border-radius: 14px; background: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 700; }
.stage-meter b{ font-size: 20px; }
.pulse-dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255,90,43,.6); animation: pulse 1.6s infinite; display: inline-block; margin-right: 8px; }
@keyframes pulse{ 70%{ box-shadow: 0 0 0 10px rgba(255,90,43,0); } 100%{ box-shadow: 0 0 0 0 rgba(255,90,43,0); } }
.badge{ position: absolute; right: -34px; top: -34px; width: 150px; height: 150px; z-index: 3; pointer-events: none; }
.badge svg{ width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge .core{ position: absolute; inset: 44px; border-radius: 50%; background: var(--orange); border: var(--line); display: grid; place-items: center; font-size: 28px; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.hero-foot{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 70px; }
.stat{ border: var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.stat:hover{ transform: translate(-3px,-3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); background: var(--lime); }
.stat b{ display: block; font-size: clamp(34px, 3.4vw, 50px); letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span{ display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
@media (max-width: 960px){
  .hero-grid{ grid-template-columns: minmax(0, 1fr); }
  .hero h1{ font-size: clamp(40px, 10.6vw, 80px); }
  .stage{ max-width: 520px; width: 100%; justify-self: center; }
  .badge{ width: 118px; height: 118px; right: -10px; top: -30px; } .badge .core{ inset: 34px; font-size: 22px; }
  .hero-foot{ grid-template-columns: 1fr 1fr; margin-top: 50px; }
}

/* ---------- ticker ---------- */
.ticker{ position: relative; z-index: 2; overflow: hidden; padding: 60px 0; margin: -20px 0; }
.ticker-band{ position: relative; z-index: 2; margin-inline: -4%; background: var(--ink); color: var(--lime); border-block: var(--line); overflow: hidden; padding: 16px 0; transform: rotate(-2deg); }
.ticker-band.alt{ z-index: 1; background: var(--orange); color: var(--ink); transform: rotate(1.8deg); margin-top: -54px; }
.ticker-track{ display: flex; width: max-content; will-change: transform; }
.ticker-track span{ display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.ticker-track span::after{ content: "✳"; font-size: .8em; }

/* ---------- about split ---------- */
.about{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.about-text p + p{ margin-top: 18px; }
.about-cards{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini{ border: var(--line); border-radius: var(--r); padding: 24px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.mini:nth-child(2){ background: var(--lime); transform: rotate(1.5deg); }
.mini:nth-child(3){ background: var(--pink); transform: rotate(-1.2deg); }
.mini:nth-child(4){ background: var(--ink); color: var(--paper); }
.mini svg{ width: 44px; height: 44px; }
.mini h3{ font-size: 23px; margin: 18px 0 8px; letter-spacing: -0.03em; }
.mini p{ font-size: 15px; opacity: .85; }
@media (max-width: 900px){ .about{ grid-template-columns: 1fr; } }
@media (max-width: 520px){ .about-cards{ grid-template-columns: 1fr; } }

/* ---------- stacking service cards ---------- */
.stack{ position: relative; }
.stack-card{
  position: sticky; top: calc(110px + var(--i) * 26px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  min-height: 460px; padding: 44px; margin-bottom: 40px;
  border: var(--line); border-radius: 30px; box-shadow: var(--shadow-lg);
  transform-origin: 50% 0; will-change: transform;
}
.stack-card:nth-child(1){ background: var(--paper); }
.stack-card:nth-child(2){ background: var(--lime); }
.stack-card:nth-child(3){ background: var(--pink); }
.stack-card:nth-child(4){ background: var(--ink); color: var(--paper); }
.stack-card:nth-child(4) .tag{ background: var(--ink); color: var(--paper); border-color: var(--paper); }
.stack-card:nth-child(4) .list li{ border-color: rgba(243,239,230,.3); }
.stack-card .num{ font-family: var(--mono); font-weight: 700; font-size: 14px; }
.stack-card h3{ font-size: clamp(34px, 3.8vw, 58px); margin: 16px 0 16px; }
.stack-card p{ font-size: 17px; max-width: 460px; }
.list{ margin-top: 22px; }
.list li{ display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1.5px dashed rgba(17,17,17,.35); font-weight: 600; font-size: 16px; }
.list li::before{ content: "→"; font-family: var(--mono); }
.stack-art{ position: relative; aspect-ratio: 5/4; border: var(--line); border-radius: 22px; background: var(--paper-2); overflow: hidden; display: grid; place-items: center; }
.stack-card:nth-child(4) .stack-art{ background: #1c1c1c; border-color: var(--paper); }
.stack-art svg{ width: 78%; height: auto; }
@media (max-width: 900px){
  .stack-card{ grid-template-columns: 1fr; padding: 28px; min-height: 0; top: calc(90px + var(--i) * 14px); gap: 26px; }
}

/* robot arm & machine animations */
.arm-1{ transform-origin: 150px 212px; animation: arm1 4s var(--ease) infinite alternate; }
.arm-2{ transform-origin: 150px 140px; animation: arm2 4s var(--ease) infinite alternate; }
.arm-3{ transform-origin: 214px 108px; animation: arm3 2s ease-in-out infinite alternate; }
@keyframes arm1{ from{ transform: rotate(-14deg); } to{ transform: rotate(12deg); } }
@keyframes arm2{ from{ transform: rotate(18deg); } to{ transform: rotate(-22deg); } }
@keyframes arm3{ from{ transform: rotate(-10deg); } to{ transform: rotate(16deg); } }
.belt-box{ animation: belt 3.6s linear infinite; }
.belt-box.b2{ animation-delay: -1.2s; } .belt-box.b3{ animation-delay: -2.4s; }
@keyframes belt{ from{ transform: translateX(-80px); } to{ transform: translateX(300px); } }
.gear{ transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.gear.rev{ animation-direction: reverse; animation-duration: 4s; }
.bar-grow{ transform-box: fill-box; transform-origin: bottom; animation: grow 2.4s var(--ease) infinite alternate; }
.bar-grow:nth-of-type(2){ animation-delay: -.6s; } .bar-grow:nth-of-type(3){ animation-delay: -1.2s; } .bar-grow:nth-of-type(4){ animation-delay: -1.8s; }
@keyframes grow{ from{ transform: scaleY(.35); } to{ transform: scaleY(1); } }
.blink{ animation: blink 1.2s steps(2) infinite; }
@keyframes blink{ 50%{ opacity: 0; } }

/* ---------- process path ---------- */
.process{ position: relative; }
.process svg.path{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.process svg.path path{ fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 10; }
.process svg.path path.draw{ stroke: var(--orange); stroke-width: 5; stroke-dasharray: none; stroke-linecap: round; }
.steps{ position: relative; display: grid; gap: 70px; }
.step{ position: relative; width: min(540px, 100%); border: var(--line); border-radius: 24px; padding: 30px; background: var(--paper); box-shadow: var(--shadow); }
.step:nth-child(even){ justify-self: end; }
.step .n{ position: absolute; top: -26px; left: 24px; width: 52px; height: 52px; border-radius: 50%; border: var(--line); background: var(--lime); display: grid; place-items: center; font-family: var(--mono); font-weight: 700; transition: transform .6s var(--spring), background .4s; }
.step.lit .n{ background: var(--orange); transform: rotate(360deg) scale(1.1); }
.step h3{ font-size: 30px; margin: 14px 0 10px; }
.step p{ color: var(--ink-2); }
@media (max-width: 760px){ .steps{ gap: 50px; } .step:nth-child(even){ justify-self: start; } }

/* ---------- projects list with cursor preview ---------- */
.plist{ border-top: var(--line); }
.prow{ position: relative; display: grid; grid-template-columns: 70px 1.4fr 1fr 120px; gap: 20px; align-items: center; padding: 28px 10px; border-bottom: var(--line); transition: background .3s, padding .4s var(--ease); }
.prow:hover{ background: var(--lime); padding-left: 26px; }
.prow .i{ font-family: var(--mono); font-weight: 700; }
.prow h3{ font-size: clamp(26px, 3vw, 44px); }
.prow .cat{ font-weight: 600; color: var(--ink-2); }
.prow .yr{ justify-self: end; font-family: var(--mono); font-weight: 700; display: flex; align-items: center; gap: 10px; }
.prow .yr svg{ width: 22px; height: 22px; transition: transform .5s var(--spring); }
.prow:hover .yr svg{ transform: rotate(-45deg); }
.pthumb{ display: none; }
.preview{ position: fixed; left: 0; top: 0; z-index: 90; width: 300px; aspect-ratio: 4/3; border: var(--line); border-radius: 18px; overflow: hidden; pointer-events: none; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .3s, transform .45s var(--spring); }
.preview.on{ opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.preview > div{ position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s; opacity: 0; }
.preview > div.on{ opacity: 1; }
.preview svg{ width: 70%; }
@media (max-width: 800px){
  .prow{ grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px 4px; }
  .prow .i, .prow .cat{ grid-column: 1; }
  .prow h3{ grid-column: 1 / -1; grid-row: 2; }
  .prow .cat{ grid-row: 3; }
  .prow .yr{ grid-column: 2; grid-row: 1; }
  .pthumb{ display: grid; grid-column: 1 / -1; aspect-ratio: 16/9; border: var(--line); border-radius: 16px; place-items: center; margin-top: 10px; }
  .pthumb svg{ width: 50%; }
}
.fill-lime{ background: var(--lime); } .fill-orange{ background: var(--orange); } .fill-pink{ background: var(--pink); } .fill-blue{ background: var(--blue); } .fill-paper{ background: var(--paper-2); } .fill-ink{ background: var(--ink); }

/* ---------- clients ---------- */
.clients{ display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); }
.client{ height: 130px; display: grid; place-items: center; gap: 6px; border-right: var(--line); border-bottom: var(--line); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; transition: background .3s, color .3s; }
.client:nth-child(4n){ border-right: 0; }
.client:nth-last-child(-n+4){ border-bottom: 0; }
.client:hover{ background: var(--ink); color: var(--lime); }
.client span{ display: inline-flex; align-items: center; gap: 10px; transition: transform .4s var(--spring); }
.client:hover span{ transform: scale(1.1) rotate(-3deg); }
@media (max-width: 760px){
  .clients{ grid-template-columns: 1fr 1fr; }
  .client{ border-right: var(--line) !important; border-bottom: var(--line) !important; font-size: 18px; height: 100px; }
  .client:nth-child(2n){ border-right: 0 !important; }
  .client:nth-last-child(-n+2){ border-bottom: 0 !important; }
}

/* ---------- testimonial deck (drag / swipe) ---------- */
.deck-wrap{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.deck{ position: relative; height: 420px; touch-action: pan-y; }
.card{ position: absolute; inset: 0; border: var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; cursor: grab; user-select: none; transition: transform .6s var(--spring), opacity .4s; }
.card:active{ cursor: grabbing; }
.card.dragging{ transition: none; }
.card q{ font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; quotes: "“" "”"; }
.card .who{ display: flex; align-items: center; gap: 14px; }
.card .av{ width: 54px; height: 54px; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-weight: 800; background: var(--paper); }
.card .who strong{ display: block; } .card .who span{ font-size: 14px; opacity: .8; }
.deck-hint{ display: flex; align-items: center; gap: 12px; margin-top: 30px; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.deck-hint button{ width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; transition: transform .2s, box-shadow .2s, background .2s; }
.deck-hint button:hover{ background: var(--lime); transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.deck-hint svg{ width: 20px; height: 20px; }
@media (max-width: 900px){ .deck-wrap{ grid-template-columns: 1fr; } .deck{ height: 400px; } }

/* ---------- big CTA ---------- */
.cta{ padding: 60px 0 140px; }
.cta-box{ position: relative; overflow: hidden; border: var(--line); border-radius: 36px; background: var(--orange); box-shadow: var(--shadow-lg); padding: clamp(40px, 7vw, 90px) clamp(24px, 5vw, 70px); }
.cta-box h2{ font-size: clamp(56px, 11vw, 170px); line-height: .9; letter-spacing: -0.06em; }
.cta-box .row{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px; margin-top: 40px; }
.cta-box .lead{ color: var(--ink); }
.cta-shapes span{ position: absolute; border: var(--line); pointer-events: none; }
.cta-shapes .s1{ width: 120px; height: 120px; border-radius: 50%; background: var(--lime); right: 8%; top: 12%; animation: bob 5s ease-in-out infinite; }
.cta-shapes .s2{ width: 90px; height: 90px; background: var(--pink); right: 24%; top: 34%; border-radius: 16px; animation: bob 6s ease-in-out infinite reverse; transform: rotate(18deg); }
.cta-shapes .s3{ width: 0; height: 0; border: 0; right: 4%; bottom: 20%; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 100px solid var(--ink); animation: bob 7s ease-in-out infinite; }
@keyframes bob{ 50%{ translate: 0 -18px; rotate: 12deg; } }
@media (max-width: 760px){ .cta-shapes .s1{ width: 70px; height: 70px; } .cta-shapes .s2{ display: none; } .cta-shapes .s3{ display: none; } }

/* ---------- footer ---------- */
.footer{ background: var(--ink); color: var(--paper); padding: 90px 0 30px; border-top: var(--line); overflow: hidden; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4{ font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); margin-bottom: 16px; }
.footer li{ margin-bottom: 9px; } .footer li a{ opacity: .8; transition: opacity .2s, color .2s; } .footer li a:hover{ opacity: 1; color: var(--lime); }
.footer .brand{ background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--lime); }
.footer p{ opacity: .8; margin-top: 18px; max-width: 320px; }
.footer-big{ margin-top: 70px; font-size: clamp(70px, 17.5vw, 280px); font-weight: 800; letter-spacing: -0.07em; line-height: .78; color: var(--lime); display: flex; justify-content: center; }
.footer-big span{ display: inline-block; transition: transform .7s var(--spring); }
.footer-big span:hover{ transform: translateY(-14%) rotate(-6deg); color: var(--orange); }
.footer-bottom{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(243,239,230,.2); font-size: 14px; opacity: .75; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child{ grid-column: span 2; } }

/* ---------- inner page hero ---------- */
.phero{ padding: 180px 0 80px; overflow: hidden; }
.phero .crumb{ font-family: var(--mono); font-weight: 700; font-size: 13px; margin-bottom: 24px; display: flex; gap: 10px; }
.phero .crumb a{ text-decoration: underline; text-underline-offset: 3px; }
.phero h1{ max-width: 1150px; }
.phero .lead{ margin-top: 30px; }
.phero-shape{ position: absolute; right: 6%; top: 160px; width: 190px; height: 190px; pointer-events: none; }
.phero-shape svg{ width: 100%; height: 100%; animation: spin 18s linear infinite; }
@media (max-width: 600px){ .phero h1{ font-size: clamp(38px, 10.8vw, 60px); } .hl{ white-space: normal; } }
@media (max-width: 900px){ .phero-shape{ width: 110px; height: 110px; top: 110px; right: 4%; opacity: .9; } }

/* about page */
.timeline{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tl{ border: var(--line); border-radius: 20px; padding: 22px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); transition: transform .35s var(--spring), background .3s; }
.tl:hover{ transform: translateY(-8px) rotate(-1.5deg); background: var(--lime); }
.tl b{ display: block; font-size: 38px; letter-spacing: -0.05em; }
.tl h3{ font-size: 19px; margin: 10px 0 6px; letter-spacing: -0.02em; line-height: 1.15; }
.tl p{ font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 1000px){ .timeline{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .timeline{ grid-template-columns: 1fr; } }
.team{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.person{ border: var(--line); border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); transition: transform .35s var(--spring); }
.person:hover{ transform: rotate(-2deg) translateY(-6px); }
.person .ph{ aspect-ratio: 1; display: grid; place-items: center; border-bottom: var(--line); font-size: 70px; font-weight: 800; letter-spacing: -0.06em; position: relative; overflow: hidden; }
.person .ph::after{ content: ""; position: absolute; width: 140%; height: 40%; bottom: -12%; background: rgba(17,17,17,.1); border-radius: 50%; }
.person .info{ padding: 16px 18px 20px; }
.person strong{ display: block; font-size: 19px; }
.person span{ font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 900px){ .team{ grid-template-columns: 1fr 1fr; } }
.values{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value{ border: var(--line); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.value:nth-child(1){ background: var(--lime); } .value:nth-child(2){ background: var(--paper); } .value:nth-child(3){ background: var(--pink); }
.value h3{ font-size: 30px; margin: 20px 0 10px; }
.value .big{ font-size: 64px; font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
@media (max-width: 860px){ .values{ grid-template-columns: 1fr; } }

/* services page */
.svc{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card{ position: relative; border: var(--line); border-radius: 28px; padding: 34px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.svc-card:hover{ transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }
.svc-card .art{ height: 200px; border: var(--line); border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px; overflow: hidden; }
.svc-card .art svg{ width: 70%; max-height: 180px; }
.svc-card h3{ font-size: 34px; }
.svc-card p{ color: var(--ink-2); margin-top: 10px; }
.svc-card .list li{ font-size: 15.5px; }
@media (max-width: 860px){ .svc{ grid-template-columns: 1fr; } }
.pricing-note{ display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; margin-top: 30px; padding: 26px 30px; border: var(--line); border-radius: 22px; background: var(--lime); box-shadow: var(--shadow); }
.pricing-note h3{ font-size: 28px; }

/* projects page */
.chips{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip{ height: 46px; padding: 0 20px; border: var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; font-size: 15px; box-shadow: 3px 3px 0 var(--ink); transition: transform .2s, box-shadow .2s, background .2s; }
.chip:hover{ transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.chip.on{ background: var(--ink); color: var(--lime); }
.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gcard{ border: var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .45s var(--spring), box-shadow .3s, opacity .35s; }
.gcard:hover{ transform: translate(-4px,-4px) rotate(-1deg); box-shadow: 10px 10px 0 var(--ink); }
.gcard.out{ opacity: 0; transform: scale(.85) rotate(4deg); }
.gcard.gone{ display: none; }
.gcard .art{ aspect-ratio: 4/3; display: grid; place-items: center; border-bottom: var(--line); }
.gcard .art svg{ width: 58%; }
.gcard .body{ padding: 20px 22px 24px; }
.gcard .meta{ display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; font-weight: 700; }
.gcard h3{ font-size: 25px; margin: 10px 0 6px; letter-spacing: -0.03em; }
.gcard p{ font-size: 15px; color: var(--ink-2); }
@media (max-width: 960px){ .grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .grid{ grid-template-columns: 1fr; } }

/* contact page */
.contact{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 960px){ .contact{ grid-template-columns: 1fr; } }
.form{ border: var(--line); border-radius: 30px; padding: clamp(24px, 4vw, 44px); background: var(--paper); box-shadow: var(--shadow-lg); }
.form h2{ font-size: 40px; }
.frow{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px){ .frow{ grid-template-columns: 1fr; } }
.field{ display: block; margin-top: 14px; }
.field span{ display: block; font-family: var(--mono); font-size: 12.5px; font-weight: 700; margin-bottom: 6px; text-transform: uppercase; }
.field input, .field textarea, .field select{ width: 100%; height: 56px; padding: 0 16px; border: var(--line); border-radius: 14px; background: #fffdf8; font: inherit; font-size: 16px; color: var(--ink); outline: none; transition: box-shadow .2s, transform .2s, background .2s; appearance: none; -webkit-appearance: none; }
.field textarea{ height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus{ box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px,-2px); background: #fff; }
.budget{ display: flex; flex-wrap: wrap; gap: 8px; }
.budget label{ position: relative; }
.budget label input{ position: absolute; opacity: 0; pointer-events: none; }
.budget label span{ display: inline-block; margin: 0; padding: 10px 16px; border: var(--line); border-radius: 999px; font-family: var(--font); font-size: 15px; text-transform: none; font-weight: 700; cursor: pointer; background: #fffdf8; transition: background .2s, transform .3s var(--spring); }
.budget label input:checked + span{ background: var(--lime); transform: rotate(-3deg) scale(1.05); }
.budget label input:focus-visible + span{ outline: 3px solid var(--blue); outline-offset: 2px; }
.form .btn{ margin-top: 24px; }
.side{ display: grid; gap: 16px; }
.box{ border: var(--line); border-radius: 24px; padding: 26px; box-shadow: 4px 4px 0 var(--ink); background: var(--paper); }
.box.lime{ background: var(--lime); } .box.ink{ background: var(--ink); color: var(--paper); }
.box h3{ font-size: 26px; margin: 10px 0 8px; }
.box p, .box a{ font-size: 16px; }
.box a{ font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.clock{ font-family: var(--mono); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.open-dot{ display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 3px rgba(198,242,78,.3); }
.faq{ border-top: var(--line); }
.q{ border-bottom: var(--line); }
.q button{ width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; text-align: left; font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
.q button i{ flex: 0 0 auto; width: 44px; height: 44px; border: var(--line); border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 24px; transition: transform .5s var(--spring), background .3s; }
.q.open button i{ transform: rotate(135deg); background: var(--lime); }
.q .a{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.q.open .a{ grid-template-rows: 1fr; }
.q .a > div{ overflow: hidden; }
.q .a p{ padding: 0 4px 24px; color: var(--ink-2); max-width: 760px; }
.toast{ position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translate(-50%, 180%); padding: 16px 22px; border: var(--line); border-radius: 16px; background: var(--lime); font-weight: 700; box-shadow: var(--shadow); transition: transform .6s var(--spring); max-width: calc(100% - 32px); }
.toast{ visibility: hidden; }
.toast.show{ transform: translate(-50%, 0); visibility: visible; }

/* ---------- reveal ---------- */
.js .rv{ opacity: 0; transform: translateY(50px) rotate(1.5deg); transition: opacity .8s var(--ease), transform 1s var(--spring); transition-delay: var(--d, 0s); }
.js .rv.in{ opacity: 1; transform: none; }
.js .pop{ opacity: 0; transform: scale(.7) rotate(-6deg); transition: opacity .5s, transform .8s var(--spring); transition-delay: var(--d, 0s); }
.js .pop.in{ opacity: 1; transform: none; }
.words .w{ display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span{ display: inline-block; transform: translateY(110%) rotate(8deg); transform-origin: left bottom; transition: transform .9s var(--spring); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.words.in .w > span{ transform: none; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro, .intro-word, .cur{ display: none !important; }
  .js .rv, .js .pop{ opacity: 1; transform: none; }
  .words .w > span{ transform: none; }
  .hl::before{ transform: scaleX(1) rotate(-1.5deg); }
  .stack-card{ position: relative; top: 0; transform: none !important; }
}
