/*
Theme Name: Stud
Theme URI: 
Author: Martin Res
Author URI: https://martinres.cz
Description: 
Tags: 
Version: 2025css
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: stud
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

a {
  text-decoration-skip-ink: auto;
}

a[href^=tel] {
  color: inherit;
  text-decoration: none;
}

button {
  outline: 0;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

q {
  display: inline;
  font-style: italic;
}

q:before {
  content: '"';
  font-style: normal;
}

q:after {
  content: '"';
  font-style: normal;
}

textarea, input[type=text], input[type=button], input[type=submit], input[type=reset], input[type=search], input[type=password] {
  -webkit-appearance: none;
  appearance: none;
}

input[type=search] {
  -webkit-appearance: textfield;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 2px;
}

big {
  font-size: 120%;
}

small, sup, sub {
  font-size: 80%;
}

sup {
  vertical-align: super;
}

sub {
  vertical-align: sub;
}

dd {
  margin-left: 20px;
}

kbd, tt {
  font-family: courier;
  font-size: 12px;
}

ins {
  text-decoration: underline;
}

del, strike, s {
  text-decoration: line-through;
}

dt {
  font-weight: bold;
}

address, cite, var {
  font-style: italic;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  word-break: normal;
}

.screen-reader-text:focus {
  background-color: #f7f7f7;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #007acc;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  left: -9999rem;
  top: 2.5rem;
  z-index: 999999999;
  text-decoration: underline;
}

.skip-link:focus {
  display: block;
  left: 6px;
  top: 7px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  line-height: normal;
  padding: 15px 23px 14px;
  z-index: 100000;
  right: auto;
}

.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active) {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

:focus-visible {
  outline: none;
}

@font-face {
  font-family: "text";
  src: url("css/fonts/ddd_Port-Regular.woff2") format("woff2"), url("css/fonts/ddd_Port-Regular.woff") format("woff");
}
@font-face {
  font-family: "mono";
  src: url("css/fonts/ddd_PortMono-Regular.woff2") format("woff2"), url("css/fonts/ddd_PortMono-Regular.woff") format("woff");
}
:root {
  --dark: #3D3D3D;
  --gray: #B3B3B3;
  --light: #DDDDDD;
  --accent: #FF9933;
  --ff-text: "text", sans-serif;
  --ff-mono: "mono", sans-serif;
  --fs-tiny: 8px;
  --fs-small: 10px;
  --fs-smaller: 12px;
  --fs-normal: 16px;
  --fs-semibig: 21px;
  --fs-big: 27px;
  --border-cut: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
  --border-cut-small: polygon(3px 0%, calc(100% - 3px) 0%, 100% 3px, 100% calc(100% - 3px), calc(100% - 3px) 100%, 3px 100%, 0% calc(100% - 3px), 0% 3px);
  --border-cut-tiny: polygon(2px 0%, calc(100% - 2px) 0%, 100% 2px, 100% calc(100% - 2px), calc(100% - 2px) 100%, 2px 100%, 0% calc(100% - 2px), 0% 2px);
}

@media (min-width: 800px) {
  :root {
    --fs-big: 48px;
    --fs-semibig: 27px;
  }
}
@media (min-width: 1400px) {
  :root {
    --fs-tiny: 9px;
    --fs-small: 14px;
    --fs-smaller: 18px;
    --fs-normal: 27px;
    --fs-big: 72px;
  }
}
*, ::before, ::after {
  box-sizing: border-box;
}

.ta-c {
  text-align: center;
}

.ta-r {
  text-align: right;
}

.container {
  padding: 0 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.row {
  margin: 0 -10px;
  display: flex;
  flex-wrap: wrap;
}

.col-1-2, .col-1-3, .col-2-3 {
  padding: 0 10px;
}

.col-sm-1-2, .col-sm-1-3, .col-sm-2-3, .col-md-1-2, .col-md-1-3, .col-md-2-3, .col-lg-1-2, .col-lg-1-3, .col-lg-2-3 {
  width: 100%;
  padding: 0 10px;
}

.col-1-2 {
  width: 50%;
}

.col-1-3 {
  width: 33.33333%;
}

.col-2-3 {
  width: 66.66666%;
}

@media (min-width: 600px) {
  .col-sm-1-2 {
    width: 50%;
  }
  .col-sm-1-3 {
    width: 33.33333%;
  }
  .col-sm-2-3 {
    width: 66.66666%;
  }
  .order-sm-1 {
    order: 1;
  }
  .order-sm-2 {
    order: 2;
  }
  .order-sm-3 {
    order: 3;
  }
}
@media (min-width: 800px) {
  .col-md-1-2 {
    width: 50%;
  }
  .col-md-1-3 {
    width: 33.33333%;
  }
  .col-md-2-3 {
    width: 66.66666%;
  }
  .order-md-1 {
    order: 1;
  }
  .order-md-2 {
    order: 2;
  }
  .order-md-3 {
    order: 3;
  }
}
@media (min-width: 1200px) {
  .col-lg-1-2 {
    width: 50%;
  }
  .col-lg-1-3 {
    width: 33.33333%;
  }
  .col-lg-2-3 {
    width: 66.66666%;
  }
}
*:not(.wp-block-image) > a:not(.btn) {
  text-decoration: none;
  color: var(--dark);
  position: relative;
}
*:not(.wp-block-image) > a:not(.btn):after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 0%;
  height: round(up, 0.05em, 1px);
  background: var(--dark);
  transition: width 0.7s ease-in-out;
  display: block;
}
*:not(.wp-block-image) > a:not(.btn):hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.btn {
  font-family: var(--ff-mono);
  line-height: 1em;
  text-transform: uppercase;
  display: inline-block;
  width: fit-content;
  clip-path: var(--border-cut-small);
  position: relative;
  font-size: var(--fs-small);
  color: var(--dark);
}
.btn::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark);
  display: block;
  content: "";
}
.btn .btn-inner {
  background-color: var(--light);
  background-image: url("img/icons/arrow.svg");
  background-repeat: no-repeat;
  background-position: right 1em top 0.5em;
  background-size: 1em;
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  display: inline-block;
  padding: 0.5em 3em 0.5em 1em;
  clip-path: polygon(3.2px 1px, calc(100% - 3.2px) 1px, calc(100% - 1px) 3.2px, calc(100% - 1px) calc(100% - 3.2px), calc(100% - 3.2px) calc(100% - 1px), 3.2px calc(100% - 1px), 1px calc(100% - 3.2px), 1px 3.2px);
}
.btn:hover {
  text-decoration: none;
  background-color: var(--accent);
}
.btn:hover::before {
  background-color: var(--accent);
}
.btn:hover .btn-inner {
  background-color: var(--accent);
}

.copy-to-clipboard {
  position: relative;
  cursor: pointer;
  width: fit-content;
}
.copy-to-clipboard::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 0%;
  height: round(up, 0.05em, 1px);
  background: var(--light);
  transition: width 0.7s ease-in-out;
  display: block;
}
.copy-to-clipboard:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}
.copy-to-clipboard::before {
  content: "E-mail address copied";
  display: block;
  background-color: var(--accent);
  color: var(--dark);
  font-size: var(--fs-small);
  width: fit-content;
  padding: 0.3em 0.6em;
  position: absolute;
  top: -2em;
  right: 0;
  margin-right: -50%;
  clip-path: var(--border-cut-small);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.copy-to-clipboard.show-tooltip::before {
  opacity: 1;
}
.copy-to-clipboard.phone::before {
  content: "Phone number copied";
}

#header {
  color: var(--main);
  padding: 20px 0;
  width: 100%;
  z-index: 10;
  position: fixed;
}
#header #site-title {
  width: 112px;
  position: relative;
  z-index: 1;
}
#header #site-title * {
  vertical-align: top;
  display: inline-block;
  width: 100%;
  height: auto;
}
#header #site-title a::after {
  display: none;
}
#header #site-title svg {
  fill: var(--dark);
}
#header #site-title svg .clone {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0s;
}
#header #menu-button {
  padding: 0;
  height: 36px;
  width: 36px;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  float: right;
}
#header #menu {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  margin: 5px 0;
  width: fit-content;
  font-size: 0;
}
#header #menu li a {
  display: inline-block;
  vertical-align: top;
  padding: 3px 0;
  font-size: var(--fs-big);
  position: relative;
}
#header #menu li a::after {
  display: none;
}
#header #menu li a .clone {
  color: var(--accent);
  position: absolute !important;
  left: 0;
}
#header #menu li a .clone .char {
  opacity: 0;
}
#header #menu li.current_page_item a::before {
  display: block;
}
#header #menu:hover li.current_page_item a::before {
  display: none;
}
#header #menu:hover li a:hover {
  text-decoration: none;
}
#header #menu:hover li a:hover::before {
  display: block;
}

@media (max-width: 799px) {
  #header #site-title svg {
    transition: fill 0.3s;
  }
  #header #menu {
    background-color: var(--dark);
    position: fixed;
    top: 0;
    left: 0;
    padding: 40vh 20px 0;
    width: 100%;
    height: 100%;
    margin: 0 0 0 100%;
    transition: margin 0.5s ease-in-out;
  }
  #header #menu a {
    transition: color 0.3s;
  }
  #header #menu-button {
    position: relative;
    z-index: 1;
    transition: opacity 0.3s;
  }
  body.unclickable #header #menu-button {
    opacity: 0;
  }
  body.menu-opened #header #menu {
    margin: 0;
  }
  body.menu-opened #header #menu a {
    color: var(--light);
  }
  body.menu-opened #header #site-title svg {
    fill: var(--light) !important;
  }
}
@media (min-width: 800px) {
  #header #menu-button {
    display: none;
  }
  #header #menu {
    margin: 5px 0;
  }
  #header #menu li {
    display: inline-block;
  }
  #header #menu li a {
    display: inline-block;
    vertical-align: top;
    padding: 10px 5em 10px 0;
    font-size: var(--fs-small);
    line-height: var(--fs-small);
    position: relative;
  }
  #header #menu li a::before {
    background-color: var(--accent);
    width: 7px;
    height: 7px;
    content: "";
    display: inline-block;
    position: absolute;
    left: -15px;
    top: 11px;
    display: none;
    clip-path: var(--border-cut-tiny);
  }
}
@media (min-width: 1400px) {
  #header #menu li a::before {
    top: 11.5px;
    left: -20px;
    width: 12px;
    height: 12px;
  }
}
#footer {
  font-size: var(--fs-tiny);
  text-transform: uppercase;
  font-family: var(--ff-mono);
  margin-top: auto;
  padding: 20px 0 10px;
}
#footer .footer-row > * {
  margin-bottom: 10px;
}
#footer .copyright, #footer .developer, #footer .developer a {
  color: var(--gray);
}
#footer .developer a:hover {
  color: var(--dark);
}

@media (min-width: 800px) {
  #footer {
    padding: 80px 0 10px;
  }
}
body.home #header #project-name {
  display: none;
}
body.home .post {
  max-width: 100%;
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 2em;
}
body.home .post img {
  width: 100%;
  height: 100%;
  clip-path: var(--border-cut);
}
body.home .post .entry-title {
  margin: 1em 0 0;
}
body.home main.posts {
  margin: 100px 0 6em;
}
body.home main.posts .post .entry-summary a {
  padding-top: 70%;
  position: relative;
  display: block;
}
body.home main.posts .post .entry-summary a::after {
  display: none;
}
body.home main.posts .post .entry-summary a img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.home main.posts .post .entry-summary a canvas {
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -o-crisp-edges;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  clip-path: var(--border-cut);
}
body.home main.posts .post:nth-child(7n+2) .entry-summary a, body.home main.posts .post:nth-child(7n+3) .entry-summary a, body.home main.posts .post:nth-child(7n+6) .entry-summary a {
  padding-top: 140%;
}

@media (min-width: 600px) {
  body.home main.posts {
    columns: 2;
    column-gap: -20px;
  }
  body.home main.posts .post {
    break-inside: avoid-column;
  }
}
@media (min-width: 800px) {
  body.home main.posts {
    columns: 3;
  }
}
@media (min-width: 1200px) {
  body.home #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    transition: top 1s;
  }
  body.home #header #site-title {
    transition: margin 1s, width 1s;
  }
  body.home #header a {
    pointer-events: auto;
  }
  body.home #header #menu {
    position: relative;
  }
  body.home #header #menu #project-name {
    display: block;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: var(--fs-small);
    vertical-align: top;
    line-height: 1em;
  }
  body.home #header #menu #project-name::before {
    background-color: var(--accent);
    width: 7px;
    height: 7px;
    content: "";
    display: inline-block;
    position: absolute;
    left: -15px;
    top: 11px;
    clip-path: var(--border-cut-tiny);
  }
  body.home #header #menu.project-name-visible #project-name {
    opacity: 1;
  }
  body.home #header #menu.project-name-visible .menu {
    opacity: 0;
  }
  body.home.website-loaded #header {
    top: 45%;
  }
  body.home.website-loaded #header #site-title {
    margin-top: -3vw;
    width: 50%;
  }
  body.home.website-unloaded #header {
    top: 0;
  }
  body.home.website-unloaded #header #site-title {
    margin-top: 0;
    width: 112px;
  }
  body.home #homepage-cursor {
    position: fixed;
    width: 24px;
    height: 24px;
    background-color: var(--accent);
    left: 50%;
    top: 50%;
    z-index: 10;
    margin-left: -12px;
    margin-top: -12px;
    pointer-events: none;
    clip-path: var(--border-cut-small);
    transition: opacity 0.2s, transform 0.5s;
    opacity: 0;
    background-image: url("img/icons/arrow.svg");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(0.01);
  }
  body.home #homepage-cursor.visible {
    opacity: 1;
    transform: scale(1);
  }
  body.home main.posts {
    width: 100vw;
    height: 100vh;
    padding: 20px 0;
    overflow: hidden;
    columns: 1;
    margin: 0 -20px;
  }
  body.home main.posts .post {
    height: calc(100vh - 80px);
    margin-bottom: 0;
    flex-direction: column;
    perspective: 400px;
    pointer-events: none;
  }
  body.home main.posts .post header {
    display: none;
  }
  body.home main.posts .post .entry-summary {
    transition: transform 0.1s, filter 0.5s;
    pointer-events: auto;
  }
  body.home main.posts .post .entry-summary.blurred {
    filter: blur(5px);
  }
  body.home main.posts .post .entry-summary a {
    cursor: none;
  }
  body.home main.posts .post:first-child {
    padding-left: 20px;
  }
  body.home main.posts .post:last-child {
    padding-right: 20px;
  }
  body.home main.posts .post:nth-child(7n+1) {
    width: 24%;
    justify-content: end;
  }
  body.home main.posts .post:nth-child(7n+2) {
    width: 8%;
    margin-left: -16%;
  }
  body.home main.posts .post:nth-child(7n+3) {
    width: 16%;
    margin-left: 16%;
    padding-top: 10%;
  }
  body.home main.posts .post:nth-child(7n+4) {
    width: 16%;
    margin-left: 8%;
    justify-content: end;
    padding-bottom: 10%;
  }
  body.home main.posts .post:nth-child(7n+5) {
    width: 8%;
    margin-left: -8%;
    padding-top: 10%;
  }
  body.home main.posts .post:nth-child(7n+6) {
    width: 8%;
    margin-left: 12%;
    justify-content: end;
    padding-bottom: 2%;
  }
  body.home main.posts .post:nth-child(7n+7) {
    width: 16%;
    margin-left: -8%;
    margin-right: 8%;
    padding-top: 14%;
  }
  body.home #footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}
@media (min-width: 1400px) {
  body.home #header #menu #project-name::before {
    top: 11.5px;
    left: -20px;
    width: 12px;
    height: 12px;
  }
}
body.page-template-page-about #header a {
  transition: color 1s;
}
body.page-template-page-about #header #site-title svg {
  transition: fill 1s;
}
body.page-template-page-about .intro-image {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
body.page-template-page-about .intro-image img {
  height: 130%;
  width: 100%;
  margin-top: -15%;
  object-fit: cover;
  object-position: center;
}
body.page-template-page-about .content {
  padding: 20px 0;
}
body.page-template-page-about .content h1 {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  font-size: var(--fs-small);
  margin: 20px 0;
}
body.page-template-page-about .content .hero {
  font-size: var(--fs-big);
}
body.page-template-page-about .content .sticky {
  font-size: var(--fs-smaller);
  margin-top: 40px !important;
}
body.page-template-page-about .content .sticky .wp-block-image a {
  position: relative;
}
body.page-template-page-about .content .sticky .wp-block-image a::after {
  width: 100%;
  height: 100%;
  content: "";
  display: inline-block;
  background-color: var(--accent);
  position: absolute;
  top: 0;
  left: 0;
  mix-blend-mode: hard-light;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
body.page-template-page-about .content .sticky .wp-block-image a:hover::after {
  opacity: 1;
}
body.page-template-page-about .content .clients-grid .wp-block-image {
  padding-top: 100%;
  width: 100%;
  position: relative;
  height: 0;
}
body.page-template-page-about .content .clients-grid .wp-block-image figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  padding: 12%;
}
body.page-template-page-about .content .clients-grid .wp-block-image figure img {
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: contain;
  transition: transform 0.1s;
}
body.page-template-page-about .content sub {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  font-size: var(--fs-small);
  vertical-align: unset;
}
body.page-template-page-about .content .self-moving-carousel {
  overflow: hidden;
}
body.page-template-page-about .content .self-moving-carousel .flickity-viewport, body.page-template-page-about .content .self-moving-carousel .flickity-slider {
  width: 100%;
  height: 100%;
}
body.page-template-page-about .content .self-moving-carousel .wp-block-image {
  width: 25%;
  padding-top: 70%;
}
body.page-template-page-about .content .self-moving-carousel .wp-block-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 20px) !important;
  height: 100%;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0% calc(100% - 10px), 0% 10px);
}
body.page-template-page-about.website-loaded:not(.scrolled-after-fold) #header a {
  color: var(--light);
}
body.page-template-page-about.website-loaded:not(.scrolled-after-fold) #header #site-title svg {
  fill: var(--light);
}
body.page-template-page-about.website-unloaded #header a {
  color: var(--dark);
}
body.page-template-page-about.website-unloaded #header #site-title svg {
  fill: var(--dark);
}

@media (min-width: 600px) {
  body.page-template-page-about .content .self-moving-carousel .wp-block-image {
    padding-top: 35%;
  }
}
@media (min-width: 800px) {
  body.page-template-page-about .content .sticky {
    position: sticky;
    top: 0;
    height: calc(100vh - 20px);
    margin-top: calc(-100vh + 33vw) !important;
  }
  body.page-template-page-about .content .row-reverse {
    flex-direction: row-reverse;
  }
}
body.page-template-page-contact {
  transition: color 1s, background 1s;
}
body.page-template-page-contact a {
  transition: color 1s;
}
body.page-template-page-contact #header {
  position: relative;
}
body.page-template-page-contact #header #site-title svg {
  transition: fill 1s;
}
body.page-template-page-contact.website-loaded {
  color: var(--light);
  background-color: var(--dark);
}
body.page-template-page-contact.website-loaded a, body.page-template-page-contact.website-loaded #footer .developer a:hover {
  color: var(--light);
}
body.page-template-page-contact.website-loaded a::after, body.page-template-page-contact.website-loaded #footer .developer a:hover::after {
  background-color: var(--light);
}
body.page-template-page-contact.website-loaded #header #site-title svg {
  fill: var(--light);
}
body.page-template-page-contact.website-unloaded {
  color: var(--dark);
  background-color: var(--light);
}
body.page-template-page-contact.website-unloaded a {
  color: var(--dark);
}
body.page-template-page-contact.website-unloaded #header #site-title svg {
  fill: var(--dark);
}

@media (min-width: 800px) {
  body.page-template-page-contact #header #site-title {
    transition: width 1s;
  }
  body.page-template-page-contact.website-loaded #header #site-title {
    width: 100%;
  }
  body.page-template-page-contact.website-unloaded #header #site-title {
    width: 112px;
  }
}
body.single .post {
  padding-top: 160px;
}
body.single .post header .entry-title {
  font-size: var(--fs-big);
  line-height: var(--fs-big);
  margin-bottom: 0.4em;
}
body.single .post header .tags {
  font-family: var(--ff-mono);
  text-transform: uppercase;
  font-size: var(--fs-small);
  margin-bottom: 2em;
}
body.single .post .entry-content .thumbnail {
  margin-bottom: 40px !important;
}
body.single .post .entry-content figure, body.single .post .entry-content .thumbnail {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  clip-path: var(--border-cut);
}
body.single .post .entry-content figure img, body.single .post .entry-content figure video, body.single .post .entry-content .thumbnail img, body.single .post .entry-content .thumbnail video {
  width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: cover;
  object-position: center;
}
body.single .post .entry-content .thumbnail img, body.single .post .entry-content .thumbnail video {
  height: 120%;
  margin-top: -10%;
}
body.single .post .entry-content .hero {
  font-size: var(--fs-big);
  line-height: var(--fs-big);
  padding-bottom: 3em;
  margin: 0;
}
body.single .post .entry-content .line {
  white-space: nowrap;
  letter-spacing: -0.02em;
}
body.single .post .entry-content h2 {
  margin: 0 0 1em;
}
body.single .post .entry-content p {
  margin: 1em 0 4em;
}
body.single .other-projects {
  margin: 80px 0 100px;
}
body.single .other-projects #other-projects-image {
  display: none;
}
body.single .other-projects .other-projects-list li a {
  font-size: var(--fs-semibig);
  line-height: 1.3;
}
body.single .other-projects .other-projects-list li a::before {
  content: "";
  display: none;
  width: 0.8em;
  height: 0.8em;
  background-color: var(--accent);
  clip-path: var(--border-cut-small);
}
body.single .other-projects .other-projects-list li a::after {
  display: none;
}
body.single .other-projects .other-projects-list li a:hover {
  text-decoration: none;
}
body.single .other-projects .other-projects-list li a:hover::before {
  display: inline-block;
}
body.single .other-projects .other-projects-list li.last-hovered a {
  text-decoration: none;
}
body.single .other-projects .other-projects-list li.last-hovered a::before {
  display: inline-block;
}
body.single .get-in-touch {
  margin: 0 0 80px;
}
body.single .get-in-touch .big-text {
  font-size: var(--fs-big);
  line-height: var(--fs-big);
  margin-right: 10px;
}
body.single .get-in-touch .btn {
  vertical-align: super;
  margin-top: 10px;
}

@media (min-width: 600px) {
  body.single .other-projects {
    margin: 6em 0 8em;
  }
  body.single .other-projects #other-projects-image {
    display: block;
    height: 12.5em;
  }
  body.single .other-projects #other-projects-image a {
    position: relative;
    display: block;
    height: 100%;
  }
  body.single .other-projects #other-projects-image a::after {
    width: 100%;
    height: 100%;
    content: "";
    display: inline-block;
    background-color: var(--accent);
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: hard-light;
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }
  body.single .other-projects #other-projects-image a:hover::after {
    opacity: 1;
  }
  body.single .other-projects #other-projects-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    vertical-align: top;
  }
}
@media (min-width: 800px) {
  body.single .post {
    padding-top: 50vh;
  }
  body.single .post header .entry-title {
    margin: -0.6em 0 0.2em;
  }
  body.single .post header .tags {
    margin-bottom: 0.2em;
  }
  body.single .get-in-touch {
    margin-bottom: 6em;
  }
}
@media (min-width: 1200px) {
  body.single .post .entry-content .thumbnail img, body.single .post .entry-content .thumbnail video {
    height: 120vh;
  }
}
body {
  font-family: var(--ff-text);
  font-size: var(--fs-normal);
  line-height: 1.1;
  background-color: var(--light);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}
body > *:not(#header) {
  opacity: 0;
  transition: opacity 1s 0.8s;
}
body.website-loaded > *:not(#header) {
  opacity: 1;
}
body.website-unloaded > *:not(#header) {
  opacity: 0;
}
body.unclickable * {
  pointer-events: none !important;
}

::selection {
  color: var(--dark);
  background-color: var(--accent);
}

h2 {
  text-transform: uppercase;
  font-family: var(--ff-mono);
  font-size: var(--fs-small);
  margin: 0 0 2em;
}

.border-cut {
  clip-path: var(--border-cut);
}

.border-cut-line {
  clip-path: var(--border-cut);
  position: relative;
}
.border-cut-line::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gray);
  display: block;
  content: "";
}
.border-cut-line > * {
  background-color: var(--light);
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  clip-path: polygon(10.2px 1px, calc(100% - 10.2px) 1px, calc(100% - 1px) 10.2px, calc(100% - 1px) calc(100% - 10.2px), calc(100% - 10.2px) calc(100% - 1px), 10.2px calc(100% - 1px), 1px calc(100% - 10.2px), 1px 10.2px);
}
