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

:root {
    --header-height: 90px; /* adjust if needed */
}

@font-face {
    font-family: Inter;
    src: url(../fonts/InterTight-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen Kurenaido;
    src: url(../fonts/ZenKurenaido-Regular.ttf);
}

@font-face {
    font-family: Coromant;
    src: url(../fonts/Cormorant-VariableFont_wght.ttf);
}

.site-header {
    position: fixed;  /* must be fixed for hide-on-scroll */
    top: 0;
    width: 100%;
    text-align: center;
    background-color: #F4ECE5;
    z-index: 1001;
    transition: transform 0.3s ease; /* smooth hide/show */
}

.site-header.header-hidden {
    transform: translateY(-100%); /* moves header completely out of view */
}

.site-title {
    font-family: 'Zen Kurenaido';
    font-size: 28px;
    font-weight: 400;
    padding: 20px 0 10px 0; /* much less top padding */
    margin: 0;
    color: #DE2720;
}

body {
    background-color: #F4ECE5;
    color: #DE2720;
    margin: 0;
    padding-top: 20px; /* space for title + nav */
    font-family: 'Coromant';
}

/* Center the nav and site-title */
nav {
    display: flex;
    align-items: center;  /* Vertically center the items */
    justify-content: center;  /* Center the nav and site title horizontally */
    width: 100%;
    padding: 10px 30px; /* Add some padding to the sides for breathing room */
}

.site-header nav {
    display: flex;
    align-items: center;  /* Vertically align the title and nav */
    justify-content: center;  /* Center everything horizontally */
    gap: 30px; /* Space between the site title and the navigation items */
}

ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center the nav items horizontally */
    gap: 40px;
    margin: 0;
    padding: 0;
}

ul li a {
    font-family: 'Zen Kurenaido';
    font-size: 16px;
    font-weight: 400;
    color: #DE2720;
    text-decoration: none;
    padding: 10px 0;
    letter-spacing: 0.03em;
}

ul li a span {
    position: relative;
}

ul li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

ul li a:hover span::after {
    transform: scaleX(1);
}

/* Tablet and Mobile Styles */

/* Tablet view: 1024px and below */
@media (max-width: 1024px) {
    .site-header {
        padding-top: 10px; /* Adjust for smaller screens */
    }

    nav {
        padding: 10px 20px;  /* Reduce space on the sides */
        gap: 20px;  /* Add some spacing between the title and nav */
    }

    .site-title {
        font-size: 24px; /* Smaller title on tablets */
    }

    ul {
        gap: 30px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font for mobile */
    }
}

/* Mobile view: 768px and below */
@media (max-width: 768px) {
    nav {
        padding: 15px 15px;  /* Add padding for mobile */
        justify-content: center; /* Ensure title and nav items stay centered */
    }

    .site-title {
        font-size: 20px; /* Even smaller font size for mobile */
    }

    ul {
        gap: 20px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font size */
    }
}


.homepage {
    width: 100%;
    margin: 0;
    padding-top: var(--header-height);
}

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}
/* Images fill their section */
.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    margin: 0 auto;
}

.about {
    width: 100%;
    background-color: #F4ECE5;
    padding: 80px 0; /* space above & below section */
}

.about-inner {
    width: 90%;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.about-col {
    width: 50%;
}

.about-col p {
    font-family: Coromant;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: #DE2720;
}

.projects {
  width: 100%;
  background-color: #F4ECE5;
  padding-top: 40px;   /* less space above */
  padding-bottom: 80px;
}

.project-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px; /* controls how low it sits */
  display: flex;
  justify-content: center;
  font-family: 'Zen Kurenaido';
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: 0.05em;
  color: #DE2720;
  text-align: center;
  opacity: 0;
  z-index: 3;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.projects-inner {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Square container */
.project-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4; /* portrait */
  overflow: hidden;
}

.project-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 229, 223, 0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Image fills the square */
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Subtle hover interaction */
.project-item:hover img {
  transform: scale(1.05);
}

.project-item:hover .project-title {
  opacity: 8;
}

.project-item:hover::after {
  opacity: 8;
}

.projects-link {
  margin-top: 60px;
  text-align: center;
}

.projects-link a {
  font-family: 'Zen Kurenaido';
  font-size: 16px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

/* underline animation */
.projects-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.projects-link a:hover::after {
  transform: scaleX(1);
}

.skills {
  width: 100%;
  background-color: #F4ECE5;
  padding-top: 20px;
  padding-bottom: 70px;
}

.skills-inner {
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.skills-title {
  font-family: 'Zen Kurenaido';
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #DE2720;
  margin-bottom: 60px;
}

.skills-buttons {
  display: flex;
  flex-direction: column;
  gap: 40px;   /* space between rows */
}

.skills-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px; /* space between top & bottom rows */
}

.skill-tag {
  font-family: 'Zen Kurenaido';
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 10px 20px;
  border-radius: 40px;
  opacity: 0.9;
  cursor: default;
  user-select: none;
  transition: background-color 0.35s ease, 
              color 0.35s ease, 
              border-color 0.35s ease;
}

.tag-uiux {
  --tag-color: #DE2720;
  color: var(--tag-color);
  border: 1.5px solid var(--tag-color);
}

.tag-digital {
  --tag-color: #2f292a;
  color: var(--tag-color);
  border: 1.5px solid var(--tag-color);
}

.tag-motion {
  --tag-color: #254d8d;
  color: var(--tag-color);
  border: 1.5px solid var(--tag-color);
}

.tag-graphic {
  --tag-color: #669BBC;
  color: var(--tag-color);
  border: 1.5px solid var(--tag-color);
}

.tag-wildlife {
  --tag-color: #6e782f;
  color: var(--tag-color);
  border: 1.5px solid var(--tag-color);
}

.skill-tag:hover {
  background-color: var(--tag-color);
  color: #F4ECE5; /* your site background */
}

.skill-tag:hover {
  opacity: 1;
}

.site-footer {
  width: 100%;
  background-color: #F4ECE5;
  padding: 40px 0;
}

.footer-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical centering */
}

.footer-left p {
  font-family: 'Zen Kurenaido';
  font-size: 20px;
  font-weight: 400;
  color: #DE2720;
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 30px;
}

.footer-right a {
  font-family: 'Zen Kurenaido';
  font-size: 14px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

/* underline hover, same language as nav */
.footer-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.footer-right a:hover::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .about-inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-col {
        width: 100%;
    }

    .about-col p {
        font-size: 18px;
    }

    .projects-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

      .skills-title {
    font-size: 20px;
  }

  .skill-tag {
    font-size: 13px;
    padding: 8px 18px;
  }
}






/*---------------------digital-projects--------------------*/




.digital-projects-gallery {
  margin-top: 0;              /* remove this */
  padding: 160px 40px 100px;  /* top | sides | bottom */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.project {
  text-decoration: none;
  color: inherit;
}

.project-image {
  width: 100%;
  aspect-ratio: 1 / 1; /* square */
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop nicely */
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project:hover img {
  opacity: 0.7;
  transform: scale(1.05);
  cursor: pointer;
}

.project-description {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center; /* optional */
  font-family: 'Zen Kurenaido';
}

.project-description2 {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-align: center; /* optional */
}

.projects-contact-link {
  width: 100%;
  text-align: center;
  padding-bottom: 60px; /* breathing room at bottom */
}

.projects-contact-link a {
  font-family: 'Zen Kurenaido';
  font-size: 16px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

/* underline animation (matches nav + footer) */
.projects-contact-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.projects-contact-link a:hover::after {
  transform: scaleX(1);
}

/* ---------- TABLET (iPad & small laptops) ---------- */
@media (max-width: 1024px) {
  .digital-projects-gallery {
    grid-template-columns: repeat(2, 1fr);
    padding: 140px 30px 100px;
    gap: 24px;
  }

  .project-description {
    font-size: 0.95rem;
  }

  .project-description2 {
    font-size: 0.85rem;
  }
}

/* ---------- MOBILE ---------- */


@media (max-width: 768px) {
  .digital-projects-gallery {
    grid-template-columns: 1fr;
    padding: 120px 20px 40px; /* smaller padding */
    gap: 20px;               /* smaller gap */
  }

  .project-image {
    width: 90%;        /* slightly smaller width */
    max-height: 300px; /* optional cap */
    margin: 0 auto;    /* center */
  }

  .project-description {
    font-size: 0.95rem;
  }

  .project-description2 {
    font-size: 0.85rem;
  }
}


@media (hover: none) {
  .project:hover img {
    opacity: 1;
    transform: none;
  }
}


/*---------------------photography--------------------*/

.photo-intro {
  max-width: 600px;
  margin-bottom: 80px;
  margin: 0 auto 80px;
  text-align: center;
}

.photo-intro p {
  font-family: 'Coromant';
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #DE2720;
}
/* Photography page layout */
.photo-page {
    width: 90%;
    margin: 0 auto;
    padding-top: 140px; /* clears fixed nav */
    padding-bottom: 60px;
}

/* Grid setup */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.photo-item {
  display: flex;
  flex-direction: column;
}

.photo-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}


.photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.photo-caption {
  margin-top: 12px;
  font-family: 'Zen Kurenaido';
  font-size: 14px;
  letter-spacing: 0.03em;
  text-align: center;
  color: #DE2720;
  opacity: 1;
}

.photo-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.photo-link img {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform: scale(1.05);
}

.photo-link {
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Hover effect */
.photo-link:hover img {
  transform: scale(1.04);
  opacity: 0.85;
  cursor: pointer;
}

/* Optional: caption reaction */
.photo-link:hover .photo-caption {
  opacity: 1;
}

/* Tablet */
@media (max-width: 1024px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .photo-caption {
        font-size: 13px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .photo-caption {
        font-size: 13px;
    }
}


/*---------------------art-prints--------------------*/

.art-prints-page {
    height: calc(100vh - 120px); /* nav height */
    margin-top: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text styling */
.art-prints-content p {
    font-family: Inter;
    font-size: 32px;
    font-weight: 300;
    text-align: center;
}

/*---------------------contact--------------------*/

/* Contact page layout */
.contact-page {
    margin-top: 40px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;   /* stack vertically */
    align-items: center;
}
/* Text container */
.contact-content {
    width: 70%;
    max-width: 900px;
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    color: #DE2720;
    transform: none;
}

.skills-contact {
  margin-top: 140px;    /* pushes it down below header */
  padding-top: 40px;    /* internal breathing room */
  padding-bottom: 40px;
}

.portrait-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 24px 0 36px;
}

.portrait-wrapper {
  transform: rotate(-2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.12);

}
.portrait-wrapper:hover {
  transform: rotate(-1deg) translateY(-3px);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

.portrait-image {
  display: block;
  max-width: 280px;   /* control size without forcing ratio */
  height: auto;
  border-radius: 2px;
}

/* Contact text */
.contact-content p {
    font-size: 18px; /* slightly smaller */
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* Button */
.contact-button {
    display: inline-block;
    padding: 14px 40px;
    border: 1.5px solid #DE2720;
    border-radius: 50px;
    text-decoration: none;
    color: #DE2720;
    font-family: "Zen Kurenaido", sans-serif;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s ease;
}
/* Hover effect */
.contact-button:hover {
    background-color: #DE2720;
    color: white;
}

.contact-focus {
  margin-top: 20px;
  font-family: 'Coromant';
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  opacity: 0.9;
}

.contact-tags {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-tags span {
  font-family: 'Zen Kurenaido';
  font-size: 13px;
  padding: 8px 18px;
  border: 1px solid #DE2720;
  border-radius: 40px;
  opacity: 0.8;
}

.contact-note {
  margin-top: 20px;
  font-size: 6px;
  opacity: 0.7;
  text-align: center;
  font-family: 'Zen Kurenaido';
}

/* Mobile */
@media (max-width: 768px) {
    .contact-content {
        width: 90%;
    }

    .contact-content p {
        font-size: 18px;
    }

    .contact-button {
        font-size: 15px;
        padding: 12px 32px;
    }
}

/*---------- cape energy tours ------------*/

/* Project page layout */
.project-page {
  padding-top: 140px; /* clears fixed header */
  padding-bottom: 40px;
}

/* Two-column hero */
.project-hero {
  display: flex;
  min-height: calc(100vh - 260px);
}

/* Left image */
.project-image2 {
  width: 50%;
}

.project-image2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right text */
.project-info {
  width: 50%;
  padding: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #DE2720;
}

.project-title2 {
  font-family: 'Zen Kurenaido';
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 12px;
}

.project-meta {
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.project-description {
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .project-hero {
    flex-direction: column;
  }

  .project-image,
  .project-info {
    width: 100%;
  }

  .project-image {
    height: 60vh;
  }

  .project-info {
    padding: 40px 24px;
  }
    .project-gallery {
    grid-template-columns: 1fr;
  }
}


/*--------- bethlehem bouldering -------------*/

.project-hero-full {
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.project-hero-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro text below hero */
.project-intro {
  padding: 120px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #DE2720;
}

.project-intro .project-title2 {
  font-family: 'Zen Kurenaido';
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 12px;
}

.project-intro .project-meta {
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.project-intro .project-description {
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
}

/* Logo exploration section */
.project-logos {
  margin-top: 120px;
}

/* Intro line */
.logos-intro {
  text-align: center;
  font-family: 'Cormorant';
  font-size: 18px;
  font-weight: 300;
  color: #DE2720;
  margin-bottom: 40px;
}

/* Logo grid */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
}

.logos-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-focus {
  margin-top: 60px;
}

/* Text block */
.project-focus-text {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #DE2720;
}

.project-video {
  width: 100%;
}

.project-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-video video {
  animation: fadeIn 0.8s ease forwards;
}

/* Mobile version section */
.project-mobile {
  margin-top: 140px;
  margin-bottom: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Intro text */
.project-mobile-text {
  margin-bottom: 40px;
  font-family: 'Cormorant';
  font-size: 18px;
  font-weight: 300;
  color: #DE2720;
  text-align: center;
}

/* Portrait video container */
.project-mobile-video {
  width: 320px;          /* controls visual size */
  max-width: 90%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

/* Video */
.project-mobile-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-mobile-video {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.18),
    0 6px 14px rgba(0, 0, 0, 0.12);
}

/* Final project link */
.project-link {
  margin: 20px 0 20px;
  text-align: center;
}

.project-link a {
  font-family: 'Zen Kurenaido';
  font-size: 18px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.04em;
  position: relative;
}

/* underline animation (same language as nav & footer) */
.project-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.project-link a:hover::after {
  transform: scaleX(1);
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1024px) {
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-focus {
    margin-top: 100px;
  }

  .project-focus-text {
    padding: 0 20px;
    font-size: 17px;
  }
}

/*---- SKOON. ------*/
/* Project overview text */

/* Fullscreen hero image */
.project-hero-full {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-hero-full {
  width: 100%;
  height: 70vh; /* or 60vh */
  overflow: hidden;
}


.project-overview {
  max-width: 760px;
  margin: 90px auto 30px; /* smaller bottom margin */
  text-align: center;
  color: #DE2720;
  font-family: "Cormorant Garamond", serif;
}

.project-overview-text {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 300;
  color: #DE2720;
  text-align: center;
}

.project-overview-text strong {
  font-weight: 500;
}

/* Collections section */
.project-collections {
  max-width: 820px;
  margin: 30px auto 160px; /* auto = center */
  display: flex;
  flex-direction: column;
  align-items: center;    /* center children */
  text-align: center;
}

/* Individual collection link */
.collection-link {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 16px;
  padding: 28px 0;
  text-decoration: none;
  color: #DE2720;
  font-family: 'Zen Kurenaido';
  font-size: 22px;
  position: relative;
}

/* Separator line */
.collection-link:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background-color: rgba(222, 39, 32, 0.3);
}

/* Number */
.collection-number {
  font-size: 16px;
  opacity: 0.7;
}

/* Title */
.collection-title {
  position: relative;
}

/* Underline hover animation */
.collection-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.collection-link:hover .collection-title::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
  .project-collections {
    margin: 100px 20px 140px;
    gap: 36px;
  }

  .collection-link {
    font-size: 20px;
  }
}


/*----- p1-12 --------*/

/* Split hero layout */
.photo-hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 100px;
}

/* Image side */
.photo-hero-image {
  overflow: hidden;
}

.photo-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text side */
.photo-hero-info {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #DE2720;
  font-family: "Cormorant Garamond", serif;
}

.photo-title {
  font-size: 42px;
  margin-bottom: 24px;
  font-weight: 400;
}

.photo-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 32px;
}

.photo-price {
  font-size: 16px;
  font-family: "Zen Kurenaido", sans-serif;
  opacity: 0.9;
}

.photo-label {
  font-family: "Zen Kurenaido";
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 12px;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-modal.active {
  display: flex;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

.expandable-image {
  cursor: zoom-in;
}

.photo-enquiry-button {
  margin-top: 24px;
  width: fit-content;
  text-decoration: none;
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 14px;
  padding: 10px 26px;
  border: 1px solid #DE2720;
  border-radius: 40px;
  color: #DE2720;
  transition: all 0.3s ease;
}

.photo-enquiry-button:hover {
  background-color: #DE2720;
  color: white;
}


@media (max-width: 768px) {
  .photo-hero-split {
    grid-template-columns: 1fr;
  }

  .photo-hero-info {
    padding: 60px 30px;
  }

  .photo-title {
    font-size: 32px;
  }
}

/*--- double-cleanse ---*/

.double-cleanse {
  padding-top: 100px; /* match / slightly exceed header height */

}

.double-cleanse .project-overview {
  max-width: 760px;
  margin: 40px auto 40px;
  text-align: center;
}

.double-cleanse .project-overview-text {
  font-family: 'Coromant';
  font-size: 18px;
  line-height: 1.5;
  font-weight: 100;
  color: #DE2720;
}

/* 4-image row */
.project-image-row {
  width: 100%;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;   
  overflow: visible;
}

.project-image-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: default;
}

.project-mini-nav {
    display: flex;
    justify-content: center; /* center the links */
    gap: 40px;               /* space between each link */
    margin: 40px 0;          /* vertical spacing from hero / content */
    font-family: 'Zen Kurenaido';
}

.project-mini-nav .mini-nav-link {
    font-size: 18px;
    color: #DE2720;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.project-mini-nav .mini-nav-link.active {
    font-weight: 500;
}


.project-mini-nav .mini-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.project-mini-nav .mini-nav-link:hover::after {
    transform: scaleX(1);
}


.project-image-row + .studio-overview,
.project-image-row + .product-overview,
.project-image-row + .shopify-overview,
.project-image-row + .project-live-link {
  margin-top: -10px; /* pull sections closer */
}

.studio-overview,
.product-overview,
.shopify-overview {
  margin-top: 40px; /* space above the description */
  margin-bottom: 40px; /* keep some space below */
}


.project-live-link {
  margin-top: 25px; /* bring link closer to last image row */
  text-align: center;
}

/* 5-image variation */
.project-image-row.five-up {
  grid-template-columns: repeat(5, 1fr);
}


/* 6-image variation */
.project-image-row.six-up {
  grid-template-columns: repeat(3, 1fr);
}

.shopify-overview {
  margin-top: 40px;
  margin-bottom: 40px;
}

.project-image-row.five-up {
  grid-template-columns: repeat(5, 1fr);
}

.project-image-row img {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.project-image-row img:hover {
  transform: translateX(6px);
}

.project-image-row img:nth-child(odd):hover {
  transform: translateY(-6px) scale(1.02);
}

.project-image-row img:nth-child(even):hover {
  transform: translateY(-3px) scale(1.02);
}


/* Video preview section */
.project-video-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 60px auto 80px;
}

/* Clickable frame wrapper */
.mobile-frame-link {
  text-decoration: none;
}

/* Phone frame */
.mobile-frame {
  position: relative; /* 👈 THIS fixes it */
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.mobile-frame:hover {
  transform: translateY(-6px);
}

/* Video */
.mobile-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.mobile-frame::after {
  content: "Tap to play";
  position: absolute;
  bottom: 65px;
  left: 50%;
  font-weight: 800;
  transform: translateX(-50%);
  font-family: 'Zen Kurenaido';
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
}

/* Caption */
.video-caption {
  margin-top: 24px;
  max-width: 420px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 100;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(222, 39, 32, 0.85);
}

.video-caption a {
  font-family: 'Zen Kurenaido';
  font-size: 15px;
  color: #DE2720;
  text-decoration: none;
  position: relative;
}

video:fullscreen {
  object-fit: contain;
  background: black;
}

.video-caption a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.video-caption a:hover::after {
  transform: scaleX(1);
}



.project-live-link a {
  font-family: 'Zen Kurenaido';
  font-size: 18px;
  color: #DE2720;
  text-decoration: none;
  position: relative;
}

.project-live-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.project-live-link a:hover::after {
  transform: scaleX(1);
}

.project-bottom-nav {
    display: flex;
    justify-content: space-between; /* back left, next right */
    max-width: 820px;
    margin: 80px auto 60px; /* spacing from content and footer */
    padding: 0 20px;
    font-family: 'Zen Kurenaido';
}

.project-bottom-nav .bottom-nav-link {
    font-size: 18px;
    color: #DE2720;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.project-bottom-nav .bottom-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}

.project-bottom-nav .bottom-nav-link:hover::after {
    transform: scaleX(1);
}

/* Optional: slightly bolder or color change on hover */
.project-bottom-nav .bottom-nav-link:hover {
    color: #b21e1a;
    transform: translateX(2px);
}

.project-bottom-nav .bottom-nav-link.back:hover {
    transform: translateX(-2px);
}




@media (max-width: 1100px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row.five-up {
    grid-template-columns: 1fr;
  }
}

/* Responsive handling */
@media (max-width: 1200px) {
  .project-image-row.six-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.six-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row.six-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
    .project-bottom-nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row.five-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row.five-up {
    grid-template-columns: 1fr;
  }
}


/* Responsive */
@media (max-width: 900px) {
  .project-image-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 500px) {
  .project-image-row {
    grid-template-columns: 1fr;
  }
}


/*--- eye-care ---*/

.eye-care {
  padding-top: 100px;
}

/* Two-column project overview */
.project-overview.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;            /* tighter column gap */
  max-width: 1200px;    /* narrower text block */
  margin: 60px auto 60px;
  text-align: left;
  padding: 0 20px;     /* small, intentional side padding */
}
.project-overview.two-column .project-overview-text {
  text-align: left;
}

/* Mobile collapse */
@media (max-width: 800px) {
  .project-overview.two-column {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .project-overview.two-column .project-overview-text {
    text-align: center;
  }
}


.eye-care .project-overview-text {
  font-family: 'Cormorant';
  font-weight: 100;
  font-size: 18px;
  line-height: 1.6;
  color: #DE2720;
}

/* Image rows */
.project-image-row1 {
  width: 100%;
  padding: 0 40px 120px;
  display: grid;
  gap: 16px;
}

.project-image-row1.four-up {
  grid-template-columns: repeat(3, 1fr);
}


.project-image-row1.across-up {
  grid-template-columns: repeat(4, 1fr);
}

.project-image-row1.five-up {
  grid-template-columns: repeat(2, 1fr);
}

.project-image-row1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.project-image-row1 img:hover {
  transform: translateY(-6px) scale(1.02);
}

/* Text sections spacing */
.product-overview,
.studio-overview,
.shopify-overview {
  margin-top: -40px;
  margin-bottom: 40px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .project-image-row1.four-up,
  .project-image-row1.five-up {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .project-image-row1.four-up,
  .project-image-row1.five-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .project-image-row1 {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

/*--- campaign work ----*/


.campaign-page {
  padding-top: 100px;
}

/* Concept + section text */
.campaign-concept,
.campaign-section {
  max-width: 760px;
  margin: -20px auto 40px;
  text-align: center;
}

/* Image rows (reuse system) */
.campaign-page .project-image-row {
  padding-bottom: 120px;
}

/* Optional subtle section rhythm */
.campaign-section + .project-image-row {
  padding-top: 20px;
}

/* Video row */
.project-video-row {
  width: 100%;
  padding: 0 40px 120px;
  display: grid;
  gap: 16px;
}


.project-video-row.four-up {
  grid-template-columns: repeat(4, 1fr);
}

.project-image-row.three-up {
  grid-template-columns: repeat(3, 1fr);
}

/* Video styling */
.project-video-row video {
  width: 100%;
  aspect-ratio: 9 / 16; /* Instagram-friendly */
  object-fit: cover;
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

/* Hover motion (matches images) */
.project-video-row video:hover {
  transform: translateY(-6px) scale(1.02);
}

/* 2-up grid */
.project-image-row.two-up {
  grid-template-columns: repeat(2, 1fr);
}

/* Square crop */
.lightbox-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top; /* 👈 anchors image to the top */
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.lightbox-row img:hover {
  transform: scale(1.02);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 40px;
}



/* Active state */
.lightbox.active {
  display: flex;
}

/* Full image */
.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  line-height: 1;
}


/* Props section spacing */
.props-section {
  margin-top: 20px;
}

/* Props overview spacing */
.props-overview {
  margin-bottom: 20px;
}

/* Props image row */
.project-image-row.props-row {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 40px 120px;
}

/* Props images: keep true proportions */
.project-image-row.props-row img {
  width: 100%;
  height: auto;
  object-fit: contain; /* 👈 no cropping */
  background: transparent;
  cursor: default;
}

/* Props item */
.prop-item {
  text-align: center;
}

/* Caption styling */
.prop-item figcaption {
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 300;
  color: #DE2720;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.prop-item figcaption {
  opacity: 0.7;
  margin-top: 12px;
}




/* Responsive */
@media (max-width: 1100px) {
  .project-video-row.four-up {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .project-image-row.props-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .project-image-row.props-row {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 700px) {
  .project-image-row.two-up {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .project-video-row {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

@media (max-width: 480px) {
  .project-video-row {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}


/*----- vespa -----*/

/* ---------------- Editorial Project Layout ---------------- */

.editorial-project {
  width: 100%;
  color: #DE2720;
}

/* Hero */
/* Hero that respects image ratio */
.editorial-hero {
  width: 100%;
  margin-top: 40px; /* small breathing room below header */
}

.editorial-hero img {
  width: 100%;
  height: auto;      /* 👈 this is the key */
  display: block;
}
/* Intro */
.editorial-intro {
  max-width: 720px;
  margin: 120px auto 80px;
  text-align: center;
  padding: 0 20px;
}

.editorial-label {
  font-family: 'Zen Kurenaido';
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.editorial-title {
  font-family: 'Zen Kurenaido';
  font-size: 36px;
  font-weight: 400;
  margin: 16px 0 8px;
}

.editorial-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 40px;
}

.editorial-description {
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}

/* Full-width image */
.editorial-image {
  width: 100%;
  margin: 4px 0;
}

.editorial-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Two-column text */
.editorial-text.two-column {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
}

/* Image row */
.editorial-image-row.two-up {
  width: 100%;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.editorial-image-row img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Outro */
.editorial-outro {
  max-width: 640px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
  font-family: 'Cormorant';
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
}

.editorial-image-row.four-up {
  width: 100%;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.editorial-image-row.four-up img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .editorial-image-row.four-up {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 120px;
  }
}

@media (max-width: 600px) {
  .editorial-image-row.four-up {
    grid-template-columns: 1fr;
    padding: 0 20px 100px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .editorial-hero {
    height: 60vh;
  }

  .editorial-text.two-column {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .editorial-image-row.two-up {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }

  .editorial-title {
    font-size: 30px;
  }
}


/*--- aston martin ----*/

/* ---------------- Aston Martin Editorial Tweaks ---------------- */

.editorial-intro.compact {
  margin: 60px auto 60px;
}

/* ---------------- Editorial Hero ---------------- */
.editorial-hero {
  position: relative;
  width: 100%;
  height: 70vh; /* 70% of viewport height */
  max-height: 800px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.editorial-hero img,
.editorial-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures it fills area without distortion */
  object-position: bottom; /* aligns image/video from the top */
  display: block;
}

/* Optional overlay for text or gradient */
.editorial-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2));
  pointer-events: none;
}

/* Optional hero text */
.editorial-hero .hero-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  text-align: center;
  font-family: 'Cormorant', serif;
  font-size: 2.5rem;
  font-weight: 400;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .editorial-hero {
    height: 50vh;
  }

  .editorial-hero .hero-text {
    font-size: 1.8rem;
    bottom: 15px;
  }
}


/* 3-up row (WhatsApp graphics) */
.editorial-image-row.three-up {
  width: 100%;
  padding: 0 40px 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.editorial-image-row.three-up img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Single image section */
.editorial-image.single {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* Minimal outro */
.editorial-outro.minimal {
  margin-bottom: 80px;
  font-size: 17px;
  opacity: 0.8;
}

/* Square mailer preview */
.editorial-image.square {
  max-width: 680px;      /* 👈 bigger, more editorial */
  margin: 0 auto 80px;
  padding: 0 20px;
  background-color: #F4ECE5;
}

.editorial-image.square img {
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  width: 100%;
  aspect-ratio: 1 / 1;      /* square */
  object-fit: cover;
  object-position: top;     /* 👈 THIS is the key */
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.editorial-image.square img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Modal already exists, but ensure priority */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;

}

.image-modal.active {
  display: flex;
}

/* Close button */
.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}


@media (max-width: 900px) {
  .editorial-image-row.three-up {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}


/*---- mclaren ----*/

/* ---------------- McLaren Editorial Extensions ---------------- */

/* Mailer grid */
.editorial-mailers {
  max-width: 1100px;
  margin: 0 auto 140px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mailer-square img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mailer-square img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Feature section */
.editorial-feature {
  max-width: 720px;
  margin: 0 auto 60px;
  padding: 0 20px;
  text-align: center;
}

.editorial-feature-label {
  font-family: 'Zen Kurenaido';
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 8px;
}

.editorial-feature-title {
  font-family: 'Zen Kurenaido';
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 40px;
}

/* ---------------- McLaren Mailer Section ---------------- */

/* Bigger square grid */
.editorial-mailers.large {
  max-width: 1300px;
  margin: 0 auto 80px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Square previews */
.editorial-mailers.large img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top; /* 👈 anchor to top */
  cursor: zoom-in;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.editorial-mailers.large img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

/* Fullscreen modal */
.mclaren-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.mclaren-modal.active {
  display: flex;
}

.mclaren-modal img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

/* Close button */
.mclaren-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}


@media (max-width: 900px) {
  .editorial-mailers {
    grid-template-columns: 1fr;
    padding: 0 20px 100px;
  }
}

@media (max-width: 900px) {
  .editorial-mailers.large {
    grid-template-columns: 1fr;
    padding: 0 20px 100px;
  }
}


/*--- sage yoga ---*/
/* ---------------- Sage Yoga Editorial ---------------- */

.sage-project {
  color: #DE2720; /* soft sage / charcoal tone */
}



/* Wider intro for brand storytelling */
.editorial-intro.wide {
  max-width: 860px;
}


.editorial-hero-block {
  max-width: 600px;
  margin: 80px auto 120px;
  padding: 0 20px;
}

.editorial-hero-block video {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered philosophy text */
.editorial-text.centered {
  max-width: 720px;
  margin: 0 auto 120px;
  padding: 0 20px;
  text-align: center;
  font-family: 'Cormorant';
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
}

/* Phone-style video */
.editorial-video.phone video {
  max-width: 360px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Softer outro */
.sage-project .editorial-outro {
  max-width: 720px;
  opacity: 0.9;
}

.editorial-video.manual-play {
  position: relative;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  cursor: pointer;
  min-height: 200px;       /* optional: ensures some height for small videos */
}

.editorial-video.manual-play video {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 8px; /* optional styling */
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfectly centers button */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.editorial-video.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}


@media (hover: hover) {
  .video-play-btn:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.65);
  }
}


/* -------- Editorial image rows -------- */

.editorial-image-row {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 20px;
  display: grid;
  gap: 24px;
}

.editorial-image-row.three-up {
  grid-template-columns: repeat(3, 1fr);
}

/* Treat videos like images */
.editorial-image-row img,
.editorial-image-row video {
  width: 100%;
  height: auto;
  display: block;
}

.editorial-image-row.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.sage-project .editorial-image-row video {
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}



@media (hover: hover) {
  .editorial-image-row video:hover {
    opacity: 0.95;
  }
}

@media (max-width: 768px) {
  .editorial-image-row.three-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .editorial-image-row.two-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .editorial-video {
    margin: 80px 0;
  }

  .editorial-video.phone video {
    max-width: 280px;
  }
}


/*----- Quivertree Work -----*/

/* --- Hospitality editorial sections --- */

.hospitality-project {
  color: #DE2720;
}

/* Section spacing */
.editorial-section {
  margin-bottom: 30px;
}

.editorial-hero {
  padding: 60px 0;   /* top, sides, no bottom */
}

.editorial-hero img {
  width: 100%;
  height: 85vh;           /* adjust if needed */
  object-fit: cover;
  object-position: top;   /* 👈 this is the key part */
  display: block;
}


/* Luxury header */
.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-title {
  font-family: 'Zen Kurenaido';
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 8px;
}

.section-meta {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 24px;
}

.section-description {
  font-family: 'Cormorant';
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

/* Slideshow (luxury = no chaos) */
.editorial-slideshow {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 24px;
  overflow-x: auto;
  padding: 0 40px;
  scroll-snap-type: x mandatory;
}

.editorial-slideshow img {
  width: 100%;
  height: auto;
  scroll-snap-align: center;
  object-fit: cover;
}

/* Banhoek – natural ratio image stack */
.editorial-image-stack {
  max-width: 720px;          /* keeps it intimate + print-like */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;                 /* space between images */
}

.editorial-image-stack img {
  width: 100%;
  height: auto;              /* 👈 respects original resolution */
  display: block;
}

.editorial-image-stack img {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.editorial-image-stack img:first-child {
  margin-bottom: 12px;
}

/* Providence website credit section */
.website-credit {
  margin-top: 40px;          /* pulls it closer to Banhoek */
}

.section-header.small {
  margin-bottom: 24px;
}

.section-header.small .section-title {
  font-size: 24px;
}

.website-credit-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.website-credit-content p {
  font-family: 'Cormorant';
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Editorial link style */
.editorial-link {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.editorial-link:hover {
  opacity: 0.7;
}

.website-credit-content {
  opacity: 0.85;
}


@media (max-width: 768px) {
  .editorial-slideshow {
    grid-auto-columns: 90%;
    padding: 0 20px;
  }

  .editorial-section {
    margin-bottom: 120px;
  }
}

@media (max-width: 768px) {
  .editorial-hero {
    padding: 40px 20px 0;
  }

  .editorial-hero img {
    height: 50vh;
  }
}
