/* ========== FONTS ========== */
@font-face {
  font-family: 'Satoshi';
  src: url('https://framerusercontent.com/third-party-assets/fontshare-css2/css?family=Satoshi:wght@500;700;900&display=swap') format('woff2');
  font-display: swap;
}

@import url('https://api.fontshare.com/v2/css?f[]=satoshi@500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ========== LAYOUT ========== */
.page-wrapper {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

.content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background-color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.3s;
}

.nav.nav--dark {
  background-color: rgba(0, 0, 0, 0.6);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 38px;
  transition: background-color 0.2s;
}

.nav__logo:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(67% 66% at 40% 35%, #fff700 0%, #ff5e00 73%, #f50100 100%);
  box-shadow: 1.5px 2px 40px 1px #f80, 2px 4px 15px 1px #f80;
  flex-shrink: 0;
}

.nav__name {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000;
}

.nav--dark .nav__name {
  color: #fff;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgb(95, 95, 95);
  padding: 10px 12px;
  border-radius: 30px;
  position: relative;
  transition: color 0.24s ease, background-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
}

.nav__link:not([href*="drive.google.com"])::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.nav__link:not([href*="drive.google.com"]):hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000;
  transform: translateY(-1px);
}

.nav__link:not([href*="drive.google.com"]):hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* Resume gets a clear CTA treatment separate from Work/About links. */
.nav__link[href*="drive.google.com"] {
  margin-left: 2px;
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #111;
}

.nav__link[href*="drive.google.com"]:hover {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.nav--dark .nav__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav--dark .nav__link:not([href*="drive.google.com"]):hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.nav--dark .nav__link[href*="drive.google.com"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.nav--dark .nav__link[href*="drive.google.com"]:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

.nav__linkedin {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background-color: rgb(120, 120, 120);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.2s;
}

.nav__linkedin:hover {
  background-color: rgb(80, 80, 80);
}

.nav__linkedin img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 92px;
  background: #fff;
  position: relative;
}

.hero__content {
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero__heading {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.2;
  color: rgb(109, 109, 109);
}

.hero__heading strong {
  color: rgb(0, 0, 0);
  font-weight: 700;
}

/* ========== GRADIENT TRANSITION ========== */
.gradient-transition {
  height: 537px;
  background: radial-gradient(81% 100% at 50% 0%, #fff 0%, #ffd203 30%, #ff9800 48%, #ff5f03 63%, #bf0600 75%, #000 100%);
  filter: blur(0px);
  position: relative;
}

/* ========== DARK SECTION ========== */
.dark-section {
  background: #000;
  color: #fff;
  padding-bottom: 120px;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 80px 0 60px;
}

.section-header__line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.section-header__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(255, 140, 0);
}

/* ========== WORK SECTION HEADING ========== */
.work-heading {
  text-align: center;
  padding: 80px 0 60px;
}

.work-heading__text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: rgb(150, 150, 150);
}

/* ========== WORK CARDS ========== */
.work-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.work-card {
  background: #fff;
  border-radius: 56px;
  border: 2px solid #000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 75px rgba(0, 0, 0, 0.07);
}

.work-card__images {
  display: flex;
  gap: 16px;
  padding: 32px 32px 0;
}

.work-card__images--single {
  padding: 32px 32px 0;
}

.work-card__img-wrapper {
  flex: 1;
  border-radius: 32px;
  border: 1px solid #e7e7e7;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
  background: #f5f5f5;
}

.work-card__img-wrapper img,
.work-card__img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__body {
  padding: 32px 48px 40px;
}

.work-card__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1.3;
  color: rgb(0, 0, 0);
  margin-bottom: 12px;
}

.work-card__title span {
  color: rgb(150, 150, 150);
}

.work-card__desc {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: rgb(111, 111, 111);
}

/* ========== PLAYGROUND CARDS ========== */
.playground-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.playground-card {
  background: #000;
  border-radius: 56px;
  border: 2px solid #fff;
  overflow: hidden;
  height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.playground-card:hover {
  transform: translateY(-4px);
}

.playground-card__media {
  flex: 1;
  position: relative;
  overflow: hidden;
}

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

.playground-card__bg-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.playground-card__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.playground-card__video-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 144px;
  overflow: hidden;
}

.playground-card__video-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 144px;
}

.playground-card__body {
  padding: 24px 32px 32px;
}

.playground-card__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: rgb(255, 255, 255);
  margin-bottom: 8px;
}

.playground-card__title span {
  color: rgb(150, 150, 150);
}

.playground-card__tech {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: rgb(150, 150, 150);
}

/* ========== THOUGHTS CARDS ========== */
.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thoughts-card {
  background: #000;
  border-radius: 56px;
  border: 2px solid #fff;
  overflow: hidden;
  height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.thoughts-card:hover {
  transform: translateY(-4px);
}

.thoughts-card__media {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.thoughts-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thoughts-card__body {
  padding: 24px 32px 32px;
}

.thoughts-card__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: rgb(150, 150, 150);
  margin-bottom: 8px;
}

.thoughts-card__title strong {
  color: rgb(255, 255, 255);
  font-weight: 700;
}

.thoughts-card__meta {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  color: rgb(150, 150, 150);
}

/* ========== FOOTER ========== */
.footer {
  padding: 80px 0 60px;
  text-align: center;
}

.footer__email {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: rgb(150, 150, 150);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.footer__email:hover {
  color: #fff;
}

.footer__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(67% 66% at 40% 35%, #fff700 0%, #ff5e00 73%, #f50100 100%);
  box-shadow: 1.5px 2px 20px 1px #f80;
  flex-shrink: 0;
}

/* ========== CASE STUDY PAGES ========== */
.case-study {
  padding-top: 92px;
}

.case-study__hero {
  padding: 80px 0 60px;
  max-width: 900px;
  margin: 0 auto;
}

.case-study__tag {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: rgb(150, 150, 150);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.case-study__title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 48px;
  line-height: 1.15;
  color: #000;
  margin-bottom: 24px;
}

.case-study__summary {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: rgb(109, 109, 109);
  margin-bottom: 32px;
}

.case-study__meta {
  display: flex;
  gap: 40px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgb(150, 150, 150);
}

.case-study__meta strong {
  font-weight: 700;
  color: rgb(109, 109, 109);
}

.case-study__section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.case-study__section-label {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(150, 150, 150);
  margin-bottom: 16px;
}

.case-study__section-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  color: #000;
  margin-bottom: 16px;
}

.case-study__section-text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: rgb(109, 109, 109);
}

.case-study__image {
  width: 100%;
  border-radius: 24px;
  margin: 24px 0;
  border: 1px solid #e7e7e7;
}

.case-study__quote {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: rgb(109, 109, 109);
  font-style: italic;
  border-left: 3px solid rgb(255, 140, 0);
  padding-left: 24px;
  margin: 32px 0;
}

.case-study__impact {
  background: #f8f8f8;
  border-radius: 32px;
  padding: 48px;
  margin: 40px 0;
}

.case-study__impact-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: #000;
  margin-bottom: 16px;
}

.case-study__impact-text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.6;
  color: rgb(109, 109, 109);
}

/* Pills / Tags */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pill {
  border: 2px solid #e0e0e0;
  border-radius: 40px;
  padding: 8px 20px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: rgb(109, 109, 109);
}

/* ========== ABOUT PAGE ========== */
.about {
  padding-top: 92px;
}

.about__hero {
  padding: 120px 0 60px;
  max-width: 800px;
  margin: 0 auto;
}

.about__tagline {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 54px;
  color: #000;
  margin-bottom: 40px;
}

.about__text {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.6;
  color: rgb(109, 109, 109);
  margin-bottom: 24px;
}

.about__links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 60px;
}

.about__link-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid #e7e7e7;
  transition: background-color 0.2s, transform 0.2s;
}

.about__link-card:hover {
  background-color: #f8f8f8;
  transform: translateY(-2px);
}

.about__link-card-text {
  flex: 1;
}

.about__link-card-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #000;
  margin-bottom: 4px;
}

.about__link-card-meta {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: rgb(150, 150, 150);
}

/* ========== BACK LINK ========== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgb(150, 150, 150);
  padding: 40px 0;
  transition: color 0.2s;
}

.back-link:hover {
  color: #000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1199px) {
  .hero__heading {
    font-size: 42px;
  }

  .work-card__title {
    font-size: 28px;
  }

  .work-card__desc {
    font-size: 20px;
  }

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

  .playground-card,
  .thoughts-card {
    height: 500px;
  }

  .work-heading__text {
    font-size: 36px;
  }
}

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

  .nav__linkedin {
    display: none;
  }

  .content-container {
    padding: 0 20px;
  }

  .hero {
    padding-top: 72px;
  }

  .hero__heading {
    font-size: 32px;
  }

  .gradient-transition {
    height: 300px;
  }

  .work-heading__text {
    font-size: 28px;
  }

  .work-card {
    border-radius: 32px;
  }

  .work-card__images {
    flex-direction: column;
    padding: 16px 16px 0;
  }

  .work-card__img-wrapper {
    border-radius: 20px;
  }

  .work-card__body {
    padding: 20px 24px 28px;
  }

  .work-card__title {
    font-size: 24px;
  }

  .work-card__desc {
    font-size: 18px;
  }

  .playground-grid,
  .thoughts-grid {
    grid-template-columns: 1fr;
  }

  .playground-card,
  .thoughts-card {
    height: 450px;
    border-radius: 32px;
  }

  .section-header {
    padding: 60px 0 40px;
  }

  .footer__email {
    font-size: 20px;
  }

  .case-study__hero {
    padding: 40px 0 40px;
  }

  .case-study__title {
    font-size: 32px;
  }

  .case-study__summary {
    font-size: 20px;
  }

  .about__tagline {
    font-size: 36px;
  }

  .about__hero {
    padding: 80px 0 40px;
  }
}
