/* Visual match of the archived Bionick layout for stephansaid.com. */
:root {
  --yellow: #ffc815;
  --yellow-hot: #ff9900;
  --ink: #191919;
  --body: #292929;
  --paper: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--body);
  color: #000;
  font-family: Raleway, sans-serif;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
}
img { max-width: 100%; border: 0; vertical-align: middle; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: #000; text-decoration: none; }
p {
  text-align: left;
  font-family: Lato, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  padding-bottom: 10px;
}
strong, b { font-weight: 700; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 80;
  padding: 10px 16px;
  background: var(--yellow);
  color: #000;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header sits over the left photo column, the same 40% band as the archive. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 40%;
  height: 70px;
  background: var(--ink);
}
.logo-holder {
  float: left;
  height: 70px;
  padding: 0 28px;
  background: var(--yellow);
  line-height: 70px;
}
.logo-holder h2 {
  margin: 0;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 70px;
  text-transform: none;
  letter-spacing: 0;
}
.nav-button {
  position: absolute;
  top: 25px;
  right: 16px;
  z-index: 41;
  width: 30px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
}
.nav-button::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -20px;
  width: 2px;
  height: 40px;
  background: var(--body);
}
.nav-button span {
  display: block;
  position: relative;
  height: 3px;
  margin-bottom: 5px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-button.cmenu .nbs { opacity: 0; }
.nav-button.cmenu .nos { transform: translateY(8px) rotate(-45deg); }
.nav-button.cmenu .ncs { transform: translateY(0) rotate(45deg); }

.nav-inner {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 100%;
  visibility: hidden;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  transform: perspective(200px) rotateX(-15deg) scale(.75);
  transition: opacity .4s ease, transform .4s ease, visibility .4s;
}
.nav-inner.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.nav-inner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: var(--yellow);
  opacity: .3;
  transform: rotate(-45deg);
}
.nav-inner.is-open.menhov::before { transform: rotate(45deg); }
.nav-decor {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 50px;
}
.nav-decor::before, .nav-decor::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, .51);
}
.nav-decor-tl { left: 50px; top: 100px; }
.nav-decor-tl::before { left: 2px; top: 0; width: 50px; height: 2px; }
.nav-decor-tl::after { left: 0; top: 0; width: 2px; height: 50px; }
.nav-decor-br { right: 50px; bottom: 50px; }
.nav-decor-br::before { right: 2px; bottom: 0; width: 50px; height: 2px; }
.nav-decor-br::after { right: 0; bottom: 0; width: 2px; height: 50px; }
.nav-inner ul { position: relative; z-index: 3; width: 100%; }
.nav-inner li { position: relative; padding: 5px 0; }
.nav-inner li::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .51);
  opacity: 0;
  transition: opacity .2s linear;
}
.nav-inner li:hover::before { opacity: 1; }
.nav-inner a {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}
.nav-inner a.curpage { color: var(--yellow); }
.nav-inner li:hover a { color: #fff; }

/* Full-viewport slider, then the 40/60 split used on every archive page. */
.hero {
  position: relative;
  z-index: 6;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #111;
}
.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  background-color: #111;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity .8s ease, visibility .8s;
}
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-card {
  position: absolute;
  z-index: 2;
  width: min(522px, 86vw);
  text-align: left;
}
.hero-slide:nth-child(1) .hero-card { left: 18%; top: 42%; }
.hero-slide:nth-child(2) .hero-card { left: 6%; top: 30%; }
.hero-slide:nth-child(3) .hero-card { right: 10%; left: auto; top: 36%; }
.hero-card__panel {
  position: relative;
  min-height: 110px;
  margin-bottom: 18px;
  padding: 16px 22px 18px 40px;
  background: rgba(0, 0, 0, .44);
}
.hero-card__bar {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 4px;
  height: 89px;
  background: var(--yellow);
}
.hero-card h2 {
  margin: 0;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-transform: none;
}
.hero-card p {
  margin: 6px 0 0;
  padding: 0;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.35;
}
.more-info {
  display: inline-block;
  padding: 0 40px;
  border-radius: 5px;
  background: var(--yellow);
  color: #000;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 50px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
}
.more-info:hover { background: var(--yellow-hot); color: #fff; }
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 22px;
  line-height: 40px;
}
.hero-arrow:hover { background: #000; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  height: 5px;
  background: transparent;
}
.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, .5);
}
.hero.is-playing .hero-progress span { animation: hero-bar 7s linear; }
@keyframes hero-bar { from { width: 0; } to { width: 100%; } }

.split { display: flex; align-items: flex-start; }
.fixed-column {
  position: sticky;
  top: 0;
  flex: 0 0 40%;
  width: 40%;
  height: 100vh;
  align-self: flex-start;
}
.bg-wrapper { position: absolute; inset: 0; overflow: hidden; }
.bg-wrapper .bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.bg-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .3;
}
.bg-wrapper::before,
.bg-wrapper::after {
  content: "";
  position: absolute;
  bottom: 50px;
  left: 50px;
  z-index: 2;
  background: rgba(255, 255, 255, .51);
}
.bg-wrapper::before { width: 10px; height: 70%; }
.bg-wrapper::after { width: 70%; height: 10px; margin-left: 10px; }
.bg-title {
  position: absolute;
  bottom: 90px;
  left: 90px;
  z-index: 3;
  max-width: 250px;
  text-align: left;
}
.bg-title span {
  display: block;
  color: rgba(255, 255, 255, .91);
  font-family: "Bebas Neue", sans-serif;
  font-size: 90px;
  font-weight: 400;
  line-height: .86;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bg-title::before {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
}

.split-main { position: relative; flex: 1 1 60%; width: 60%; min-width: 0; }
.wrapper-inner {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  background: var(--paper);
  padding: 150px 0 100px;
}
.home-wrap { padding-top: 0; }
.container { position: relative; z-index: 2; width: 92%; max-width: 900px; margin: 0 auto; }
section { position: relative; padding: 50px 0; text-align: left; }

.scroll-nav-holder {
  position: relative;
  z-index: 6;
  background: var(--ink);
  line-height: 70px;
}
.scroll-nav { display: flex; flex-wrap: wrap; margin-left: 10px; }
.scroll-nav a {
  display: block;
  position: relative;
  padding: 0 28px;
  background: var(--body);
  color: #fff;
  font-weight: 700;
  line-height: 48px;
  margin: 11px 0;
}
.scroll-nav a.act-link { background: var(--yellow); color: #000; }
.scroll-nav a:hover { color: #fff; background: #111; }
.scroll-nav a.act-link:hover { color: #fff; }

.section-title { position: relative; margin-bottom: 50px; overflow: hidden; text-align: left; }
.sect-subtitle {
  position: absolute;
  top: 46%;
  left: 20%;
  color: #ccc;
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .2;
  pointer-events: none;
}
.section-title h2 {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  font-size: 43px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  text-transform: uppercase;
}
.st-separator {
  position: relative;
  width: 180px;
  height: 2px;
  margin-top: 10px;
  background: var(--yellow);
}
.st-separator::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--yellow);
}
.home-wrap .prose p { font-size: 16px; }
.page-copy { max-width: 100%; }

.link-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 10px;
}
.link-card { display: block; text-align: left; color: #000; }
.link-card img { display: block; width: 100%; height: auto; }
.link-card strong { display: block; margin-top: 12px; font-size: 18px; font-weight: 700; }
.link-card span { display: block; margin-top: 4px; font-size: 14px; }

.video-embed { margin: 0 0 28px; text-align: left; }
.video-embed h3 {
  margin: 8px 0 12px;
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  text-transform: none;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-form { max-width: 600px; padding-top: 10px; text-align: left; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  height: 55px;
  margin-bottom: 20px;
  padding: 0 15px 0 20px;
  border: 1px solid #eee;
  border-radius: 2px;
  background: #f9f9f9;
  color: #000;
  font-size: 12px;
  font-weight: 800;
}
.contact-form textarea { height: 170px; padding-top: 20px; resize: none; }
.contact-form button {
  float: left;
  padding: 18px 30px;
  border: 0;
  border-radius: 2px;
  background: var(--yellow);
  color: #000;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  text-transform: uppercase;
}
.contact-form button:hover { background: var(--body); color: #fff; }
.form-note { clear: both; padding-top: 24px; color: #666; font-weight: 700; }

footer {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 60%;
  padding-top: 70px;
  background: var(--ink);
  text-align: left;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-info h4 {
  position: relative;
  margin: 0 0 45px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}
.footer-info h4::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--yellow);
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
}
.footer-social a:hover { opacity: .7; }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }
.footer-contacts a {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-contacts a:hover { opacity: .6; }
.to-top-holder { margin-top: 30px; background: #000; }
.to-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}
.to-top-holder p {
  position: relative;
  top: 8px;
  margin: 0;
  padding: 0 0 0 20px;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  text-transform: uppercase;
}
.to-top-holder p::before,
.to-top-holder p::after {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  background: var(--yellow);
}
.to-top-holder p::before { width: 2px; height: 50px; }
.to-top-holder p::after { width: 50px; height: 2px; }
.to-top-holder a { color: #fff; }
.to-top {
  width: 50px;
  height: 70px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 70px;
}
.to-top:hover { opacity: .5; }
.height-emulator { width: 100%; min-height: 280px; }

@media (prefers-reduced-motion: reduce) {
  .hero-progress span { animation: none; width: 100%; }
  .hero-slide, .nav-inner, .nav-button span { transition: none; }
}

@media (max-width: 1036px) {
  .site-header, .nav-inner, footer, .split-main, .wrapper-inner { width: 100%; }
  .fixed-column, .scroll-nav-holder, .sect-subtitle, .height-emulator { display: none; }
  .split { display: block; }
  .wrapper-inner { float: none; min-height: 0; padding: 90px 0 40px; }
  footer { position: relative; right: auto; padding-top: 50px; }
  .hero-slide:nth-child(1) .hero-card,
  .hero-slide:nth-child(2) .hero-card,
  .hero-slide:nth-child(3) .hero-card {
    left: 6%;
    right: 6%;
    top: auto;
    bottom: 12%;
    width: auto;
  }
  .hero-card h2 { font-size: 32px; }
  .hero-card p { font-size: 18px; }
  .section-title h2 { font-size: 34px; }
  .link-row { grid-template-columns: 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .to-top-holder p { font-size: 9px; }
}
