/* Catalog page placeholder styling */
.catalog-center {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 40vh;
  margin-top: 160px;
  margin-left: -220px;
}
.catalog-box {
  width: 480px;
  height: 284px;
  background: var(--theme-alt);
  border-radius: 4px;
  border: solid 2px var(--theme-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-message {
  font-size: 1.1rem;
  color: var(--theme-red);
  font-family: var(--font-inter);
  text-align: center;
  letter-spacing: 0.02em;
}
.catalog-message span {
  font-size: 0.8rem;
  color: var(--theme-black);
}
.contact-name {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 2px;
}
/* Fade-in on scroll animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
/* Fixed site title (perpetual home button) */
/* Boyfriend site styles */

@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-ThinItalic.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-SemiBoldItalic.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-ExtraBoldItalic.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-Heavy.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'ConcretteMT';
  src: url('fonts/ConcretteMTRIAL-HeavyItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: 'ABCMarist';
  src: url('fonts/ABCMarist-Regular-Trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'ABCMarist';
  src: url('fonts/ABCMarist-Medium-Trial.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'ABCMarist';
  src: url('fonts/ABCMarist-Bold-Trial.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

:root {
  --theme-red: #E32424;
  --theme-alt: #F7F7F7;
  --theme-black: #222;
  --font-inter: 'Inter', Arial, sans-serif;
  --font-mar: 'ABCMarist', serif;
  --font-con: 'ConcretteMT', serif;
  --cursor-hover: url("images/cursor-hover.png"), auto;;
}

html, body {
  cursor: url("images/cursor.png"), auto;
}
body {
  margin: 0;
  font-family: var(--font-inter);
  background: var(--theme-alt);
  color: var(--theme-red);
}
.sidebar {
  width: 320px;
  background: var(--theme-alt);
  padding: 48px 0 0 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Remove position: fixed and height: 100vh for unified layout; add only for pages that need it via an extra class if necessary */
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.sidebar nav a {
  font-size: 40px;
  color: var(--theme-red);
  text-decoration: none;
  font-weight: 400;
  transition: text-decoration 0.2s;
}
.sidebar nav a.active, .sidebar nav a:hover {
  /* Remove text-decoration: underline; */
}
.staggered-container {
  margin-left: 130px;
  padding: 70px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100vh;
}
.staggered-box {
  width: clamp(298px, 31.4vw, 637px);
  aspect-ratio: 480 / 284;
  /* background removed for image-only look */
  border-radius: 8px;
  overflow: hidden;
  transition: filter 0.2s, box-shadow 0.2s;
  position: relative;
  margin-bottom: 0;
}
.staggered-caption {
  width: clamp(298px, 31.4vw, 637px);
  margin: 18px 0 48px 0;
  color: #111;
  /* Remove padding and set width to match .staggered-box */
}
.staggered-caption-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start; /* Align right text with the top (video-title) of the left block */
  width: 100%;
}
.staggered-box:hover {
  filter: brightness(0.7);
  cursor: pointer;
}
.staggered-box.staggered,
.staggered-caption.staggered {
  margin-left: clamp(100px, 20vw, 300px);
}
@media (max-width: 900px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 24px 0 0 24px;
  }
  .staggered-container {
    margin-left: 0;
    padding: 100px 0 0 0;
    align-items: center;
  }
  .staggered-box, .staggered-box.staggered {
    margin-left: 0;
    width: 90vw;
    max-width: 480px;
  }
}

/* Shared layout for catalog, about, contact */
.container {
  display: flex;
  min-height: 100vh;
  background: var(--theme-alt);
}
.title {
  font-size: 64px;
  font-weight: 400;
  font-family: var(--font-inter);
  color: var(--theme-alt);
  text-decoration: none;
  margin-bottom: 0;
  display: block;
  position: sticky;
  top: 0;
  z-index: 10;
  clip-path: inset(0 0 -80px 0);
  animation: title-color-reveal 0s 0.52s forwards;
}
.title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--theme-red);
  transform: translateY(-101%);
  animation: title-wipe 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
  pointer-events: none;
}
@keyframes title-wipe {
  0%   { transform: translateY(-101%); clip-path: inset(0 0 0 0); }
  40%  { transform: translateY(0);      clip-path: inset(0 0 0 0); }
  60%  { transform: translateY(0);      clip-path: inset(0 0 0 0); }
  100% { transform: translateY(0);      clip-path: inset(100% 0 0 0); }
}
@keyframes title-color-reveal {
  to { color: var(--theme-red); }
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nav-item {
  position: relative;
  font-size: 64px;
  color: var(--theme-red);
  text-decoration: none;
  font-weight: 300;
  font-family: var(--font-inter);
  transition: color 0.2s;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0%;
  bottom: 0em;
  width: 0;
  height: 3px;
  background: var(--theme-red);
  transition: width 0.2s, left 0.2s;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 75%; /* Stretches from left edge, not full width */
}

.nav-item.active, .nav-item:hover {
  /* Remove text-decoration: underline; */
}

/* Contact split layout */
.contact-split {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: flex-start;
}
.contact-left {
  display: flex;
  flex-direction: column;
}
.contact-right {
  display: flex;
  flex-direction: column;
}

/* About page layout */

.about-layout {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100vh;
  padding: 0;
  background: var(--theme-alt);
}
.about-divider {
  width: 2px;
  height: 60vh;
  background: var(--theme-red);
  border-radius: 1px;
  flex-shrink: 0;
}
.about-content {
  max-width: 800px;
  flex: 1;
  color: var(--theme-red);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-header {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--theme-red);
  font-weight: 500;
  line-height: 1.5;
}
.contact-header-line {
  width: 100%;
  height: 1.5px;
  background: var(--theme-red);
  margin-bottom: 24px;
}
.about-emails {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0rem 0rem 2.7rem 0rem;
}
.about-columns {
  display: flex;
  gap: 100px;
}

.contact-role {
  font-size: 0.8rem;
  margin-bottom: 3px;
}
.contact-email {
  font-size: 0.8rem;
}

.about-col {
  flex: 1;
  white-space: nowrap;
}
.about-section {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 6px 0;
  color: var(--theme-red);
}
.about-section.post-services {
  margin-top: 32px;
}
.contact-list {
  font-size: 0.8rem;
  line-height: 1.8;
}
.about-nav .title {
  font-size: 64px;
  font-weight: 400;
  color: var(--theme-red);
  margin-bottom: 60px;
  text-decoration: none;
}
.about-nav .nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-nav .nav-item {
  font-size: 64px;
  color: var(--theme-red);
  text-decoration: none;
  font-weight: 100;
  transition: text-decoration 0.2s;
}
.about-nav .nav-item.active, .about-nav .nav-item:hover {
  text-decoration: underline;
}
.about-divider {
  width: 2px;
  height: 90vh;
  background: var(--theme-red);
  margin: 180px 10px 0 0px;
  border-radius: 1px;
  flex-shrink: 0;
}
.about-content {
  max-width: 800px;
  flex: 1;
  padding: 70px 0 0 100px;
  color: var(--theme-red);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.about-columns {
  display: flex;
  gap: 60px;
}
.about-col {
  flex: 1;
}
.about-section {
  
  font-size: 14px;
  margin: 0px 0 8px 0;
  color: var(--theme-red);
  font-weight: bold;
}
.about-section.post-services {
  margin-top: 32px;
}
.about-col strong {
  font-weight: bold;
}

@media (max-width: 1100px) {
  .about-layout {
    flex-direction: column;
    height: auto;
  }
  .about-divider {
    width: 100%;
    height: 2px;
    margin: 40px 0;
  }
  .about-content {
    padding: 40px 0 0 0;
  }
  .about-nav {
    min-width: 0;
    padding: 40px 0 0 24px;
  }
  .about-columns {
    flex-direction: column;
    gap: 24px;
  }
}

/* Project video page */
.project-content {
  flex: 1;
  padding: 70px 190px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-video {
  width: 854px;
  max-width: calc(100vw - 580px);
  border-radius: 8px;
  background: #000;
  display: block;
}
.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 854px;
  max-width: calc(100vw - 580px);
  margin-top: 18px;
}

/* Medium single video player */
.project-video-medium {
  width: 480px;
  max-width: calc(100vw - 580px);
  border-radius: 8px;
  background: #000;
  display: block;
}
.project-meta-medium {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 480px;
  max-width: calc(100vw - 580px);
  margin-top: 18px;
}

/* Small single video player */
.project-video-small {
  width: 340px;
  border-radius: 8px;
  background: #000;
  display: block;
}
.project-meta-small {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 340px;
  margin-top: 18px;
}

/* Triple video player */
.triple-player-wrap {
  display: flex;
  gap: 12px;
  width: 854px;
  max-width: calc(100vw - 580px);
}
.triple-player-wrap video {
  flex: 1;
  min-width: 0;
  border-radius: 8px;
  background: #000;
  display: block;
}

/* Staggered content block */
.staggered-box {
  position: relative;
}
.staggered-caption {
  width: clamp(298px, 31.4vw, 637px);
  margin: 5px 0 48px 0;
  color: #111;
  /* Remove padding and set width to match .staggered-box */
}
.staggered-caption-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start; /* Align right text with the top (video-title) of the left block */
  width: 100%;
}
.video-title {
  font-size: 1rem;
  font-family: var(--font-inter);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.2em;
  text-align: left;
  color: var(--theme-red);
}
.video-subtitle {
  font-size: 0.9rem;
  font-family: var(--font-inter);
  font-weight: 300;
  color: var(--theme-black);
  font-style: italic;
  text-align: left;
}

.video-subtitle-right {
  display: block;
  font-size: 1rem;
  font-family: var(--font-inter);
  font-weight: 300;
  color: var(--theme-black);
  font-style: normal;
  text-align: right;
  /* Removed width and margin-right for perfect right alignment */
}

/* =================================
   ANIMATIONS
   ================================= */


/* --- Project prev/next nav --- */
.project-nav {
  display: flex;
  justify-content: space-between;
  width: 854px;
  max-width: calc(100vw - 580px);
  margin-top: 16px;
}
.project-nav a {
  font-size: 1.4rem;
  color: var(--theme-black);
  text-decoration: none;
  font-family: var(--font-inter);
  font-weight: 300;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.project-nav a:hover {
  opacity: 1;
}

/* --- Thumbnail hover zoom --- */
.staggered-box {
  transition: filter 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.staggered-box img {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.staggered-box:hover img {
  transform: scale(1.05);
}

/* --- Project page video entrance --- */
.project-video,
.project-video-small,
.triple-player-wrap {
  animation: project-enter 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.5s both;
}
.project-meta,
.project-meta-small {
  animation: project-enter 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.65s both;
}
.project-nav {
  animation: project-enter 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.78s both;
}
@keyframes project-enter {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Catalog box entrance --- */
.catalog-box {
  animation: project-enter 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.55s both;
}

/* --- Contact vertical divider draw-in --- */
.about-divider {
  transform-origin: top;
  animation: divider-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.7s both;
}
@keyframes divider-draw {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* --- Contact horizontal line grow --- */
.contact-header-line {
  transform-origin: left;
  animation: line-grow 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.85s both;
}
@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* --- Page transition overlay --- */
.pte {
  position: fixed;
  inset: 0;
  background: var(--theme-red);
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}
.pte-out {
  animation: pte-reveal 0.6s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
.pte-cover {
  animation: pte-cover 0.5s cubic-bezier(0.77, 0, 0.18, 1) forwards;
  pointer-events: all;
}
@keyframes pte-reveal {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}
@keyframes pte-cover {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

