/* ========== BASE STYLES ========== */
.eb-garamond-<uniquifier> {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'EB Garamond', serif;
    color: #000000;
    line-height: 1.6;
font-weight: 400;
    font-size: 16px;
    background: #fff;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    line-height: 1.2;
    margin-top: 0;
}

p {
    margin-bottom: 20px;
}

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

a:hover {
color: #0a3f9d;
}

* {
    box-sizing: border-box;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header {
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    max-width: 1440px;
    margin: auto;
}

.site-logo {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 40px;
}

nav a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

main {
    max-width: 1500px;
    margin: auto;
    padding: 0 10px;
}

.home-page {
    margin: 0;
    padding: 0;
    background: #ffffff;
    height: 100vh;
    overflow: hidden;
}

.splash-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
}

.splash-logo {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.splash-logo:hover {
    transform: scale(1.05);
}

.splash-logo {
    opacity: 0;
    animation: fadein 1.2s ease forwards;
    animation-delay: 0.5s;
}

@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.arrow-bounce {
  font-size: 24px;
  margin-top: 12px;
  color: #0a3f9d;
  user-select: none;
  opacity: 0;
  animation:
    fadein 1.2s ease forwards 1s,  /* fade in + scale after 1s delay */
    bounce 0.6s infinite;  /* bounce starts after fadein finishes */
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}


.studio-intro {
  max-width: 900px;
  margin: 10px auto 40px;
  padding: 0 20px;
  text-align: center;
}

.studio-intro h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    font-style: italic;
}

.studio-intro p {
    font-size: 24px;
    line-height: 1.8;
    color: #333;
}

@media screen and (max-width: 768px) {

.studio-intro p {
    font-size: 20px;
    text-align: justify;
}
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px 40px;
    padding-top: 80px;
    padding-bottom: 120px;
}

.project-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.project-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-info {
    margin-top: 16px;
}

.project-item:hover:not(:has(.project-category:hover)) .project-info h1,
.project-item:hover:not(:has(.project-category:hover)) .project-info p {
  color: #0a3f9d;
}

.project-block:hover:has(.project-category:hover) .project-item .project-info h1,
.project-block:hover:has(.project-category:hover) .project-item .project-info p {
  color: inherit;
}

.project-info h1 {
    font-size: 30px;
    font-weight: 600;
  margin: 0 0 1px;
transition: color 0.2s ease;
}

.project-info p {
    font-size: 24px;
    font-weight: 500;
    color: #666;
    margin-bottom: 16px;
    text-transform: propercase;
    letter-spacing: 0.04em;
    font-style: italic;
margin: 0 0 1px;
transition: color 0.2s ease;

}

@media screen and (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}
@media screen and (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

}
.project-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.project-item.appear {
    opacity: 1;
    transform: translateY(0);
}

.project-header {
    max-width: 1000px;
    margin: 160px auto 80px;
    padding: 0 20px;
}

.project-header h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 16px;
}

.project-meta p:first-child {
    letter-spacing: 0.04em;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.project-meta p:last-child {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.project-images img,
.project-images .responsive-video,
.project-images .responsive-video video {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.project-images img.landscape {
  grid-column: span 2;
}

@media screen and (max-width: 768px) {
  .project-images {
    grid-template-columns: 1fr !important;
  }

  .project-images img.portrait {
    grid-column: span 1 !important;
  }
}



/* Base layout */
.responsive-video {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Aspect ratios */
.responsive-video[data-aspect="portrait"] {
  padding-top: 125%; /* 1080x1350 or similar */
}

.responsive-video[data-aspect="landscape"] {
  padding-top: 56.25%; /* 1280x720 or 1920x1080 (16:9) */
}

/* Make video fit container */
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Optional: Full row for landscape in grid */
.project-images .responsive-video[data-aspect="landscape"] {
  grid-column: span 2;
}

.responsive-video[data-aspect="custom-4x3"] {
  padding-top: 75%; /* 4:3 ratio (1800x1350) */
}

.project-images .responsive-video[data-aspect="custom-4x3"] {
  grid-column: span 2;
}


#toggleSound {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

#toggleSound svg {
  width: 24px;
  height: 24px;
  fill: #0a3f9d;
}

/* Desktop hover fade */
@media (min-width: 769px) {
  #toggleSound {
    opacity: 0;
  }

  .responsive-video:hover #toggleSound {
    opacity: 1;
  }
}


.container {
   width: 100%;
    height: auto;
    display: block;
    margin-bottom: 30px;
padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .container {
    margin-bottom: 30px;
    padding: 0 20px;
  
  }

}
.about-intro {
    max-width: 900px;
    margin: 10px auto 80px;
    padding: 0 20px;
    text-align: center;
}

.about-intro h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    font-style: italic;
}

.about-intro p {
    font-size: 24px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

.about-capabilities h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-capabilities ul {
  display: grid;
  grid-template-rows: repeat(6, auto); /* adjust based on how many rows you want */
  grid-auto-flow: column;
  column-gap: 40px;
  row-gap: 12px;
  list-style: none;
  padding: 0;
}

.about-capabilities li {
    font-size: 24px;
    margin-bottom: 12px;
}

.about-capabilities,
.about-clients {
  margin-bottom: 120px;
}

.about-clients h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

footer {
    padding: 80px 20px 40px;
    text-align: center;
    color: #888;
    font-size: 14px;
    border-top: 1px solid #eee;
    margin-top: 120px;
}

header nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    letter-spacing: 0.02em;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

header nav a:hover {
    opacity: 1;
}

.site-logo {
    height: 32px;
    width: auto;
}

a, button {
    cursor: pointer;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  p, .category-label {
    font-size: 1rem;
  }

  img {
    width: 100%;
    height: auto;
  }

}
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p, .category-label {
    font-size: 0.95rem;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
  }

}
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p, .category-label {
    font-size: 0.9rem;
  }

}
.about-split {
  display: flex;
  justify-content: space-between;
  gap: 80px;
   width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.about-capabilities, .about-clients {
  flex: 1;
}

.about-capabilities h2,
.about-clients h2 {
  border-bottom: 1px solid #000;
  padding-bottom: 8px;
  margin-bottom: 24px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 20px;
  margin-top: 30px;
}

.clients-grid img {
  width: auto;
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: auto;
}

.get-in-touch {
  Margin-top:20px;
  text-align: left;
  margin-bottom: 60px;
}

.email-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 40px;
  margin-top: 10px;
}

.email-block {
  display: flex;
  flex-direction: column;
}

.email-label {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 1px;
  text-transform: propercase;
  letter-spacing: 0.04em;
}

.email-block a {
  font-size: 22px;
  font-weight: 400;
  color: #000;
  text-decoration: underline;
  word-break: break-word;
}

.email-block a:hover {
  border-color: #000;
}

.get-in-touch h2 {
font-size: 28px;
    font-weight: 600;
border-bottom: 1px solid #000;
padding-bottom: 8px;
  margin-bottom: 1px;
}

.project-layout {
display: flex;
 justify-content: space-between;
  max-width: 100%;
  width: 100%;
  margin: 10px 0 0;
  padding: 0 20px; /* or 40px for better spacing */
  box-sizing: border-box;
}

.project-left,
.project-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-left h1 {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 16px;
}

.project-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #666;
margin-top: 1px;
  margin-bottom: 16px;
}

.project-category {
  margin-top: 6px;
}

.project-block {
  display: flex;
  flex-direction: column;
}

.project-category a {
  display: inline-block;
  font-style: italic;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #000;
  color: #000;
  background: transparent;
  text-transform: none;
  letter-spacing: normal;
  transition: background 0.3s ease, opacity 0.3s ease;
}


.project-category a:hover {
  background: #0a3f9d;
  color: #fff;
  opacity: 1;
border: 1px solid #0a3f9d;
}

.project-right p {
  font-size: 24px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  text-align: justify;
}

.project-credits {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

.project-item img {
  transition: transform 0.3s ease;
}

.centered-title {
  text-align: center;
  font-size: 48px;
  margin: 160px auto 60px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex !important;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
}

.nav-center {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
}

/* Hide mobile nav on desktop */
.nav-mobile-links {
  display: none !important;
}

.hide-on-desktop {
  display: none !important;
}


body {
  font-size: 16px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 22px;
}

p {
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 15px;
  }

}
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }
}


@media screen and (max-width: 768px) {
  .project-info h1 {
    font-size: 26px;
  }

  .project-info p {
    font-size: 24px;
  }

  .project-category a {
    font-size: 12px;
    padding: 4px 10px;
  }

}
@media screen and (max-width: 768px) {

  .about-intro h1 {
    font-size: 36px;
  }

  .about-intro p {
    font-size: 20px;
  }

  .about-capabilities h2,
  .about-clients h2,
  .get-in-touch h2 {
    font-size: 24px;
  }

  .about-capabilities ul {
    row-gap: 6px; /* tighter spacing */
    column-gap: 20px; /* optional: reduce horizontal gap too */
  }

  .about-capabilities li,
  .get-in-touch p {
    font-size: 20px;
  }

  .email-label {
    font-size: 14px;
  }

  .email-grid a {
    font-size: 20px;
  }

}
@media screen and (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }

}
@media screen and (max-width: 768px) {
  .centered-title,
  .about-capabilities h2,
  .about-clients h2,
  .get-in-touch h2 {
    text-align: left;
  }

  .get-in-touch p {
    text-align: left;
  }

}

@media screen and (max-width: 900px) {
  .email-grid a {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

}
@media screen and (max-width: 900px) {
  .email-grid {
    grid-template-columns: 1fr;
    gap: 16px 20px;
  }

}
@media screen and (max-width: 480px) {
  .email-grid {
    grid-template-columns: 1fr;
  }

}
@media screen and (max-width: 768px) {
  .about-split {
    flex-direction: column;
    gap: 40px;
  }

}
@media screen and (max-width: 768px) {
  .project-layout {
    flex-direction: column;
    gap: 40px;
  }

/* Default mobile: center everything */
.project-left,
.project-right, 
.project-subtitle,
.project-category {
  text-align: center;
}

/* Left-align project-category ONLY on selected pages */
.page-studio .project-category,
.page-motion .project-category,
.page-editorial .project-category,
.page-illustration .project-category,
.page-coverart .project-category {
  text-align: left;
}

  .project-left{
    width: 100%;
  }

  .project-left h1 {
 font-size: 48px;
  font-weight: 600;
  margin: 0 0 16px;

}

  .project-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #666;
margin-top: 1px;
  margin-bottom: 16px;
}

  .project-category {
  font-size: 14px;
  }

.project-right {
  flex: 1;
  width: 100%;
}

  .project-right p {
font-size: 20px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: justify;
  }
}

@media screen and (max-width: 1024px) {
  .projects-images {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .projects-images {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-center,
  .nav-right {
    display: none !important;
  }

  .nav-mobile-links {
    display: flex !important;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .nav-left {
    justify-content: center;
    width: 100%;
  }

  .site-header .container {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .hide-on-desktop {
    display: flex !important;
  }

}
@media screen and (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    align-items: center;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
  }

  .nav-left {
    order: 1;
    justify-content: center;
    width: 100%;
    padding-bottom: 10px;
  }

  .nav-center,
  .nav-right {
    display: none; /* hide individual links on mobile */
  }

  .nav-mobile-links {
    order: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  .nav-mobile-links .nav-link {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
}


@media screen and (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
   }

}

@media screen and (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

}
img {
  pointer-events: none;
}

.back-to-all {
  border: 1px solid #000 !important;
  background: transparent;
  all: unset;
  font-family: 'EB Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  text-transform: none;
  color: inherit;
  padding: 8px 16px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  display: inline-block;
  margin-top: 60px;
  text-align: center;
}

.back-to-all:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .back-to-all {
    font-size: 14px;
  }
}


/* ========== TYPOGRAPHY & FONT ========== */
  .intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .intro-text {
    font-size: 1rem;
  }


/* ========== LAYOUT & CONTAINERS ========== */


/* ========== NAVIGATION ========== */

/* ========== COMPONENTS (ABOUT, EMAIL, CLIENTS, SPLASH) ========== */

/* ========== PROJECT BLOCKS ========== */

/* ========== RESPONSIVE (MEDIA QUERIES) ========== */

/* ========== POSSIBLY UNUSED / SAFE TO REVIEW ========== */