/* ---------- FONTS ---------- */
@font-face {
  font-family: "SuisseIntl";
  src: url("fonts/SuisseIntl-Book.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "SuisseWorks";
  src: url("fonts/SuisseWorks-Medium.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }

/* ---------- BASE ---------- */
body {
  margin: 20px;
  font-family: "SuisseIntl", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;

  background: linear-gradient(black, #2e2e2e);
  color: white;

  overflow: hidden;
  cursor: default;

  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- LINKS ---------- */
a, a:visited, a:active {
  color: inherit;
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Crosshair ONLY on the links you care about (both pages) */
header a,
.corner-link,
.corner-link .corner-icon,
body.about-page .contact-footer a {
  cursor: crosshair;
}

/* ---------- HEADER (invert over whatever is behind it) ---------- */
header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  z-index: 20;
  background: transparent;
  mix-blend-mode: difference;
}

header h1,
header a { color: #fff; }

h1 {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
}

.top-text { margin: 0; }
.top-text a { font-size: 20px; }

/* ---------- STAGE (WORK PAGE) ---------- */
#stage {
  position: fixed;
  inset: 0;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1;      /* behind header/footer */
  cursor: none;    /* hide system cursor ONLY here */
}

/* Full-bleed image behind header/footer */
#stage img {
  height: 100vh;
  width: auto;
  object-fit: cover;

  display: block;

  max-width: none;
  max-height: none;

  transition: opacity 0.15s linear;
}

/* ---------- CUSTOM CURSOR LABEL ---------- */
#cursor-label {
  position: fixed;
  top: 0;
  left: 0;

  pointer-events: none;
  z-index: 1000;

  font-family: "SuisseIntl", Arial, Helvetica, sans-serif;
  font-size: 24px;           /* make bigger here */
  white-space: nowrap;

  color: #fff;
  mix-blend-mode: difference;

  transform: translate(-50%, -50%);
  opacity: 0;
}

/* ---------- INVISIBLE NAV ZONES ---------- */
.zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;

  border: 0;
  padding: 0;
  margin: 0;

  background: transparent;
  z-index: 5;

  outline: none;
  cursor: none; /* hide system cursor on the buttons too */
}

.zone.left  { left: 0; }
.zone.right { right: 0; }

.zone:focus,
.zone:focus-visible { outline: none; }

/* ---------- FOOTER (invert over image) ---------- */
footer {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;

  z-index: 20;
  background: transparent;
  mix-blend-mode: difference;
}

footer p,
footer a { color: #fff; }

#workTitle {
  margin: 0;
  font-size: 14px;
}

/* ---------- CORNER ICON ---------- */
.corner-icon {
  position: fixed;
  right: 20px;
  bottom: 20px;

  width: 24px;
  height: auto;

  z-index: 30;

  user-select: none;
  -webkit-user-drag: none;
}

/* ================================================= */
/* ============== ABOUT PAGE OVERRIDES ============== */
/* ================================================= */

body.about-page {
  margin: 0;
  overflow: hidden;
}

/* Hide slideshow + work footer on About */
body.about-page #stage,
body.about-page footer:not(.contact-footer) {
  display: none;
}

/* ABOUT TEXT BLOCK */
body.about-page main.about {
  position: fixed;
  inset: 0;

  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;

  font-family: "SuisseWorks", Arial, Helvetica, sans-serif;
  font-size: clamp(18px, 3.8vw, 60px);
  line-height: 1.2;

  letter-spacing: -0.01em;

  padding-top: 60px;
  padding-left: 20px;
  padding-right: clamp(20px, 20vw, 200px);
  padding-bottom: 84px;

  scrollbar-width: none;
  -ms-overflow-style: none;

  cursor: default;
}

body.about-page main.about::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.about-page main.about p { margin: 0; }

/* CONTACT FOOTER (About page) */
body.about-page .contact-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 0 20px 20px 20px;

  z-index: 20;
  background: transparent;
  mix-blend-mode: difference;
}

body.about-page .contact-footer p,
body.about-page .contact-footer a {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #fff;
}

/* SYMBOLS */
.sym {
  display: inline-block;
  margin: 0 2px;
  transition: color 2s linear; /* change transition speed here */
}
