/* =========================================================
   AKKI — PREMIUM VIDEO EDITOR PORTFOLIO
   One consolidated stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Kalam:wght@400;700&display=swap');

:root {
  --bg: #080808;
  --bg-soft: #0d0d0d;
  --panel: #101010;
  --text: #f2f0eb;
  --muted: #8d8b87;
  --line: #252525;
  --line-soft: #191919;
  --acid: #d8ff3e;
  --red: #e43a40;
  --white: #fff;
  --ease: cubic-bezier(.2, .7, 0, 1);
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;

}

a {
  color: inherit;
  text-decoration: none
}

button,
input {
  font: inherit
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 15%, rgba(216, 255, 62, .055), transparent 22%),
    radial-gradient(circle at 15% 80%, rgba(130, 90, 255, .05), transparent 25%);
  z-index: -3;
}

.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: .035;
  z-index: 30;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  animation: noise .2s steps(2) infinite;
}

@keyframes noise {

  0%,
  100% {
    transform: translate(0, 0)
  }

  25% {
    transform: translate(2%, -1%)
  }

  50% {
    transform: translate(-1%, 2%)
  }

  75% {
    transform: translate(1%, 1%)
  }
}

.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 255, 62, .09), transparent 66%);
  transform: translate(-50%, -50%);
  z-index: -1;
  filter: blur(2px);
}

.nav {
  height: 80px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 8, .68);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 20;
}

.logo {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -2px;
}

.logo span {
  border: 1px solid #555;
  border-radius: 50%;
  padding: 8px 7px;
}

.logo i {
  color: var(--acid);
  font-style: normal
}

.nav nav {
  display: flex;
  gap: 36px
}

.nav nav a {
  font-size: 13px;
  color: #aaa;
  transition: .3s;
}

.nav nav a:hover {
  color: var(--text)
}

.availability {
  font-size: 12px;
  border: 1px solid #303030;
  border-radius: 30px;
  padding: 10px 15px;
  transition: .3s;
}

.availability:hover {
  border-color: #666;
  transform: translateY(-2px)
}

.availability span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--acid);
  border-radius: 50%;
  margin-right: 7px;
  box-shadow: 0 0 10px var(--acid);
}

.hero {
  min-height: 100vh;
  padding: 130px 6vw 60px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  position: relative;
}

.eyebrow {
  font: 600 11px "Space Grotesk";
  letter-spacing: 2px;
  color: #777;
  margin-bottom: 25px;
}

.eyebrow span {
  color: var(--acid);
  margin-right: 12px
}

.hero h1,
h2 {
  font-family: "Space Grotesk";
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .86;
  font-size: clamp(65px, 9vw, 145px);
}

.hero h1 em,
h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px #777;
}

.hero h1 span {
  color: var(--acid)
}

.hero-text {
  max-width: 470px;
  color: #8d8d8d;
  font-size: 16px;
  line-height: 1.6;
  margin: 35px 0;
}

.hero-actions {
  display: flex;
  gap: 12px
}

.btn {
  padding: 15px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: .35s var(--ease);
}

.btn.primary {
  background: var(--acid);
  color: #080808
}

.btn.primary:hover {
  box-shadow: 0 0 35px rgba(216, 255, 62, .25);
  transform: translateY(-3px)
}

.btn.ghost {
  border: 1px solid #343434
}

.btn.ghost:hover {
  border-color: #777;
  transform: translateY(-3px)
}

.hero-visual {
  height: 680px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-wrap {
  height: 620px;
  width: min(480px, 90%);
  position: relative;
  z-index: 2;
}

.portrait-wrap img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .8));
  position: relative;
  z-index: 2;
}

.portrait-back {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: var(--acid);
  right: 0;
  top: 80px;
  filter: blur(1px);
  opacity: .85;
}

.portrait-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 62, .18), transparent 65%);
  filter: blur(10px);
}

.circle-text {
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px dashed #333;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #555;
  font-size: 10px;
  letter-spacing: 3px;
  animation: spin 25s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.mini-card {
  position: absolute;
  bottom: 45px;
  right: 2%;
  z-index: 4;
  background: rgba(18, 18, 18, .86);
  border: 1px solid #333;
  padding: 17px 20px;
  backdrop-filter: blur(14px);
  font-size: 11px;
  color: #777;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}

.mini-card strong {
  display: block;
  color: #ddd;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

.mini-card i {
  color: var(--acid);
  font-style: normal
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-a {
  width: 560px;
  height: 560px;
  animation: orbitFloat 8s ease-in-out infinite
}

.orbit-b {
  width: 660px;
  height: 660px;
  border-style: dotted;
  opacity: .45;
  animation: orbitFloat 12s ease-in-out infinite reverse
}

@keyframes orbitFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0)
  }

  50% {
    transform: translateY(-12px) rotate(4deg)
  }
}

/* Decorative icons behind the hero model */
.floating-icons {
  position: absolute;
  inset: 80px 0 auto;
  height: 690px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.float-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: rgba(216, 255, 62, .38);
  font-family: "Space Grotesk";
  font-size: 22px;
  opacity: 0;
  filter: blur(.2px);
  text-shadow: 0 0 25px rgba(216, 255, 62, .2);
  animation: iconFloat 9s ease-in-out infinite;
}

.i1 {
  left: 53%;
  top: 12%;
  animation-delay: -1s
}

.i2 {
  left: 74%;
  top: 20%;
  animation-delay: -5s
}

.i3 {
  left: 61%;
  top: 39%;
  animation-delay: -3s
}

.i4 {
  left: 84%;
  top: 48%;
  animation-delay: -7s
}

.i5 {
  left: 48%;
  top: 59%;
  animation-delay: -2s
}

.i6 {
  left: 78%;
  top: 68%;
  animation-delay: -6s
}

.i7 {
  left: 34%;
  top: 27%;
  animation-delay: -4s
}

.i8 {
  left: 67%;
  top: 82%;
  animation-delay: -8s
}

@keyframes iconFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 35px, 0) rotate(-12deg) scale(.7)
  }

  15% {
    opacity: .65
  }

  50% {
    opacity: .3;
    transform: translate3d(20px, -20px, 0) rotate(12deg) scale(1)
  }

  85% {
    opacity: .55
  }

  100% {
    opacity: 0;
    transform: translate3d(-18px, -90px, 0) rotate(25deg) scale(.75)
  }
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 18px 0;
  color: #666;
  font: 600 13px "Space Grotesk";
  letter-spacing: 3px;
}

.marquee div {
  animation: marquee 22s linear infinite;
  width: max-content
}

.marquee span {
  color: var(--acid);
  margin: 0 25px
}

@keyframes marquee {
  to {
    transform: translateX(-50%)
  }
}

.section {
  padding: 150px 6vw
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 70px;
}

.section-head h2 {
  font-size: clamp(55px, 7vw, 105px)
}

.section-head>p {
  text-align: right;
  color: #555;
  font: 12px "Space Grotesk";
  line-height: 1.6;
}

.section-head small {
  color: #777
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: 1s var(--ease);
}

.reveal.show {
  opacity: 1;
  transform: none
}

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.ba-showcase {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.ba-panel {
  position: relative;
  width: 100%;
  min-height: min(58vw, 900px);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .035), transparent 42%),
    linear-gradient(145deg, #111, #090909);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #1e1e1e;
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .25);
}

.ba-panel::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 300px;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 255, 255, .055), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ba-index {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 15;
  color: #666;
  font: 600 9px "Space Grotesk";
  letter-spacing: 2px;
}

.ba-pair {
  position: absolute;
  width: min(900px, 82%);
  height: min(690px, 76%);
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
}

.ba-card {
  position: absolute;
  width: clamp(250px, 32vw, 430px);
  aspect-ratio: 9/16;
  background: #080808;
  border-radius: 12px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, .35), 0 10px 25px rgba(0, 0, 0, .18);
  transition: transform .55s var(--ease), box-shadow .55s ease;
  will-change: transform;
  cursor: pointer;
}

.ba-before {
  left: 5%;
  top: 8%;
  transform: rotate(-4deg);
  z-index: 2
}

.ba-after {
  right: 5%;
  top: 0;
  transform: rotate(3.5deg);
  z-index: 3
}

.ba-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, .08);
}

.ba-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #090909;
  transition: transform .8s var(--ease), filter .5s ease;
}

.ba-before .ba-video {
  filter: grayscale(35%) contrast(.96) brightness(.88)
}

.ba-card:hover .ba-video {
  transform: scale(1.025)
}

.ba-before:hover {
  transform: rotate(-2deg) translateY(-14px) scale(1.015);
  box-shadow: 0 45px 90px rgba(0, 0, 0, .45);
  z-index: 10;
}

.ba-after:hover {
  transform: rotate(2deg) translateY(-14px) scale(1.015);
  box-shadow: 0 45px 90px rgba(0, 0, 0, .45);
  z-index: 11;
}

.ba-tape {
  position: absolute;
  width: 150px;
  height: 58px;
  top: -29px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Kalam", cursive;
  font-size: 27px;
  font-weight: 700;
  z-index: 50;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .12);
  cursor: pointer;
}

.ba-before .ba-tape {
  left: -25px;
  background: #555;
  transform: rotate(-11deg);
  clip-path: polygon(0 13%, 12% 4%, 30% 8%, 48% 0, 68% 7%, 90% 2%, 100% 14%, 96% 87%, 82% 94%, 65% 89%, 46% 100%, 27% 91%, 10% 96%, 0 82%);
}

.ba-after .ba-tape {
  right: -25px;
  background: var(--acid);
  color: #090909;
  transform: rotate(11deg);
  clip-path: polygon(0 7%, 18% 0, 35% 8%, 55% 2%, 75% 9%, 92% 3%, 100% 15%, 96% 86%, 81% 100%, 64% 90%, 46% 97%, 28% 89%, 10% 96%, 0 82%);
}

.ba-tape::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -100%;
  width: 55%;
  height: 180%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .08) 70%, transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
  pointer-events: none;
}

.ba-tape:hover::after {
  left: 150%
}

.ba-tape span {
  position: relative;
  z-index: 2
}

.ba-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.ba-play span {
  font-size: 18px;
  margin-left: 3px
}

.ba-video-wrap.is-playing .ba-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
}

.ba-caption {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  z-index: 20;
}

.ba-ready {
  font-family: "Kalam", cursive;
  font-size: clamp(26px, 3vw, 43px);
  line-height: 1.1;
  font-weight: 400;
  color: #eee;
}

.ba-dm {
  margin-top: 8px;
  font-family: "Space Grotesk";
  font-size: clamp(12px, 1.2vw, 15px);
  letter-spacing: 1px;
  color: #777;
}

.ba-dm::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--acid);
  vertical-align: middle;
  margin-right: 10px;
}

/* About */
.about {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
}

.about-number {
  font: 12px "Space Grotesk";
  color: var(--acid)
}

.about h2 {
  font-size: clamp(55px, 8vw, 120px);
  margin-bottom: 60px
}

.big-copy {
  font-size: clamp(24px, 3vw, 43px);
  max-width: 850px;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.small-copy {
  color: #777;
  max-width: 600px;
  line-height: 1.7;
  margin-top: 25px
}

/* Skills */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skill-grid>div {
  padding: 30px 20px 35px;
  border-right: 1px solid var(--line);
  min-height: 190px;
  transition: .35s;
}

.skill-grid>div:hover {
  background: rgba(255, 255, 255, .02)
}

.skill-grid>div:last-child {
  border: 0
}

.skill-grid span {
  color: var(--acid);
  font: 11px "Space Grotesk"
}

.skill-grid h3 {
  font: 500 22px "Space Grotesk";
  margin: 50px 0 10px
}

.skill-grid p {
  font-size: 11px;
  color: #666
}

.service-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 70px;
  color: #666;
  font: 600 clamp(18px, 3vw, 35px) "Space Grotesk";
  letter-spacing: 3px;
}

.service-line i {
  color: var(--acid);
  font-style: normal;
  font-size: 13px
}

/* Contact */
.contact {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(65px, 11vw, 160px);
  margin-bottom: 60px
}

.mail {
  font: 500 clamp(20px, 3vw, 40px) "Space Grotesk";
  width: max-content;
  border-bottom: 1px solid #555;
  padding-bottom: 10px;
  transition: .3s;
}

.mail:hover {
  border-color: var(--acid);
  transform: translateX(6px)
}

.mail span {
  color: var(--acid);
  margin-left: 20px
}

footer {
  border-top: 1px solid var(--line);
  padding: 25px 6vw;
  display: flex;
  justify-content: space-between;
  color: #555;
  font: 10px "Space Grotesk";
  letter-spacing: 1px;
}

footer a:hover {
  color: var(--text)
}

.sound-hint {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 18;
  border: 1px solid #333;
  background: rgba(12, 12, 12, .82);
  backdrop-filter: blur(14px);
  padding: 12px 15px;
  border-radius: 40px;
  color: #888;
  font: 10px "Space Grotesk";
  letter-spacing: 1px;
  transition: .5s;
  cursor: pointer;
}

.sound-hint span {
  color: var(--acid);
  margin-right: 7px;
  text-shadow: 0 0 12px var(--acid)
}

.sound-hint.unlocked {
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px)
}

@media(max-width:900px) {
  .nav {
    height: 68px;
    padding: 0 20px
  }

  .nav nav {
    display: none
  }

  .availability {
    font-size: 10px
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 110px 20px 40px
  }

  .hero h1 {
    font-size: 17vw
  }

  .hero-visual {
    height: 540px;
    margin-top: 20px
  }

  .portrait-wrap {
    height: 500px
  }

  .portrait-back {
    width: 290px;
    height: 290px;
    top: 70px
  }

  .circle-text {
    width: 350px;
    height: 350px
  }

  .orbit-a {
    width: 390px;
    height: 390px
  }

  .orbit-b {
    width: 440px;
    height: 440px
  }

  .mini-card {
    bottom: 20px
  }

  .section {
    padding: 90px 20px
  }

  .section-head {
    margin-bottom: 40px
  }

  .about {
    grid-template-columns: 1fr
  }

  .about-number {
    margin-bottom: -10px
  }

  .about h2 {
    margin-bottom: 40px
  }

  .skill-grid {
    grid-template-columns: 1fr 1fr
  }

  .skill-grid>div:nth-child(2) {
    border-right: 0
  }

  .skill-grid>div:nth-child(3) {
    border-top: 1px solid var(--line)
  }

  .skill-grid>div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 0
  }

  .contact {
    min-height: 65vh
  }

  .contact h2 {
    font-size: 17vw;
    margin-bottom: 40px
  }

  footer {
    padding: 22px 20px;
    gap: 15px;
    flex-wrap: wrap
  }

  .cursor-glow {
    display: none
  }

  .ba-panel {
    min-height: 760px;
    border-radius: 12px
  }

  .ba-pair {
    width: 92%;
    height: 560px;
    top: 10%
  }

  .ba-card {
    width: 42vw;
    max-width: 310px
  }

  .ba-before {
    left: 2%;
    top: 9%
  }

  .ba-after {
    right: 2%
  }

  .ba-caption {
    bottom: 7%;
    width: 88%
  }

  .ba-tape {
    width: 125px;
    height: 48px;
    font-size: 23px;
    top: -24px
  }

  .ba-before .ba-tape {
    left: -20px
  }

  .ba-after .ba-tape {
    right: -20px
  }

  .floating-icons {
    height: 570px
  }
}

@media(max-width:600px) {
  .hero-text {
    font-size: 14px
  }

  .hero-actions {
    flex-wrap: wrap
  }

  .hero-visual {
    height: 470px
  }

  .portrait-wrap {
    height: 430px
  }

  .circle-text {
    width: 300px;
    height: 300px;
    font-size: 8px
  }

  .portrait-back {
    width: 245px;
    height: 245px
  }

  .orbit-a {
    width: 330px;
    height: 330px
  }

  .orbit-b {
    width: 370px;
    height: 370px
  }

  .mini-card {
    right: 0;
    padding: 13px 15px
  }

  .service-line {
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 45px
  }

  .sound-hint {
    right: 15px;
    bottom: 15px;
    font-size: 9px
  }

  .ba-panel {
    min-height: 700px
  }

  .ba-index {
    left: 17px;
    top: 17px;
    font-size: 8px
  }

  .ba-pair {
    width: 100%;
    height: 470px;
    top: 11%
  }

  .ba-card {
    width: 43vw;
    border-radius: 7px
  }

  .ba-video-wrap {
    border-radius: 7px
  }

  .ba-caption {
    bottom: 8%
  }

  .ba-ready {
    font-size: 25px
  }

  .ba-dm {
    font-size: 10px
  }

  .ba-tape {
    width: 105px;
    height: 42px;
    font-size: 20px;
    top: -20px
  }

  .ba-before .ba-tape {
    left: -17px
  }

  .ba-after .ba-tape {
    right: -17px
  }

  .ba-play {
    width: 52px;
    height: 52px
  }

  .float-icon {
    font-size: 17px
  }
}

.yt-ba-panel .ba-card {
  aspect-ratio: 16 / 9;
  margin-top: 100px;

}



.yt-ba-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;

}






/* ================================
   SHOWCASE
================================ */

.showcase-section {
  padding: 120px 4vw;
  background: #080808;
  overflow: hidden;
}

.showcase-head {
  display: flex;
  justify-content: center;
  margin-bottom: 90px;
}


/* Magnetic button */

.showcase-btn {
  border: 0;
  padding: 22px 48px;

  background: #baff00;
  color: #080808;

  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;

  cursor: pointer;

  transition:
    transform .25s cubic-bezier(.2, .8, .2, 1),
    box-shadow .3s ease,
    border-radius .35s ease;
}

.showcase-btn:hover {
  border-radius: 40px;
  box-shadow: 0 15px 45px rgba(186, 255, 0, .18);
}


/* Grid */

.showcase-grid {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 38px;
}


/* Video card */

.showcase-video {
  position: relative;

  aspect-ratio: 9 / 16;

  overflow: hidden;

  background: #111;

  cursor: pointer;

  border: 1px solid rgba(255, 255, 255, .08);

  transition:
    transform .6s cubic-bezier(.2, .7, .2, 1),
    border-color .4s ease,
    box-shadow .5s ease;
}

.showcase-video:hover {
  transform: translateY(-8px);
  border-color: rgba(186, 255, 0, .35);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, .5);
}


/* Video */

.showcase-video video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transform: scale(1.01);

  transition:
    transform .8s cubic-bezier(.2, .7, .2, 1),
    filter .6s ease;
}

.showcase-video:hover video {
  transform: scale(1.045);
}


/* =================================
   WATER / LIQUID LAYER
================================= */

.water-layer {
  position: absolute;
  inset: -10%;

  z-index: 2;

  pointer-events: none;

  background:
    radial-gradient(circle at 30% 35%,
      rgba(255, 255, 255, .16),
      transparent 18%),
    radial-gradient(circle at 70% 65%,
      rgba(255, 255, 255, .10),
      transparent 22%);

  backdrop-filter: blur(1.5px);

  opacity: .65;

  mix-blend-mode: screen;

  transition:
    opacity .7s ease,
    transform 1s ease,
    backdrop-filter .7s ease;
}


/* Liquid distortion feeling */

.showcase-video::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 3;

  pointer-events: none;

  background:
    repeating-radial-gradient(circle at 50% 50%,
      transparent 0,
      transparent 18px,
      rgba(255, 255, 255, .025) 20px,
      transparent 23px);

  opacity: .35;

  transition:
    opacity .7s ease,
    transform 1.2s ease;
}


/* Hover = water disturbed */

.showcase-video:hover .water-layer {
  opacity: .08;
  transform: scale(1.15);
  backdrop-filter: blur(0);
}

.showcase-video:hover::after {
  opacity: 0;
  transform: scale(1.2);
}


/* View indicator */

.showcase-play {
  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  z-index: 5;

  padding: 12px 18px;

  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50px;

  color: white;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;

  background: rgba(0, 0, 0, .28);

  backdrop-filter: blur(12px);

  transition:
    opacity .4s ease,
    transform .5s ease;
}

.showcase-video:hover .showcase-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.8);
}

.showcase-btn {
  transition:
    transform 0.25s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.3s ease;
}

/* =================================
   MOBILE
================================= */

@media (max-width: 900px) {

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .showcase-section {
    padding: 90px 20px;
  }

}


@media (max-width: 550px) {

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .showcase-head {
    margin-bottom: 55px;
  }

  .showcase-btn {
    padding: 17px 35px;
    font-size: 16px;
  }

}






/* =========================================
   CUSTOM VIDEO CARD
========================================= */

.custom-video-card {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 1280 / 402;

  margin: 40px auto;

  position: relative;
  overflow: hidden;

  border-radius: 18px;
  background: #111;

  cursor: pointer;
}

.custom-video {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
  object-position: center;
}

.custom-video-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;

  transition: opacity .25s ease;
}

.custom-video-overlay span {
  width: 64px;
  height: 64px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, .9);
  color: #111;

  font-size: 22px;
}

.custom-video-card.is-playing .custom-video-overlay {
  opacity: 0;
}


.setup-section {
  margin-top: 30px;
}


.setup-head h2 {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: clamp(65px, 9vw, 145px);

}

.setup-section video {


  margin-left: 10px;
}


/* =========================================================
   MOBILE SCREEN WIDTH FIX
   ONLY FOR FULL-WIDTH + NO HORIZONTAL OVERFLOW
   ========================================================= */

@media (max-width: 900px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  /* Main page width */
  main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  /* Navbar and all main sections same screen width */
  .hero,
  .marquee,
  .section,
  .showcase-section,
  .custom-video-card,
  footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Hero specifically */
  .hero {
    box-sizing: border-box;
  }

  /* Prevent text/content from making page wider */
  .hero-text,
  .hero-actions,
  .section-head,
  .about,
  .skill-grid,
  .service-line,
  .contact,
  .showcase-head {
    max-width: 100%;
    min-width: 0;
  }

  /* Media never creates horizontal overflow */
  img,
  video {
    max-width: 100%;
  }
}


@media (max-width: 600px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  main {
    width: 100%;
    max-width: 100%;
  }

  .hero,
  .section,
  .showcase-section,
  .custom-video-card,
  footer {
    width: 100%;
    max-width: 100%;
  }

  /* Keep section padding inside the screen */
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .showcase-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Long text won't push page outside */
  .hero-text,
  .big-copy,
  .small-copy,
  .mail {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  /* Videos stay inside screen */
  .custom-video-card,
  .showcase-video {
    max-width: 100%;
  }
}
