@font-face {
  font-family: 'TimesNRSeven';
  src: url('./TimesNRSevenMTStd.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

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

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "TimesNRSeven", serif;
  background: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;

  display: flex;
  flex-direction: column;
}

/* -------------------------
   TEXT SELECTION
------------------------- */

::selection {
  background: #0b1d3a;
  color: #fff;
}

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

.intro {
  width: 100%;
  padding: 42px 42px 24px 42px;
  flex: 1;

  display: flex;
  align-items: flex-start;
}

.intro-inner {
  width: 100%;
  max-width: 50%;
}

.intro p {
  font-size: 13pt;
  line-height: 1.4;
}

.name {
  font-size: 20pt;
}

/* -------------------------
   INLINE LINKS (NOW PART OF TEXT)
------------------------- */

.intro a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.intro a:hover {
  color: #b8b8b8;
}

/* remove old system entirely */
.links {
  display: none;
}

/* -------------------------
   HORIZONTAL GALLERY
------------------------- */

.gallery-section {
  width: 100%;
  flex-shrink: 0;
  padding-bottom: 80px;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;

  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track img {
  height: 40vh;
  width: auto;

  flex-shrink: 0;
  object-fit: cover;

  user-select: none;
  pointer-events: none;
}

/* -------------------------
   FOOTER (MATCHES INTRO TYPOGRAPHY)
------------------------- */

.footer {
  position: fixed;
  left: 40px;
  bottom: 32px;
  z-index: 100;

  color: #000;
  mix-blend-mode: normal;
  pointer-events: none;
}

.timezones,
.copyright {
  font-size: 13pt;
  line-height: 1.4;
}

.copyright {
  margin-top: 6px;
}

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

@media (max-width: 900px) {

  html,
  body {
    height: auto;
    overflow: auto;
  }

  body {
    display: block;
  }

  .intro {
    padding: 40px;
    padding-bottom: 80px;
  }

  .intro-inner {
    max-width: 100%;
  }

  .intro p {
    font-size: 13pt;
    line-height: 1.4;
  }

  .gallery-track {
    display: block;
    overflow: visible;
  }

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

  .footer {
    left: 22px;
    bottom: 22px;
  }
}



.colon {
  display: inline-block;
  width: 0.6ch;      /* prevents layout jump */
  text-align: center;
}

.colon.on {
  opacity: 1;
}

.colon:not(.on) {
  opacity: 0;
}


.timezones {
  font-size: 13pt;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

.tz-label {
  margin-right: 8px;
}

.tz-time {
  letter-spacing: 0;
}

.footer {
  color: #000;
  mix-blend-mode: normal;
}

.footer .timezones,
.footer .copyright {
  font-size: 13pt;
  line-height: 1.4;
}

.gallery-track {
  overscroll-behavior-x: contain;
}
