/*--------------------------------
   Start Preloader & General Styling
----------------------------------*/

html {
  height: 100%;
}

h1 {
  font-size: 2rem;
}

* {
  outline: none;
}

:root {
  /* one place to swap the family once the font is self-hosted */
  --font-body: 'Rubik', sans-serif;
  --font-size-body: 18px;
  /* One ink, black, for contrast. Hierarchy comes from size and weight, not
     from washed-out greys. Rules and borders keep their own light grey. */
  --ink: #000;
  --ink-strong: #000;
  --ink-quiet: #000;
  --rule: #d8d8d8;
  /* the one coloured element in the design, used by .hero-notice */
  --notice: #c0392b;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  height: 100%;
}

.no-js body {
  overflow: visible;
}

.all-container {
  opacity: 0;
  /* -ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; */
  height: 100%;
}

.no-js .all-container {
  opacity: 1;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2b2c2f;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-js #preloader {
  display: none;
}

.square-spin > div {
  width: 80px;
  height: 80px;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation-name: fadeInUp;
}

.scroll-up {
  position: fixed;
  right: 0px;
  bottom: 50px;
  text-decoration: none;
  color: #999;
  cursor: pointer;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s;
}

.scroll-up-show {
  opacity: 1;
  transform: translateY(0px);
}

.scroll-up:hover,
.scroll-up:focus {
  color: #999;
}

.scroll-up.hvr-icon-up:before {
  content: '\f077';
  font-size: 15px;
  padding: 1px 4px;
  border-radius: 100%;
  border: 2px solid #999;
}

/*--------------------------------
   End Preloader & General Styling
----------------------------------*/

/*--------------------------------
  Start Header
----------------------------------*/

/* ========= Header ======= */

.header {
  background: #313131;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  height: 100%;
  min-height: 420px;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}

.logo {
  position: absolute;
  z-index: 10;
  top: 2px;
  left: 40px;
}

.no-js .logo {
  display: none;
}

.logo img {
  width: 205px;
}

.owl-carousel.owl-full-width {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.owl-carousel.owl-full-width .slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.owl-carousel.owl-full-width .slider img {
  display: none;
}

.owl-full-width div {
  height: 100%;
}

/* The scrim darkens the photo so white type stays legible. header.html sets
   .header-titled only when the hero carries a title, so a site that drops the
   heading shows the photo unmuted. */
.header .slider::after,
.header.header-titled::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.6);
  z-index: 9;
}

.slider-button {
  position: absolute;
  top: 49%;
  height: 35px;
  width: 35px;
  z-index: 10;
  border-radius: 100%;
  text-align: center;
  font-size: 29px;
  border: 2px solid #999;
  color: #999;
  opacity: 0;
  cursor: pointer;
  transition: all 0.5s;
}

.slider-prev-button {
  left: 40px;
  transform: translateX(15px);
}

.slider-next-button {
  right: 40px;
  transform: translateX(-15px);
}

.slider-button:hover {
  background: #999;
  color: #fff;
}

.header:hover .slider-button {
  opacity: 1;
  transform: translateX(0px);
}

.slider-prev-button .fa {
  position: relative;
  top: -6px;
  left: -2px;
}

.slider-next-button .fa {
  position: relative;
  top: -6px;
  left: 2px;
}

.head-container {
  display: table;
  position: absolute;
  top: 0;
  height: 100%;
  color: white;
  font-size: 30px;
  font-family: var(--font-body) !important;
  font-weight: 300;
  z-index: 10;
}

.head-holder {
  display: table-cell;
  vertical-align: middle;
}

.introduction {
  font-size: 60px;
  font-weight: 600;
}

.typist-blink:after {
  content: ' ';
  display: inline-block;
}

.typist-blink > .selectedText {
  display: none;
}

.head-holder .hireMe {
  display: inline-block;
  background: transparent;
  margin-top: 18px;
  text-decoration: none;
  color: white;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 500;
  border: 2px solid white;
  padding: 5px 18px;
  transition: all 0.2s;
}

.button {
  text-decoration: none;
  color: #4d4d4d;
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
  border: 2px solid #4d4d4d;
  padding: 7px 10px;
}

.button:hover {
  background: #6f6f6f;
  color: #fff !important;
  border: 2px solid #6f6f6f;
}

input + label {
  position: absolute;
  top: 40px;
  right: 40px;
  height: 20px;
  width: 34px;
  z-index: 12;
}

.no-js input + label {
  display: none;
}

#burger {
  display: none;
}

input + label span {
  position: absolute;
  width: 100%;
  height: 4px;
  top: 50%;
  margin-top: -1px;
  left: 0;
  display: block;
  background: #fff;
  transition: 0.5s;
}

.navigation-icon:hover .burger-menu span {
  background: #6f6f6f;
}

input + label span:first-child {
  top: 0px;
}

input + label span:last-child {
  top: 19px;
}

label:hover {
  cursor: pointer;
}

input:checked + label span {
  opacity: 0;
  top: 50%;
  background: #6f6f6f;
}

input:checked + label span:first-child {
  opacity: 1;
  transform: rotate(405deg);
}

input:checked + label span:last-child {
  opacity: 1;
  transform: rotate(-405deg);
}

/* ========= Full Screen Navigation ======= */

.fullscreen-nav-container {
  position: absolute;
  top: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: none;
  z-index: 11;
  color: #fff;
  font-family: var(--font-body);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.fullscreen-nav-container .container-fluid {
  height: 100%;
}

.fullscreen-nav-container::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.no-js .fullscreen-nav-container {
  display: none;
}

.full-nav-container {
  height: 100%;
}

.full-nav-holder {
  height: 100%;
  display: table;
  width: 100%;
  margin: auto;
}

.full-nav-content {
  display: table-cell;
  vertical-align: middle;
}

.name {
  text-align: center;
}

.first-name {
  font-size: 50px;
  font-weight: 400;
  padding-bottom: 20px;
}

.last-name {
  font-size: 100px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 42px;
}

.occupation {
  font-size: 18px;
  font-weight: 400;
  height: 30px;
  overflow: hidden;
}

.occupation span {
  display: inline-block;
  color: #fff;
  position: relative;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 22px;
  text-align: center;
  top: 0;
  left: 0;
}

@keyframes move {
  0% {
    top: 0px;
  }
  33% {
    top: -30px;
  }
  67% {
    top: -60px;
  }
}

.fulscreen-nav {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.fullscreen-nav-holder {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
}

.fullscreen-nav-holder div {
  margin: 0px 10px;
  transition: transform 0.2s;
}

.fullscreen-nav-holder div:hover {
  transform: translateY(5px);
}

.fullscreen-nav-holder a {
  color: white;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
}

.full-nav-icon-holder {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.full-nav-icons {
  display: inline-flex;
  flex-wrap: wrap;
  width: 300px;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.full-nav-icons div {
  display: inline-block;
}

.full-nav-icons a,
.to-top a {
  text-decoration: none;
  color: #313131;
  font-size: 17px;
}

.full-nav-icons .fa.fa-facebook-f {
  padding: 7px 10px;
}

.full-nav-icons .fa,
.to-top .fa {
  transition: all 0.3s;
  background: #fff;
  padding: 7px;
}

.full-nav-icons .fa:hover {
  transform: translateY(5px);
}

/*--------------------------------
  End Header
----------------------------------*/


/*--------------------------------
   Start About Me
----------------------------------*/

.about-me {
  background: #fff;
  padding: 70px 0px;
}

.about-me-text h1 {
  position: relative;
  color: #6f6f6f;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-me-text p {
  color: #6f6f6f;
  font-size: 16px;
}

.download-cv:hover,
.download-cv:focus {
  text-decoration: none;
  color: #4d4d4d;
}

.about-me-images img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  width: 90%;
}

/* ========= Start Experience ======= */

.experience-skill {
  margin-top: 40px;
}

.experience h3,
.skill h3 {
  color: #6f6f6f;
  font-weight: 700;
  letter-spacing: 2px;
}

.experience-chart {
  list-style: none;
  padding: 0px 0px 0px 6px;
  margin-top: 40px;
}

ul.experience-chart li {
  padding-left: 30px;
  border-left: 2px solid #6f6f6f;
  padding-bottom: 10px;
  position: relative;
}

ul.experience-chart li:last-child {
  padding-bottom: 0;
}

ul.experience-chart li:after {
  position: absolute;
  top: -1px;
  left: -12px;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #4d4d4d;
  background: #fff;
  content: '';
  transition: all 0.7s;
}

ul.experience-chart li:hover:after {
  background: #4d4d4d;
}

ul.experience-chart h4 {
  font-size: 19px;
  margin-top: 0;
  margin-bottom: 4px;
  font-weight: 700;
  color: #4d4d4d;
}

.experience-chart li span {
  font-weight: 700;
  color: #6f6f6f;
}

.experience-chart li p {
  color: #6f6f6f;
}

.single-experience {
  position: relative;
  top: -2px;
}

/* ========= Start Skill ======= */

.skill-progress-bar {
  margin-top: 41px;
}

.skillbar {
  position: relative;
  display: flex;
  margin-bottom: 40px;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 2px solid #6f6f6f;
  height: 18px;
  border-radius: 22px;
  transition: 0.2s linear;
  transition-property: width, background-color;
}

.skillbar-title,
.skill-bar-percent {
  font-size: 16px;
  color: #4d4d4d;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 7px;
}

.skill-bar-percent {
  float: right;
}

.skillbar-bar {
  height: 10px;
  margin: 0px 2px;
  width: 0px;
  background: #4d4d4d;
  border-radius: 22px;
}

/*--------------------------------
   End About Me
----------------------------------*/

/*--------------------------------
   Start Portfolio
----------------------------------*/

.portfolio {
  background: #fff;
  padding: 70px 0px;
}

.portfolio h1 {
  color: #6f6f6f;
  text-align: center;
  font-weight: 700;
  letter-spacing: 4px;
  position: relative;
}

.hidden {
  display: none !important;
}

/* ========= 7.2 Start Fun Facts ======= */

.no-js .fun-facts {
  display: none;
}

.fun-facts {
  display: flex;
  justify-content: space-around;
  height: auto;
  flex-wrap: wrap;
}

.fun-fact-holder {
  width: 130px;
}

.fun-fact-holder img {
  display: block;
  margin: auto;
  width: 50px;
}

.fun-fact-holder p {
  text-align: center;
  font-size: 14px;
  margin-top: -10px;
  color: #6f6f6f;
  font-weight: 700;
}

.fun-fact-holder .fact-counter {
  text-align: center;
  font-weight: 700;
  font-size: 21px;
  margin-top: 13px;
}

/*--------------------------------
   End Testimonials
----------------------------------*/
.footer {
  padding-top: 50px;
  padding-bottom: 70px;
  position: relative;
  z-index: 2;
}

.footer hr {
  border: 1px solid #fff;
  margin-bottom: 5px;
}

.footer-icons {
  display: inline-flex;
  flex-wrap: wrap;
  width: 210px;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.footer-icons div {
  display: inline-block;
}

.footer-icons a,
.to-top a {
  text-decoration: none;
  color: #313131;
  font-size: 17px;
}

.footer-icons .fa,
.to-top .fa {
  transition: all 0.3s;
  background: #fff;
  padding: 7px;
}

.footer-icons .fa:hover {
  transform: translateY(5px);
}

.no-js .to-top {
  position: fixed;
  right: 15px;
  bottom: 20px;
}

.to-top:hover {
  transform: translateY(-5px);
}

.credit {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  text-align: center;
}

/*--------------------------------
  Start Header
----------------------------------*/

@media (max-width: 550px) and (min-height: 501px) {
  .introduction {
    font-size: 45px;
    margin-bottom: 5px;
  }
  .animated-text {
    font-size: 21px;
    margin-top: 7px;
    margin-bottom: 2px;
  }
  .head-holder .hireMe {
    margin-top: 10px;
    font-size: 18px;
    padding: 3px 12px;
  }
}

@media (min-width: 470px) and (max-width: 727px) {
  .fullscreen-nav-holder div {
    margin-bottom: 15px;
  }
  .full-nav-icon-holder {
    margin-top: 15px;
  }
}

@media (min-width: 728px) and (max-height: 470px) {
  .full-nav-container {
    margin-top: 20px;
  }
}

@media (min-width: 469px) and (max-width: 727px) and (max-height: 500px) {
  .full-nav-container {
    margin-top: 20px;
  }
  .first-name,
  .last-name {
    display: inline-block;
    font-size: 35px;
    margin: 0;
  }
  .occupation {
    font-size: 15px;
  }
  .fulscreen-nav {
    margin-top: 25px;
  }
  .full-nav-icon-holder {
    margin-top: 0;
    margin-bottom: 10px;
  }
}

@media (max-height: 535px) and (max-width: 468px) {
  .first-name,
  .last-name {
    display: inline-block;
    font-size: 35px;
    margin: 0;
  }
  .occupation {
    font-size: 15px;
  }
  .name {
    text-align: left;
  }
  .full-nav-container {
    margin-top: 20px;
  }
  .fullscreen-nav-holder div {
    margin-bottom: 15px;
    margin: 0;
    margin-bottom: 15px;
    width: 100%;
    text-align: left;
  }
  .fulscreen-nav {
    margin-top: 25px;
  }
  .full-nav-icon-holder {
    margin-top: -5px;
    width: 70%;
    justify-content: flex-start;
  }
  .full-nav-holder {
    padding-left: 20px;
    display: block;
  }
  .full-nav-content {
    display: block;
  }
}

@media (max-width: 469px) and (min-height: 536px) {
  .fullscreen-nav-holder div {
    margin-bottom: 15px;
    margin: 0;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
  }
  .full-nav-icon-holder {
    margin-top: 15px;
  }
  .full-nav-container {
    margin-top: 20px;
  }
  .first-name {
    font-size: 35px;
  }
  .last-name {
    font-size: 70px;
    font-weight: 600;
    line-height: 0;
    margin-top: 28px;
    margin-bottom: 28px;
  }
  .occupation {
    font-size: 14px;
  }
  .fullscreen-nav {
    margin-top: 35px;
  }
  .full-nav-holder {
    display: block;
  }
  .full-nav-content {
    display: block;
  }
}

@media (max-width: 767px) {
  .logo {
    left: 10px;
  }
  .header .logo img {
    width: 185px;
  }
}

@media (max-width: 880px) {
  .slider-button {
    display: none;
  }
}

@media (max-width: 990px) {
  .header {
    background-position: center;
  }
}

@media (min-height: 301px) and (max-height: 500px) {
  .introduction {
    font-size: 35px;
  }
  .animated-text {
    font-size: 18px;
  }
  .head-holder .hireMe {
    margin-top: 10px;
    font-size: 16px;
    padding: 3px 12px;
  }
}

@media (max-height: 300px) {
  .introduction {
    font-size: 35px;
  }
  .animated-text {
    font-size: 18px;
  }
  .head-holder .hireMe {
    margin-top: 10px;
    font-size: 16px;
    padding: 3px 12px;
  }
  .head-container {
    display: block;
    margin-top: 130px;
    margin-bottom: 50px;
    height: auto;
  }
}

@media (max-width: 468px) and (max-height: 440px) {
  .full-nav-container {
    margin-bottom: 30px;
  }
  .fullscreen-nav-container {
    position: absolute;
    top: 0;
    bottom: 100%;
    width: 100%;
    height: 447px;
  }
}

@media (max-height: 430px) {
  .fullscreen-nav-container {
    min-height: 420px;
  }
}

.hero-image {
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  object-fit: cover;
  min-height: 100%;
  width: 100%;
}

/* Short coloured line under the hero photo, set in content.toml as notice_de /
   notice_en. It sits in the flow rather than in the fixed bar, so it scrolls
   away with the photo. */
.hero-notice {
  margin: 0;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--notice);
  text-align: center;
}

.footer-icon:hover {
  color: #818aa3;
}

/*--------------------------------
  End Header
----------------------------------*/



/*--------------------------------
  Start About Me
----------------------------------*/

@media (max-width: 767px) {
  .about-me-text {
    display: block;
    height: auto;
    margin-bottom: 30px;
    order: 2;
  }
  .about-me-image {
    order: 1;
    margin-bottom: 30px;
  }
  .about-me-holder {
    display: flex;
    flex-wrap: wrap;
  }
  .experience-skill {
    margin-top: 10px;
  }
  .experience-chart,
  .skill-progress-bar {
    margin-top: 25px;
  }
  .skill {
    margin-top: 30px;
  }
  .skillbar {
    margin-bottom: 15px;
  }
}

@media (min-width: 601px) and (max-width: 991px) {
  .about-me {
    padding: 125px 0px 35px 0px;
  }
}

@media (max-width: 600px) {
  .about-me {
    padding: 70px 0px 0px 0px;
  }
}

/*--------------------------------
   End About Me
----------------------------------*/

/*--------------------------------
  Start Contact
----------------------------------*/

@media (max-width: 300px) {
  .footer-icons {
    width: 100%;
  }
  .footer-icons .fa {
    margin-bottom: 10px;
  }
}

/*--------------------------------
  End Contact
----------------------------------*/


/* ---- smooth anchor scrolling, replaces the removed jQuery easing script ---- */
html {
  scroll-behavior: smooth;
}

section[id],
div[id] {
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---- footer language switcher ----------------------------------------- */
.footer-languages {
  margin: 0 0 10px;
  padding: 0;
}

.footer-language {
  display: inline-block;
  margin: 0 8px;
}

.footer-language a {
  color: #6f6f6f;
  text-decoration: none;
}

.footer-language.active a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---- portfolio: series ------------------------------------------------- */
.portfolio .section-title {
  text-align: center;
  margin-bottom: 60px;
}

.series {
  margin-bottom: 120px;
}

.series-title {
  margin-bottom: 24px;
}

.series-images {
  display: grid;
  grid-template-columns: repeat(var(--series-columns, 4), minmax(0, 1fr));
  gap: 24px;
  align-items: end;
  /* a one- or two-image series should not blow up to full container width */
  max-width: min(
    100%,
    calc(var(--series-columns, 4) * 420px + (var(--series-columns, 4) - 1) * 24px)
  );
}

.series-figure {
  margin: 0;
}

.series-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* The image sits inside the lightbox opener button, which must not add a line
   box of its own or the grid row would grow by the button's descender space. */
.series-figure .work-photo-open {
  display: block;
  line-height: 0;
}

.series-number {
  margin-top: 6px;
  text-align: right;
  font-size: 13px;
  color: #6f6f6f;
}

.series-captions {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #6f6f6f;
}

.series-caption-number {
  margin-right: 4px;
}

.series-text {
  margin-top: 64px;
  max-width: 42em;
}

@media (max-width: 991px) {
  .series-images {
    grid-template-columns: repeat(2, 1fr);
  }

  .series {
    margin-bottom: 90px;
  }
}

@media (max-width: 575px) {
  .series-images {
    grid-template-columns: 1fr;
  }

  .series-text {
    margin-top: 44px;
  }
}

/* ---- shared typography ------------------------------------------------- */
/* Menu, headings and body text all resolve to the same family and the same
   base size; only weight and colour distinguish them. */

.site-nav-item a,
.section-title,
.vita-section-title,
.series-title,
.current-name,
.about-text,
.footer-language a {
  font-family: var(--font-body);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  margin-bottom: 40px;
}

.vita-section-title,
.series-title,
.current-name {
  font-size: var(--font-size-body);
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
}

/* ---- about ------------------------------------------------------------- */
/* Text, image and contact button share one left edge on every viewport. */

.about-me {
  background: #fff;
  padding: 70px 0;
}

.about-text {
  max-width: 46em;
  color: var(--ink);
}

.about-image {
  max-width: 46em;
  margin-top: 40px;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-button {
  display: inline-block;
  margin-top: 32px;
}

/* ---- aktuelles --------------------------------------------------------- */

.current {
  padding: 70px 0;
}

.current-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.current-image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.current-name {
  margin: 0 0 6px;
}

.current-meta {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ink-quiet);
}

.current-text {
  color: var(--ink);
  font-size: 14px;
}

@media (max-width: 767px) {
  .current-items {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- vita -------------------------------------------------------------- */

.vita {
  padding: 70px 0;
}

.vita-section {
  margin-bottom: 56px;
}

.vita-section-title {
  margin-bottom: 18px;
}

.vita-entry {
  padding: 0.45rem 0;
  color: var(--ink-strong);
}

.vita-year {
  color: var(--ink-quiet);
  font-size: 0.85rem;
  white-space: nowrap;
}

.vita-detail {
  color: var(--ink-quiet);
  font-size: 0.8rem;
}

/* style: year-left. Year in a column, venue and detail on their own lines. */
.vita-style-year-left .vita-entry {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0 1.25rem;
  align-items: baseline;
}

.vita-style-year-left .vita-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.vita-style-year-left .vita-venue,
.vita-style-year-left .vita-detail {
  font-size: 0.85rem;
  color: var(--ink-quiet);
}

/* style: inline. Year in a column, everything else on one line. */
.vita-style-inline .vita-entry {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0 1.25rem;
  align-items: baseline;
}

.vita-style-inline .vita-venue::before,
.vita-style-year-grouped .vita-venue::before {
  content: ', ';
}

.vita-style-inline .vita-detail::before,
.vita-style-year-grouped .vita-detail::before {
  content: ' · ';
}

/* style: year-grouped. Year once as a heading, entries beneath it. */
.vita-style-year-grouped .vita-group-year {
  margin: 1.6rem 0 0.2rem;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-quiet);
}

.vita-style-year-grouped .vita-group-year:first-child {
  margin-top: 0;
}

.vita-style-year-grouped .vita-entry {
  padding: 0.2rem 0;
}

/* style: stacked. No columns, three short lines, year last. */
.vita-style-stacked .vita-entry {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.7rem 0;
}

.vita-style-stacked .vita-year {
  order: 2;
}

.vita-style-stacked .vita-venue,
.vita-style-stacked .vita-detail {
  font-size: 0.85rem;
  color: var(--ink-quiet);
}

@media (max-width: 575px) {
  .vita-style-year-left .vita-entry,
  .vita-style-inline .vita-entry {
    grid-template-columns: 4rem 1fr;
    gap: 0 0.75rem;
  }
}

/* ---- site navigation --------------------------------------------------- */
/* Own class names throughout. The theme's .menu-container was absolutely
   positioned and had height: 0 below 765px, which centred the bar's content on
   the top edge of the viewport and cut it in half on phones. This is a plain
   flex row instead, so it cannot be clipped, and long label sets wrap onto a
   second line rather than overflowing. */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: background 0.4s;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 55px;
  padding: 6px 20px;
}

.site-nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.site-nav-list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav-item a {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.4s;
}

.site-nav-item.active a,
.site-nav-item a:hover,
.site-nav-item a:focus {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Over the photo the bar has no background of its own, and since the scrim is
   gone on hero images without a title, the shadow is what keeps white type
   legible over a bright frame. */
.site-nav .site-nav-item a,
.site-nav .site-nav-name {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* .menu-solid is set by assets/js/script.js once the hero has scrolled past */
.site-nav.menu-solid {
  background: #fff;
}

.site-nav.menu-solid .site-nav-item a,
.site-nav.menu-solid .site-nav-name {
  color: var(--ink);
  text-shadow: none;
}

@media (max-width: 575px) {
  .site-nav-inner {
    gap: 12px;
    padding: 6px 12px;
  }

  .site-nav-logo img {
    height: 32px;
  }

  .site-nav-list {
    gap: 2px 12px;
  }

  .site-nav-item a {
    font-size: 14px;
  }
}

/* ---- content sections: collection, block, contact ---------------------- */

.collection,
.block,
.contact {
  padding: 70px 0;
}

/* a section on its own page sits under the solid bar, so it needs the clearance
   the home page gets from the hero */
.collection-page {
  padding-top: 110px;
}

.collection .section-title a {
  color: inherit;
  text-decoration: none;
}

.collection .section-title a:hover,
.collection .section-title a:focus {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.collection-intro,
.block-text,
.contact-text {
  max-width: 46em;
  color: var(--ink);
}

/* These blocks come from data/content.toml through markdownify, so they can
   carry subheadings and lists; without rules of their own they would fall back
   to the browser defaults. */
.block-text h3,
.about-text h3,
.contact-text h3 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.block-text ul,
.about-text ul,
.contact-text ul {
  margin: 0 0 1rem;
  padding-left: 1.2em;
}

.block-text li,
.about-text li,
.contact-text li {
  margin-bottom: 0.2rem;
}

.collection-items {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  max-width: 46em;
}

.collection-item + .collection-item {
  border-top: 1px solid var(--rule);
}

.collection-link {
  display: block;
  padding: 18px 0;
  color: inherit;
  text-decoration: none;
}

.collection-link:hover,
.collection-link:focus {
  color: inherit;
}

.collection-link:hover .collection-title,
.collection-link:focus .collection-title {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.collection-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.collection-subtitle {
  margin: 4px 0 0;
  color: var(--ink);
}

.collection-meta {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--ink-quiet);
}

.contact-mail-line {
  margin-top: 24px;
  font-size: 1.05rem;
}

.contact-mail-link {
  color: var(--ink-strong);
}

/* ---- single page: text and photos on the golden ratio ------------------ */

.work {
  padding: 110px 0 70px;
}

.work-header {
  max-width: 46em;
  margin-bottom: 40px;
}

.work-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink-strong);
}

.work-subtitle {
  margin: 6px 0 0;
  font-size: 1.15rem;
  color: var(--ink);
}

.work-meta {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--ink-quiet);
}

/* 1.618 to 1: the text column takes the larger share, as Laro sketched */
.work-grid {
  display: grid;
  grid-template-columns: 1.618fr 1fr;
  gap: 56px;
  align-items: start;
}

/* set by _default/single.html when the page has no photos: nothing would hold
   the right-hand column, so the text runs the full width of the container */
.work-grid-single {
  grid-template-columns: 1fr;
}

.work-body {
  color: var(--ink-strong);
  min-width: 0;
}

.work-body h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.work-body h3 {
  margin: 1.8rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.work-body p {
  margin-bottom: 1rem;
}

/* sticky so the photos hold while the text scrolls */
.work-gallery {
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  min-width: 0;
}

.work-photo {
  margin: 0 0 20px;
}

.work-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.work-photo-caption {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-quiet);
}

.work-back {
  margin-top: 64px;
}

/* ---- collapsible blocks ------------------------------------------------ */

.details {
  margin: 1.4rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.details-summary {
  padding: 0.7rem 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-strong);
}

.details-body {
  padding-bottom: 0.9rem;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-gallery {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* wordmark used in place of a logo when logo_light is unset */
.site-nav-name {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.site-nav.menu-solid .site-nav-name {
  color: var(--ink);
}

@media (max-width: 575px) {
  .site-nav-name {
    font-size: 14px;
  }
}

/* ---- category filter --------------------------------------------------- */

.collection-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.collection-filter-button {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 6px 14px;
  cursor: pointer;
}

.collection-filter-button:hover,
.collection-filter-button:focus {
  border-color: var(--ink);
}

.collection-filter-button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.collection-item[hidden] {
  display: none;
}

/* ---- photo lightbox ---------------------------------------------------- */

.work-photo-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
}

.lightbox-caption {
  font-size: 0.85rem;
  color: var(--ink);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1;
  padding: 10px 14px;
  cursor: pointer;
}
