
/* --------------------------
      BASE RESET
--------------------------- */

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

html, body {
  height: 100%;
  width: 100%;
  font-family: "Spectral";
  font-size: 10px;
  background-color: #FFFFFF;
  color: #27211B;
  letter-spacing: 0.5px;
}

/* Page fade-in transition */
body {
  opacity: 0;
  animation: fadeInFromWhite 0.5s ease-in-out forwards;
}

@keyframes fadeInFromWhite {
  from {
    opacity: 0;
    background-color: #FFFFFF;
  }
  to {
    opacity: 1;
    background-color: #FFFFFF;
  }
}

/* --------------------------
      FONT IMPORTS
--------------------------- */

/* Reforma Light */
@font-face {
  font-family: "Reforma";
  src: url("assets/ReformaLight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

/* Spectral Light */
@font-face {
  font-family: "Spectral";
  src: url("assets/Spectral-Light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
}

/* Spectral Light Italic */
@font-face {
  font-family: "Spectral";
  src: url("assets/Spectral-LightItalic.woff2") format("woff2");
  font-weight: 200;
  font-style: italic;
}

/* Spectral Extralight */
@font-face {
  font-family: "Spectral";
  src: url("assets/Spectral-ExtraLight.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

/* Spectral Extralight Italic */
@font-face {
  font-family: "Spectral";
  src: url("assets/Spectral-ExtraLightItalic.woff2") format("woff2");
  font-weight: 100;
  font-style: italic;
}


/* -------------------
          ALL 
---------------------- */

body {
  padding: 0 120px;
}

#mobile {
  display: none;
}

/* --------------------------
     HEADER
--------------------------- */

/* Header Logo */
.landing-header {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 4rem 0 4rem 0;
}

.landing-logo {
  height: auto;
  width: 20%;
  min-width: 300px;
}

.menu {
  font-family: "Reforma";
  font-size: 1.75rem;
  letter-spacing: -0.025rem;
  margin-top: 1.25rem;
}

.menu-link {
  margin: 0 7px;
  text-decoration: none;
  color: #B1B1B1;
  transition: color 0.3s ease; 
}

.menu-link.active {
  color: #3E7D5A;
}

.menu-link:hover {
  color: #3E7D5A;
}


/* --------------------------
     PROGRAMME TITLE
--------------------------- */

h1 {
  font-family: "Reforma";
  font-weight: 100;
  font-size: 2.75rem;
  color: #3E7D5A;
}

p { 
  font-family: "Spectral";
  font-weight: 100;
  font-size: 2.75rem;
  font-style: italic;
  letter-spacing: -0.025rem;
  color: #27211B;
}

#title {
  width: 100%;
  max-width: 100%;
  padding-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 0rem; /* adjust spacing between columns */
  width: 100%;
}

.grid-item1 {
  grid-column: 1 / 2; /* occupy column 1 */
}

.grid-item2 {
  grid-column: 2 / 4; /* start at column 2, span to column 3 (2–4) */
}

.grid-item3 {
  grid-column: 1 / 4;
}

.grid-item4 {
  grid-column: 2 / 3; /* occupy column 1 */
}

.grid-item5 {
  grid-column: 3 / 4; /* occupy column 1 */
}

.schedule-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  color: #3E7D5A;
}

/* --------------------------
     FILTERS
--------------------------- */

#filters {
  position: sticky;
  top: 0;                 /* sticks to the top */
  z-index: 999;            /* sits above event cards */
  margin-bottom: -67px;
}

#filter-btns {
  display: flex;
  align-items: center;   /* vertically align h1 + buttons */
  gap: 1.5rem;           /* spacing between items */
  margin: 15px 0;
}

.filter-title {
  font-family: "Reforma";
  font-weight: 100;
  font-size: 2.25rem;
  color: #3E7D5A;
}

.btn {
  font-family: "Reforma";
  font-weight: 100;
  font-size: 1.4rem;
  background-color: #fff;
  border: 0.75px solid #3E7D5A;
  border-radius: 5px;
  text-decoration: none;
  color: #3E7D5A;
  padding: 8px 16px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.active,
.btn:hover {
  background-color: #3E7D5A;
  color: #fff;
}

hr {
  margin: 10px 0 0 0;
  border: 1px dotted #3E7D5A;
  border-style: dotted none none; 
  color: #fff; 
  background-color: #fff;
}

#events {
  width: 100%;
  margin-top: -20px;
  margin-bottom: 40px;
}

.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 20px;
  overflow: hidden;
}

#weeks {
  position: sticky;
  background-color: #FFFFFF;
  top: 0;                 /* sticks to the top */
  z-index: 888;            /* sits above event cards */
  padding-top: 1px;
}

/* --------------------------
     EVENT CARDS
--------------------------- */

.filterDiv {
  display: none;       /* hide all by default */
  padding: 10px 0 10px 0;
  margin: 5px 0;
}

.filterDiv.show {
  display: block;      /* show only filtered items */
}

a.master {
  text-decoration: none;
}

.week-title {
  padding: 10px 0 0 0;
  font-family: "Reforma";
  font-weight: 100;
  font-size: 1.5rem;
  font-style: normal;
  line-height: 2.25rem;
  letter-spacing: -0.025rem;
  color: #27211B;
}

.event-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover; /* cover the container without distortion */
  object-position: center; /* optional: center the image */
  display: block;    /* remove small gaps under images */
  border-radius: 5px;
}

.event-title {
  padding-top: 10px;
  font-family: "Spectral";
  font-weight: 100;
  font-size: 2.25rem;
  font-style: normal;
  line-height: 3rem;
  letter-spacing: -0.025rem;
  color: #27211B;
}

.event-subtitle {
  font-family: "Spectral";
  font-weight: 100;
  font-size: 2.25rem;
  font-style: italic;
  line-height: 3rem;
  letter-spacing: -0.025rem;
  color: #3E7D5A;
}

.event-info {
  padding-top: 10px;
  font-family: "Spectral";
  font-weight: 100;
  font-size: 1.6rem;
  font-style: normal;
  letter-spacing: -0.025rem;
  color: #27211B;
}

.event-date {
  padding: 10px 0 25px 0;
  font-family: "Spectral";
  font-weight: 100;
  font-size: 1.6rem;
  font-style: normal;
  letter-spacing: -0.025rem;
  color: #3E7D5A;
}

/* --------------------------
    DAILY SCHEDULE
--------------------------- */

#schedule {
  width: 100%;
  max-width: 100%;
  padding-top: 40px;
  padding-bottom: 20px;
}

hr.schedule {
  margin: 10px 0 10px 0;
}

.schedule-span { 
  font-style: italic;
  color: #3E7D5A;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  gap: 2rem; /* adjust spacing between columns */
  width: 100%;
  padding-bottom: 80px;
}

.grid2-item1 {
  grid-column: 2 / 3; /* occupy column 1 */
  font-family: "Spectral";
  font-weight: 100;
  font-size: 1.75rem;
  font-style: normal;
  line-height: 2.25rem;
  letter-spacing: -0.025rem;
  color: #27211B;
}

.grid2-item2 {
  grid-column: 3 / 4; /* start at column 2, span to column 3 (2–4) */
  font-family: "Spectral";
  font-weight: 100;
  font-size: 1.75rem;
  font-style: italic;
  line-height: 2.25rem;
  letter-spacing: -0.025rem;
  color: #3E7D5A;
}

.grid2-item3 {
  grid-column: 2 / 4;
}

hr.grid2-item3 {
  margin: 0 0 0 0;
}

/* ===========================
       FOOTER SECTION
=========================== */

#footer {
  padding: 20px 0 60px 0;
  text-align: left;
}

.footer-logo {
  margin-top: 7px;
  width: 50%;
}

.ml-embedded {
  margin-top: -3px;
  justify-self: start;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin-left: -20px;
}

.footer-dates {
  font-family: "Spectral";
  font-size: 2.25rem;
  font-style: normal;
  color: #27211B;
  line-height: 3.25rem;
}

.footer-address {
  font-family: "Spectral";
  font-size: 2.25rem;
  font-style: normal;
  color: #27211B;
  text-decoration: none;
  line-height: 3.25rem;
}

.footer-link {
  font-family: "Spectral";
  font-size: 2.25rem;
  font-style: italic;
  line-height: 3.25rem;
  font-weight: 100;
  letter-spacing: -0.025rem;
  text-decoration: none;
  color: #3E7D5A;
}

.footer-link:hover {
  text-decoration: none;
  color: #244533;
  transition: 0.5s;
}

/* ===========================
    COLLABORATORS SECTION
=========================== */

#collaborators {
  width: 100%;
  padding: 2rem 0rem 4rem;
  background: #FFFFFF;
  color: #27211B;
  text-align: left;
}

.collab-title {
  font-family: "Reforma";
  font-size: 4rem;
  color: #6C8B76;
  margin-bottom: 1rem;
  font-weight: 100;
  font-style: normal;
  -webkit-text-stroke: 0.25px white;
  letter-spacing: -1.5px;
}

.collab-intro {
  font-family: "Spectral";
  font-size: 2.5rem;
  line-height: 3.25rem;
  letter-spacing: -0.25px;
  font-weight: 100;
  width: 100%;
  margin: 0 auto 3rem;
}

/* GRID */
.collab-grid {
  display: grid;
  gap: 2.5rem; /* gap remains fixed at all sizes */
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}


/* CARD */
.collab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

/* IMAGE BOX */
.collab-image {
  width: 100%;
  height: 250px;        /* uniform box height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;     /* needed for rounded corners */
  border-radius: 5px;
  background: #f1f1f1;
}

/* IMAGE ITSELF */
.collab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;   /* to match the container curve */
}

/* NAME + ROLE */
.collab-name {
  margin-top: 0.75rem;
  font-family: "Reforma";
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}

.collab-role {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 200;
  font-size: 1.5rem;
  letter-spacing: -0px;
}

/* FOOTER TEXT */
.collab-footer {
  margin-top: 3rem;
  font-family: "Spectral";
  font-size: 2.5rem;
  color: #6C8B76;
  font-style: italic;
  font-weight: 100;
  letter-spacing: -0.25px;
  text-align: center;
}


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

/* --- 1024PX TABLET/SMALL LAPTOP --- */

@media (max-width: 1100px) {
  body {
    padding: 0 40px;
  }

  .landing-logo {
    width: 32%;
  }

  .menu {
    font-size: 1.6rem;
    text-align: center;
  }

  /* Programme title + intro */
  h1 {
    font-size: 2.2rem;
  }

  p {
    font-size: 2.2rem;
  }

  .grid {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }

  .grid-item1,
  .grid-item2,
  .grid-item3,
  .grid-item4,
  .grid-item5 {
    grid-column: 1 / -1;
  }

  /* Filters + weeks */
  #filters {
    position: static;
    margin-bottom: 0;
  }

  #filter-btns {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .filter-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  #weeks {
    position: static;
    padding-top: 0;
  }

  /* Event grid */
  .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

/* --- COLLABORATORS SECTION --- */

#collaborators {
  width: 100%;
  padding: 1rem 0rem;
  color: #27211B;
  text-align: left;
}

.collab-title {
  font-family: "Reforma";
  font-size: 3rem;
  color: #6C8B76;
  margin-bottom: 1rem;
  font-weight: 100;
  font-style: normal;
  -webkit-text-stroke: 0.25px white;
  letter-spacing: -1.5px;
}

.collab-intro {
  font-family: "Spectral";
  font-size: 2.25rem;
  line-height: 3rem;
  letter-spacing: -0.25px;
  font-weight: 100;
  width: 100%;
  margin: 0 auto 3rem;
}

/* GRID */
.collab-grid {
  display: grid;
  gap: 1.5rem; /* gap remains fixed at all sizes */
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}


/* CARD */
.collab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

/* IMAGE BOX */
.collab-image {
  width: 100%;
  height: 120px;        /* uniform box height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;     /* needed for rounded corners */
  border-radius: 5px;
  background: #f1f1f1;
}

/* IMAGE ITSELF */
.collab-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;   /* to match the container curve */
}

/* NAME + ROLE */
.collab-name {
  margin-top: 0.75rem;
  font-family: "Reforma";
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: -0.5px;
}

.collab-role {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 200;
  font-size: 1.4rem;
  line-height: 1.8rem;
  letter-spacing: -0px;
}

/* FOOTER TEXT */
.collab-footer {
  margin-top: 2rem;
  font-family: "Spectral";
  font-size: 2rem;
  color: #6C8B76;
  font-style: italic;
  font-weight: 100;
  letter-spacing: -0.25px;
  text-align: center;
}

}

/* --- 600PX MOBILE --- */

@media (max-width: 600px) {
  body {
    padding: 0 20px;
  }

  .landing-logo {
    width: 45%;
    min-width: 80%;
  }

  /* Header Logo */
  .landing-header {
    padding: 4rem 0 4rem 0;
  }

  .menu {
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.025rem;
  }

  p {
    font-size: 2rem;
  }

  .btn {
    font-size: 1.5rem;
    padding: 7px 12px;
  }

  #filter-btns {
    gap: 1rem 0;           /* spacing between items */
    margin: 15px 0;
  }  

  .filter-title {
    font-size: 1.8rem;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .event-title,
  .event-subtitle {
    font-size: 2rem;
    line-height: 2.6rem;
  }

  .event-info,
  .event-date {
    font-size: 1.5rem;
  }

  /* Daily schedule block */
  .grid2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 40px;
  }

  .grid2-item1,
  .grid2-item2,
  .grid2-item3 {
    grid-column: 1 / -1;
  }

  .grid2-item1,
  .grid2-item2 {
    font-size: 1.6rem;
    line-height: 2.1rem;
  }

  /* Footer */
  #footer {
    padding: 30px 0 5px 0;
  }

  .footer-logo {
    width: 60%;
  }

  .ml-embedded {
    margin-left: -20px;
    padding: 0;
    width: 75%;
  }

  .footer-dates,
  .footer-address,
  .footer-link {
    font-size: 1.75rem;
    line-height: 2.5rem;
  }

  /* If you have a dedicated mobile-only element */
  #mobile {
    display: block;
  }
}