/* --- Font --- */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&family=Oxanium:wght@300;400;500;600;700&display=swap');
@font-face {
  font-family: 'Linowrite';
  src: url('../fonts/linowrite.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* --- Basic Reset --- */
* {
  box-sizing: border-box;
}

html,

body {
  margin: 0;
  color: #171717;
  font-family: 'IBM Plex Mono', monospace;

  background-color: #e8ddc8;

  background-image:
    linear-gradient(
      rgba(238, 227, 207, 0.55),
      rgba(238, 227, 207, 0.55)
    ),
    url("../images/Texturelabs_Paper_361L.jpg");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  background-blend-mode: soft-light;
}

/* --- Scrolling Announcement Bar --- */
.announcement-bar {
  width: 100%;
  overflow: hidden;
  background-color: transparent;
  color: #171717;
  border-bottom: 1px solid #171717;
}

.announcement-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: announcement-scroll 18s linear infinite;
}

.announcement-track span {
  display: block;
  padding: 9px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}


/* --- Scrolling Animation --- */
@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

/* --- Construction Navigation --- */
.construction-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid #000;
}

.nav-year {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Hamburger button */
.menu-toggle {
  width: 28px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: #000;
  margin: 5px 0;
  width: 100%;
}

/* Hidden menu */
.menu-panel {
  display: none;
  padding: 22px 28px;
  border-bottom: 1px solid #000;
}

.menu-panel a {
  display: block;
  color: #000;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.menu-panel a:last-child {
  margin-bottom: 0;
}

.menu-panel.open {
  display: block;
}

/* --- Construction Hero --- */
.construction-hero {
  padding: 58px 32px 40px;
}

.construction-heading {
  margin-left: -5px;
}

.construction-heading h1 {
  margin: 0;
  font-family: 'Linowrite', monospace;
  font-size: clamp(6rem, 9vw, 9.5rem);
  line-height: 0.78;
  font-weight: normal;
  letter-spacing: -0.02em;
}

/* --- Hero Meta Line --- */
.hero-meta {
  width: 100%;
  margin-bottom: 75px;
  margin-left: 18px;

  font-family: 'IBM Plex Mono', monospace;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 2px;
}

/* --- Intro Callout --- */
.construction-intro {
  display: grid;
  grid-template-columns: 90px auto;
  align-items: center;
  column-gap: 20px;

  margin-top: 54px;
  position: relative;
}

/* Horizontal arrow */
.intro-arrow {
  width: 90px;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
}

/* Supporting text */
.intro-copy {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  transform: translateY(6px);
}

/* Vertical line directly beneath arrow */
.construction-intro::after {
  content: "";
  position: absolute;

  left: 34px;
  top: 48px;

  width: 1px;
  height: 180px;

  background-color: #171717;
}

/* --- Discipline Line --- */
.construction-disciplines {
  margin-top: 145px;
  margin-left: auto;
  width: fit-content;

  display: flex;
  gap: 28px;

  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: right;
  white-space: nowrap;
}

.construction-disciplines div:not(:last-child)::after {
  content: "·";
  margin-left: 28px;
}

/* Dots*/

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;

  background-image:
    radial-gradient(
      circle,
      rgba(23, 23, 23, 0.16) 0.55px,
      transparent 0.65px
    );

  background-size: 7px 7px;
  opacity: 0.45;
}


/* --- Mobile Layout --- */
@media (max-width: 768px) {

  .construction-nav {
    padding: 18px 20px;
  }

  .nav-year {
    font-size: 13px;
  }

  .construction-hero {
    padding: 36px 20px 24px;
  }

  .hero-meta {
    margin-left: 0;
    margin-bottom: 48px;
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .construction-heading {
    margin-left: 0;
  }

.construction-heading h1 {
  font-size: clamp(3.2rem, 13vw, 4.8rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
}

  .construction-intro {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    margin-top: 42px;
  }

  .intro-arrow {
    width: 44px;
    font-size: 28px;
  }

  .intro-copy {
    font-size: 14px;
    line-height: 1.45;
    transform: translateY(2px);
  }

.construction-intro::after {
  left: 22px;
  top: 48px;
  height: 90px;
}

.construction-disciplines {
  margin-top: 120px;
  margin-left: 0;
  width: fit-content;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;

  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.6px;

  text-align: left;
  white-space: nowrap;
}

.construction-disciplines div:not(:last-child)::after {
  content: " &";
  margin-left: 0;
}

  .announcement-track span {
    font-size: 9px;
    letter-spacing: 1px;
  }
}