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

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

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

/* --------------------------
      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 
---------------------- */

#mobile {
  display: none;
}

/* --------------------------
     LANDING SECTION
--------------------------- */

#landing {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* Background */
.landing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Header Logo */
.landing-header {
  position: absolute;
  top: 4rem;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.landing-logo {
  height: auto;
  width: 40%;
}

/* Center text */
.landing-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
}

#landing-subtitle {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 100;
  font-size: 2.75rem;
  margin: 0;
}

#landing-enter {
  font-family: "Spectral";
  font-style: italic;
  font-weight: 100;
  font-size: 1.5rem;
  margin: 0;
  color: #909090;
}

/* Bottom text */
.landing-footer {
  position: absolute;
  bottom: 3.5rem;
  width: 100%;
  text-align: center;
  z-index: 3;
  font-family: "Reforma";
  font-weight: 300;
  line-height: 1.4;
}

.landing-location {
  font-size: 2.25rem;
  letter-spacing: 0px;
  line-height: 3.25rem;
}

/* --------------------------
      INTRO SECTION
--------------------------- */

#intro {
  width: 100%;
  padding: 8rem 12rem;
  background: #FFFFFF;
  color: #27211B;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0rem 4rem 0rem 0rem;
}

/* Text blocks */
.intro-text p {
  font-family: "Spectral";
  font-weight: 100;
  letter-spacing: -0.25px;
  font-size: 3.25rem;
  line-height: 4.25rem;
}

.intro-text em {
  font-style: italic;
  font-weight: 100;
  color: #6C8B76;
}

/* Image blocks */
.intro-image {
  display: flex;                /* not block */
  flex-direction: column;
  justify-content: center;      /* vertical centering within the grid cell */
  align-items: center;          /* horizontal centering */
  height: 100%;                 /* ensure the column fills the grid cell */
  margin-top: 5rem;
  transform: translateX(50px);  /* shift right */
}

/* Optional: ensure image never over-stretches */
.intro-image img {
  max-height: 66vh;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 5px;
}

/* Captions */
.intro-caption {
  margin-top: 0.8rem;
  font-family: "Reforma";
  font-size: 1.75rem;
  font-weight: 300;
}


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

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

.collab-title {
  font-family: "Reforma";
  font-size: 5rem;
  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;
}

/* --------------------------
      BREAKER SECTION
--------------------------- */
#breaker {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* ensures true edge-to-edge */
  margin-right: calc(50% - 50vw);
  padding: 6rem 2rem; /* spacing outside rounded box */
  background: transparent;
}

.breaker-inner {
  width: 100%;
  height: 80vh;
  max-width: 100%;
  border-radius: 20px;
  padding: 5rem 5rem;

  /* Background image */
  background-image: url("assets/breaker2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Text */
  color: white;
  font-family: "Spectral";
  font-weight: 100;
  font-size: 7rem;
  letter-spacing: -0.9px;
  line-height: 7rem;
}

.breaker-text {
  max-width: 30ch;
}

/* ===========================
       SPACE SECTION
=========================== */

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

/* TOP SPLIT LAYOUT */
.space-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
}

.space-text {
  flex: 1;
}

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

.space-description {
  font-family: "Spectral", serif;
  font-weight: 100;
  letter-spacing: -0.25px;
  font-size: 3.25rem;
  line-height: 4.25rem;
}

.space-description em {
  font-style: italic;
  font-weight: 100;
  color: #6C8B76;
}

/* MAP */
.space-map {
  flex: 1;
  text-align: center;
}

.space-map img {
  width: 100%;
  border-radius: 4px;
}

.space-map-caption {
  margin-top: 0.8rem;
  font-family: "Reforma";
  font-size: 1.75rem;
  font-weight: 300;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* always 5 columns */
  gap: 2.5rem;                              /* gap stays constant */
  margin-top: 3rem;
}

.space-item img {
  width: 100%;
  aspect-ratio: 4 / 5;      /* keeps perfect proportions while scaling */
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.space-item p {
  padding-top: 1rem;
  font-family: "Spectral";
  font-style: italic;
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 2rem;
}

/* ===========================
       MAP SECTION
=========================== */

#map {
  width: 100%;
  padding: 6rem 0;
  text-align: center;
  background: #FFFFFF;
}

.map-heading {
  font-family: "Spectral";
  font-weight: 100;
  letter-spacing: -0.25px;
  font-size: 3.25rem;
  line-height: 4.25rem;
  padding-bottom: 3rem;
}

.map-heading em {
  font-style: italic;
  font-weight: 100;
  color: #6C8B76;
}

/* wrapper controls the visual width so overlay always matches */
.map-link {
  display: block;               /* block so width works predictably */
  width: 66%;                   /* visual width you want */
  max-width: 1200px;
  margin: 0 auto;               /* center it horizontally */
  position: relative;
  border-radius: 5px;
  overflow: hidden;             /* clip overlay & image to the radius */
}

/* image fills the wrapper exactly */
.map-link img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  transition: transform .35s ease, filter .25s ease;
}

/* overlay */
.map-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.28s ease;
  pointer-events: none;
}

.map-link:hover::after {
  background: rgba(54, 110, 58, 0.18);
}

/* optional: subtle zoom on hover (nice UX) */
.map-link:hover img {
  transform: scale(1.02);
  filter: saturate(.95);
}





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

#footer {
  padding: 0rem 12rem 6rem;
  text-align: center;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  width: 320px;
  margin: 0 auto 1rem;
  display: block;
}

.footer-dates {
  font-family: "Reforma";
  font-size: 2.25rem;
  margin-bottom: 2.5rem;
  color: #27211B;
  font-weight: 300;
}

.footer-address {
  font-family: "Reforma";
  font-size: 1.75rem;
  color: #27211B;
  text-decoration: none;
  line-height: 2.5rem;
  display: inline-block;
  margin-bottom: 3rem;
}

.footer-address:hover {
    color: #6C8B76;
    transition: 0.5s;
}

.footer-links a {
  display: block;
  font-family: "Reforma";
  font-size: 1.75rem;
  color: #27211B;
  text-decoration: none;
}

.footer-links a:hover {
    color: #6C8B76;
    transition: 0.5s;
}



/* RESPONSIVE BEHAVIOUR */
@media (max-width: 1000px) {
  .space-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .space-top {
    flex-direction: column;
  }
  .space-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  #space {
    padding: 4rem 4rem;
  }
  .space-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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


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

@media (max-width: 900px) {

/* --- ALL --- */

#desktop {
  display: none;
}

#mobile {
  display: block;
}


  /* --- LANDING --- */

  #landing {
  height: 100svh;
}

  /* Header Logo */
  .landing-header {
    position: absolute;
    top: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
  }

  .landing-logo {
    height: auto;
    width: 65%;
  }

  /* Center text */
  .landing-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 100%;
  }

  #landing-subtitle {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 100;
    font-size: 2rem;
    margin: 0;
  }

  #landing-enter {
    font-family: "Spectral";
    font-style: italic;
    font-weight: 100;
    font-size: 1.25rem;
    margin: 0;
    color: #909090;
  }

  /* Bottom text */
  .landing-footer {
    position: absolute;
    bottom: 3.5rem;
    width: 100%;
    text-align: center;
    z-index: 3;
    font-family: "Reforma";
    font-weight: 300;
    line-height: 1.4;
  }

  .landing-location {
    font-size: 1.75rem;
    letter-spacing: 0px;
    line-height: 2.5rem;
  }

  /* --- INTRO SECTION --- */

  #intro {
    max-width: 100%;
    padding: 5rem 4rem;
    background: #FFFFFF;
    color: #27211B;
  }

  .intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 6rem;
  }

  /* Text blocks */
  .intro-text p {
    font-family: "Spectral";
    font-weight: 100;
    letter-spacing: -0.25px;
    font-size: 2.5rem;
    line-height: 3.25rem;
  }

  .intro-text em {
    font-style: italic;
    font-weight: 100;
    color: #6C8B76;
  }

  /* Image blocks */
  .intro-image {
    display: flex;              /* must be flex */
    flex-direction: column;
    align-items: flex-end;      /* push to right edge */
    margin-top: 0rem;
    transform: none;            /* remove desktop offset on mobile */
    width: auto;
  }

  /* Optional: ensure image never over-stretches */
  .intro-image img {
    max-height: 45vh;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 5px;
  }

  /* Captions */
  .intro-caption {
    margin-top: 0.8rem;
    font-family: "Reforma";
    font-size: 1.75rem;
    font-weight: 300;
  }

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

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

.collab-title {
  font-family: "Reforma";
  font-size: 3.25rem;
  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;
}

/* --- BREAKER SECTION --- */
#breaker {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* ensures true edge-to-edge */
  margin-right: calc(50% - 50vw);
  padding: 4rem 2rem; /* spacing outside rounded box */
  background: transparent;
}

.breaker-inner {
  width: 100%;
  height: 60vh;
  max-width: 100%;
  border-radius: 20px;
  padding: 2rem 2rem;

  /* Text */
  font-size: 3rem;
  letter-spacing: -0.9px;
  line-height: 4rem;
}

/* --- SPACE SECTION --- */

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

/* TOP SPLIT LAYOUT */
.space-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
}

.space-text {
  flex: 1;
}

.space-title {
  font-size: 3.25rem;
  margin-bottom: 1rem;
  -webkit-text-stroke: 0.25px white;
  letter-spacing: -1.5px;
}

.space-description {
  font-family: "Spectral", serif;
  font-weight: 100;
  letter-spacing: -0.25px;
  font-size: 2.25rem;
  line-height: 3rem;
}

.space-description em {
  font-style: italic;
  font-weight: 100;
  color: #6C8B76;
}

/* MAP */
.space-map {
  flex: 1;
  text-align: center;
}

.space-map img {
  width: 100%;
  border-radius: 4px;
}

.space-map-caption {
  margin-top: 0.8rem;
  font-family: "Reforma";
  font-size: 1.75rem;
  font-weight: 300;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* always 5 columns */
  gap: 2rem;                              /* gap stays constant */
  margin-top: 3rem;
}

.space-item img {
  width: 100%;
  aspect-ratio: 4 / 5;      /* keeps perfect proportions while scaling */
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

.space-item p {
  padding-top: 1rem;
  font-family: "Spectral";
  font-style: italic;
  font-weight: 200;
  font-size: 1.4rem;
  line-height: 1.8rem;
}

/* --- MAP SECTION --- */

#map {
  width: 100%;
  padding: 6rem 4rem 4rem;
}

.map-heading {
  letter-spacing: -0.25px;
  font-size: 2.25rem;
  line-height: 3rem;
  padding-bottom: 3rem;
}

/* wrapper controls the visual width so overlay always matches */
.map-link {
  display: block;               /* block so width works predictably */
  width: 100%;                   /* visual width you want */
  max-width: 1200px;
  margin: 0 auto;               /* center it horizontally */
  position: relative;
  border-radius: 5px;
  overflow: hidden;             /* clip overlay & image to the radius */
}

/* optional: subtle zoom on hover (nice UX) */
.map-link:hover img {
  transform: scale(1.02);
  filter: saturate(.95);
}


/* --- FOOTER SECTION --- */

#footer {
  padding: 0rem 4rem 6rem;
  text-align: center;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-logo {
  width: 200px;
  margin: 0rem auto 1rem;
  display: block;
}

.footer-dates {
  font-family: "Reforma";
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
  color: #27211B;
  font-weight: 300;
}

.footer-address {
  font-family: "Reforma";
  font-size: 1.5rem;
  color: #27211B;
  text-decoration: none;
  line-height: 2rem;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.footer-address:hover {
    color: #6C8B76;
    transition: 0.5s;
}

.footer-links a {
  display: block;
  font-family: "Reforma";
  font-size: 1.5rem;
  line-height: 2rem;
  color: #27211B;
  text-decoration: none;
}

.footer-links a:hover {
    color: #6C8B76;
    transition: 0.5s;
}

}
