@font-face {
  font-family: 'Fake Receipt';
  src: url('./assets:/Fake%20Receipt%20Font/Files/Fake%20Receipt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-45light-trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-55roman-trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-56italic-trial.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-65medium-trial.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

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

body {
  background-color: #ffffff;
  font-family: 'Haas Grotesk', sans-serif;
  padding: 0 9px;
}

.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 22px 24px;
}

.nav-item.active,
.nav-item:not(.nav-unavailable):hover {
  position: relative;
}

.nav-item.active::after,
.nav-item:not(.nav-unavailable):hover::after {
  content: '';
  position: absolute;
  inset: -5px -10px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.nav-unavailable {
  position: relative;
  cursor: default;
}

.nav-unavailable::before,
.nav-unavailable::after {
  content: '';
  position: absolute;
  width: calc(100% + 20px);
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(26,26,26,0.7) 12%, rgba(26,26,26,0.88) 35%, rgba(26,26,26,0.72) 55%, rgba(26,26,26,0.85) 78%, rgba(26,26,26,0.55) 92%, transparent);
  filter: blur(0.4px);
  top: 50%;
  left: -10px;
  opacity: 0;
  pointer-events: none;
}

.nav-unavailable::before { transform: translateY(-50%) rotate(12deg); }
.nav-unavailable::after  { transform: translateY(-50%) rotate(-12deg); }

.nav-unavailable:hover::before,
.nav-unavailable:hover::after {
  opacity: 1;
}

.nav-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #1a1a1a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
}

.nav-unavailable:hover .nav-tip {
  opacity: 1;
}

.nav-item {
  font-family: 'Fake Receipt', monospace;
  font-size: 22px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -1px;
  word-spacing: -2px;
}

.hero {
  width: 100vw;
  margin-left: -9px;
  height: 45vh;
  background-color: #C8C8C8;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  filter: sepia(0.3) contrast(1.05) brightness(0.92);
}

@keyframes grain {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 2%); }
  30%  { transform: translate(-1%, 3%); }
  40%  { transform: translate(3%, -2%); }
  50%  { transform: translate(-2%, 2%); }
  60%  { transform: translate(2%, -3%); }
  70%  { transform: translate(-3%, 1%); }
  80%  { transform: translate(1%, -2%); }
  90%  { transform: translate(-1%, 3%); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  animation: grain 0.4s steps(1) infinite;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.45) 100%);
}

.hero-label {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 26px;
  letter-spacing: -1px;
  color: #1a1a1a;
  background-color: #e8e8e8;
  padding: 6px 12px;
}

/* ── Project intro ────────────────────────────────── */

.project-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 24px 48px;
}

.project-description {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.2;
  color: #1a1a1a;
  max-width: 560px;
  margin-top: 32px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
  margin-bottom: 56px;
}

.tag {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 13px;
  color: #444;
  background-color: #e0e0e0;
  padding: 6px 12px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  width: 280px;
  margin-left: auto;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #1a1a1a;
  padding: 5px 0;
  border-bottom: 1px solid #e8e8e8;
}

.meta-label {
  font-weight: 300;
  color: #555;
}

.meta-value {
  font-weight: 400;
}

/* ── Approach ─────────────────────────────────────── */

.approach {
  display: flex;
  align-items: flex-start;
  padding: 120px 24px 48px;
}

.approach-label {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.approach-columns {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.approach-text {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
  color: #1a1a1a;
  width: 270px;
  flex-shrink: 0;
}

/* ── Image blocks ─────────────────────────────────── */

.image-block {
  margin-bottom: 18px;
}

.image-block.full {
  padding: 0 18px;
  margin-bottom: 18px;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #C8C8C8;
  display: block;
  object-fit: cover;
}

.image-placeholder.portrait {
  aspect-ratio: 5 / 6;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  position: relative;
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}

.cap-arrow {
  font-family: Arial, Helvetica, sans-serif;
}

.caption {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #888;
  padding: 6px 0 0;
}

/* ── Two-column image grid ────────────────────────── */

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
  padding: 0 18px;
}

.image-grid .image-block {
  margin-bottom: 0;
}

/* ── Quote ────────────────────────────────────────── */

.quote {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: #1a1a1a;
  padding: 80px 24px;
  max-width: 820px;
}

/* ── Visual identity text section ────────────────── */

.text-section {
  display: flex;
  align-items: flex-start;
  padding: 80px 24px;
}

.section-label {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  flex-shrink: 0;
}

.section-columns {
  display: flex;
  gap: 40px;
  margin-left: auto;
}

.section-text {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.25;
  color: #1a1a1a;
  width: 270px;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────── */

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 50px;
  border-top: 1px solid #e8e8e8;
}

.footer-name {
  font-family: 'Fake Receipt', monospace;
  font-size: 27px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: -3px;
  word-spacing: -4px;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.footer-city {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.footer-email {
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #1a1a1a;
}

@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 18px 16px 22px;
    justify-content: center;
  }

  .nav-item {
    font-size: 16px;
  }

  .nav-unavailable::before,
  .nav-unavailable::after {
    opacity: 1;
  }

  .nav-unavailable .nav-tip {
    opacity: 1;
  }

  .project-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 16px 36px;
  }

  .project-description {
    font-size: 18px;
    margin-top: 0;
  }

  .project-tags {
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .project-meta {
    width: 100%;
    margin-left: 0;
  }

  .approach {
    flex-direction: column;
    gap: 20px;
    padding: 56px 16px 32px;
  }

  .approach-columns {
    flex-direction: column;
    gap: 14px;
    margin-left: 0;
  }

  .approach-text {
    width: 100%;
  }

  .image-block.full {
    padding: 0 9px;
  }

  .image-grid {
    grid-template-columns: 1fr;
    padding: 0 9px;
  }

  .quote {
    font-size: 17px;
    padding: 48px 16px;
  }

  .text-section {
    flex-direction: column;
    gap: 20px;
    padding: 48px 16px;
  }

  .section-columns {
    flex-direction: column;
    gap: 14px;
    margin-left: 0;
  }

  .section-text {
    width: 100%;
  }
}
