


:root {
  --coral: #EB6F5F;
  --dark: #1c1c1c;
  --light: #faf7f5;
  --grey: #4A5565;
  --warm-grey: #6F6A67;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--dark);
}

/* HEADINGS */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.8rem;
}


/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-inner .logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--dark);
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--dark);
  position: relative;
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-social a {
  margin-left: 1rem;
  color: var(--dark);
}

.nav-social a:hover {
  color: var(--coral);
  transform: scale(1.1);
}
.nav-social img,
.nav-social svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}
.nav-links a,
.nav-social a,
.lang {
  color: var(--warm-grey);
  text-decoration:none;
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--warm-grey);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}

.lang-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  background: white;
  border: 1px solid #ddd;
  border-radius: 0rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  min-width: 150px;
  z-index: 1000;
  padding-top: 0.3rem;
}

.lang-menu a {
  display: block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--grey);
  font-size: 0.9rem;
  white-space: nowrap;
}

.lang-menu a:hover {
  background: #f7f3f1;
  color: var(--coral);
}

.lang-dropdown:hover .lang-menu,
.lang-menu:hover {
  display: block;
}

.lang-menu.show {
  display: block;
}

/* HERO */
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 4vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
  text-align: center;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.2;
  color: #444;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hero {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
}
.hero h1 {
  color: var(--warm-grey);
}

.hero p {
  color: var(--warm-grey);
}


.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.85rem 1.5rem;   /* slim */
  border-radius: 1.5rem;     /* slim */
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.button-primary {
  background: var(--coral);
  color: white;
  border: 1.5px solid var(--coral);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #d85f52;
}

.button-secondary {
  background: white;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.button-secondary:hover {
  transform: scale(1.05);
  background: #f5f5f5;
}


.hero {
  position: relative;
  min-height: 100vh; /* full viewport height */
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #fff6f3 100%);
  overflow: hidden;
}



.decor-circle {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.15;
  top: -60px;
  right: -60px;
}

.button-secondary:hover {
  transform: scale(1.05);
  background: #f5f5f5; /* subtle hover tint */
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
body {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff6f3 100%
  );
}


/* SECTIONS */
.section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  background: white;
  border-radius: 2rem;
}


/* === ABOUT SECTION === */

.about {
  background: #fffcfb;
  padding: 8rem 8vw;
}

.about-inner {
  max-width: 1800px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1rem;
  align-items: start;
}

/* === TEXT === */

.about-text {
  text-align: justify;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight:500;
  color: var(--warm-grey);
}

.about-text h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight:500;
  color: var(--warm-grey);
}

.about-text p {
  max-width: 520px;
  line-height: 1.6;
  color: var(--warm-grey);
}

.about-text .intro {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.about-text .background-block p {
  font-weight: 400;
}

.about-text .background-block p:first-of-type {
  font-weight: 600;
}

.about-text {
  padding-left: 24rem;
}


/* === IMAGE COLUMN === */

.about-gallery {
  height: 640px;           /* controls visible area */
  overflow: hidden;
}



.image-track img {
  width: 100%;
  max-width: 1600px;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* === ANIMATION === */

@keyframes drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

/* === Responsive Layout === */
@media screen and (max-width: 1024px) {
  .about-wrapper {
    flex-direction: column; /* stack vertically */
  }

  .about-gallery {
    margin-top: 1.5rem;     /* space between text and images */
    overflow-x: visible;    /* show full gallery or let it scroll naturally */
  }
}

/* SERVICES — CLEAN VERSION */

.services {
  background: linear-gradient(180deg, #fff4f1 25%, #fff4f1 100%);
  width: 100%;
  padding: 4rem 0; /* optional but helps spacing */
}


.offer-header {
  margin: 0 auto 3rem;
  text-align: left;
}

.offer-header .section-title {
  font-size: 2.6rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--warm-grey);
  margin-bottom: 1rem;
}

.offer-header .section-lead {
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--warm-grey);
  line-height: 1.6;
}



.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
}

.card-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--warm-grey);
}

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.service-card p {
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--warm-grey);
  margin-top: 1rem;
  text-align: justify;
  hyphens: auto;
}


.service-card {
  background: white;
  border-radius: 2rem;
  padding: 1.5rem 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}


.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(111, 106, 103, 0.08);
  transform: translateY(-4px);
}


.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--coral);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}



/* PROJECTS */

.projects-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}

/* Lead project: ~80% width */
.project-card.featured {
  grid-column: 1 / -1;
}


/* Card structure */
.project-card {
  display: flex;
  flex-direction: column;
}



/* Text under image */
.project-info {
  margin-top: 1rem;
}

.project-info h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}


.project-card img {
  transition: transform .7s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.projects-section .section-title {
  margin-left: 6rem;
  color: var(--warm-grey);
}

/* PROJECT FILTERS */

.project-filters {
  display: flex;
  gap: 1rem;
  margin-left: 6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 999px; /* pill shape */
  border: 1px solid var(--warm-grey);
  background: transparent;

  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: var(--warm-grey);

  cursor: pointer;
  transition: all .25s ease;
}

/* Hover state */
.filter-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

/* Active tab */
.filter-btn.active {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}

.projects-section {
  padding: 8rem 2rem;
  background: #FFFCFB;
  border-radius: 3rem;
}

.project-info {
  margin-top: 1rem;
  position: relative; /* ensures it sits under the image */
  z-index: 2;
}

.project-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--warm-grey);
  margin-bottom: 0.3rem;
}

.project-info p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--warm-grey);
  line-height: 1.4;
}

.projects-container {
  max-width: 1200px;
  margin: 0 auto;
}


/* SUSTAINABILITY */

.sustainability-section {
  background: white;
  padding: 4rem 2rem;
  border-radius: 1.5rem;
}

.sustainability-container {
  max-width: 800px;
  margin: 0 auto;
}

.sustainability-section .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight:500;
  color: var(--warm-grey);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.section-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--warm-grey);
  text-align: left;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.section-intro {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--warm-grey);
  text-align: left;
  max-width: 800px;
  margin-left: 0;
  text-align: justify;
  margin-bottom: 3rem;
  line-height: 1.7;
}


.sustainability-block {
  margin-bottom: 3rem;
}

.sustainability-block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.95rem;
  font-weight: 600;
  line-height: 2rem;
  color: var(--warm-grey);
  margin-bottom: 1rem;
}

.sustainability-block p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--warm-grey);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
  hyphens: auto;
  max-width: 800px;
}

.sustainability-block strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--warm-grey);
  text-align: justify;
  hyphens: auto;
  max-width: 800px;
}

.sustainability-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.sustainability-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--warm-grey);
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 1.2rem;
}

.sustainability-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-size: 1.2rem;
  line-height: 1;
}

.sustainability-block .button-primary {
  margin-top: 1.5rem;
  display: inline-block;
}

/* Anchor line for sustainability section titles */
.sustainability-block h3 {
  position: relative;
  padding-left: 1.4rem; /* space for the line */
  padding-bottom: 1.4rem;
}

.sustainability-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 3px;
  height: 1.6em; /* matches the height of the title text */
  background: var(--coral); /* or var(--warm-grey) if preferred */
  border-radius: 3px;
  opacity: 0.35;
}

.sustainability-content {
  max-width: 800px;
  margin: 0 auto;
}

/* CONTACT */

.contact-section {
  position: relative;
  background: #FFF4F1;
  padding: 7rem 2rem;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  text-align: left;
}

.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
  color: var(--warm-grey);
}

.contact-info p {
  font-family: 'Poppins', sans-serif;
  color: #555;
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.info-card {
  background: white;
  border-radius: 1.8rem;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.info-card .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.4rem;
}

.contact-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--dark);
  transition: transform 0.2s ease;
}

.contact-social-icons img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.contact-social-icons a:hover {
  transform: scale(1.1);
}

.contact-form-card {
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 1.8rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: none;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  margin-top: 0.4rem;
  box-shadow: 0 0 0 1px #eee inset; /*subtle inner line */
}

.contact-form-card textarea {
  resize: none;
  height: 120px;
}


/* CONTACT SECTION */
.contact-section {
  position: relative;
  background: #FFF4F1;
  padding: 7rem 2rem;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* LEFT */
.contact-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--warm-grey);
  text-align: left;            /* forces left alignment */
  line-height: 1.2;            /* smaller line height */
}

.contact-info p {
  font-family: 'Poppins', sans-serif;
  color: #555;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.contact-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--warm-grey);
  text-align: left;
  margin-bottom: 2rem;
  max-width: 420px;
}



.info-card {
  background: white;
  border-radius: 1.8rem;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  max-width: 360px;
}

.info-card .label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: warm-grey;
  margin-bottom: 0.4rem;
}

.info-card strong {
  font-weight: 300;
}


.contact-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral); /* coral background */
  border: none;
  transition: transform 0.2s ease;
}
.contact-social-icons {
  display: flex;
  justify-content: center;     /* centers icons horizontally */
  gap: 2rem;                   /* more space between icons */
  margin-top: 1.5rem;
}

.contact-info {
  text-align: center;
}

.contact-social-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.info-card + .contact-social-icons {
  margin-top: 2rem;
}

.contact-social-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;     /* keeps text left-aligned */
}


/* ==================== RIGHT FORM ==================== */
.contact-form-card {
  background: white;
  border-radius: 2.5rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  position: relative; /* for any absolute elements inside */
}

.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 1.8rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: none;
  border-radius: 1rem;
  padding: 0.9rem 1.1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--dark);
  margin-top: 0.4rem;
  background: white;
}

.contact-form-card textarea {
  resize: none;
  height: 120px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--coral) inset;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.contact-form-card label {
  display: block;
  font-size: 0.85rem;
  color: var(--warm-grey);
  margin-bottom: 0.6rem;
}

/* ==================== SUCCESS / ERROR POPUP ==================== */
.success-popup {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.45); /* soft overlay */
  display: flex; justify-content: center; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.success-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-popup-content {
  background: #fff;
  padding: 2.5rem 3rem;
  border-radius: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  animation: popupFadeIn 0.4s ease forwards;
}

.success-popup-content h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #222;
  font-weight: 600;
}

.success-popup-content p {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

#close-popup {
  cursor: pointer;
  background-color: #222;
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 600;
  border: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

#close-popup:hover {
  background-color: #444;
  transform: translateY(-2px);
}

/* ==================== POPUP ANIMATION ==================== */
@keyframes popupFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* DECORATIVE CIRCLES */
.contact-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.15;
}

.contact-circle.top-right {
  width: 120px;
  height: 120px;
  top: 2rem;
  right: 3rem;
}

.contact-circle.bottom-left {
  width: 160px;
  height: 160px;
  bottom: 2rem;
  left: 3rem;
}



/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
.contact-section {
  padding-bottom: 8rem;
}


/* FOOTER */
.footer {
  padding: 3rem 2rem;
  background: white;
  text-align: center;
  font-size: 0.9rem;
  position: relative;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-social a:hover img {
  transform: scale(1.1);
}

.footer-text {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-heart {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(48%) sepia(32%) saturate(1500%) hue-rotate(330deg) brightness(95%) contrast(90%);
}

.about-gallery {
  position: relative;
  overflow: hidden;
  padding-top: 2rem;

}

.image-loop {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each image follows the elliptical orbit */
.about-gallery img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: 800px;
  height: auto;

  animation:
    ellipseOrbit 14s linear infinite,
    breathe 10s ease-in-out infinite alternate;
  opacity: 0;
}

/* Stagger the images */
.about-gallery img:nth-child(1) { animation-delay: 0s; }
.about-gallery img:nth-child(2) { animation-delay: 6s; }
.about-gallery img:nth-child(3) { animation-delay: 12s; }
.about-gallery img:nth-child(4) { animation-delay: 18s; }
.about-gallery img:nth-child(5) { animation-delay: 24s; }
.about-gallery img:nth-child(6) { animation-delay: 30s; }
.about-gallery img:nth-child(7) { animation-delay: 36s; }
.about-gallery img:nth-child(8) { animation-delay: 42s; }
.about-gallery img:nth-child(9) { animation-delay: 48s; }
.about-gallery img:nth-child(10) { animation-delay: 54s; }
.about-gallery img:nth-child(11) { animation-delay: 60s; }
.about-gallery img:nth-child(12) { animation-delay: 66s; }
.about-gallery img:nth-child(13) { animation-delay: 72s; }
.about-gallery img:nth-child(14) { animation-delay: 78s; }

/* Gentle breathing */
@keyframes breathe {
  0%   { transform: scale(1); }
  100% { transform: scale(1.03); }
}


.about-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-text {
  max-width: 900px;
}

.about-gallery {
  width: 100%;
}

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

.about-section {
  padding: 6rem 2rem; /* top/bottom 6rem, left 2rem, right 1rem */
}

.about-inner {
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2.2fr;
  gap: 1rem;
  align-items: start;
}

.about-text {
  max-width: 900px;
}

@keyframes ellipseOrbit {
  /* bottom-back (reappearing) */
  0%   { transform: translateY(60%) scale(0.3); opacity: 0; }

  /* rising toward mid-back */
  15%  { transform: translateY(30%) scale(0.45); opacity: 0.2; }

  /* mid-front */
  35%  { transform: translateY(10%) scale(0.7); opacity: 0.6; }

  /* front of ellipse (largest, brightest) */
  50%  { transform: translateY(0%) scale(1.2); opacity: 1; }

  /* moving upward toward back */
  65%  { transform: translateY(-10%) scale(0.7); opacity: 0.6; }

  /* mid-back */
  85%  { transform: translateY(-30%) scale(0.45); opacity: 0.2; }

  /* top-back (disappear) */
  100% { transform: translateY(60%) scale(0.3); opacity: 0; }
}

.project-card {
  cursor: pointer;
}


/* Featured project hero image */
.project-card.featured .project-image {
  width: 100%;
  height: 60vh;      /* adjust height to taste */
  overflow: hidden;
}

.project-card.featured .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crops top & bottom */
  object-position: center;
}

/* REGULAR PROJECTS — reset image behavior */ 
.project-card:not(.featured) .project-image {
 width: 100%; 
 height: auto; 
 overflow: visible;

} 

.project-card:not(.featured) .project-image img {
  width: 100%;  
  height: auto; 
  object-fit: contain; 

} 

/* REGULAR PROJECTS — text under image */ 

.project-card:not(.featured) {
  display: flex; 
  flex-direction: column; 
} 

.project-card:not(.featured) .project-info { 
  margin-top: 1rem; 
}

/* Project 3: smaller, non‑grainy hero image */
.project-card.featured.project-3 .project-image {
  height: 40vh; /* adjust to taste */
  overflow: hidden;
}

.project-card.featured.project-3 .project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* Regular project images: smaller, consistent size */
.project-card:not(.featured) .project-image img {
  width: 100%;
  height: auto;
  max-height: 350px; /* adjust to taste */
  object-fit: cover;
  object-position: center;
  border-radius: 4px; /* optional, looks nice */
}

/* Project 3: reduce image size to avoid grain */
.project-card.featured.project-3 .project-image {
  height: 30vh; /* adjust to taste */
  overflow: hidden;
}

.project-card.featured.project-3 .project-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* MAGAZINE SPREAD — refined layout */
.project-3 .magazine-spread {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 3rem;
  padding: 4rem 0;
  align-items: start;
}

/* LEFT IMAGE */
.project-3 .spread-left img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* TEXT UNDER LEFT IMAGE */
.project-3 .spread-text {
  grid-column: 1 / 2;
  margin-top: 1.2rem;
  max-width: 60ch;
  margin-left: 12rem; /* add this */
}

.project-3 .spread-text h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* RIGHT COLUMN — FIRST IMAGE */
.project-3 .spread-right img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* RIGHT COLUMN — SECOND IMAGE UNDER TEXT */
.project-3 .spread-right-lower {
  grid-column: 2 / 3; /* right column */
  margin-top: 1rem;
}

.project-3 .spread-right-lower img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* PROJECT 2 — HERO + ORGANIC GRID */
.project-2 {
  padding: 4rem 0;
}

/* HERO CONTAINER — controls alignment */ 

.project-2 .p2-hero { 
max-width: 1200px; /* match nav width */ 
margin: 0 auto; /* center the whole block */ 
padding: 0 2rem; /* same side padding as nav */ 
} 

/* HERO IMAGE — controls size only */ 
.project-2 .p2-hero img { 
width: 100%; /* fill the container */ 
height: auto; /* no distortion */ 
max-height: 70vh; /* your chosen size */ 
border-radius: 2px; 
display: block; /* ensures no inline gaps */ 
}

/* TEXT BLOCK — aligned to left of hero */ .project-2 .p2-text { max-width: 1200px; /* same width as hero */ margin: 1.5rem auto 3rem; padding: 0 2rem; /* same side padding as hero */ text-align: left; /* ensures left alignment */ } /* Smaller title */ .project-2 .p2-text h1 { font-size: 1.8rem; margin-bottom: 1rem; }
/* ORGANIC GRID */
.project-2 .p2-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

/* Organic image sizing */
.project-2 .p2-grid img:nth-child(1) {
  grid-column: span 7;
  height: auto;
}

.project-2 .p2-grid img:nth-child(2) {
  grid-column: span 5;
}

.project-2 .p2-grid img:nth-child(3) {
  grid-column: span 4;
}

.project-2 .p2-grid img:nth-child(4) {
  grid-column: span 8;
}

.project-2 .p2-grid img:nth-child(5) {
  grid-column: span 6;
}

.project-2 .p2-grid img {
  width: 100%;
  height: auto;        /* keeps natural proportions */
  object-fit: contain; /* prevents distortion */
  max-width: 100%;     /* prevents upscaling */
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
/* FIRST IMAGE BELOW TEXT — smaller */
.project-2 .p2-grid img:nth-child(1) {
  grid-column: span 4;   /* was larger before */
  max-height: 35vh;      /* reduces visual size */
  object-fit: contain;   /* keeps proportions */
}



.project-1 .container {
  max-width: 1200px;       /* limits how wide the section can go */
  margin: 0 auto;          /* centers it horizontally */
  padding: 0 2rem;         /* space from screen edges */
}

.p1-layout {
  display: grid;
  grid-template-columns: 500px 1fr; /* image fixed width, text fills remaining space */
  gap: 4rem;                        /* larger space between image and text */
  align-items: start;
}

.p1-image img {
  width: 100%;          /* fills the image column */
  height: auto;         /* maintain aspect ratio */
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.p1-text h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.p1-text p {
  font-size: 1rem;
  line-height: 1.55;
}

/* PROJECT PAGE TYPOGRAPHY FIX */
.project-1 .p1-text h1 {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--warm-grey);
}

.project-1 .p1-text p {
  font-size: 1rem;
  line-height: 1.55;
}

/* PROJECT 2 — TYPOGRAPHY FIX */
.project-2 .p2-text h1 {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--warm-grey);
}

.project-2 .p2-text p {
  font-size: 1rem;
  line-height: 1.55;
  color: #555;
  max-width: 60ch;
}

/* PROJECT 3 — TYPOGRAPHY FIX */
.project-3 .spread-text h1 {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--warm-grey);
  margin-bottom: 1rem;
}

.project-3 .spread-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  max-width: 60ch;
}

.press-feature {
  margin-top: 6rem;
  padding-top: 3rem;
}

.press-feature__inner {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.press-feature__image img {
  width: 460px;     
  height: auto;
  object-fit: cover;
  border-radius: 6px; /* optional, softens the look */
  opacity: 0.95;      /* slightly muted */
}

.press-feature__text h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: -0.005em;
  color: var(--warm-grey);
}

.press-feature__text p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  max-width: 55ch;
  text-align: justify;
  color: var(--warm-grey);
}

.press-feature__credit {
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.5rem;
}


.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.success-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.success-popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.success-popup-content h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.success-popup-content p {
  margin-bottom: 20px;
  font-size: 1rem;
}

#close-popup {
  cursor: pointer;
}
