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

:root {
  --cream: #faf7f2;
  --cream-dark: #f2ece2;
  --dark: #1c1814;
  --gold: #b8903e;
  --gold-hover: #d4aa58;
  --muted: #8a7f74;
  --border: #e4ddd4;
  --white: #ffffff;
  --green: #25d366;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --pad-y: clamp(3.5rem, 8vw, 7rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  cursor: pointer;
}
button {
  cursor: pointer;
}

/* ---- TYPOGRAPHY ---- */
.serif {
  font-family: "Roboto", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

.eyebrow {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.section-heading em {
  color: var(--gold);
}

.rule {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  font-family: "Roboto", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  border-radius: 25px;
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1.5px solid var(--dark);
}
.btn-dark:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-wa {
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}
.btn-wa:hover {
  background: #1db954;
  border-color: #1db954;
}

.btn-gmail {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-gmail:hover {
  border-color: var(--dark);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--pad-x);
  transition:
    background 0.3s,
    border-color 0.3s,
    padding 0.3s;
  border-bottom: 1px solid transparent;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navbar.scrolled,
.navbar.always {
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.nav-logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-family: "Sora", sans-serif;
  font-weight: 400;
  color: #b88f3e;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--dark);
}

.nav-cta,
.nav-cta-cta {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  background: var(--dark);
  border-radius: 25px;
  padding: 0.45rem 1.2rem;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover,
.nav-cta-cta:hover {
  background: var(--gold);
}

/* Hamburger — mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* Mobile nav drawer */
.nav-drawer {
   display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gold-hover);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: var(--pad-x);
  padding-top: 8rem;
   transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open {
  display: flex;
  transform: translateX(0);
}
.drawer-links a {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, padding-left 0.2s;
  display: block;
}

.nav-drawer a:not(.nav-cta-cta) {
  font-family: "Sora", sans-serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
}
.nav-drawer a:hover:not(.nav-cta-cta) {
  color: var(--white);
}
.drawer-links a:first-child {
  border-top: 1px solid var(--border);
}

.drawer-links a:hover {
  color: var(--gold);
  padding-left: 0.5rem;
}

/* Last link — Hire me! gets gold treatment */
.drawer-links a:last-child {
  color: var(--white);
  border-bottom: none;
}
.drawer-links a:last-child:hover {
  color: var(--dark);
}

/* ✕ close button — top right */
.nav-drawer-close {
  position: absolute;
  top: 1.1rem;
  right: var(--pad-x);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.nav-drawer-close span {
  position: absolute;
  width: 30px;
  height: 4px;
  background: var(--dark);
  border-radius: 2px;
  transition: background 0.2s;
}
.nav-drawer-close span:first-child { transform: rotate(45deg); }
.nav-drawer-close span:last-child  { transform: rotate(-45deg); }
.nav-drawer-close:hover span { background: var(--gold); }

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--pad-x) clamp(2.5rem, 6vw, 5rem);
  background: var(--cream);
  position: relative;
}

.hero-content {
  max-width: 680px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: 1.2rem;
}
.hero-title em {
  color: var(--gold);
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-btns a {
  font-size: 1rem;
}
.hero-platforms {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.hero-platforms strong {
  font-size: 0.62rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-platforms span {
  font-size: 0.75rem;
  font-family: "Space Grotesk", sans-serif;

  color: var(--muted);
}
.stats-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 3rem var(--pad-x);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.5);
  line-height: 1.5;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 600px) {
  .stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  #custom-div {
    display: none;
  }
}
.marquee-wrap {
  background: var(--dark);
  padding: 0.8rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.4);
}
.marquee-dot {
  color: var(--gold);
}
.skills-section {
  padding: 3rem var(--pad-x);
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
}
.skills-header {
  max-width: 580px;
  margin: 0 auto 3rem;
}

.skills-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.skills-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.skills-grid a {
  text-decoration: none;
}
.skill-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  min-height: 130px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
    cursor: pointer;
}
.skill-card:hover {
  border-color: rgba(184, 144, 62, 0.4);
  box-shadow: 0 4px 20px rgba(184, 144, 62, 0.1);
  transform: translateY(-4px);
}

.skill-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.skill-name {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .skill-card { min-height: 140px; }
}

@media (max-width: 580px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .skill-card { min-height: 150px; padding: 2rem 1rem; }
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
  padding: 35px var(--pad-x);
  background: var(--white);
  border-top: 1px solid var(--border);
}
.about-text {
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.85;
  text-align: justify;
}
.about-text p + p {
  margin-top: 1rem;
}

.platforms-list {
  margin-top: 0.5rem;
  width: 100%;
}

.platform-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s;
}
.platform-row a{
  text-decoration: none;
  color: var(--dark);
}
.platform-row:first-child {
  border-top: 1px solid var(--border);
}
.platform-row:hover {
  padding-left: 0.5rem;
}
.platform-row:hover .p-name {
  color: var(--gold);
}
.eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
}
.p-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  transition: color 0.2s;
}
.p-type {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.headshot-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: top;
  border-radius:15px;
  border: 3px solid var(--border);
  display: block;
  transition: border-color 0.3s;
  transform: scaleX(-1);
}
.headshot-img:hover {
  border-color: var(--gold);
}
.reveal d2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Tablet — stack headshot above platforms */
@media (max-width: 960px) {
  .headshot-img {
    width: 300px;
    height: 300px;
  }
}
/* ---- SELECTED WORK ---- */
.work-section {
  padding: 40px var(--pad-x);
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.view-all-wrapper {
  text-align: center;
  margin-top: 2rem;
}
.view-all {
  font-size: 1.2rem;
  background: var(--dark);
  border: none;
  border-radius: 25px;
  padding: 0.8rem 1.2rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.view-all:hover {
  color: var(--white);
}

/* Project cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.proj-card {
  background: var(--white);
  border: 3px solid var(--border);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.proj-card:hover {
  border-color: rgba(184, 144, 62, 0.45);
  box-shadow: 0 4px 20px rgba(184, 144, 62, 0.1);
}
.proj-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.proj-img {
  width: 100%;
  background: var(--cream-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.proj-card:hover .proj-img img {
  transform: scale(1.03);
}

.proj-img-placeholder {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(184, 144, 62, 0.35);
}

.proj-body {
  padding: 1.1rem 1.25rem 1.3rem;
}

.proj-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.proj-price {
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.proj-badge {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184, 144, 62, 0.35);
  padding: 0.2rem 0.55rem;
}

.proj-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.proj-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tool-pill {
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  padding: 0.22rem 0.55rem;
  background: var(--cream-dark);
  color: var(--muted);
  border: 1px solid var(--border);
}
/* video styling */
.video-section {
  padding: var(--pad-y) var(--pad-x);
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.video-header {
  margin-bottom: 2.5rem;
}

.video-header .section-heading {
  color: var(--cream);
}

.video-header .eyebrow {
  color: var(--gold-hover);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* TESTIMONIALS */
.testimonials-section {
  padding: 40px 0;
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  padding: 0 var(--pad-x);
  margin-bottom: 3rem;
}

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testi-scroll 35s linear infinite;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testi-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.testi-card:hover {
  border-color: rgba(184, 144, 62, 0.4);
  box-shadow: 0 4px 20px rgba(184, 144, 62, 0.08);
}

.testi-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.testi-text {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.testi-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

@keyframes testi-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* New Contact Section */
.contact-section-v2 {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90svh;
  background-image: url('images/Ikespatts\ Web\ Studio.jpeg');
  background-size: cover;
  background-position: center;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.55);
  z-index: 1;
}

.contact-inner-v2 {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.contact-inner-v2 .eyebrow {
  color: var(--gold-hover);
}

.contact-heading-v2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.contact-heading-v2 em {
  font-style: normal;
  color: var(--gold-hover);
}

.contact-sub-v2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.1rem);
  color: rgba(250,247,242,0.85);
  line-height: 1.8;
  font-weight: 400;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.inline-gold {
  color: var(--gold-hover);
  transition: border-color 0.2s;
}

/* CTA buttons row */
.contact-cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-cta-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 15px;
  background: rgba(0,0,0,0.55);
  border: 1.9px solid var(--gold-hover);
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
   flex: 1 1 240px;
  max-width: 320px;
  justify-content: flex-start;
}

.contact-cta-btn:hover {
  background: var(--dark);
  color: var(--white);
  font-weight: 500;
  transform: translateY(-2px);
}
/* Social icon row */
.contact-social-row {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,0,0,0.55);
  border: 1.8px solid var(--gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.2s, background 0.2s;
}
.social-icon-btn:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 580px) {
  .contact-cta-row { flex-direction: column; align-items: center; }
  .contact-cta-btn { flex: none;
    width: auto;
    min-width: 220px;
    max-width: 280px;}
  .social-icon-btn { width: 44px; height: 44px; }
}
 .fiverr-logo{
  width: 35px;
  height: 35px;
} 
.resize-fiverr{
  width: 50px;
  height: 40px;
}
/* FOOTER */
.site-footer {
  background: var(--dark);
  padding: 2rem var(--pad-x) 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 1.5rem;
}

.footer-logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.footer-logo span {
  color: var(--gold);
}

.footer-tagline {
  font-size: 1rem;
  color: rgba(250, 247, 242, 0.35);
  line-height: 1.7;
  font-weight: 400;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: flex-start;
}

.footer-nav a {
  font-size: 0.82rem;
  color: rgba(250, 247, 242, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  font-size: 0.7rem;
  color: rgba(250, 247, 242, 0.2);
}

/* Responsive */
@media (max-width: 580px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-nav {
    gap: 0.5rem 1.5rem;
  }
}

/* PROJECTS PAGE */
.page-hero {
  padding: clamp(5rem, 12vw, 9rem) var(--pad-x) clamp(2rem, 5vw, 4rem);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.page-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  color: var(--dark);
}
.page-title em {
  font-style: italic;
  color: var(--gold);
}

.back-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover {
  color: var(--gold);
}

/* Filter bar */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.9rem 1.25rem;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.filter-btn:hover {
  color: var(--dark);
}
.filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  font-weight: 500;
}

/* Projects section */
.projects-section {
  padding: var(--pad-y) var(--pad-x);
  background: var(--cream);
}

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

/* Contact strip */
.contact-strip {
  background: var(--dark);
  padding: clamp(3rem, 6vw, 5rem) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.strip-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  color: var(--cream);
}
.strip-heading em {
  font-style: italic;
  color: var(--gold-hover);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}

/* ---- ANIMATIONS ---- */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.anim-1 {
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}
.anim-2 {
  opacity: 0;
  animation: fadeUp 0.7s 0.25s forwards;
}
.anim-3 {
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}
.anim-4 {
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}
/* ---- COMING SOON ---- */
.coming-soon-section {
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
position: relative;
overflow: hidden;
}
.coming-soon-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/pexels-pixabay-276551.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  z-index: 0;
}
.coming-soon-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, 0.65);
  z-index: 1;
}
.coming-soon-inner {
max-width: 520px;
  position: relative;
  z-index: 2;
}

.coming-soon-title {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--cream);
  line-height: 1.1;
}

.coming-soon-title em {
  font-style: italic;
  color: var(--gold-hover);
}

.coming-soon-sub {
  font-size: 1.1rem;
   color: var(--cream);
  line-height: 1.85;
  font-weight: 500;
}
.coming-soon-section .rule {
  background: var(--gold-hover);
  opacity: 0.6;
}
/* Responsive */
/* Tablet — 2-col cards */
@media (min-width: 960px){
   section[id],
  div[id] {
    scroll-margin-top: 65px;
  }
}
@media (max-width: 1501px) {
  .about-section {
    grid-template-columns: 1fr 2fr 2fr;
  }
}
@media (min-width: 961px) and (max-width:1400px) {
  .about-section {
    grid-template-columns: 1fr 2fr;
  }
}
@media (max-width: 960px) {
  section[id],
  div[id] {
    scroll-margin-top: 55px;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }

  .hero-platforms {
    display: none;
  }

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

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

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .proj-card.wide {
    grid-column: span 2;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile — 1-col */
@media (max-width: 580px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 200px;
    justify-content: center;
    font-size: 1rem;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }
  .proj-card.wide {
    grid-column: span 1;
  }

  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-bar {
    padding: 0 1.25rem;
  }
}
@media (min-width: 1800px) {
  .hero {
    min-height: 70svh;
  }
}
@media (max-width: 580px) {
  /* html {
    font-size: 14px;
  } */
   .skill-name {
    font-size: 0.9rem; }

  /* Hero */
  .hero-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .hero-desc {
    font-size: 0.85rem;
  }

  /* Section headings */
  .section-heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Eyebrow labels */
  .eyebrow {
    font-size: 0.62rem;
  }

  /* Stats */
  .stat-num {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .stat-label {
    font-size: 0.65rem;
  }

  /* Nav */
  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-cta {
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
  }

  /* About */
  .about-text {
    font-size: 0.88rem;
  }

  .p-name {
    font-size: 1rem;
  }

  .p-type {
    font-size: 0.7rem;
  }

  /* Skills */
  .skills-title {
    font-size: 1.5rem;
  }

  /* Testimonials */
  .testi-text {
    font-size: 0.82rem;
  }

  .testi-name {
    font-size: 0.75rem;
  }

  /* Contact */
  .contact-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .contact-sub {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-logo {
    font-size: 1.1rem;
  }

  .footer-tagline {
    font-size: 0.72rem;
  }

  .footer-nav a {
    font-size: 0.72rem;
  }

  .footer-bottom {
    font-size: 0.62rem;
  }

  /* Coming soon */
  .coming-soon-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .coming-soon-sub {
    font-size: 0.82rem;
  }
}

/* css for modal */
/* ---- PROJECT MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 20, 0.88);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  backdrop-filter: blur(6px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 10px;
  position: relative;
  animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

/* Close button */
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28,24,20,0.7);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--gold); }
.modal-close span {
  position: absolute;
  width: 14px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
.modal-close span:first-child { transform: rotate(45deg); }
.modal-close span:last-child  { transform: rotate(-45deg); }

/* Media area — image or video */
.modal-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: var(--cream-dark);
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.modal-media iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Body */
.modal-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--dark);
  line-height: 1.2;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
}

.modal-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Action buttons */
.modal-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.modal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.modal-view {
  background: var(--dark);
  color: var(--white);
  border: 1.5px solid var(--dark);
}
.modal-view:hover { background: var(--gold); border-color: var(--gold); }

.modal-hire {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.modal-hire:hover { background: var(--gold); color: var(--white); }

@media (max-width: 480px) {
  .modal-body { padding: 1.25rem; }
  .modal-actions { flex-direction: column; }
  .modal-btn { flex: unset; width: 100%; }
}

