:root {
  --bg-light: white;
  --bg-dark: black;
  --fg-light: black;
  --fg-dark: white;
  --gray: #757575;
  --red: crimson;
  --bg: var(--bg-light);
  --fg: var(--fg-light);
  --page-max-width: 42rem;
  --page-padding: 2rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--bg-dark);
    --fg: var(--fg-dark);
  }
}

html[data-theme="light"] {
  --bg: var(--bg-light);
  --fg: var(--fg-light);
}

html[data-theme="dark"] {
  --bg: var(--bg-dark);
  --fg: var(--fg-dark);
}

@font-face {
  font-family: 'Futura PT';
  src: url('fonts/futurapt-light-webfont.eot');
  src: url('fonts/futurapt-light-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/futurapt-light-webfont.woff2') format('woff2'),
       url('fonts/futurapt-light-webfont.woff') format('woff'),
       url('fonts/futurapt-light-webfont.ttf') format('truetype'),
       url('fonts/futurapt-light-webfont.svg#futura_ptlight') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@-ms-viewport {
  width: device-width;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  height: auto;
  margin: 0;
}

body {
  -ms-high-contrast-adjust: none;
  background-color: white;
  background-color: var(--bg);
  color: #757575;
  color: var(--gray);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  min-height: 100%;
  overflow: auto;
  width: 100%;
}

.pg {
  box-sizing: border-box;
  display: block;
  display: -ms-grid;
  -ms-grid-columns: 1fr 14rem;
  -ms-grid-rows: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14rem;
  margin: 0 auto;
  max-width: 60rem;
  min-height: 50vh;
  overflow: hidden;
  width: 100%;
}

.pg::after {
  clear: both;
  content: '';
  display: table;
}

.pi {
  -ms-grid-column: 1;
  -ms-grid-row: 1;
  grid-column: 1;
  grid-row: 1;
  background-color: white;
  background-color: var(--bg);
  border-right: 1px solid crimson;
  border-right: 1px solid var(--red);
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: break-word;
  padding: 3rem;
  position: relative;
  word-wrap: break-word;
}

.pi::before {
  display: none;
}

.ps {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  border-bottom: 0;
  background-color: white;
  background-color: var(--bg);
  box-sizing: border-box;
  float: right;
  grid-column: 2;
  grid-row: 1;
  height: auto;
  padding: 3rem 1.5rem 6rem 2rem;
  position: relative;
  position: sticky;
  width: 14rem;
  top: 0;
}

h1 {
  color: black;
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 1.5rem;
}

h2 {
  color: black;
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  margin: 1.75rem 0 0.5rem;
  text-transform: uppercase;
}

p,
address {
  margin: 0 0 0.75rem;
}

address {
  font-style: normal;
  color: #757575;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.4;
  border-left: 1px solid #757575;
  border-left: 0.25px solid var(--gray);
  padding-left: 0.75rem;
  margin-left: 0;
}

a {
  color: #757575;
  color: var(--gray);
  text-decoration: none;
  transition: text-decoration-color 100ms ease;
}

a:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.pb {
  color: black;
  color: var(--fg);
  display: block;
  font-family: 'Futura PT';
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.05;
  min-height: 2.1em;
  opacity: 1;
  position: relative;
  text-decoration: none;
  transition: opacity 500ms ease 50ms;
  visibility: visible;
  width: auto;
  width: -moz-max-content;
  width: max-content;
}

.pb:hover,
.pb:focus {
  opacity: 0.6;
}

.pb:focus-visible {
  outline: 2px solid #757575;
  outline: 2px solid var(--gray);
  outline-offset: 3px;
}

.pb:focus {
  outline: 2px solid #757575;
  outline-offset: 3px;
}

.pb-fn,
.pb-ln {
  display: block;
  font-size: inherit;
}

.pb-tb,
.pb-tf {
  display: block;
  position: absolute;
  inset: 0 auto auto 0;
  left: 0;
  margin: 0;
  top: 0;
  line-height: inherit;
}

.pb-tb {
  color: crimson;
  color: var(--red);
  pointer-events: auto;
  user-select: auto;
  z-index: 1;
}

.pb-tf {
  color: black;
  color: var(--fg);
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.pb-tf > span {
  border: 0;
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
}

.pb-tf > span::after,
.d-fn::after,
.d-ln::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
}

.d-fn,
.d-ln {
  display: inline-block;
  position: relative;
}

.nb {
  display: block;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  align-items: center;
  background: transparent;
  color: #757575;
  color: var(--gray);
  font-size: 1rem;
  font-size: clamp(0.9rem, 2.2vw, 1.05rem);
  gap: 2.2rem;
  justify-content: center;
  margin: 0.5rem auto 1.5rem;
  padding: 0.5rem 1.2rem;
  position: static;
  text-align: center;
}

.nb.lg {
  gap: 0.4rem;
  font-size: 0.72rem;
  font-size: clamp(0.72rem, 1.5vw, 0.84rem);
}

.nb.lg .nl {
  margin: 0;
  padding: 0.2rem 0.3rem;
}

.nl {
  box-sizing: border-box;
  display: inline-block;
  border-radius: 0.3rem;
  margin: 0 1.1rem;
  padding: 0.4rem 0.8rem;
  color: #757575;
  color: var(--gray);
  cursor: pointer;
  font-weight: 300;
  line-height: 1.2;
  text-decoration: none;
  transition: background 100ms, color 100ms;
}

.nl:hover,
.nl:focus {
  text-decoration: underline;
}

.nl.ac {
  cursor: default;
  text-decoration: none;
}

.nl.ac:hover,
.nl.ac:focus {
  text-decoration: none;
}

.nl:focus-visible {
  outline: 2px solid #757575;
  outline: 2px solid var(--gray);
  outline-offset: 2px;
}

.nl:focus {
  outline: 2px solid #757575;
  outline-offset: 2px;
}

.lgs {
  color: #757575;
  color: var(--gray);
  line-height: 1;
}

@media (max-width: 760px) and (orientation: landscape) {
  .pg {
    -ms-grid-columns: 1fr 11.5rem;
    grid-template-columns: minmax(0, 1fr) 11.5rem;
  }

  .ps {
    padding: 2.5rem 1rem 5rem 1.25rem;
    width: 11.5rem;
  }

  .pi {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 660px) and (orientation: portrait), (max-width: 480px) {
  .pg {
    -ms-grid-columns: 1fr;
    -ms-grid-rows: auto auto;
    grid-template-columns: 1fr;
  }

  .ps {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
    border-bottom: 1px solid crimson;
    border-bottom: 1px solid var(--red);
    float: none;
    grid-column: 1;
    grid-row: 1;
    height: auto;
    padding: 1.5rem 1.5rem 1rem;
    position: relative;
    width: auto;
  }

  .ps::after {
    display: none;
  }

  .pb-fn,
  .pb-ln {
    font-size: 1.6rem;
  }

  .pb {
    min-height: 2.1em;
  }

  .pi {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    border-right: 0;
    grid-column: 1;
    grid-row: 2;
    overflow: visible;
    padding: 1.5rem 1.5rem 5rem;
  }

  h1 {
    font-size: 1.55rem;
  }
}

@media (max-width: 400px) {
  .ps {
    padding: 1rem 1rem 0.9rem;
  }

  .pi {
    border-right: 0;
    padding: 1rem 1rem 5rem;
  }

  h1 {
    font-size: 1.35rem;
  }

  .nb {
    font-size: 0.8rem;
    gap: 0.5rem;
    justify-content: center;
    margin: 0.5rem 2rem 1.25rem;
    padding: 0.4rem 0.5rem;
  }

  .nl {
    margin: 0 0.3rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .nb {
    backdrop-filter: none;
    background-color: rgba(255, 255, 255, 0.1);
  }

  html[data-theme="dark"] .nb {
    background-color: rgba(0, 0, 0, 0.1);
  }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .pg,
  .pi,
  .ps,
  .pb,
  .pb-tb,
  .pb-tf {
    -ms-high-contrast-adjust: none;
  }

  .pg {
    background-color: white;
  }

  .pi {
    background-color: white;
    border-right: 0;
    padding: 0 0 5rem;
  }

  .pi::before {
    display: none;
  }

  .pi > h1 {
    margin-left: 3rem;
    margin-right: 3rem;
    margin-top: 3rem;
  }

  .pi > section {
    margin-left: 3rem;
    margin-right: 3rem;
  }

  .ps {
    background-color: white;
    border-left: 1px solid crimson;
    border-left: 1px solid var(--red);
    position: relative;
    top: auto;
  }

  .pb {
    display: inline-block;
    min-height: 2.1em;
    width: auto;
  }

  .pb-fn,
  .pb-ln {
    display: table;
  }

  .pb-tb {
    display: block;
  }

  .pb-tf {
    color: black;
    left: 0;
    position: absolute;
    top: 0;
  }

  .pb-tf > span::after,
  .d-fn::after,
  .d-ln::after {
    background: transparent;
  }

  html[data-theme="dark"] .pg,
  html[data-theme="dark"] .pi,
  html[data-theme="dark"] .ps {
    background-color: black;
  }

  html[data-theme="dark"] h1,
  html[data-theme="dark"] h2,
  html[data-theme="dark"] .pb,
  html[data-theme="dark"] .pb-tf {
    color: white;
  }

  html[data-theme="dark"] a,
  html[data-theme="dark"] address,
  html[data-theme="dark"] .lgs,
  html[data-theme="dark"] .nl {
    color: #757575;
  }
}

@media screen and (max-width: 760px) and (orientation: landscape) and (-ms-high-contrast: none), screen and (max-width: 760px) and (orientation: landscape) and (-ms-high-contrast: active) {
  .pi > h1 {
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 2.5rem;
  }

  .pi > section {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media screen and (max-width: 660px) and (orientation: portrait) and (-ms-high-contrast: none), screen and (max-width: 660px) and (orientation: portrait) and (-ms-high-contrast: active), screen and (max-width: 480px) and (-ms-high-contrast: none), screen and (max-width: 480px) and (-ms-high-contrast: active) {
  .pg {
    display: block;
    overflow: visible;
  }

  .ps {
    border-bottom: 1px solid crimson;
    border-bottom: 1px solid var(--red);
    border-left: 0;
    padding-bottom: 0.75rem;
  }

  .pb {
    display: inline-block;
  }

  .pb-tf {
    max-width: 100%;
  }

  .pi {
    padding: 0 0 5rem;
  }

  .pi > h1 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-top: 2rem;
  }

  .pi > section {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  html[data-theme="dark"] .ps {
    background-color: black;
  }

  html[data-theme="light"] .ps {
    background-color: white;
  }
}

html[data-theme="dark"] body {
  background-color: black;
}

html[data-theme="light"] body {
  background-color: white;
}
