/* Page typography */
body.about-page {
  font-family: "Helvetica Neue", "helvetica-neue-lt-pro", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  font-synthesis: none;
  line-height: 16px;
}

body.about-page #content-scroll,
body.about-page #content-scroll * {
  font: inherit;
}

html.about-embedded body.about-page #aleph-stage,
html.about-embedded body.about-page .about-navigation {
  display: none;
}

body.about-page ::selection {
  color: #f00;
  background: transparent;
}

body.about-page ::-moz-selection {
  color: #f00;
  background: transparent;
}

/* Navigation */
body.has-canvas #content-scroll .about-navigation,
body.about-page .about-navigation {
  display: contents;
}

body.about-page .about-navigation a {
  pointer-events: auto;
}

body.about-page .about-navigation > .site-name,
body.about-page .about-navigation > .page-link {
  position: fixed;
  top: 5px;
  z-index: 40;
}

body.about-page .about-navigation > .site-name {
  left: 5px;
}

body.about-page .about-navigation > .page-link {
  right: 5px;
}

body.about-page .about-navigation > .site-name:hover,
body.about-page .about-navigation > .site-name:focus-visible {
  color: #f00 !important;
  -webkit-text-fill-color: #f00 !important;
  mix-blend-mode: normal !important;
}

/* This intentionally outranks the shared canvas-navigation reset. */
html[data-aleph-background] body.about-page.has-canvas
  .about-navigation > .site-name:hover,
html[data-aleph-background] body.about-page.has-canvas
  .about-navigation > .site-name:focus-visible {
  color: #f00 !important;
  -webkit-text-fill-color: #f00 !important;
  mix-blend-mode: normal !important;
}

body.has-canvas #content-scroll .about-navigation *,
body.about-page .about-navigation * {
  text-shadow:
    0 0 2px #fff,
    0 0 4px #fff,
    0 0 12px #fff !important;
}

body.about-page #content-scroll .about-navigation > span {
  display: block;
  height: 16px;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #000 !important;
  line-height: 16px;
  text-shadow:
    0 0 2px #fff,
    0 0 4px #fff,
    0 0 12px #fff !important;
  white-space: nowrap;
  min-width: max-content;
}

/* Content */
body.about-page #content-scroll > .col-12,
body.about-page #about-view > .col-12 {
  padding-top: 0 !important;
  text-align: center;
  text-shadow:
    0 0 2px #fff,
    0 0 4px #fff,
    0 0 12px #fff;
}

/* Match Work's opaque white backdrop in the OFF state. */
html:has(body.about-page) {
  background: #fff;
}

body.about-page .about-contacts {
  position: relative;
  z-index: 30;
  padding-top: 0;
  line-height: 16px;
  pointer-events: auto;
}

body.about-page .about-contacts a {
  position: relative;
  z-index: 30;
  pointer-events: auto;
}

/* Preserve the compact desktop composition while giving the email CTA a
   comfortable, WCAG-sized touch target on phones. */
@media only screen and (max-width: 768px) {
  body.about-page .get-in-touch-link {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: -14px -16px;
    padding: 0 16px;
    touch-action: manipulation;
  }
}

body.about-page .outdent {
  float: none;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  text-indent: 0;
}

body.about-page #content-scroll p {
  margin: 0;
}

body.about-page #content-scroll .about-section {
  margin-top: 16px;
}

html[data-aleph-background] body.about-page.has-canvas #content-scroll .about-project-index a:hover,
html[data-aleph-background] body.about-page.has-canvas #content-scroll .about-project-index a:focus-visible {
  color: #f00 !important;
  -webkit-text-fill-color: #f00 !important;
  mix-blend-mode: normal !important;
}

body.about-page #content-scroll .about-project-index a {
  text-decoration: none;
}

html[data-aleph-background] body.about-page.has-canvas #content-scroll a:hover,
html[data-aleph-background] body.about-page.has-canvas #content-scroll a:focus-visible {
  color: #f00 !important;
  -webkit-text-fill-color: #f00 !important;
  mix-blend-mode: normal !important;
  text-decoration: underline;
}

html[data-aleph-background] body.about-page.has-canvas #content-scroll .about-project-index a:hover,
html[data-aleph-background] body.about-page.has-canvas #content-scroll .about-project-index a:focus-visible {
  color: #f00 !important;
  -webkit-text-fill-color: #f00 !important;
  text-decoration: none;
}

body.about-page #content-scroll .about-background-note {
  margin: 0;
  display: block;
  text-align: center;
}

body.about-page #content-scroll .aleph-inline-symbol {
  display: inline;
  white-space: nowrap;
  font-variant-emoji: text;
}

body.about-page #content-scroll .aleph-symbol-toggle {
  margin-bottom: 20px;
}

html[data-aleph-background="on"] body.about-page #content-scroll .about-background-note {
  display: block;
  margin-bottom: 5px;
}

html[data-aleph-background="off"] body.about-page #content-scroll .about-background-note {
  margin-bottom: 5px;
}

html[data-aleph-background="on"] body.about-page.has-canvas #content-scroll .aleph-symbol-toggle {
  margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
  body.about-page #content-scroll .aleph-symbol-toggle,
  html[data-aleph-background="on"] body.about-page.has-canvas #content-scroll .aleph-symbol-toggle {
    margin-top: 10px;
    margin-bottom: 10px;
  }
}
