/* ================================
   MOTION DESIGN – DESIGN-FORWARD
================================ */

:root {
  --md-bg: #f7f6f4;              /* warm light background */
  --md-text: #1e1b22;            /* near-black */
  --md-muted: #6e6a76;           /* secondary text */
  --md-accent: #a34756;          /* brand magenta */
  --md-card-bg: rgba(255,255,255,0.65);
  --md-glass-border: rgba(255,255,255,0.35);
  --md-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

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

/* BASE */
body {
  font-family: "Montserrat", Arial, sans-serif;
  background-color: #ffffff;
  color: #0e0e0e;
  line-height: 1.6;
}


/* LINKS */
a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}

a:hover {
  opacity: 1;
}

/* NAVBAR */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
}

.nav nav a {
  margin-left: 32px;
  font-size: 14px;
}

/* HERO */
.hero {
  padding: 120px 60px;
  max-width: 900px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero p {
  font-size: 18px;
  opacity: 0.85;
}

/* WORK PREVIEW */
.work-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 80px 60px;
}

.work-card {
  background-color: #1a1a1a;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
}

/* CONTACT CTA */
.contact-cta {
  padding: 120px 60px;
  text-align: center;
}

.contact-cta h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.contact-cta .btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  border: 1px solid #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 40px;
  }

  .work-preview {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 24px;
  }
}
/* VIDEO WORK CARDS */
.video-card {
  position: relative;
  overflow: hidden;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card span {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 18px;
  font-weight: 600;
  z-index: 2;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease;
}

.video-card:hover video {
  transform: scale(1.06);
}

.video-card:hover::after {
  background: rgba(0, 0, 0, 0.2);
}
/* CATEGORY PAGE HERO */
.page-hero {
  padding: 140px 60px 60px;
  max-width: 900px;
}

.page-hero h1 {
  font-size: 56px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  opacity: 0.8;
}

/* PORTFOLIO GRID */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 40px 60px 120px;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-item video,
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 40px;
  }
}
/* PORTFOLIO ITEM HOVER POLISH */
.portfolio-item {
  position: relative;
  cursor: pointer;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
}

.portfolio-item:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

.portfolio-item video,
.portfolio-item img {
  transition: transform 0.6s ease;
}

.portfolio-item:hover video,
.portfolio-item:hover img {
  transform: scale(1.05);
}
/* PORTFOLIO ITEM TITLE ON HOVER */
.work-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .work-title {
  opacity: 1;
}
/* CONTACT PAGE */
.contact-page {
  max-width: 600px;
  margin: 140px auto;
  padding: 0 24px;
}

.contact-page h1 {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-page p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 40px;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  background: #1a1a1a;
  border: none;
  padding: 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid #ffffff;
}

.contact-form button {
  background: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #ffffff;
  color: #000000;
}

/* HERO – REFERENCE MATCH */

.hero-content {
  max-width: 560px;
  margin-left: 60px;   /* 👈 THIS moves text closer to image */
}

.hero-ref {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr; /* 👈 tighter balance */
  gap: 48px;                          /* 👈 controls spacing */
  height: 760px;
  padding: 100px 80px 80px;
  align-items: center;
  background: #ffffff;
  position: relative;
}

/* LEFT */
.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: #2e1b3b;
  margin-bottom: 12px;
}

.hero-content h1 span {
  color: #2e1b3b;
}

.hero-tagline {
  font-size: 20px;
  color: #c14b59;
  margin-bottom: 28px;
}

.hero-primary-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 18px;
  background: #2e1b3b;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

/* RIGHT */
.hero-image {
  margin-left: -24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}


.hero-image img {
  height: 660px;
  object-fit: contain;
  margin-bottom: 40px; /* 👈 THIS IS THE FIX */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-v1 {
    grid-template-columns: 1fr;
    height: auto;
    padding: 80px 40px;
    gap: 40px;
  }

  .hero-portrait {
    max-height: 420px;
  }
}
/* NAV – LIGHT VERSION */
.light-nav {
  background: #ffffff;
  padding: 24px 80px;
}

.nav-logo {
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: #000000;
  text-decoration: none;
}

.nav-btn {
  padding: 8px 18px;
  border-radius: 20px;
  background: #e9c5b7;
  color: #000000;
  font-size: 13px;
}
/* ABOUT ME – SECTION 2 (BOXED & CENTERED) */
.about-section {
  background: #E2C1B5;
  padding: 120px 80px;
  display: flex;
  justify-content: center;
}

/* GLASS EFFECT – ABOUT BOX */
.about-wrapper {
  max-width: 960px;
  padding: 60px 64px;
  border-radius: 18px;
  text-align: center;

  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}


.about-wrapper h2 {
  font-size: 48px;
  color: #A34756;
  margin-bottom: 32px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.9;
  color: #281B39;
  margin-bottom: 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-section {
    padding: 80px 24px;
  }

  .about-wrapper {
    padding: 40px 24px;
  }

  .about-wrapper h2 {
    font-size: 36px;
  }
}
/* SHOWREEL – SECTION 3 */
.showreel-section {
  background: #A34756;
  padding: 120px 80px;
  display: flex;
  justify-content: center;
}

.showreel-wrapper {
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.showreel-wrapper h2 {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 40px;
}

/* VIDEO */
.showreel-video {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 40px;
}

.showreel-video video {
  width: 100%;
  height: auto;
  display: block;
  background: #000000;
}

/* CTA BUTTON */
.showreel-btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 22px;
  background: #ffffff;
  color: #A34756;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showreel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .showreel-section {
    padding: 80px 24px;
  }

  .showreel-wrapper h2 {
    font-size: 36px;
  }
}
/* SKILLS & EXPERTISE – SECTION 4 */
.skills-section {
  background: #ffffff;
  padding: 120px 80px;
  display: flex;
  justify-content: center;
}

.skills-wrapper {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

/* HEADINGS */
.skills-title {
  font-size: 48px;
  color: #A34756;
  margin-bottom: 16px;
}

.skills-subtitle {
  font-size: 18px;
  color: #281B39;
  max-width: 760px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.skills-subheading {
  font-size: 28px;
  color: #281B39;
  margin-bottom: 48px;
}

/* GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

/* GLASS CARD */
.skill-card {
  padding: 32px 24px;
  border-radius: 18px;
  text-align: center;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.skill-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.skill-card h4 {
  font-size: 16px;
  color: #281B39;
  margin-bottom: 6px;
}

.skill-card span {
  font-size: 14px;
  color: #A34756;
}

/* CTA */
.skills-cta {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 24px;
  background: #A34756;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skills-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(163, 71, 86, 0.4);
}

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

@media (max-width: 600px) {
  .skills-section {
    padding: 80px 24px;
  }

  .skills-title {
    font-size: 36px;
  }

  .skills-subheading {
    font-size: 22px;
  }
}
/* ================================
   MY WORK – CATEGORY GRID (NEW)
   ================================ */

.work-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 80px 80px 120px;
}

.work-category {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 18px;
  text-decoration: none;
  color: #ffffff;
}

.work-category video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-category span {
  position: absolute;
  bottom: 24px;
  left: 24px;
  font-size: 18px;
  font-weight: 600;
  z-index: 2;
}

.work-category::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease;
}

.work-category:hover video {
  transform: scale(1.06);
}

.work-category:hover::after {
  background: rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .work-categories {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }
}
/* ================================
   FOOTER – FINAL SECTION
   ================================ */

.site-footer {
  background: #613A4D;
  color: #ffffff;
  padding: 80px 80px 40px;
  width: 100%;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

/* BRAND */
.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
}

/* LINKS */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* CONTACT */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

.footer-contact a:hover {
  opacity: 1;
}

/* BOTTOM */
.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 24px 32px;
  }

  .footer-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.work-header {
  background: #E2C1B5;
  padding: 120px 40px 80px;
  text-align: center;
}

.work-header h1 {
  font-size: 56px;
  font-weight: 700;
  color: #A34756;
  margin-bottom: 16px;
}

.work-header p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: #281B39;
}
.work-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 80px;
  background: #ffffff;
}

.work-categories {
  position: relative;
  padding: 100px 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  background: transparent;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}
.work-category {
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.15);
}


.work-category:hover {
  transform: translateY(-6px);
}

.work-category video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.work-card-content {
  position: absolute;
  bottom: 28px;
  left: 28px;
  color: #ffffff;
}

.work-card-content h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.work-card-content p {
  font-size: 14px;
  opacity: 0.9;
}
.work-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px;
  margin-top: 80px;
  background: transparent;
}

.metric-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 40px 20px;
  text-align: center;

  box-shadow: 
    0 20px 40px rgba(0,0,0,0.2),
    inset 0 0 0 1px rgba(255,255,255,0.3);
}

.metric-card h2 {
  font-size: 40px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.metric-card p {
  font-size: 14px;
  color: #281B39;
  opacity: 0.9;
}
/* WORK BACKGROUND */

.work-bg {
  background:
    linear-gradient(
      rgba(163, 71, 86, 0.75),
      rgba(163, 71, 86, 0.75)
    ),
    url("../assets/images/placeholders/work-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0 160px;
}

/* METRICS */
.work-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 80px;
  text-align: center;
}

.metric-card {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* NUMBER */
.metric-card h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800; /* ExtraBold */
  font-size: 80px;
  margin: 0;
  color: #ffffff;
}

/* LABEL */
.metric-card p {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 30px;
  margin-top: 10px;
  color: #ffffff;
}

/* ============================= */
/* VIDEO PRODUCTION — HERO       */
/* ============================= */

.video-hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #ffffff;
}

/* Background video */
.video-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) brightness(0.6);
  transform: scale(1.1);
  z-index: 1;
}

/* Dark cinematic overlay */
.video-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 15, 40, 0.85) 0%,
    rgba(25, 15, 40, 0.55) 50%,
    rgba(25, 15, 40, 0.2) 100%
  );
  z-index: 2;
}

/* Main content */
.video-hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* LEFT TEXT */
.video-hero-text h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
}

.video-hero-text p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: #e2c1b5;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* RIGHT SHOWREEL */
.video-hero-showreel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.video-hero-showreel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play button */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  place-items: center;
  font-size: 64px;
  color: #ffffff;
  background: rgba(0,0,0,0.35);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.play-overlay:hover {
  background: rgba(0,0,0,0.55);
  transform: scale(1.02);
}

/* ============================= */
/* VIDEO PRODUCTION — SKILLS     */
/* ============================= */

.vp-skills {
  background: radial-gradient(
    circle at top,
    #241627 0%,
    #120b15 60%,
    #0b070d 100%
  );
  padding: 120px 80px;
}

.vp-skills-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

/* GLASS CARD */
.vp-skill-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 40px 28px;
  text-align: center;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vp-skill-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ICON */
.vp-skill-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

/* TEXT */
.vp-skill-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #ffffff;
}

.vp-skill-card p {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .vp-skills-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vp-skills {
    padding: 80px 24px;
  }

  .vp-skills-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* VIDEO PRODUCTION — VIDEO GRID */
/* ============================= */

.vp-video-grid {
  padding: 120px 80px 100px;
  background: #0b070d; /* deep cinematic */
}

.vp-video-grid-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(380px,1fr));
  gap: 32px;
}

/* VIDEO CARD */
.vp-video-card {
  position: relative;
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  cursor: pointer;

  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vp-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.75);
}

/* VIDEO */
.vp-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: filter 0.3s ease, transform 0.6s ease;
}

.vp-video-card:hover video {
  filter: brightness(1);
  transform: scale(1.03);
}

/* TITLE */
.vp-video-title {
  position: absolute;
  left: 20px;
  bottom: 18px;

  font-size: 14px;
  font-weight: 600;
  color: #ffffff;

  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .vp-video-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vp-video-grid {
    padding: 80px 24px;
  }

  .vp-video-grid-inner {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1440px) {
  .vp-video-card {
    height: 320px;
  }
}

/* ============================= */
/* VIDEO MODAL (APPLE STYLE)     */
/* ============================= */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.video-modal.active {
  display: block;
}

/* Background */
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 14, 0.85);
  backdrop-filter: blur(12px);
}

/* Modal container */
.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 90%;
  margin: 5vh auto;
  background: #000;
  border-radius: 20px;
  overflow: hidden;

  transform: scale(0.95);
  opacity: 0;
  transition: all 0.4s ease;
}
.video-modal-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
}

/* Animate in */
.video-modal.active .video-modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Video */
.video-modal-content video {
  width: 100%;
  height: auto;
  display: block;
}

/* Close button */
.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;

  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;

  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.3);
}

/* =========================
   MY PROCESS – VIDEO PRODUCTION
========================= */

.vp-process {
  padding: 120px 6vw 140px;
  text-align: center;
  position: relative;
  color: #f5f1ed;
  background: radial-gradient(
    circle at top,
    #241627 0%,
    #120b15 60%,
    #0b070d 100%
  );
  padding: 120px 80px;
}

.vp-section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 80px;
  color: #e9c6b8;
}

/* Layout */
.vp-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Step Card */
.vp-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Glass Circle */
.vp-process-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  font-size: 28px;
  font-weight: 700;
  color: #ffffff;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.25);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover micro-interaction (Apple-style) */
.vp-process-step:hover .vp-process-circle {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Text */
.vp-process-step h3 {
  font-size: 24px;
  font-weight: 600;
}

.vp-process-step p {
  font-size: 14px;
  opacity: 0.8;
  max-width: 220px;
}
.vp-section-title {
  text-align: center;
  margin-bottom: 64px;
}

.vp-section-title h2 {
  font-size: 48px;
  font-weight: 700;
  color: #e7ddd6; /* cinematic off-white */
  letter-spacing: -0.02em;
}

/* ================================
   MOTION DESIGN – HERO
================================ */

.md-hero {
  padding: 110px 80px;
  background: var(--md-bg);
}

.md-hero-inner {
  max-width: 1200px;          /* 🔑 SAME FEEL AS VIDEO PRODUCTION */
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* tighter relationship */
  align-items: center;
  gap: 40px;                  /* tighter spacing */
  min-height: 85vh;
}

.md-hero-visual {
  max-width: 520px;   /* THIS locks the visual size */
  justify-self: end;  /* keeps it snug to text */
}

.md-hero-content {
  max-width: 620px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;

  font-size: 14px;
  font-weight: 600;
  color: var(--md-muted);
  text-decoration: none;
}

.back-link:hover {
  color: var(--md-accent);
}

.md-hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--md-text);
  margin-bottom: 20px;
}

.md-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--md-muted);
}

.md-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;

  box-shadow: var(--md-shadow);
}

.md-hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.05);
}

/* ===== MOTION DESIGN – SKILLS ===== */

.md-skills {
  padding: 120px 80px;
  background: #f7f5f2; /* light, design-forward */
}

.md-skills-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.md-section-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
}

.md-section-subtitle {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 64px;
  opacity: 0.75;
}

/* Grid */
.md-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Card */
.md-skill-card {
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.md-skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.md-skill-icon {
  font-size: 28px;
  display: inline-block;
  margin-bottom: 12px;
}

.md-skill-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.md-skill-card p {
  font-size: 14px;
  opacity: 0.8;
}

/* ================================
   MOTION DESIGN – VIDEO GRID
================================ */

.md-video-grid {
  padding: 120px 80px 140px;
  background: #f7f6f4; /* same family as skills */
}

.md-video-grid-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(360px, 1fr));
  gap: 36px;
}

/* Card */
.md-video-card {
  position: relative;
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;

  background: #eae8e4;
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.md-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(0,0,0,0.12);
}

/* Video */
.md-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 0.6s ease;
}

.md-video-card:hover video {
  transform: scale(1.04);
}

/* Label */
.md-video-label {
  position: absolute;
  bottom: 18px;
  left: 18px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  color: #ffffff;
  background: rgba(0,0,0,0.45);
  padding: 6px 12px;
  border-radius: 999px;
}

@media (max-width: 1024px) {
  .md-video-grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .md-video-grid {
    padding: 80px 24px;
  }

  .md-video-grid-inner {
    grid-template-columns: 1fr;
  }
}

/* ================================
   MOTION DESIGN – THINKING
================================ */

.md-thinking {
  padding: 140px 80px;
  background: #f7f6f4;
}

.md-thinking-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.md-thinking h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 32px;
}

.md-thinking-quote {
  font-size: 20px;
  line-height: 1.8;
  color: #3a3640;
  margin-bottom: 48px;
}

.md-thinking-principles {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.md-thinking-principles span {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.08);
}

/* ================================
   MOTION DESIGN – PROCESS
================================ */

.md-process {
  padding: 140px 80px 160px;
  background: #f7f6f4;
}

.md-process-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.md-process h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 80px;
}

.md-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.md-process-step {
  padding: 32px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.md-process-step:hover {
  transform: translateY(-6px);
}

.md-process-number {
  font-size: 32px;
  font-weight: 700;
  color: #a34756;
  margin-bottom: 16px;
}

.md-process-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.md-process-step p {
  font-size: 14px;
  opacity: 0.8;
}

/* ================================
   GRAPHIC DESIGN – HERO
================================ */

.gd-hero {
  padding: 120px 80px;
  background: #fbfaf8; /* soft paper white */
}

.gd-hero-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* LEFT CONTENT */

.gd-hero-content {
  max-width: 520px;
}

.gd-hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #1f1f1f;
}

.gd-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #5a5a5a;
}

/* RIGHT COLLAGE */

.gd-hero-collage {
  position: relative;
  display: flex;
  align-items: center;     /* 🔥 vertical centering */
  justify-content: center;

  height: 360px;           /* 🔥 anchor height (important) */
  overflow: hidden;
}

.gd-hero-collage::before,
.gd-hero-collage::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.gd-hero-collage::before {
  left: 0;
  background: linear-gradient(to right, #fbfaf8, transparent);
}

.gd-hero-collage::after {
  right: 0;
  background: linear-gradient(to left, #fbfaf8, transparent);
}

.gd-collage-track {
  display: flex;
  align-items: center;     /* 🔥 critical */
  gap: 28px;

  animation: gdCollageScroll 60s linear infinite;
  will-change: transform;
}

.gd-collage-item {
  flex: 0 0 240px;
  height: 320px;

  border-radius: 18px;
  overflow: hidden;

  background: #eae6df;
  box-shadow: 0 14px 28px rgba(0,0,0,0.06);
}

.gd-collage-item:nth-child(odd) {
  transform: translateY(6px);
}

.gd-collage-item:nth-child(even) {
  transform: translateY(-6px);
}

.gd-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

/* SUBTLE CONTINUOUS MOTION */
@keyframes gdCollageScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-820px);
  }
}

/* ================================
   GRAPHIC DESIGN – BRAND GRID
================================ */

.gd-grid {
  padding: 140px 80px;
  background: #f7f5f2; /* warm editorial base */
}

.gd-grid-inner {
  max-width: 1200px;
  margin: 0 auto;

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

.gd-tile {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;

  background: #eae6df;
  box-shadow: 0 14px 28px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gd-tile-tall {
  grid-row: span 2;
}

.gd-tile-wide {
  grid-column: span 2;
}

.gd-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: saturate(0.95);
  transition: transform 0.6s ease;
}

.gd-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(0,0,0,0.1);
}

.gd-tile:hover img {
  transform: scale(1.04);
}

.gd-tile-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 24px;
  background: rgba(232, 198, 204, 0.18); /* dusty rose pastel */
  backdrop-filter: blur(4px);

  opacity: 0;
  transition: opacity 0.4s ease;
}

.gd-tile:hover .gd-tile-overlay {
  opacity: 1;
}

.gd-logo-placeholder {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #1f1f1f;
  background: rgba(255,255,255,0.7);

  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 10px;
}

.gd-meta {
  font-size: 13px;
  font-weight: 500;
  color: #1f1f1f;
  opacity: 0.85;
}

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

  .gd-tile-wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .gd-grid {
    padding: 100px 24px;
  }

  .gd-grid-inner {
    grid-template-columns: 1fr;
  }
}

/* ================================
   GRAPHIC DESIGN – MODAL GALLERY
================================ */

.gd-modal-gallery {
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 32px;

  padding: 20px;
}

.gd-modal-gallery img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
}

/* ================================
   GRAPHIC DESIGN – THINKING
================================ */

.gd-thinking {
  padding: 160px 80px;
  background: #fbfaf8; /* soft paper tone */
}

.gd-thinking-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.gd-thinking h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 36px;
  color: #1f1f1f;
}

.gd-thinking-quote {
  font-size: 22px;
  line-height: 1.9;
  color: #4f4f4f;
  margin-bottom: 56px;
}

.gd-thinking-principles {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.gd-thinking-principles span {
  font-size: 14px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;

  background: rgba(232, 198, 204, 0.35); /* pastel accent */
  color: #1f1f1f;
}

/* ================================
   GRAPHIC DESIGN – PROCESS
================================ */

.gd-process {
  padding: 160px 80px 180px;
  background: #f7f5f2; /* slightly deeper than thinking section */
}

.gd-process-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gd-process h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 80px;
  color: #1f1f1f;
}

.gd-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.gd-process-step {
  padding: 36px 28px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);

  transition: transform 0.3s ease;
}

.gd-process-step:hover {
  transform: translateY(-6px);
}

.gd-process-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;

  color: #a34756; /* brand accent */
}

.gd-process-step h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1f1f1f;
}

.gd-process-step p {
  font-size: 15px;
  line-height: 1.7;
  color: #5a5a5a;
}

@media (max-width: 1024px) {
  .gd-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gd-process {
    padding: 120px 24px;
  }

  .gd-process-steps {
    grid-template-columns: 1fr;
  }
}

/* ================================
   3D – PAGE BASE BACKGROUND
================================ */

body.td-page {
  background:
    radial-gradient(
      1400px at 50% 40%,
      #1a1a28 0%,
      #0f0f14 45%,
      #08080c 100%
    );
}

/* ================================
   3D – HERO (SPATIAL GALLERY)
================================ */

.td-hero {
  padding: 140px 80px;
  background: transparent;
}

.td-hero-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* LEFT CONTENT */

.td-hero-content {
  max-width: 520px;
}

.td-hero-content h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #f2f2f2;
}

.td-hero-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

/* RIGHT VISUAL */

.td-hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;

  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.td-hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   3D – SPATIAL GRID
================================ */

.td-grid {
  padding: 160px 80px;
  background: transparent;
}

.td-grid-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* CARD */

.td-card {
  position: relative;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  cursor: pointer;

  background: #1a1a22;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.td-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 72px rgba(0,0,0,0.6);
}

/* VIDEO */

.td-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

/* IMAGE CARD SUPPORT */

.td-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.td-card:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.td-card:hover video {
  opacity: 1;
  transform: scale(1.04);
}

/* META */

.td-card-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
}

.td-card-meta h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.td-card-meta span {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

@media (max-width: 1024px) {
  .td-grid-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .td-grid {
    padding: 120px 24px;
  }
}

.video-modal-content video {
  max-width: 90vw;
  max-height: 85vh;
}

.gd-modal-gallery {
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ================================
   3D – WHAT I EXPLORE
================================ */

.td-explore {
  padding: 160px 80px;
  background: transparent;
}

.td-explore-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.td-explore h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #f2f2f2;
}

.td-explore-intro {
  font-size: 20px;
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 80px;
  color: rgba(255,255,255,0.75);
}

.td-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.td-explore-card {
  padding: 36px 28px;
  border-radius: 22px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);

  transition: transform 0.3s ease, background 0.3s ease;
}

.td-explore-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
}

.td-explore-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #ffffff;
}

.td-explore-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

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

@media (max-width: 640px) {
  .td-explore {
    padding: 120px 24px;
  }

  .td-explore-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   3D – WORKFLOW
================================ */

.td-process {
  padding: 180px 80px;
  background: transparent;
}

.td-process-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.td-process h2 {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 96px;
  color: #f2f2f2;
}

.td-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.td-process-step {
  padding: 36px 28px;
  border-radius: 22px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);

  transition: transform 0.3s ease, background 0.3s ease;
}

.td-process-step:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
}

.td-step-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #E2C1B5; /* subtle spatial accent */
}

.td-process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.td-process-step p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 1024px) {
  .td-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .td-process {
    padding: 120px 24px;
  }

  .td-process-steps {
    grid-template-columns: 1fr;
  }
}

/* ================================
   3D – AMBIENT SMOKE LAYER (VISIBLE)
================================ */

.td-smoke-layer {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;

  opacity: 0.18;
  filter: blur(70px);
  mix-blend-mode: lighten;

  background:
  radial-gradient(
    900px 700px at 0% 50%,
    rgba(200, 190, 255, 0.6),
    transparent 65%
  ),
  radial-gradient(
    800px 600px at 35% 20%,
    rgba(170, 220, 255, 0.55),
    transparent 70%
  ),
  radial-gradient(
    1000px 800px at 25% 80%,
    rgba(210, 190, 255, 0.5),
    transparent 75%
  );
  
  box-shadow:
    inset 0 0 120px rgba(255,255,255,0.06);

  animation: tdSmokeDrift 140s linear infinite;
  will-change: transform;
}

.td-smoke-layer-2 {
  opacity: 0.12;
  filter: blur(100px);
  pointer-events: none;
  z-index: 1;

  background:
    radial-gradient(
      600px 500px at 80% 60%,
      rgba(220, 200, 255, 0.5),
      transparent 70%
    ),
    radial-gradient(
      700px 600px at 60% 30%,
      rgba(180, 220, 255, 0.45),
      transparent 75%
    );

  animation: tdSmokeDriftSlow 120s linear infinite;
  will-change: transform;
}

/* Smoke motion */
@keyframes tdSmokeDrift {
  0% {
    transform: translateX(-30%) translateY(0) scale(1) rotate(0deg);
  }
  33% {
    transform: translateX(-5%) translateY(-6%) scale(1.05) rotate(0.6deg);
  }
  66% {
    transform: translateX(15%) translateY(4%) scale(0.97) rotate(-0.4deg);
  }
  100% {
    transform: translateX(35%) translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes tdSmokeDriftSlow {
  0% {
    transform: translateX(20%) translateY(4%) scale(1.08) rotate(-0.5deg);
  }
  40% {
    transform: translateX(5%) translateY(-8%) scale(1) rotate(0.8deg);
  }
  70% {
    transform: translateX(-10%) translateY(6%) scale(1.04) rotate(-0.3deg);
  }
  100% {
    transform: translateX(-30%) translateY(2%) scale(1.08) rotate(-0.5deg);
  }
}

/* ================================
   3D – Z-INDEX LIFT (ABOVE SMOKE)
================================ */

.td-hero,
.td-grid,
.td-explore,
.td-process {
  position: relative;
}

/* ================================
   3D – THEME TOGGLE
================================ */

.td-theme-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;

  z-index: 100000; /* higher than anything else */
  isolation: isolate; /* 🔥 KEY */

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 10px 16px;
  border-radius: 999px;

  cursor: pointer;
  pointer-events: auto;

  transition: background 0.3s ease, transform 0.2s ease;
}

.td-theme-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

/* ================================
   3D – THEME STATES
================================ */

/* MONO MODE */
body.theme-mono .td-smoke-layer,
body.theme-mono .td-smoke-layer-2 {
  filter: blur(70px) grayscale(1);
  opacity: 0.14;
}

@media (max-width: 768px) {
  .td-smoke-layer {
    display: none;
  }
}

@media (max-width: 640px) {
  .td-theme-toggle {
    bottom: 20px;
    right: 20px;
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* ================================
   CONTACT – SPLIT LAYOUT
================================ */

.contact-page {
  min-height: calc(100vh - 120px); /* accounts for nav */
  display: flex;
  align-items: center;

  padding: 120px 80px 160px;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT TEXT */

.contact-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-content p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 420px;
  opacity: 0.85;
}

/* RIGHT FORM WRAPPER */

.contact-form-wrapper {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

/* ================================
   CONTACT – CINEMATIC BACKGROUND
================================ */

body.contact-page {
  background:
    radial-gradient(
      1200px at 50% 30%,
      #1a1a28 0%,
      #0f0f14 45%,
      #08080c 100%
    );
}

/* ================================
   CONTACT – GLASS FORM
================================ */

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;

  padding: 40px 36px;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #ffffff;
  font-size: 15px;

  padding: 14px 16px;
  margin-bottom: 18px;

  border-radius: 12px;
  outline: none;

  transition: border 0.3s ease, background 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.55);
}

.contact-form button {
  width: 100%;
  padding: 14px 0;

  border-radius: 999px;
  border: none;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  background: #E2C1B5;
  color: #0f0f14;

  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 193, 181, 0.4);
}

/* ================================
   CONTACT – DARK NAV OVERRIDE
================================ */

body.contact-page .nav {
  background: transparent;
}

body.contact-page .nav-links a {
  color: rgba(255, 255, 255, 0.75);
}

body.contact-page .nav-links a:hover {
  color: #ffffff;
}

body.contact-page .nav-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.contact-page .nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ================================
   CONTACT – TEXT CONTRAST FIX
================================ */

.contact-page h1 {
  color: #ffffff;
}

.contact-page p {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================
   CONTACT – CINEMATIC GRAIN BACKGROUND
================================ */

.contact-shell {
  min-height: 100vh;
  width: 100%;
  position: relative;

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

  background:
    radial-gradient(
      1400px 900px at 40% 35%,
      #1a1d26 0%,
      #0e1016 45%,
      #07080c 100%
    );

  overflow: hidden;
}

.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.015),
      rgba(255,255,255,0.015) 1px,
      rgba(0,0,0,0.015) 1px,
      rgba(0,0,0,0.015) 2px
    );

  opacity: 0.35;
  mix-blend-mode: overlay;
}

.contact-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.45) 100%
  );
}

/* ================================
   CONTACT – SPLIT LAYOUT
================================ */

.contact-inner {
  position: relative;
  z-index: 2;

  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* LEFT COPY */

.contact-copy h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #ffffff;
}

.contact-copy p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
}

.contact-meta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* FORM CONTAINER */

.contact-form-wrap {
  display: flex;
  justify-content: center;
}

.contact-form {
  width: 100%;
  max-width: 420px;

  padding: 40px 36px;
  border-radius: 22px;

  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);

  color: #ffffff;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.35);
}

/* BUTTON */

.contact-form button {
  margin-top: 12px;
  padding: 14px;
  border-radius: 999px;

  background: #E2C1B5;
  color: #0f0f14;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;

  border: none;
  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(226,193,181,0.35);
}

@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    padding: 120px 24px;
    gap: 60px;
  }

  .contact-copy h1 {
    font-size: 48px;
  }
}

/* ================================
   CONTACT – SUCCESS STATE
================================ */

.contact-success {
  margin-top: 32px;
  padding: 32px 36px;
  border-radius: 22px;

  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);

  text-align: center;
}

.contact-success h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.contact-success p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

/* ================================
   CONTACT – LOADING STATE
================================ */

.contact-submit {
  position: relative;
}

.contact-submit.loading {
  pointer-events: none;
  opacity: 0.75;
}

.contact-submit.loading .btn-text {
  opacity: 0.85;
}

/* ================================
   CONTACT – PAGE LAYOUT RESET
================================ */

.contact-page {
  background: transparent;
}

.contact-section {
  padding: 120px 80px;
  min-height: auto;
  display: grid;
  place-items: center;
}

.contact-section {
  min-height: unset !important;
}

/* ================================
   CONTACT – SOCIAL ICONS
================================ */

.contact-socials {
  margin-top: 32px;
}

.contact-socials-title {
  display: block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}

.contact-social-links {
  display: flex;
  gap: 18px;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);

  transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: #e2c1b5; /* accent */
}

.social-icon:hover {
  transform: translateY(-3px);
  background: rgba(226,193,181,0.18);
}

/* ================================
   CONTACT – INPUT STATES
================================ */

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;

  font-size: 14px;
  transition: border 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}

/* ✨ Focus state */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;

  background: rgba(255,255,255,0.06);
  border-color: rgba(226,193,181,0.6);

  box-shadow:
    0 0 0 1px rgba(226,193,181,0.35),
    0 8px 24px rgba(0,0,0,0.4);
}

/* Filled inputs feel “locked in” */
.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
  background: rgba(255,255,255,0.06);
}

/* Hover feedback (very subtle) */
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255,255,255,0.25);
}

/* ================================
   CONTACT – SUBMIT BUTTON
================================ */

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 16px 0;

  border-radius: 999px;
  border: none;
  cursor: pointer;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: linear-gradient(
    135deg,
    #e2c1b5,
    #d6b0a4
  );

  color: #1a1a1a;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

/* Hover = intent */
.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.4);
  filter: brightness(1.05);
}

/* Active = pressed */
.contact-form button:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}

/* Screen-reader only labels (SEO + accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
