/* =========================================================
   JOBBY — Software house
   ========================================================= */
:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f4efe7;
  --muted: #9b9ca6;
  --accent: #ff5a1f;
  --accent-2: #ff9147;
  --cream: #f1e4cf;
  --blue: #4f8cff;
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Background layers ---------- */
#gl {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 0; pointer-events: none; display: block;
}
.noise {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}
main, .footer { position: relative; z-index: 2; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--cream)); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 100; mix-blend-mode: difference; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
  .cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.7);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
  .cursor.is-hover .cursor__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(255,255,255,.95); }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; align-content: center; gap: 22px;
  transition: opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__mark { position: relative; width: 64px; height: 64px; transform: rotate(-10deg); }
.preloader__mark span { position: absolute; inset: 0; border-radius: 12px; animation: stack 1.4s var(--ease) infinite; }
.preloader__mark span:nth-child(1) { background: #15161b; border: 1px solid #2a2c33; }
.preloader__mark span:nth-child(2) { inset: 9px; background: var(--accent); animation-delay: .12s; }
.preloader__mark span:nth-child(3) { inset: 19px; background: var(--cream); border-radius: 7px; animation-delay: .24s; }
@keyframes stack { 0%,100% { transform: translateZ(0) scale(1); } 50% { transform: scale(.82) rotate(90deg); } }
.preloader__text { font-family: var(--font-display); letter-spacing: .5em; font-weight: 600; font-size: 13px; color: var(--muted); padding-left: .5em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--font-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .4s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 40px -10px rgba(255, 90, 31, .7); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%);
  opacity: 0; transition: opacity .4s;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { box-shadow: 0 16px 60px -10px rgba(255, 90, 31, .9); }
.btn--ghost { background: rgba(255,255,255,.04); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { --h: 64px; padding: 0 40px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 0; transition: padding .4s var(--ease); }
.nav__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.nav.is-scrolled { padding: 10px 0; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgba(7, 8, 11, .65); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled::before, .nav.is-open::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; filter: drop-shadow(0 6px 18px rgba(255,90,31,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-20deg) scale(1.06); }
.brand__name { font-family: var(--font-display); font-weight: 700; letter-spacing: .28em; font-size: 17px; }
.brand--sm .brand__mark { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.06); }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-items: center; gap: 6px; margin-left: auto;
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
    background: rgba(255,255,255,.04); cursor: pointer; padding: 0; align-content: center;
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; top: 0; z-index: -2; margin: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 8px;
    background: rgba(7,8,11,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav__links a { font-family: var(--font-display); font-size: 30px; color: var(--text); padding: 10px 24px;
    transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__links a { transform: none; opacity: 1; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; }
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.02em; }
em { font-style: normal; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px;
  padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; color: var(--cream); letter-spacing: .02em;
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
.kicker { margin: 0 0 18px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); font-weight: 500; }

/* split text */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%;
  transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0s)); }
[data-split].in .w > span { transform: none; }
em .w > span, [data-split] em > .w > span {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 45%, var(--cream) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 40px; }
.hero__inner { position: relative; }
.hero__copy { max-width: 760px; }
.hero__title { font-size: clamp(42px, 7.2vw, 104px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero__sub { margin: 30px 0 0; max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55; }
.br-sm { display: none; }
.rotator { position: relative; display: inline-block; color: var(--text); font-weight: 500; }
.rotator__word { display: inline-block; transition: transform .5s var(--ease), opacity .5s, filter .5s; }
.rotator__word.out { transform: translateY(-60%); opacity: 0; filter: blur(6px); }
.rotator__word.pre { transform: translateY(60%); opacity: 0; filter: blur(6px); transition: none; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero__meta {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: end;
  margin-top: auto; padding-top: 70px;
}
.hero__meta div { border-top: 1px solid var(--line-2); padding-top: 16px; }
.hero__meta strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 15px; }
.hero__meta span { color: var(--muted); font-size: 13.5px; }
.scroll-cue { width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; position: relative; justify-self: end; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero { padding-top: 46vh; padding-bottom: 32px; justify-content: flex-start; }
  .hero__meta { grid-template-columns: 1fr; gap: 14px; padding-top: 48px; }
  .scroll-cue { display: none; }
  .br-sm { display: inline; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  border-block: 1px solid var(--line); background: rgba(7,8,11,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(22px, 3vw, 38px); font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(244,239,231,.45); white-space: nowrap; transition: color .3s; }
.marquee span:hover { color: var(--text); }
.marquee i { color: var(--accent); font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 170px) 0; }
.section__head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__title { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -.035em; }
.section__lead { margin: 24px 0 0; color: var(--muted); font-size: 18px; max-width: 640px; }

/* ---------- Cards / tilt ---------- */
.grid--services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1200px; }
@media (max-width: 1000px) { .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--services { grid-template-columns: 1fr; } }

.card, .about__panel, .form, .case {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)), rgba(10,11,15,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
}
.card { padding: 34px 30px 30px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; }
.card__glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 110, 50, .16), transparent 45%);
}
.card__glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 145, 71, .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tilt:hover .card__glow, .tilt-soft:hover .card__glow, .tilt-soft:focus-within .card__glow { opacity: 1; }
.tilt { transition: transform .6s var(--ease), border-color .4s; will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, border-color .4s; }
.card__icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 30px;
  background: linear-gradient(140deg, rgba(255,90,31,.25), rgba(255,90,31,.05)); border: 1px solid rgba(255,120,60,.3);
  transform: translateZ(40px);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; margin-bottom: 12px; transform: translateZ(30px); }
.card p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; transform: translateZ(20px); }
.tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--cream); background: rgba(255,255,255,.03); }

/* ---------- Stats ---------- */
.stats { position: relative; padding: 30px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.stat { padding: 44px 28px; border-left: 1px solid var(--line); background: rgba(7,8,11,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(42px, 5vw, 68px); line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,.5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 14px; color: var(--muted); font-size: 14.5px; max-width: 220px; }
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .stat { padding: 30px 16px; } }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; perspective: 1400px; }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.case__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.9); }
.case__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,8,11,.55)); }
.case:hover .case__media img { transform: scale(1.1); filter: none; }
.case__body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--accent-2); letter-spacing: .04em; margin-bottom: 10px; }
.case__meta span:last-child { color: var(--muted); }
.case h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.case p { margin: 0 0 22px; color: var(--muted); }
@media (max-width: 800px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps__line { position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--line-2); }
.steps__line span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px var(--accent); }
.step { position: relative; }
.step__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 28px;
  background: var(--bg); border: 1px solid var(--line-2); font-family: var(--font-display); font-weight: 600; color: var(--accent-2);
  transition: background .5s, color .5s, box-shadow .5s, border-color .5s;
}
.step.is-on .step__num { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 8px rgba(255,90,31,.12), 0 10px 40px rgba(255,90,31,.5); }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; padding-left: 80px; }
  .steps__line { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps__line span { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step__num { position: absolute; left: -80px; top: -6px; margin: 0; }
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__copy p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 22px 0 0; }
.about__copy strong { color: var(--text); font-weight: 500; }
.about__links { display: flex; gap: 10px; margin-top: 30px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background .3s, border-color .3s; }
.chip:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.35); }
.about__panel { padding: 36px 34px; overflow: hidden; }
.about__panel h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.about__panel h3.mt { margin-top: 36px; }
.skill { margin-bottom: 18px; }
.skill__top { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.skill__top span:last-child { color: var(--accent-2); font-family: var(--font-display); }
.skill__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.skill__bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: transform 1.6s var(--ease) .3s; }
.about__panel.in .skill__bar span { transform: scaleX(1); }
.certs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.certs li { color: var(--muted); font-size: 14.5px; padding-left: 18px; position: relative; }
.certs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(-10deg); }
.certs span { color: var(--text); font-weight: 500; margin-right: 6px; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(100px, 14vw, 200px) 0; text-align: center; }
.cta__title { font-size: clamp(44px, 8vw, 120px); line-height: .98; letter-spacing: -.05em; margin: 0 auto 48px; max-width: 1100px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__info > p:not(.kicker) { color: var(--muted); font-size: 17px; margin: 22px 0 0; }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding-top: 3px; }
.contact__list a { transition: color .3s; word-break: break-word; }
.contact__list a:hover { color: var(--accent-2); }
.form { padding: clamp(26px, 4vw, 44px); display: grid; gap: 18px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--text); font: 400 16px/1.5 var(--font-body); outline: none; resize: vertical;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); background: rgba(255,90,31,.04); box-shadow: 0 0 0 4px rgba(255,90,31,.12); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.75); color: var(--accent-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff4d6d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.4em; font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: #4ade80; }
.form__status.is-error { color: #ff6b81; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact__list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); background: rgba(7,8,11,.8); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer__social { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.footer__social a:hover { color: var(--text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-split] .w > span { transform: none; }
  .marquee__track { animation: none; }
}
.no-js [data-reveal] { opacity: 1; transform: none; }
.no-js [data-split] .w > span { transform: none; }
.no-js .preloader { display: none; }

/* ---------- Showcase 3D (cases guiados pelo scroll) ---------- */
.showcase { position: relative; height: calc(var(--n, 6) * 62vh + 100vh); }
.showcase__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.showcase__inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: 110px; padding-bottom: 36px; }
.showcase__title { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -.035em; max-width: 520px; }
.showcase__title em { background: linear-gradient(100deg, var(--accent), var(--accent-2) 50%, var(--cream)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.showcase__items { position: relative; max-width: 430px; }
.sc-item { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); visibility: hidden; pointer-events: none; }
.sc-item.is-active { visibility: visible; pointer-events: auto; }
.sc-item > * { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; }
.sc-item.is-active > * { opacity: 1; transform: none; filter: none; }
.sc-item.is-active > :nth-child(2) { transition-delay: .05s; }
.sc-item.is-active > :nth-child(3) { transition-delay: .1s; }
.sc-item.is-active > :nth-child(4) { transition-delay: .15s; }
.sc-item.is-active > :nth-child(5) { transition-delay: .2s; }
.sc-item.is-active > :nth-child(6) { transition-delay: .25s; }
.sc-item__img { display: none; width: 100%; border-radius: 16px; margin-bottom: 20px; aspect-ratio: 16/10; object-fit: cover; }
.no-webgl .sc-item__img { display: block; }
.sc-item__meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.sc-item__meta span:last-child { color: var(--muted); }
.sc-item h3 { font-size: clamp(38px, 4.8vw, 68px); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.sc-item p { color: var(--muted); font-size: 16.5px; margin: 0 0 22px; }
.sc-item .tags { margin: 0; }
.sc-item__cta { margin-top: 24px; }
.showcase__nav { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--muted); }
.showcase__count { font-family: var(--font-display); letter-spacing: .08em; }
.showcase__count b { color: var(--text); font-weight: 600; }
.showcase__bar { position: relative; flex: 0 1 220px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.showcase__bar span { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.showcase__hint { margin-left: auto; letter-spacing: .14em; text-transform: uppercase; font-size: 11.5px; }
.showcase__hint::after { content: " ↓"; color: var(--accent); }

@media (max-width: 760px) {
  .showcase { height: calc(var(--n, 6) * 55vh + 100vh); }
  .showcase__inner { padding-top: 84px; padding-bottom: 22px; }
  .showcase__title { font-size: 26px; }
  .showcase__items { max-width: none; align-self: end; height: 46%; }
  .showcase__items::before { content: ""; position: absolute; inset: -40px -16px -30px; background: linear-gradient(180deg, transparent, rgba(7,8,11,.88) 28%); pointer-events: none; }
  .sc-item { top: auto; bottom: 0; transform: none; }
  .sc-item h3 { font-size: 34px; margin-bottom: 10px; }
  .sc-item p { font-size: 14.5px; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .sc-item__cta { margin-top: 14px; }
  .showcase__nav { margin-top: 14px; }
  .showcase__hint { display: none; }
}
.no-webgl .showcase { height: auto; }
.no-webgl .showcase__sticky { position: relative; height: auto; overflow: visible; }
.no-webgl .sc-item { position: relative; top: auto; transform: none; visibility: visible; margin-bottom: 60px; }
.no-webgl .sc-item > * { opacity: 1; transform: none; filter: none; }
.no-webgl .showcase__nav { display: none; }
