:root {
  --cherry: #8b1947;
  --soft-cherry: #b86a86;
  --dusty-gray: #b6adb1;

  --black: #000000;
  --soft-black: #151515;
  --gray: #606060;
  --white: #ffffff;

  --page-padding: clamp(24px, 5vw, 80px);
}

/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* HEADER */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;

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

  padding: 32px var(--page-padding);
}

.logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

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

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;

  display: flex;
  align-items: flex-end;

  overflow: hidden;
  padding:
    150px
    var(--page-padding)
    clamp(56px, 7vw, 100px);

  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(184, 106, 134, 0.32) 0%,
      rgba(139, 25, 71, 0.18) 26%,
      transparent 54%
    ),
    radial-gradient(
      circle at 62% 75%,
      rgba(182, 173, 177, 0.18) 0%,
      transparent 42%
    ),
    linear-gradient(
      120deg,
      #000000 0%,
      #101010 48%,
      #231b1f 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(1100px, 100%);
}

.eyebrow {
  margin-bottom: 28px;

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

  color: rgba(255, 255, 255, 0.58);
}

.hero h1 {
  max-width: 1050px;

  font-size: clamp(64px, 9.5vw, 150px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.hero-intro {
  max-width: 620px;
  margin-top: 40px;

  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.72);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 40px;

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

.hero-link span {
  color: var(--soft-cherry);
  font-size: 20px;

  transition: transform 0.2s ease;
}

.hero-link:hover span {
  transform: translateX(5px);
}

/* MOBILE */

@media (max-width: 700px) {
  .site-header {
    padding-top: 24px;
  }

  .nav {
    gap: 18px;
  }

  .nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 90px);
  }

  .hero-intro {
    margin-top: 30px;
    font-size: 18px;
  }
}
/* SELECTED WORK */

.work-section {
  padding:
    clamp(90px, 10vw, 160px)
    var(--page-padding);
  background: var(--white);
  color: var(--black);
}

.section-heading {
  margin-bottom: 48px;
}

.section-number {
  margin-bottom: 10px;

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: var(--cherry);
}

.section-heading h2 {
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}


/* GRID */

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


/* PROJECT */

.project-card {
  position: relative;

  min-height: 520px;

  display: block;
  overflow: hidden;

  background: #222;
  color: var(--white);

  isolation: isolate;
}

.project-card::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -2;

  background-position: center;
  background-size: cover;

  transition:
    transform 0.6s cubic-bezier(.2,.7,.2,1);
}

.project-card::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.35) 34%,
      rgba(0, 0, 0, 0.05) 65%
    );
}

.project-card:hover::before {
  transform: scale(1.035);
}


/* TEMPORARY PROJECT BACKGROUNDS */

.project-crosswalk::before {
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    url("../assets/projects/crosswalk/crosswalk-portfolio.png");

  background-size: cover;
  background-position: center;
}

.project-fondimex::before {
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    url("../assets/projects/fondimex/fondimex-cover.png");

  background-size: cover;
  background-position: center;
}

.project-moneytree::before {
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    url("../assets/projects/moneytree/moneytree-cover.png");

  background-size: cover;
  background-position: center;
}

.project-edtech::before {
  background-image:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.12) 55%,
      rgba(0, 0, 0, 0.82) 100%
    ),
    url("../assets/projects/edtech/edtech-cover.png");

  background-size: cover;
  background-position: center;
}


/* PROJECT INFORMATION */

.project-info {
  position: absolute;

  right: clamp(22px, 3vw, 40px);
  bottom: clamp(22px, 3vw, 40px);

  width: min(440px, 78%);

  text-align: right;
}

.project-meta {
  margin-bottom: 12px;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;

  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.65);
}

.project-info h3 {
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.project-info > p:last-child {
  margin-top: 14px;
  margin-left: auto;

  max-width: 360px;

  font-size: 15px;
  line-height: 1.45;

  color: rgba(255, 255, 255, 0.72);
}


/* PROJECT GRID RESPONSIVE */

@media (max-width: 900px) {

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

  .project-card {
    min-height: 480px;
  }

}


@media (max-width: 600px) {

  .work-section {
    padding-top: 80px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .project-card {
    min-height: 430px;
  }

  .project-info {
    width: 84%;
  }

}
/* ========================================
   CASE STUDIES — COMPACT V1
======================================== */


/* CASE HEADER */

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding:
    24px
    var(--page-padding);

  background: var(--black);
}

.case-header a {
  color: var(--white);
  text-decoration: none;
}

.back-link {
  font-size: 14px;
  opacity: 0.7;

  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 1;
}

.case-logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}


/* CASE STUDY BASE */

.case-study {
  background: var(--white);
  color: var(--black);
}


/* HERO */

.case-hero {
  max-width: 1360px;
  margin: 0 auto;

  padding:
    clamp(64px, 7vw, 100px)
    var(--page-padding)
    clamp(44px, 5vw, 68px);
}

.case-meta {
  margin-bottom: 18px;

  color: var(--cherry);

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

.case-hero h1 {
  max-width: 1100px;

  font-size: clamp(64px, 8vw, 126px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.case-title-accent {
  color: var(--cherry);
}

.case-summary {
  max-width: 820px;

  margin-top: 28px;

  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.35;

  color: var(--gray);
}


/* PROJECT SNAPSHOT */

.case-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 24px;

  max-width: 1360px;
  margin: 0 auto;

  padding:
    28px
    var(--page-padding);

  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

.case-detail span {
  display: block;

  margin-bottom: 8px;

  color: var(--gray);

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

.case-detail p {
  font-size: 16px;
  line-height: 1.4;
}


/* CONTENT SECTIONS */

.case-section {
  max-width: 1120px;
  margin: 0 auto;

  padding:
    clamp(44px, 4.5vw, 68px)
    var(--page-padding);
}

.case-section .section-number {
  margin-bottom: 16px;

  color: var(--cherry);
}

.case-section h2 {
  max-width: 820px;

  font-size: clamp(40px, 4.8vw, 66px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.case-body {
  max-width: 760px;

  margin-top: 20px;
  margin-left: auto;

  color: var(--gray);

  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
}

.case-body + .case-body {
  margin-top: 14px;
}

.case-body-compact {
  max-width: 820px;
}

.case-note {
  max-width: 760px;

  margin-top: 16px;
  margin-left: auto;

  color: var(--gray);

  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
}

.case-note-left {
  margin-left: auto;
}


/* ========================================
   CONCEPT → MVP PROCESS
======================================== */

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);

  gap: 10px;

  margin-top: 32px;
}

.process-item {
  min-height: 132px;

  padding: 16px;

  border-top: 2px solid var(--cherry);

  background: #f7f7f7;
}

.process-item span {
  display: block;

  margin-bottom: 18px;

  color: var(--cherry);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-item h3 {
  margin-bottom: 6px;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.process-item p {
  color: var(--gray);

  font-size: 13px;
  line-height: 1.4;
}


/* ========================================
   PRODUCT AREAS / LEARNINGS
======================================== */

.case-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 30px 52px;

  margin-top: 34px;
}

.case-columns > div {
  padding-top: 16px;

  border-top: 1px solid #d8d8d8;
}

.case-columns h3 {
  margin-bottom: 9px;

  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.case-columns p {
  max-width: 470px;

  color: var(--gray);

  font-size: 16px;
  line-height: 1.5;
}


/* ========================================
   PRODUCT SCREENS
======================================== */

.case-media-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;

  gap: 14px;

  width: min(100% - (var(--page-padding) * 2), 1050px);

  margin:
    4px
    auto
    38px;
}

.case-media {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;

  overflow: hidden;

  background: #f5f5f5;
}

.case-media img {
  display: block;

  width: 100%;
  height: 100%;

  max-height: 440px;

  object-fit: cover;
  object-position: center;
}

.case-media-featured img {
  object-fit: contain;
}


/* ========================================
   NEXT PROJECT
======================================== */

.next-project {
  padding:
    clamp(64px, 7vw, 96px)
    var(--page-padding);

  background: var(--black);
  color: var(--white);
}

.next-project p {
  margin-bottom: 14px;

  color: var(--dusty-gray);

  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-project a {
  display: inline-block;

  color: var(--white);

  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;

  transition: opacity 0.2s ease;
}

.next-project a:hover {
  opacity: 0.65;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 950px) {

  .case-details {
    grid-template-columns: repeat(2, 1fr);

    gap: 24px 20px;
  }

  .process-flow {
    grid-template-columns: repeat(3, 1fr);
  }

  .case-media-grid {
    grid-template-columns: 1fr 1fr;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

  .case-header {
    padding:
      18px
      var(--page-padding);
  }

  .case-logo {
    display: none;
  }

  .case-hero {
    padding:
      48px
      var(--page-padding)
      36px;
  }

  .case-meta {
    margin-bottom: 14px;
  }

  .case-hero h1 {
    font-size: clamp(54px, 18vw, 82px);
  }

  .case-summary {
    margin-top: 20px;

    font-size: 19px;
    line-height: 1.4;
  }


  /* SNAPSHOT */

  .case-details {
    grid-template-columns: repeat(2, 1fr);

    gap: 22px 16px;

    padding:
      24px
      var(--page-padding);
  }

  .case-detail p {
    font-size: 14px;
  }


  /* CONTENT */

  .case-section {
    padding:
      38px
      var(--page-padding);
  }

  .case-section .section-number {
    margin-bottom: 12px;
  }

  .case-section h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .case-body {
    margin-left: 0;
    margin-top: 16px;

    font-size: 17px;
    line-height: 1.5;
  }

  .case-body + .case-body {
    margin-top: 12px;
  }

  .case-note,
  .case-note-left {
    margin-left: 0;

    font-size: 13px;
  }


  /* PROCESS */

  .process-flow {
    grid-template-columns: repeat(2, 1fr);

    gap: 8px;

    margin-top: 26px;
  }

  .process-item {
    min-height: 118px;

    padding: 13px;
  }

  .process-item span {
    margin-bottom: 12px;
  }

  .process-item h3 {
    font-size: 16px;
  }

  .process-item p {
    font-size: 12px;
  }


  /* PRODUCT AREAS */

  .case-columns {
    grid-template-columns: 1fr;

    gap: 22px;

    margin-top: 26px;
  }

  .case-columns > div {
    padding-top: 13px;
  }

  .case-columns h3 {
    font-size: 21px;
  }

  .case-columns p {
    font-size: 15px;
  }


  /* IMAGES */

  .case-media-grid {
    grid-template-columns: 1fr;

    gap: 10px;

    width: calc(100% - (var(--page-padding) * 2));

    margin-bottom: 30px;
  }

  .case-media img {
    width: 100%;
    height: auto;

    max-height: none;

    object-fit: contain;
  }


  /* NEXT PROJECT */

  .next-project {
    padding:
      54px
      var(--page-padding);
  }

}
/* ========================================
   CASE STUDY — IMAGE INTERACTIONS
======================================== */

.case-media {
  cursor: zoom-in;

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

.case-media img {
  height: auto;
  max-height: 420px;

  object-fit: contain;

  transition: transform 0.35s ease;
}

@media (hover: hover) {

  .case-media:hover {
    transform: translateY(-5px);

    box-shadow:
      0 14px 32px rgba(0, 0, 0, 0.10);
  }

  .case-media:hover img {
    transform: scale(1.012);
  }

}
/* ========================================
   CASE STUDY — SCREEN GRID
======================================== */

.case-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;

  align-items: stretch;
}

.case-media-grid .case-media {
  width: 100%;
  height: 420px;

  padding: 24px;

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

  background: #f5f5f5;
}

.case-media-grid .case-media img {
  width: 100%;
  height: 100%;

  max-height: none;

  object-fit: contain;
  object-position: center;
}


/* MOBILE */

@media (max-width: 760px) {

  .case-media-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-media-grid .case-media {
    height: 280px;
    padding: 16px;
  }

}
/* ========================================
   CASE STUDY — LIGHTBOX
======================================== */

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;

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

  padding: clamp(20px, 4vw, 56px);

  background: rgba(0, 0, 0, 0.92);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: 100%;
  height: 100%;

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

.lightbox-image {
  display: block;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  transform: scale(0.97);
  opacity: 0;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.lightbox.is-open .lightbox-image {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;

  top: 20px;
  right: 24px;

  z-index: 2;

  width: 44px;
  height: 44px;

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

  border: 0;
  padding: 0;

  background: transparent;
  color: #ffffff;

  font-family: inherit;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  opacity: 0.72;

  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}


/* MOBILE */

@media (max-width: 650px) {

  .lightbox {
    padding: 56px 14px 20px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

}
/* ========================================
   ABOUT
======================================== */

.about-section {
  position: relative;

  padding:
    clamp(88px, 9vw, 140px)
    var(--page-padding);

  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f5f3f4 55%,
      #eee8eb 100%
    );

  color: var(--black);
}

.about-section .section-heading {
  margin-bottom: clamp(52px, 6vw, 84px);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

  gap: clamp(56px, 8vw, 120px);

  max-width: 1280px;
}

.about-intro h3 {
  max-width: 540px;

  margin: 0;

  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.05em;

  color: var(--black);
}

.about-intro h3::after {
  content: "";

  display: block;

  width: 64px;
  height: 3px;

  margin-top: 32px;

  background: var(--cherry);
}

.about-copy {
  max-width: 620px;
}

.about-copy p {
  margin: 0 0 22px;

  font-size: 18px;
  line-height: 1.65;

  color: var(--gray);
}

.about-copy p:first-child {
  font-size: 20px;
  line-height: 1.55;

  color: #303030;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy .about-personal {
  margin-top: 36px;
  padding-top: 26px;

  border-top: 1px solid rgba(0, 0, 0, 0.12);

  font-size: 16px;
  line-height: 1.6;
  font-style: italic;

  color: rgba(0, 0, 0, 0.55);
}


/* ========================================
   CONTACT
======================================== */

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

  min-height: 78vh;

  padding:
    clamp(90px, 9vw, 140px)
    var(--page-padding)
    40px;

  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      circle at 82% 28%,
      rgba(184, 106, 134, 0.28) 0%,
      rgba(139, 25, 71, 0.16) 28%,
      transparent 58%
    ),
    linear-gradient(
      120deg,
      #000000 0%,
      #111111 55%,
      #241a1f 100%
    );

  color: var(--white);
}

.contact-section .section-number {
  color: var(--soft-cherry);
}

.contact-section h2 {
  max-width: 1000px;

  margin: 26px 0 0;

  font-size: clamp(64px, 8.5vw, 132px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.065em;

  color: var(--white);
}

.contact-intro {
  max-width: 520px;

  margin-top: 38px;

  font-size: 18px;
  line-height: 1.55;

  color: rgba(255, 255, 255, 0.62);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;

  gap: 18px;

  margin-top: 44px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;

  padding:
    13px
    20px;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  color: var(--white);

  font-size: 16px;
  font-weight: 500;
  text-decoration: none;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.contact-links a:hover {
  transform: translateY(-3px);

  background: var(--cherry);
  border-color: var(--cherry);
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  gap: 24px;

  margin-top: auto;
  padding-top: 96px;

  font-size: 13px;

  color: rgba(255, 255, 255, 0.42);
}

.contact-footer p {
  margin: 0;
}

.contact-footer a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-footer a:hover {
  color: var(--white);
  transform: translateY(-2px);
}


/* ========================================
   ABOUT + CONTACT — MOBILE
======================================== */

@media (max-width: 760px) {

  .about-section {
    padding:
      72px
      var(--page-padding);
  }

  .about-section .section-heading {
    margin-bottom: 42px;
  }

  .about-content {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .about-intro h3 {
    max-width: 100%;

    font-size: clamp(34px, 10vw, 48px);
  }

  .about-intro h3::after {
    margin-top: 24px;
  }

  .about-copy {
    max-width: 100%;
  }

  .about-copy p,
  .about-copy p:first-child {
    font-size: 17px;
  }

  .about-copy .about-personal {
    margin-top: 28px;
    padding-top: 22px;

    font-size: 15px;
  }


  .contact-section {
    min-height: 72vh;

    padding:
      72px
      var(--page-padding)
      30px;
  }

  .contact-section h2 {
    margin-top: 22px;

    font-size: clamp(58px, 18vw, 88px);
  }

  .contact-intro {
    margin-top: 30px;

    font-size: 17px;
  }

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

    gap: 14px;

    margin-top: 36px;
  }

  .contact-links a {
    font-size: 15px;
  }

  .contact-footer {
    align-items: flex-start;

    padding-top: 70px;

    font-size: 12px;
  }

}
