/* =====================
    FONTS
=====================*/
@font-face {
  font-family: 'gara';
  src: url("../fonts/StempelGaramondLTRoman.woff2") format("woff2");
}

@font-face {
  font-family: 'obl';
  src: url("../fonts/StempelGaramondLTStd-Italic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'bell';
  src: url("../fonts/BellCentennialStd-SubCapt.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: 'bld';
  src: url("../fonts/BellCentennialStd-BdListing.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}


/* =====================
  GENERAL
=====================*/

:root {
  --px: 17px;
  --base: var(--px);
  --lhvalue: 1.3;
  --lineheight: calc(var(--base) * var(--lhvalue));
  --edgePadd: 8px;
  --trans-time-function: cubic-bezier(.25, 1, .5, 1);
  --topMarg: var(--edgePadd);
  --topFontSize: .715rem;
  --gridColumns-1: 1.25ch 1.25ch 4ch minmax(100px,1fr) 3.5ch 4ch;

  --serif: 'gara', serif;
  --ita: 'obl', 'gara', serif;
  --sans: 'bell', Helvetica, sans-serif;
  --bold: 'bld', 'bell', sans-serif;
  --tint: 240, 3%;
  --color: hsl(var(--tint), 0%);
  --grey: hsl(var(--tint), 60%);
  --link: var(--grey);
  --lndBg: #f57220;
  --orangeTxt: #d1e0da;

  --grid-col: 12;
  --grid-column-gap: var(--gap1);
  --grid-row-gap: var(--gap1);
}

.justify-center {
  justify-content: center;
}

.items-center {
  align-items: center;
}

@media (min-width: 420px) {
  :root {
    --px: 16px;
    --padd: var(--px);
  }
}

@media (min-width: 700px) {
  :root {
    --px: 17.5px;
    --edgePadd: 13px;
    --gridColumns-1: calc(calc(7.5ch + var(--edgePadd))/2) calc(calc(7.5ch + var(--edgePadd))/2) minmax(7.5ch,1fr) minmax(100px,600px) minmax(2.5ch,1fr) 7.5ch;
  }
}

@media (min-width: 1200px) {
  :root {
    --px: 19px;
    --edgePadd: 18px;
  }
}

@media (min-width: 1400px) {
  :root {
    --px: 20.5px;
  }
}

@media (min-width: 1600px) {
  :root {
    --px: 22px;
    --edgePadd: 20px;
  }
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

::selection {
  color: white;
  background-color: black;
}

html {
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100%;
  font-size: var(--base);
  background-color: #FFFFFF;
}

::-webkit-scrollbar {
  display: none;
}

body {
  line-height: var(--lhvalue);
  font-family: var(--serif);
  height: 100%;
  background-color: #FFFFFF;
  color: #000000;
  position: relative;
  overflow-x: hidden;
  z-index: 0;
  transition:
    color .675s var(--trans-time-function),
    background-color .675s var(--trans-time-function);
}

@media (min-width:800px) {
  body {
    overflow-y: scroll;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  opacity: 1;
  text-decoration: none;
  transition: opacity .3s var(--trans-time-function);
}

a:hover {
  
  transition: opacity .3s var(--trans-time-function);
}

.grey {
  color: hsl(var(--tint), 50%)
}

main {
  width: 100%;
}

main a {
  opacity: 1;
  transition: opacity .2s;
}

ul,
ol,
li {
  margin: 0;
  padding: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

em,
b,
strong,
i {
  font-weight: normal;
  font-style: normal;
}

.gara em,
em {
  font-family: var(--ita);
}

b,
strong {
  font-weight: normal;
}

p {
  margin-bottom: var(--lineheight);
}

p:last-of-type {
  margin-bottom: 0;
}

svg {
  overflow: visible;
  transition: fill .2s;
}

.sans {
  font-family: var(--sans);
}

.bld {
  font-family: var(--bold);
}

.gara {
  font-family: var(--serif);
}

.obl {
  font-family: 'obl', 'gara', var(--sans);
}

.text-uppercase {
  text-transform: uppercase;
}

small,
.sml {
  font-size: .875em;
}

/* TOP-SIDE TEXT */
.top {
  font-size: 11px;
  line-height: 1.15;
  padding: 0 calc(var(--edgePadd)*1.3);
  z-index: 999;
  height: calc(calc(var(--topFontSize) * var(--lhvalue)) + var(--edgePadd));
  display: flex;
  position: fixed;
  transform: rotate(270deg);
  transform-origin: right bottom;
  bottom: 100svh;
  right: calc(var(--edgePadd)*.715);
  text-transform: uppercase;
  width: 100svh;
  justify-content: space-between;
  align-items: end;
  color: white;
  mix-blend-mode: difference;
}

.top * {
  transition: color .675s var(--trans-time-function);
  overflow: visible;
}

.top-2 {
  flex-grow: 4;
}
.top-3 {
  display: flex;
  flex-grow: 1;
  justify-content: end;
}
.top-mod-hide {
  display: none;
}
.top-ov-active {
  color: hsl(var(--tint), 87%);
}

.top-links {
  display: flex;
  flex-flow: row wrap;
  margin-top: calc(1em * var(--lhvalue));
}

.l1blk {
  text-transform: uppercase;
  display: block;
  margin-right: 5.5ch;
}

.timespan {
  text-transform: uppercase;
}

.gmt-super {
  font-size: .65em;
  vertical-align: top;
  display: inline-block;
  text-transform: lowercase;
  line-height: 1;
}

@media (min-width: 500px) {
  .top {
    font-size: var(--topFontSize);
  }

  .top-mod-hide {
    display: inline-block;
  }
}

/* OVERLAY */
.info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--lndBg);
  color: var(--orangeTxt);
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: opacity .15s var(--trans-time-function);
  display: grid;
  font-size: var(--topFontSize);
  font-family: var(--bold);
  grid-template-rows: calc(var(--edgePadd)*1.2) 1fr calc(var(--edgePadd)*1.2);
  grid-template-columns: 2.5ch 1fr 1fr 5ch;
  align-items: baseline;
}

.info-overlay.ov-open {
  pointer-events: all;
  opacity: 1;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.info-overlay.ov-open::-webkit-scrollbar {
  display: none;
}

.ov-close {
  position: absolute;
  transform: rotate(270deg);
  transform-origin: right bottom;
  bottom: 100svh;
  right: calc(var(--edgePadd)*.715);
  text-transform: uppercase;
  width: 100svh;
  line-height: 1.15;
  padding: 0 calc(var(--edgePadd)*1.15);
  text-align: right;
}

.info-sec {
  grid-row: 2;
  grid-column: 2 / span 2;
}

.bio {
  line-height: 1.18;
  margin-top: calc((1em * 1.18) * 4);
}
.bio-inner {
  font-size: .875rem;
  font-family: var(--serif);
  width: 100%;
  max-width: 70ch;
  margin: 0;
  position: relative;
}

.bio-email {
  font-family: 'obl', 'gara', serif;
}

.bio-email {
  margin-top: calc(1em * 1.48);
}

.contact {
  display: flex;
  flex-direction: column;
  font-size: var(--topFontSize);
  line-height: 1.22; 
  font-family: var(--bold);
  text-transform: uppercase;
  padding-top: .15rem;
  position: relative;
}
.contact-hidden-baseline {
  display: block;
  content: ".";
  color: transparent;
  width: 0;
  font-family: var(--serif);
  line-height: 1.22;
  font-size: .875rem;
}
.con-gap {
  margin-top: calc(1em * 1.22);
}

@media (min-width: 700px) {
  .info-overlay {
    grid-template-columns: calc(7.5ch + var(--edgePadd)) 1fr 1fr 7.5ch;
  }
  .contact {
    align-content: flex-start;
    padding-top: 0;
  }
}

/* LANDING */
@keyframes landingFade {
  from {
    opacity: 1;
    pointer-events: all;
  }

  to {
    opacity: 0;
    pointer-events: none;
  }
}

.landing {
  width: 100vw;
  height: 100svh;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background: var(--lndBg);
  color: var(--orangeTxt);
  animation-name: landingFade;
  animation-duration: .15s;
  animation-timing-function: var(--trans-time-function);
  animation-delay: 2s;
  animation-fill-mode: forwards;
}

.land-inner {
  font-size: var(--topFontSize);
  font-family: var(--bold);
  display: grid;
  grid-template-rows: calc(var(--edgePadd)*1.2) 1fr auto 1fr;
  grid-template-columns: var(--gridColumns-1);
  align-items: baseline;
}
.land-top-left {
  grid-row: 2;
  grid-column: 3 / span 2;
  text-transform: uppercase;
}
.land-hidden-baseline {
  grid-row: 2;
  grid-column: 4;
}
.land-bordleft:before {
  content: "";
  display: block;
  height: .715rem;
  width: .45rem;
  background-color: var(--orangeTxt);
  position: absolute;
  top: -.65rem;
}
.land-bordleft {
  grid-column: 2;
  grid-row: 2;
  position: relative;
}
.land-bordleft:before {
  left: -.65rem;
}

@media (min-width:700px) {
  .land-bordleft:before {
    left: 0;
  }
}

/* VIDEO */
figure video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
}

img,
video {
  display: block;
}

@keyframes blink {
  0% {
    opacity: 1
  }

  50% {
    opacity: .13
  }

  100% {
    opacity: 1;
  }
}

.flash {
  color: inherit;
  animation-timing-function: var(--trans-time-function);
}
.flash:hover {
  animation: blink .185s infinite;
}

/* SLIDER + TEXT LIST */
/* --- Slider Container & Slides --- */
.slider-container {
  width: 100vw;
  height: 100svh;
  background: #FFF;
  display: none;
  /* Hidden by default, shown by JS */
}

.slide {
  width: 100%;
  height: 100svh;
  /* Full viewport height */
  background: #FFF;
  position: relative;
  /* For positioning slide number */
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.slide :is(img, video) {
  object-fit: contain;
  max-height: 100svh;
  max-width: 100vw;
}

.slide.bl {
  background-color: black;
}
.slide.gr {
  background-color: #eae6e7;
}

.slide.fit-actual img,
.slide.fit-actual video {
  width: auto;
  height: auto;
  object-fit: unset;
  max-width: 100%;
  max-height: 100%;
}

.cont-slide-num {
  width: 100vw;
  position: fixed;
  top: calc(var(--edgePadd) * 1.2);
  left: 0;
  z-index: 997;
  font-size: var(--topFontSize);
  font-family: 'bld', sans-serif;
  color: white;
  mix-blend-mode: difference;
  display: grid;
  align-items: baseline;
  grid-template-columns: var(--gridColumns-1);
  grid-template-rows: 1fr;
}
.cont-slide-num :is(.list-item-bordleft,.list-item-bordright) {
  grid-row: 1 !important;
  opacity: 0;
}
.cont-slide-num :is(.list-item-bordleft,.list-item-bordright):before {
  opacity: 1;
  background-color: white;
}

#current-slide-number {
  position: relative;
  cursor: pointer;
  user-select: none;
  grid-row: 1;
  grid-column: 3 / span 3;
}
.hidden-baseline {
  font-family: var(--serif);
  font-size: .875rem;
  line-height: var(--lhvalue);
  color: transparent;
  user-select: none;
  width: 0;
}

#current-slide-number:hover + * {
  opacity: 1;
  }
*:has(+ #current-slide-number:hover) {
    opacity: 1;
}

*:has(+ #current-slide-number):hover + * {
    opacity: 1;
}

@media (min-width: 700px) {
}

/* --- Fullscreen Text Overlay --- */
#text-list-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;

  background-color: #FFF;
  z-index: 998;
  /* On top of everything */
  display: none;
  /* Hidden by default */
  color: white;
  overflow-y: auto;
  /* Allow scrolling */
}

#text-list-content {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  font-family: 'bld', sans-serif;
}
.text-list-end {
  height: 100svh;
}

/* --- Text List Item Styling (Updated) --- */
.text-list-item {
  align-items: baseline;
  padding: 0;
  font-size: var(--topFontSize);
  cursor: pointer;
  color: black;
  display: grid;
  grid-template-rows: calc(var(--edgePadd)*1.2) auto auto;
  grid-template-columns: var(--gridColumns-1);
  width: 100%;
  gap: 0;
  position: relative;
}

.list-item-text {
  grid-row: 2 / span 2;
  grid-column: 4;
  font-family: var(--serif);
  font-size: .875rem;
  line-height: var(--lhvalue);
}
.list-item-bordleft,.list-item-bordright {
  position: relative;
}
:is(.list-item-bordleft,.list-item-bordright):before {
  content: "";
  display: block;
  height: .715rem;
  width: .45rem;
  background-color: black;
  position: absolute;
  top: -.65rem;
  opacity: 0;
  transition: opacity .1s ease-in-out;
}
.text-list-item:hover :is(.list-item-bordleft,.list-item-bordright):before {
  opacity: 1;
}
.list-item-bordleft {
  grid-row: 2;
  grid-column: 2;
}
.list-item-num {
  grid-row: 2;
  grid-column: 3;
}
.list-item-bordright {
  grid-row: 2;
  grid-column: 5;
}
.list-item-bordright:before {
  right: 0;
}
.list-item-bordleft:before {
  left: -.65rem;
}
.list-item-title,.list-item-main {
  width: 100%;
}

@media (min-width: 700px) {
  .list-item-bordleft:before {
  left: 0;
  }
}

/* --- Custom Slick Arrows --- */
.slick-prev,
.slick-next {
  position: fixed;
  top: 0;
  width: 50%;
  /* 50% width */
  height: 100dvh;
  /* 100% height */
  z-index: 500;
  /* Above slides, below number */
  border: none;
  background: transparent;
  font-size: 0;
  color: transparent;
  transform: translate(0,0) !important;
}

.slick-prev:before,
.slick-next:before {
  content: '';
}

.slick-prev {
  left: 0;
  cursor: w-resize;
  /* Indicate left navigation */
}

.slick-next {
  right: 0;
  cursor: e-resize;
  /* Indicate right navigation */
}