/* ------------- CSS RESET ------------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

* {
  margin: 0
}

html,
body {
  height: 100%
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%
}

input,
button,
textarea,
select {
  font: inherit
}

:root {
  --bg: #0b0b0d;
  --panel: #121217;
  --panel-2: #16161d;
  --muted: #a6a8b3;
  --text: #f2f3f7;
  --brand: #ff6b4a;
  --brand-2: #ff2975;
  --accent: #8b5cf6;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1120px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .35);
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important
  }
}

/* Base */
html {
  scroll-behavior: smooth
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: radial-gradient(1200px 800px at 15% 10%, #13131a 0%, transparent 60%), var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px)
}

.section {
  padding: clamp(64px, 10vw, 120px) 0
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  margin-bottom: 18px
}

.lead {
  color: var(--muted);
  max-width: 62ch
}

.eyebrow {
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px
}

.highlight {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--panel-2);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: saturate(160%) blur(8px);
  background: rgba(12, 12, 16, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.brandmark {
  width: 36px;
  height: 36px
}

.brandtext {
  font-weight: 800;
  font-size: 20px;
  color: var(--text)
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none
}

.menu a {
  color: var(--text);
  text-decoration: none;
  opacity: .9
}

.menu a:hover,
.menu .btn--ghost:hover {
  opacity: 1
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  text-decoration: none;
  border: 0;
  box-shadow: 0 6px 24px rgba(255, 105, 85, .25);
  transition: transform .2s
}

.btn:hover {
  transform: translateY(-2px)
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 10px 16px;
  border-radius: 999px
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  min-height: 80vh;
  gap: 32px;
  padding-top: 32px
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.02;
  margin-bottom: 14px
}

.hero .lead {
  margin-top: 8px
}

.hero .cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.stats {
  display: flex;
  gap: 18px;
  margin-top: 26px;
  color: var(--muted)
}

.stats li {
  list-style: none
}

.stats strong {
  display: block;
  font-size: 22px;
  color: #fff
}

.hero__visual {
  position: relative;
  height: 420px
}

.blob {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(40px);
  opacity: .7
}

.blob--1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 30% 30%, var(--brand), transparent 60%);
  top: 10%;
  right: 10%;
  animation: float1 12s infinite ease-in-out
}

.blob--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 70% 70%, var(--brand-2), transparent 60%);
  bottom: 8%;
  left: 6%;
  animation: float2 14s infinite ease-in-out
}

.ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px
}

.ring--1 {
  width: 68%;
  height: 68%;
  top: 16%;
  left: 10%;
  animation: spin 30s linear infinite
}

.ring--2 {
  width: 88%;
  height: 88%;
  top: 4%;
  left: 2%;
  animation: spin 60s linear infinite reverse
}

@keyframes float1 {
  50% {
    transform: translateY(-18px) translateX(6px)
  }
}

@keyframes float2 {
  50% {
    transform: translateY(12px) translateX(-8px)
  }
}

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

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  margin-top: 36px
}

.marquee__track {
  display: flex;
  gap: 40px;
  padding: 12px 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap
}

.marquee__track span {
  opacity: .6
}

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

/* About */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 16px
}

.badges li {
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 8px 12px;
  border-radius: 999px;
  color: #eaeaf0
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px
}

.mini-cards article {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius);
  padding: 16px
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center
}

.profile-card {  
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 430px
}

.profile-img {
  background-image: url(https://i.pinimg.com/736x/d0/ea/9c/d0ea9cdd6fa480d8e6cb1b2c55738974.jpg);
  background-size: cover;
  border-radius: 14px;
  height: 260px;
}

.profile-meta {
  padding: 14px 4px
}

.profile-meta h3 {
  padding-bottom: 8px;
  font-size: 26px;
}

.profile-meta p {
  font-size: 20px;
  padding-bottom: 10px;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform .3s, border-color .3s
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, .16)
}

.card h3 {
  margin-bottom: 8px
}

.list {
  margin-top: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap
}

.list li {
  list-style: none;
  border: 1px dashed rgba(255, 255, 255, .14);
  padding: 6px 10px;
  border-radius: 999px
}

/* Portfolio */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.filters {
  display: flex;
  gap: 10px
}

.filter {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: #fff;
  cursor: pointer
}

.filter.is-active {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-color: transparent
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px
}

.tile {
  position: relative;
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  outline: none
}

.tile:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18)
}

.tile__img {
  height: 40px;
  background-size: cover;
  background-position: center
}

.bg-1 {
  background-image: linear-gradient(135deg, #ff6b4a22, #ff297522), radial-gradient(#23233a, #16161d)
}

.bg-2 {
  background-image: linear-gradient(135deg, #8b5cf622, #06b6d422), radial-gradient(#23233a, #16161d)
}

.bg-3 {
  background-image: linear-gradient(135deg, #22c55e22, #eab30822), radial-gradient(#23233a, #16161d)
}

.bg-4 {
  background-image: linear-gradient(135deg, #06b6d422, #f43f5e22), radial-gradient(#23233a, #16161d)
}

.bg-5 {
  background-image: linear-gradient(135deg, #f9731622, #10b98122), radial-gradient(#23233a, #16161d)
}

.bg-6 {
  background-image: linear-gradient(135deg, #ec489922, #8b5cf622), radial-gradient(#23233a, #16161d)
}

.tile__meta {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(8px);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12)
}
.tile__meta h3{
  color: white;
}
.tile__meta span{
  color: white;
}

/* Testimonials */
.slider {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  overflow: hidden
}

.slider__track {
  display: flex;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1)
}

.slide {
  min-width: 100%;
  padding: 28px;
  display: grid;
  gap: 10px
}

.slide blockquote {
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.4
}

.slide figcaption {
  color: var(--muted)
}

.slider__ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  cursor: pointer
}

.slider__ctrl:hover {
  background: rgba(255, 255, 255, .2)
}

.slider__ctrl.prev {
  left: 10px
}

.slider__ctrl.next {
  right: 10px
}

/* Contact */
.contact-grid {
  align-items: start
}

.contact-points {
  margin-top: 10px;
  color: var(--muted);
  display: grid;
  gap: 6px
}

.contact-form {
  display: grid;
  gap: 12px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: var(--radius-lg);
  padding: 18px
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #0f0f14;
  color: #fff
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .25)
}

.form-msg {
  min-height: 18px;
  color: var(--ok);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .06);
  margin-top: 40px
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0
}

.foot a {
  color: var(--muted);
  text-decoration: none
}

.foot a:hover {
  color: #fff
}

/* Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1200;
  background: transparent
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2))
}

/* Back to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .25s
}

.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none
}

/* Modal */
.modal {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  color: #fff;
  padding: 0;
  width: min(680px, 92vw)
}

.modal::backdrop {
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px)
}

.modal__content {
  padding: 20px
}

.modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px
}

.tags li {
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 6px 10px;
  border-radius: 999px;
  color: #eaeaf0
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #0b0b0d;
  z-index: 2000
}

.loader {
  display: flex;
  gap: 8px
}

.loader .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  animation: bob 1s ease-in-out infinite
}

.loader .dot:nth-child(2) {
  animation-delay: .12s
}

.loader .dot:nth-child(3) {
  animation-delay: .24s
}

@keyframes bob {

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

  50% {
    transform: translateY(-8px)
  }
}

/* Custom Cursor */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1500;
  transform: translate(-50%, -50%)
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  mix-blend-mode: difference;
  opacity: .7
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff
}

/* Responsive */
@media (max-width:1000px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left
  }

  .hero__visual {
    order: -1;
    height: 300px
  }

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

  .cards {
    grid-template-columns: 1fr;
    gap: 14px
  }

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

@media (max-width:760px) {
  .menu {
    position: fixed;
    inset: 72px 0 auto 0;
    background: rgba(10, 10, 14, .96);
    flex-direction: column;
    padding: 16px;
    transform: translateY(-120%);
    transition: transform .3s;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
  }

  .nav-toggle {
    display: block
  }

  .menu.open {
    transform: none
  }

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

/* Visually hidden */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}