/* Fonts: Anton (titles), Antonio (text) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Antonio:wght@100;300;400;600;700&display=swap');
:root {
  --bg: #f1f2f0; /* light background */
  --ink: #2a2b26; /* primary ink */
  --ink-2: #2a2a2a; /* secondary ink */
  --muted: #6b6b6b; /* muted text */
  --accent: #0f1210; /* dark header/footer blocks */
  --brand: #2a2b26; /* borders, lines */
  --link: #2a2b26;
  --cta: #2a2b26;
}
* {
  box-sizing: border-box
}
html, body {
  margin: 0;
  padding: 0
}
body {
  font-family: 'Antonio', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg) url('assets/noise.png') repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  font-size: 18px;
  font-weight: 100;
}
/* Top bar */
.topbar {
  background: #fff;
  color: var(--ink);
  border-top: 14px solid #2b2b2b;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  padding-top: 0px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2b26;
  padding: 6px 12px;
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  height: 64px;
  width: 64px;
}
.brand-mark img {
  height: 40px
}
.brand-wordmark img {
  height: 37px
}
.nav-toggle {
  display: none;
  width: 64px;
  height: 64px;
  border: 0;
  background: #2a2b26;
  color: #fff;
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #fff;
  transition: transform .3s ease, top .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) {
  top: 22px
}
.nav-toggle span:nth-child(2) {
  top: 30px
}
.nav-toggle span:nth-child(3) {
  top: 38px
}
.nav.is-open .nav-toggle span:nth-child(1) {
  top: 30px;
  transform: rotate(45deg);
}
.nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav-toggle span:nth-child(3) {
  top: 30px;
  transform: rotate(-45deg);
}
.navlinks {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-top: 10px;
}
.navlinks a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  text-transform: uppercase;
  position: relative;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.navlinks a:hover::after, .navlinks a:focus-visible::after, .navlinks a.active::after, .navlinks a.is-current::after {
  transform: scaleX(1)
}
.navlinks a.active, .navlinks a.is-current, .navlinks a[aria-current="true"] {
  ;
}
strong {
  font-weight: 700
}
.navlinks.subnav a {
  border-bottom: 0;
}
.navlinks.subnav a.active::after, .navlinks.subnav a.is-current::after, .navlinks.subnav a[aria-current="true"]::after {
  transform: scaleX(0);
}
.navlinks.subnav a:hover::after, .navlinks.subnav a:focus-visible::after {
  transform: scaleX(1);
}
.subnav {
  gap: 16px;
  margin: 0;
  flex-wrap: wrap;
}
.subnav a {
  text-transform: uppercase;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px
}
.subnav-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url('assets/icons/subnavi.png') center/contain no-repeat
}
.portfolio-hero {
  position: relative;
  padding: 32px 0;
  margin-bottom: 32px
}
.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #2a2b26;
  z-index: -2;
}
.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/noise.png') repeat;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.portfolio-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff
}
.portfolio-heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap
}
.portfolio-heading h1 {
  margin: 0;
  color: #fff
}
.portfolio-intro {
  display: grid;
  gap: 14px;
  margin-bottom: 20px
}
.portfolio-intro p {
  margin: 0;
  color: #fff
}
.portfolio-heading .subnav a {
  color: #fff
}
.portfolio-heading .subnav a::after {
  background: #fff
}
.portfolio-hero .container {
  position: relative;
  z-index: 1
}
.lang-social-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: -12px;
}
.social {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  background: #2a2b26;
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
}
.social a {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.social a img {
  width: 20px;
  height: 20px;
  display: block
}
.social a:hover, .social a:focus-visible {
  background: rgba(255, 255, 255, 0.12)
}
.lang-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #2a2b26;
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  position: relative;
}
.lang-switch {
  border: 0;
  background: transparent;
  color: #fff;
  width: 100%;
  height: 100%;
  font-weight: 700;
  font-family: inherit;
  text-transform: uppercase;
  appearance: none;
  cursor: pointer;
  text-align: center;
  text-align-last: center;
}
.lang-label {
  display: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
}
/* Page container */
.container {
  width: 100%;
  max-width: 992px;
  margin: 0 auto;
  padding: 32px 18px
}
/* Headings */
h1, h2, h3, h4 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 .4em
}
h1 {
  font-size: 44px
}
h2 {
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: 48px;
}
p {
  margin: .5em 0 1em
}
@media (min-width:901px) {
  h1 {
    margin-top: 32px
  }
}
/* Two column hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  overflow: visible
}
.card {
  background: #2a2b26;
  border: 3px solid #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
}
.typing-line {
  display: block;
  padding-right: 0;
  min-height: auto
}
.typing-line .typing-text {
  display: inline
}
.hero-cta {
  display: inline-block;
  margin-top: 12px;
  background: #2a2b26;
  color: #fff;
  border: 3px solid #2a2b26;
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  padding: 12px 24px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.hero-cta:hover, .hero-cta:focus-visible {
  background: #111;
  color: #fff;
  transform: translate(-2px, 2px);
  box-shadow: -4px 4px 0 rgba(42, 43, 38, 0.5);
}
.card.photo {
  border: 0;
  background: transparent;
  box-shadow: none
}
.photo {
  border: 0;
  background: transparent;
  box-shadow: none;
  justify-self: end;
  margin-right: calc((min(992px, 100vw) - min(1240px, 100vw))/2);
}
.photo-desktop {
  margin-left: 100px
}
.photo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply
}
.photo-mobile {
  display: none;
  margin: 18px 0 8px 0;
  justify-self: stretch
}
.photo-desktop {
  display: block
}
/* Divider line */
.rule {
  height: 3px;
  background: #2a2b26;
  margin: 18px 0 36px 0px;
}
.portfolio-hero .rule {
  background: #fff
}
/* Carousel (simple horizontal grid) */
.carousel {
  margin: 16px auto 0;
  width: 100%;
  max-width: 992px;
  height: 320px;
  padding: 16px;
  background: #2a2b26;
  border-left: 16px solid #2a2b26;
  border-right: 16px solid #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  overflow: hidden;
}
.section-link {
  color: inherit;
  text-decoration: none;
  display: inline-block
}
.section-link h2 {
  transition: transform .2s ease
}
.section-link:hover h2 {
  transform: translateY(-2px)
}
.explore-btn {
  text-align: center;
  margin-top: 18px
}
.carousel-track {
  display: flex;
  gap: 14px;
  height: 100%;
  transform: translateX(calc(-1 * var(--carousel-position, 0px)));
  will-change: transform;
  cursor: grab;
  touch-action: pan-y;
}
.carousel-track.is-dragging {
  cursor: grabbing
}
.carousel-track a {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 1/1;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  background: transparent;
}
.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.websites-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.website-embed {
  padding: 0;
  background: #fff;
  color: #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.website-thumb {
  display: block;
  position: relative;
  overflow: hidden;
}
.website-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.website-embed header {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #2a2b26;
  color: #fff;
}
.website-embed h3 {
  margin: 0;
  font-size: 20px;
  font-family: 'Antonio', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.website-embed header h3 {
  color: #fff
}
.website-embed .btn.secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 8px 14px;
}
.website-embed .btn.secondary:hover {
  background: #fff;
  color: #2a2b26;
}
/* Footer (three columns) */
footer {
  margin-top: auto;
  border-bottom: 14px solid #2b2b2b;
  color: var(--ink);
  background: transparent;
}
.footer {
  max-width: 992px;
  margin: 0 auto;
  padding: 14px 18px;
  padding-bottom: 0px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  background: #2a2b26;
  color: #fff;
}
.footer-left img {
  height: 28px
}
.footer-center {
  text-align: center;
  font-size: 14px;
  opacity: .9
}
.footer-right {
  text-align: right
}
.footer-right a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  font-weight: 700;
  font-size: 16px;
}
/* About page portrait placeholder */
.portrait {
  border: 3px solid #2a2b26;
  height: 100vh;
  max-height: 600px;
  min-height: 300px;
  background: #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  overflow: hidden;
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.portrait-mobile {
  display: none;
  margin: 18px 0;
  min-height: 0
}
.portrait-mobile img {
  height: auto
}
.about-hero {
  column-gap: 36px;
  align-items: center;
}
.about-copy {
  display: flex;
  flex-direction: column;
  gap: 14px
}
/* Portfolio thumbs */
.section-block {
  margin: 28px 0;
  scroll-margin-top: 120px;
  padding: 48px 0;
  position: relative;
}
.section-block > h2 {
  border-bottom: 3px solid var(--brand);
  padding-bottom: 8px;
}
#websites.section-block {
  margin-top: 0;
  padding-top: 0;
}
.section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: #f1f2f0;
  z-index: -2;
}
.section-block:nth-of-type(even)::before {
  background: #2a2b26;
}
.section-block:nth-of-type(even)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background: url('assets/noise.png') repeat;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}
.section-block:nth-of-type(even) {
  color: #fff;
}
.section-block:nth-of-type(even) h2, .section-block:nth-of-type(even) p, .section-block:nth-of-type(even) a {
  color: inherit;
}
.section-block:nth-of-type(even) h2 {
  border-bottom-color: #fff;
}
.section-block .thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px
}
.thumb {
  background: #e8e8e6;
  border: 3px solid #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  aspect-ratio: 1/1;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}
.poster-gallery {
  gap: 20px
}
.poster-gallery .thumb {
  border: 3px solid #2a2b26;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
  background: transparent
}
.poster-gallery .thumb:focus-visible {
  outline: 3px solid #2a2b26;
  outline-offset: 4px
}
.section-block:nth-of-type(even) .card, .section-block:nth-of-type(even) .thumb {
  border: 3px solid #fff;
  box-shadow: 6px -6px 0 rgba(255, 255, 255, 0.5);
}
.section-block:nth-of-type(even) .thumb {
  background: rgba(255, 255, 255, 0.08);
}
.section-block:nth-of-type(even) .poster-gallery .thumb {
  border: 3px solid #fff;
  box-shadow: 6px -6px 0 rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
}
.lightbox.is-open {
  display: flex
}
.lightbox img {
  max-width: min(90vw, 960px);
  max-height: 90vh;
  border: 4px solid #fff;
  box-shadow: 8px -8px 0 rgba(42, 43, 38, 0.5);
  background: #fff;
}
.lightbox button {
  position: absolute;
  background: #fff;
  color: #2a2b26;
  border: 0;
  font-size: 20px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: 'Antonio', sans-serif;
  font-weight: 600;
  box-shadow: 6px -6px 0 rgba(42, 43, 38, 0.5);
}
.lightbox button:hover {
  background: #2a2b26;
  color: #fff
}
.lightbox-prev, .lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  display: grid;
  place-items: center;
}
.lightbox-prev {
  left: 32px;
  right: auto
}
.lightbox-next {
  right: 32px
}
.lightbox-close {
  top: 32px;
  right: 32px;
}
/* Contact form */
form {
  max-width: 640px;
  display: grid;
  gap: 12px
}
input, textarea {
  padding: 12px 14px;
  border: 3px solid #2a2b26;
  background: #fff;
  font-family: inherit
}
button.btn {
  padding: 12px 16px;
  border: 3px solid #2a2b26;
  background: #2a2b26;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  font-family: 'Antonio';
  cursor: pointer;
}
.btn.secondary {
  background: #fff;
  color: #2a2b26
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  grid-auto-rows: 1fr;
  margin-top: 64px;
  padding-bottom: 32px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 3px solid var(--brand);
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  padding: 24px;
  background-color: #fff;
}
.contact-grid form {
  max-width: none
}
.contact-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.contact-actions.single {
  justify-content: center;
}
@keyframes typing-caret {
  0%, 49% {
    opacity: 1
  }
  50%, 100% {
    opacity: 0
  }
}
@media (max-width:900px) {
  .portfolio-hero {
    padding: 0
  }
  .hero {
    grid-template-columns: 1fr
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 10px
  }
  .footer-right {
    text-align: center
  }
  .websites-grid {
    grid-template-columns: 1fr
  }
  .section-block .thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .subnav {
    gap: 12px;
    font-size: 16px;
  }
  .subnav a {
    font-size: 16px
  }
  .portfolio-heading {
    flex-direction: column;
    align-items: center
  }
  .portrait-mobile {
    display: flex;
    max-height: 400px;
  }
  .portrait-desktop {
    display: none
  }
  .photo-mobile {
    display: block;
    margin: 14px auto 10px auto;
    width: 75%
  }
  .photo-desktop {
    display: none
  }
  .section-link {
    margin-top: 30px;
    display: block
  }
  .lang-social-group {
    width: 100%;
    flex-direction: column;
    gap: 12px
  }
  .lang-picker {
    display: none;
    width: 100%;
    height: auto;
    margin: 12px 0 0 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column
  }
  .nav.is-open .lang-picker {
    display: flex;
    position: relative;
    width: 100%
  }
  .nav.is-open .lang-picker .lang-switch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 54px;
    opacity: 0;
    cursor: pointer;
    height:64px;
  }
  .nav.is-open .lang-picker .lang-switch option {
    color: #2a2b26
  }
  .nav.is-open .lang-picker .lang-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 54px;
    background: #2a2b26;
    color: #fff;
    border: 3px solid #2a2b26;
    box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
    letter-spacing: .05em;
    pointer-events: none;
    font-size: 18px;
    padding:28px 0px;
  }
  .nav {
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }
  .brand {
    flex-grow: 1
  }
  .brand-mark {
    margin-top: -1px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
    margin-top: -1px;
  }
  .topbar .navlinks {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border: 3px solid #2a2b26;
    box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
    background: #fff;
    margin-top: 12px;
  }
  .topbar .navlinks a {
    width: 100%;
    padding: 8px 0;
    text-align:center;
  }
  .nav.is-open .navlinks {
    display: flex;
    height: calc(100vh - 325px);
    justify-content: space-evenly;
  }
  .topbar .social {
    display: none;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
  .nav.is-open .social {
    display: flex;
    height:64px;
    margin-bottom:52px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 18px;
  }
  .contact-socials {
    margin-top: 16px;
  }
  .contact-actions {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }
  .footer-left {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }
}
@media (max-width:600px) {
  .section-block .thumbs {
    grid-template-columns: 1fr
  }
  .subnav {
    font-size: 15px
  }
  .subnav a {
    font-size: 13px
  }
  h1 {
    font-size: 32px;
    text-align: center
  }
  .hero .typing-line:first-of-type {
    min-height: auto
  }
  .hero-cta {
    display: block;
    margin: 18px auto 0;
    text-align: center;
    max-width: 180px;
  }
}
.brand-wordmark {
  display: flex;
  align-items: center;
  margin-top: 10px;
}
.contact-socials {
  padding: 24px;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: -6px 6px 0 rgba(42, 43, 38, 0.5);
  display: grid;
  gap: 18px;
  text-align: center;
  max-width: 480px;
  height: 100%;
}
.contact-socials h2 {
  margin: 0;
}
.contact-socials-list {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.contact-socials-list a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid var(--brand);
  background: #2a2b26;
  box-shadow: -4px 4px 0 rgba(42, 43, 38, 0.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-socials-list a img {
  width: 22px;
  height: 22px;
}
.social a:hover, .social a:focus-visible, .contact-socials-list a:hover, .contact-socials-list a:focus-visible {
  transform: translate(-2px, 2px);
  box-shadow: -2px 2px 0 rgba(42, 43, 38, 0.4);
  background: #111;
}
.kontakt-liste {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand);
  margin: 16px 0px;
  padding: 12px 24px;
  box-shadow: -4px 4px 0 rgba(42, 43, 38, 0.5);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
  min-width: 320px;
  text-decoration: none;
}
.kontakt-liste:hover {
  transform: translate(-2px, 2px);
  box-shadow: -2px 2px 0 rgba(42, 43, 38, 0.4);
  background: #111;
}
.kontakt-liste img {
  max-width: 52px;
  margin-right: 16px;
}
.kontakt-liste p {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.contact-card h2 {
  text-align: center;
  margin-bottom: 32px;
}