
:root {
  --ink: #171717;
  --paper: #f4f1eb;
  --project-color: #f05b36;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.navigation {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.site-name {
  font-weight: 800;
  font-size: 16px;
}

.navigation nav {
  display: flex;
  gap: 24px;
}

.hero {
  height: 100svh;
  min-height: 550px;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: #191d25;
  color: white;
}

.
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7% 6%;
  width: 100%;
}

.hero-content p,
.section-heading p,
.about-section > p:first-child {
  font-size: 12px;
  letter-spacing: 0.15em;
}

.hero h1 {
  font-size: clamp(70px, 13vw, 210px);
  line-height: .9;
  letter-spacing: -.07em;
  margin: 25px 0;
}

.explore {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: .15em;
}

.work-section {
  padding: 100px 6% 140px;
}

.section-heading h2,
.about-section h2 {
  font-size: clamp(42px, 7vw, 100px);
  letter-spacing: -.06em;
  line-height: 1;
  margin: 15px 0 65px;
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px 8%;
  align-items: center;
}

.work-card {
  display: block;
  min-width: 0;
}

.work-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.film-card img {
  aspect-ratio: 16 / 10;
}

.photo-card {
  transform: rotate(5deg);
  margin-top: 100px;
}


.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.work-card span {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .12em;
}

.film-card {
  transition: transform .3s ease;
}

.film-card:hover {
  transform: scale(1.025);
}

.diary-card {
  background: #e8a4bc;
  padding: 40px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(-4deg);
}

.diary-card p {
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.1;
}


.flipside-door {
  position: relative;
  background: #FF672E;
  color: white;
  width: 150px;
  max-width: 100%;
  height: 150px;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;;
}



.door-picture {
  font-size: 22px;
  font-weight: bold;
  max-width: 80%;
  text-align: center;
}

.peel-corner {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg,
    #f4f1eb 0%,
    #f4f1eb 50%,
    #ffdd67 51%,
    #ffdd67 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transition: width .3s, height .3s;
}

.flipside-door:hover .peel-corner,
.flipside-door:focus-visible .peel-corner {
  width: 135px;
  height: 135px;
}

.door-label {
  position: absolute;
  right: 15px;
  bottom: 15px;
  color: #171717;
  font-size: 10px;
  font-weight: bold;
  z-index: 1;
}

.about-section {
  background: #1b1b1b;
  color: white;
  padding: 110px 6%;
}

.about-section > p:last-child {
  max-width: 550px;
  font-size: 20px;
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

.project-page,
.flipside-page {
  min-height: 100svh;
  position: relative;
}

.project-page {
  background: var(--project-color);
  color: white;
}

.back-link {
  position: absolute;
  top: 35px;
  left: 5%;
  font-size: 12px;
  letter-spacing: .12em;
}

.project-center {
  min-height: 100svh;
  padding: 100px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-placeholder {
  width: min(65%, 780px);
  aspect-ratio: 16 / 9;
  background: #171717;
  display: grid;
  place-items: center;
  font-size: 13px;
  letter-spacing: .12em;
  text-align: center;
}

.project-center h1 {
  margin: 30px 0 0;
  font-size: clamp(32px, 5vw, 72px);
}

.project-center p {
  font-size: 11px;
  letter-spacing: .14em;
}

.project-footer {
  position: absolute;
  bottom: 30px;
  right: 5%;
  font-size: 12px;
}

.flipside-page {
  background: #f0a8ca;
  color: #422345;
}

.flipside-content {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}


.flipside-content h1 {
  font-size: 32px;
  color: #a43d28;
  letter-spacing: 0;
  margin: 15px 0;
  text-align: left;
}


.flipside-content {
  max-width: 680px;
  margin: 50px 0;
  text-align: left;
}


.flipside-content {
  max-width: 680px;
  margin: 50px 0;
  text-align: left;
}

@keyframes slowZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 700px) {
  .navigation {
    padding: 22px 5%;
    align-items: flex-start;
  }

  .navigation nav {
    gap: 12px;
    font-size: 10px;
  }

  .hero-content {
    padding-bottom: 90px;
  }

  .collage {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .photo-card {
    width: 75%;
    margin: 0 0 0 auto;
  }

  .diary-card {
    width: 85%;
  }

  .video-placeholder {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-image { animation: none; }
  .film-card,
  .peel-corner { transition: none; }
}

/* CINEMATIC HOMEPAGE VIDEO */

.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 0;
}

/* Subtle dark layer to keep text readable */

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55)
  );

  z-index: 1;
}

/* Keep your name above the video */

.hero-content {
  position: relative;
  z-index: 2;
}

/* Fade your name in when the page loads */

.hero-content {
  animation: heroFadeIn 1.5s ease-out both;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility: reduce animation when requested */

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }

  .hero-video {
    display: none;
  }
}

/* INDIVIDUAL FILM PAGES */

.project-page {
  background: var(--project-color);
  color: white;
  transition: background-color 0.3s ease;
}

.project-video {
  width: min(65%, 780px);
  aspect-ratio: 16 / 9;
  background: #171717;
}

.project-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-description {
  max-width: 450px;
  margin-top: 22px;
  text-align: center;
  font-size: 15px !important;
  line-height: 1.6;
  letter-spacing: normal !important;
}

@media (max-width: 700px) {
  .project-video {
    width: 100%;
  }
}

/* LEFTEAR — SMALL SQUARE FILM FRAMES */

.work-section {
  padding: 120px 8% 180px;
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 150px 12%;

  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}

/* All image cards have the same dimensions */

.collage .work-card {
  width: 100%;
  max-width: 240px;
  margin: 0;
  transform: none;
}

.collage .work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Slightly staggered arrangement */

.collage .work-card:nth-child(even) {
  margin-top: 100px;
}

/* Small editorial labels */

.collage .work-card span {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Mobile layout */

@media (max-width: 700px) {
  .work-section {
    padding: 80px 6% 110px;
  }

  .collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 65px 8%;
  }

  .collage .work-card {
    max-width: 100%;
  }

  .collage .work-card:nth-child(even) {
    margin-top: 55px;
  }
}

/* Subtle interaction for film thumbnails */

.collage a.work-card img {
  transition: transform 0.35s ease;
}

@media (hover: hover) {
  .collage a.work-card:hover img {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .collage a.work-card img {
    transition: none;
  }
}

/* =====================================
   LEFTEAR — SCATTERED GALLERY
   ===================================== */

/* A large, open canvas */

.work-section {
  padding: 120px 6% 180px;
}

.collage {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1100px;
  min-height: 1250px;
  margin: 0 auto;
}

/* Small, uniformly square photographs */

.collage .work-card {
  position: absolute;
  width: 240px;
  max-width: none;
  margin: 0;
  transform: none;
}

.collage .work-card img {
  display: block;
  width: 240px;
  height: 240px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* First film — upper left */

.collage .film-card {
  top: 70px;
  left: 5%;
}

/* Second photograph — farther right */

.collage .photo-card {
  top: 380px;
  right: 8%;
  left: auto;
  margin: 0;
}

/* Diary — lower left */

.collage .diary-card {
  top: 730px;
  left: 13%;
  width: 240px;
  min-height: 240px;
  padding: 24px;
  transform: rotate(-4deg);
}

/* Flipside — lower left */


.flipside-card {
  position: absolute;
  left: 8%;
  right: auto;
  top: 60%;
  width: 190px;
}


/* Keep labels small */

.collage .work-card span {
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* Responsive layout for phones */

@media (max-width: 700px) {
  .collage {
    min-height: 1000px;
  }

  .collage .work-card {
    width: min(42%, 240px);
  }

  .collage .work-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .collage .film-card {
    top: 30px;
    left: 0;
  }

  .collage .photo-card {
    top: 250px;
    right: 0;
    left: auto;
    margin: 0;
  }

  .collage .diary-card {
    top: 500px;
    left: 4%;
    width: 45%;
    min-height: 180px;
  }

  .collage .flipside-door {
    top: 750px;
    right: 0;
    left: auto;
    width: 45%;
    height: 190px;
  }
}

/* =====================================
   LEFTEAR — SIX-ITEM GALLERY
   ===================================== */

@media (min-width: 701px) {

  .collage {
    min-height: 1900px;
  }

  .collage .film-card {
    top: 70px;
    left: 5%;
  }

  .collage .photo-card {
    top: 380px;
    right: 8%;
    left: auto;
  }

  .collage .third-film-card {
    top: 700px;
    left: 12%;
  }

  .collage .fourth-film-card {
    top: 1030px;
    right: 12%;
    left: auto;
  }

  .collage .diary-card {
    top: 1350px;
    left: 7%;
  }

  .collage .flipside-door {
    top: 1570px;
    right: 7%;
  }
}

/* Mobile positions */

@media (max-width: 700px) {

  .collage {
    min-height: 1550px;
  }

  .collage .film-card {
    top: 30px;
    left: 0;
  }

  .collage .photo-card {
    top: 250px;
    right: 0;
    left: auto;
  }

  .collage .third-film-card {
    top: 490px;
    left: 4%;
  }

  .collage .fourth-film-card {
    top: 740px;
    right: 0;
    left: auto;
  }

  .collage .diary-card {
    top: 990px;
    left: 4%;
  }

  .collage .flipside-door {
    top: 1240px;
    right: 0;
    left: auto;
  }
}

/* LEFTEAR HANDWRITTEN HOMEPAGE LOGO */

.hero-logo {
  margin: 25px 0;
  line-height: 1;
}

.hero-logo img {
  display: block;
  width: min(65vw, 650px);
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .hero-logo img {
    width: 85vw;
  }
}

/* ABOUT — PASSPORT LAYOUT */

.about-section {
  background: #080808;
  color: white;
  padding: 45px 5% 90px;
}

.about-header {
  margin-bottom: 30px;
}

.about-header span {
  color: #F2673E;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.04em;
}

.about-passport {
  width: 100%;
}

.about-passport img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(0%);
}

.about-bio {
  max-width: 660px;
  margin: 30px 0 0 6%;
}

.about-bio p {
  font-family: "Courier New", monospace;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.6;
  color: #F0F0F0;
}

@media (max-width: 700px) {
  .about-section {
    padding: 30px 5% 70px;
  }

  .about-bio {
    margin: 25px 0 0;
  }
}

/* HANDWRITTEN ABOUT NAVIGATION */

.nav-about {
  display: inline-flex;
  align-items: center;
}

.nav-about img {
  display: block;
  width: 72px;
  height: auto;
  max-height: 35px;
  object-fit: contain;
}

/* LEFTEAR HANDWRITTEN NAVIGATION */

.nav-lettering {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-lettering img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 110px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.nav-lettering:hover img {
  transform: rotate(-4deg) scale(1.08);
}

@media (max-width: 700px) {
  .nav-lettering img {
    height: 20px;
    max-width: 75px;
  }
}

/* FINAL NAVIGATION ADJUSTMENTS */

.nav-lettering img {
  height: 38px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.nav-flipside {
  font-size: 28px;
  color: white;
  line-height: 1;
}

/* STRANGER GALLERY THUMBNAIL */


.film-card .film-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* STRANGER — ORIGINAL IMAGE PROPORTIONS */

.film-card {
  width: 240px;
  height: auto;
  aspect-ratio: auto;
}

.film-card .film-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* STRANGER — NATURAL IMAGE PROPORTIONS */

.work-card.film-card {
  width: 240px;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.work-card.film-card .film-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* LATINO ENOUGH — REMOVE SQUARE SHAPE */

.work-card.photo-card {
  width: 240px;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.work-card.photo-card .latino-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* PROJECT FOUR — NATURAL IMAGE PROPORTIONS */

.work-card.fourth-film-card {
  width: 240px;
  height: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.work-card.fourth-film-card .fourth-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

/* ANALOG ARCHIVE */

.analog-page {
  min-height: 100vh;
  background: #5BCBFF;
  color: #ffff;
  padding: 45px 7%;
}

.analog-page h1 {
  text-align: center;
  font-size: clamp(32px, 6vw, 75px);
  margin: 60px 0;
}

.analog-page h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.analog-films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.analog-films video {
  display: block;
  width: 100%;
  height: auto;
}


/* COMPACT 35MM PHOTO GALLERY */

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  align-items: start;
}

.photo-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 700px) {
  .analog-films {
    grid-template-columns: 1fr;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FLIPSIDE */

.flipside-page {
  min-height: 100vh;
  background: #f5f0e7;
  color: #24201d;
  padding: 45px 7%;
}

.flipside-content {
  max-width: 680px;
  margin: 90px auto;
}

.flipside-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #a43d28;
}

.flipside-content h1 {
  font-size: clamp(65px, 12vw, 130px);
  color: #a43d28;
  letter-spacing: -5px;
  margin: 15px 0;
}

.flipside-intro {
  font-size: 17px;
  margin-bottom: 60px;
}

.flipside-links {
  display: flex;
  flex-direction: column;
}

.flipside-links a {
  color: #24201d;
  text-decoration: none;
  font-size: clamp(19px, 3vw, 28px);
  padding: 22px 0;
  border-bottom: 1px solid #c9bfb4;
  transition: color 0.2s, padding-left 0.2s;
}

.flipside-links a:hover {
  color: #a43d28;
  padding-left: 12px;
}

.flipside-page.hidden {
  display: none;
}

/* FIX FLIPSIDE DOOR SIZE AND POSITION */

.work-card.flipside-door {
  position: absolute;
  left: 8%;
  right: auto;
  width: 190px;
  max-width: 190px;
  height: 190px;
  box-sizing: border-box;
}
/* SMALLER ONLINE ARCHIVE TITLE */

.work-section .section-heading h2 {
  font-size: clamp(26px, 5vw, 75px);
}

