:root {
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --black: #050505;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

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

.container {
  width: min(1320px, 94%);
  margin: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo span {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}

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

.nav-cta {
  padding: 12px 18px;
  background: var(--black);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;

    .nav-cta {
      display: none;
    }
  }


  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }
}

/* HERO */

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
  padding: 70px 0;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -4px;
  margin-bottom: 18px;
}

.hero h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 720px;
  margin-bottom: 22px;
}

.typing-line {
  min-height: 32px;
  color: var(--blue);
  font-family: monospace;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text {
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--line);
}

.btn.primary {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

.btn.secondary {
  background: #fff;
}

/* HERO SOCIALS */

.social-label {
  margin-top: 28px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 700;
}

.hero-socials {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.hero-socials a {
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.hero-socials a i {
  font-size: 34px;
}

.hero-socials a:hover {
  transform: translateY(-8px);
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}

/* HERO VISUAL */

.hero-visual {
  min-height: 540px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 34%),
    linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portrait-card {
  width: 72%;
  max-width: 390px;
  aspect-ratio: 4 / 5;
  background: white;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.1);
}

.hero-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 4px;
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
}

.floating-card.top {
  top: 44px;
  right: 32px;
}

.floating-card.bottom {
  bottom: 44px;
  left: 32px;
}

/* MARQUEE */

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.marquee {
  white-space: nowrap;
  padding: 22px 0;
}

.marquee-track {
  display: inline-flex;
  gap: 42px;
  animation: scroll 24s linear infinite;
}

.marquee span {
  color: var(--muted);
  font-weight: 800;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* GENERAL SECTIONS */

.section {
  padding: 95px 0;
}

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

.section-head.simple {
  display: block;
}

.section-head h2,
.about h2,
.cta-box h2 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -2px;
}

.section-head a {
  color: var(--blue);
  font-weight: 800;
}

/* FEATURED WORK */

.featured-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.project-large {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 50px;
  align-items: center;

  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;

  overflow: hidden;
}

.project-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #f8fafc;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  padding: 20px;
  align-self: center;
}

.project-info p {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.project-info h3 {
  font-size: 34px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.project-info span {
  color: var(--muted);
  line-height: 1.7;
}

/* PROJECTS PAGE */

.projects-hero {
  padding: 90px 0 44px;
  max-width: 850px;
}

.projects-hero h1 {
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.projects-hero p:last-child {
  color: var(--muted);
  line-height: 1.8;
  font-size: 18px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 34px;
}

.filter-btn {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--muted);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* MASONRY PROJECT GRID */

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

.container {
  width: min(1500px, 96%);
  margin: auto;
}

.project-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 24px;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 16px;
  background: white;
  transition: 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.project-thumb {
  overflow: hidden;
  border-radius: 20px;
  background: #f8fafc;
}

.project-card.website .project-thumb {
  aspect-ratio: 16 / 9;
}

.project-card.poster .project-thumb {
  aspect-ratio: 4 / 5;
}

.project-card.logo .project-thumb {
  aspect-ratio: unset;
  height: 240px;
}

.project-card.logo .project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.project-card.development .project-thumb {
  aspect-ratio: 16 / 9;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-content {
  padding-top: 18px;
}

.project-card-content p {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.project-card-content h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.project-card-content span {
  display: block;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.project-card.hide {
  display: none !important;
}

.view-more {
  margin-top: 18px;

  display: inline-flex;
  align-items: center;

  padding: 10px 16px;

  border: 1px solid var(--line);
  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  transition: 0.3s ease;
}

.project-card:hover .view-more {
  background: var(--primary);
  color: rgb(255, 255, 255);
  border-color: var(--primary);
}

/* STATS */

.stats-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}

.stat {
  padding: 34px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat h3 {
  font-size: 42px;
  color: var(--blue);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.stat p {
  color: var(--muted);
}

/* SERVICES */

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

.service-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  transition: 0.35s ease;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 35%);
  opacity: 0;
  transition: 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.service-card h3 {
  position: relative;
  font-size: 24px;
  margin-bottom: 14px;
  transition: 0.3s ease;
}

.service-card p {
  position: relative;
  color: var(--muted);
  line-height: 1.7;
}

.service-card:hover h3 {
  color: var(--blue);
}

.service-card::after {
  content: "→";
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 26px;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.3s ease;
}

.service-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.service-card {
  animation: cardFadeUp 0.7s ease both;
}

.service-card:nth-child(2) {
  animation-delay: 0.1s;
}

.service-card:nth-child(3) {
  animation-delay: 0.2s;
}

.service-card:nth-child(4) {
  animation-delay: 0.3s;
}

.services-section {
  margin-bottom: 80px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ABOUT */
.about-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  padding: 100px 0;
}

.about-card {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 35%),
    linear-gradient(135deg, #ffffff, #f8fafc);
}

.about-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  bottom: -70px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
}

.about-card h2 {
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.95;
  letter-spacing: -3px;
  max-width: 760px;
  margin-bottom: 24px;
}

.about-card h2 span {
  color: var(--blue);
}

.about-text {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 32px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-tags span {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.about-side {
  display: grid;
  gap: 18px;
}


@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 34px;
  }
}

/* CTA */

.contact-section {
  padding: 80px 0 70px;
}

.contact-cta {
  position: relative;
  overflow: hidden;

  padding: 70px 76px;
  border-radius: 36px;
  border: 1px solid #dbe4ff;

  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.14), transparent 36%),
    linear-gradient(135deg, #f8fafc, #ffffff);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-section {
  padding: 40px 0 50px;
}

.contact-cta {
  padding: 48px 56px;
}

.contact-cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
}

.contact-cta h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 18px;
}

.contact-cta p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.contact-cta .btn {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .contact-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

/* FOOTER */

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer div {
  display: flex;
  gap: 20px;
}

/* =========================
   90MIN POSTER COLLECTION
========================= */

.gallery-hero {
  max-width: 950px;
  margin: 0 auto;
  padding: 90px 0 55px;
  text-align: center;
}

.gallery-hero .eyebrow {
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}

.gallery-hero h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
  margin-bottom: 18px;
}

.gallery-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 100px;
}

.poster-grid a {
  display: block;
  overflow: hidden;
  border-radius: 26px;
  line-height: 0;
  background: #f8fafc;
  transition: 0.35s ease;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.poster-grid a:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.poster-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: 0.3s ease;
}

.back-btn:hover {
  color: var(--blue);
  transform: translateX(-4px);
}

@media (max-width: 1000px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-hero {
    padding: 70px 0 45px;
  }
}

@media (max-width: 600px) {
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero {
    text-align: left;
  }

  .gallery-hero h1 {
    font-size: 44px;
    letter-spacing: -2px;
  }
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .projects-grid {
    columns: 2;
  }

  .services-grid,
  .stats-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero,
  .project-large,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 50px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .cta-box,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .projects-grid {
    columns: 1;
  }

  .stats-wrap,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-socials a {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .hero-socials a i {
    font-size: 25px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .project-image {
    min-height: 230px;
  }

  .footer {
    flex-direction: column;
  }

  /* PROJECT CARDS RESPONSIVE */
  @media (max-width: 1100px) {
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 700px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }

    .project-thumb {
      height: 220px;
      aspect-ratio: unset;
    }
  }
}