:root {
  --bg: #0e0e0e;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.75);
  --soft: rgba(255, 255, 255, 0.7);
  --rule: rgba(255, 255, 255, 0.2);
  --stück: rgba(255, 255, 255, 0.74);
  --placeholder: #1a1a1a;
  --page: 1512px;
  --content: 1305px;
  --gutter: 104px;
  --font-condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: Chivo, Helvetica, sans-serif;
  --font-display: 'Six Caps', 'Arial Narrow', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-body);
  font-weight: 200;
  min-width: 320px;
}

p,
h2,
h3,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.lang {
  position: absolute;
  top: 12px;
  right: 50px;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.28px;
  text-align: center;
}

.lang button {
  font: inherit;
  font-weight: 300;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  letter-spacing: inherit;
}

.lang button.is-active {
  font-weight: 700;
}

.header {
  max-width: var(--page);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
}

.logo {
  width: 375px;
  max-width: 100%;
  margin: 0 auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 30796 / 12017;
}

.foreword {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 611px;
  max-width: 100%;
  margin: 107px auto 0;
  text-align: center;
  color: var(--ink);
}

.tagline {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 1.44px;
  line-height: normal;
  white-space: nowrap;
}

.lede {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 1.26px;
  line-height: 1.4;
  width: 100%;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 70px;
  width: var(--content);
  max-width: calc(100% - (var(--gutter) * 2));
  margin: 84px auto 0;
}

.scroll-hint {
  display: none;
}

.gallery-section,
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 100%;
  font-family: var(--font-condensed);
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 2.2px;
  text-align: center;
  text-transform: uppercase;
  color: var(--soft);
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1 0 0;
  min-width: 1px;
  height: 1px;
  background: var(--rule);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 55px;
  row-gap: 40px;
  width: 100%;
}

.piece {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.piece-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.piece-tick {
  width: 1px;
  height: 36px;
  background: var(--muted);
  flex-shrink: 0;
}

.piece-copy {
  display: flex;
  flex-direction: column;
}

.piece-no {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--stück);
}

.piece-name {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 18px;
  color: var(--ink);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 75px;
  width: 100%;
  text-align: center;
  color: var(--ink);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.service h3 {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: normal;
}

.service p {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 1.26px;
  line-height: 1.4;
}

.footer {
  margin-top: 70px;
  border-top: 1px solid var(--rule);
  padding: 44px 0 64px;
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: var(--content);
  max-width: calc(100% - (var(--gutter) * 2));
  margin: 0 auto;
  color: var(--soft);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 3.2px;
  line-height: normal;
  white-space: nowrap;
}

.footer-contact,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.footer-contact {
  white-space: nowrap;
  width: 100%;
}

@media (min-width: 1101px) {
  .header {
    display: flex;
    flex-direction: column;
    min-height: var(--hero-min-h, 100svh);
    padding: var(--header-pad-top, 48px) var(--gutter) var(--header-pad-bottom, 64px);
  }

  .logo {
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  html.hero-js .logo {
    flex: 0 0 auto;
    width: var(--logo-width);
    height: auto;
  }

  html.hero-js .logo img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .foreword {
    margin-top: var(--foreword-gap, 28px);
    flex-shrink: 0;
  }

  .content {
    margin-top: 65px;
  }

  .scroll-hint {
    display: block;
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 2;
    transform: translateX(-50%);
    opacity: var(--scroll-hint, 1);
    pointer-events: none;
    animation: hint-bob 2.2s ease-in-out infinite;
  }

  .scroll-hint span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
  }
}

@keyframes hint-bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(7px);
  }
}

@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
  .header {
    min-height: 0;
    padding: 28px var(--gutter) 0;
  }

  .logo {
    flex: none;
    width: 375px;
  }

  .logo img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .foreword {
    margin-top: 107px;
  }

  .content {
    margin-top: 84px;
  }

  .scroll-hint {
    display: none;
    animation: none;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 40px;
  }

  .header {
    padding-top: 56px;
  }

  .tagline {
    white-space: normal;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .lang {
    top: 16px;
    right: 20px;
  }

  .header {
    padding-top: 64px;
  }

  .foreword {
    margin-top: 48px;
  }

  .content {
    margin-top: 65px;
    gap: 48px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.piece.reveal:nth-child(1) { transition-delay: 0ms; }
.piece.reveal:nth-child(2) { transition-delay: 70ms; }
.piece.reveal:nth-child(3) { transition-delay: 140ms; }
.piece.reveal:nth-child(4) { transition-delay: 0ms; }
.piece.reveal:nth-child(5) { transition-delay: 70ms; }
.piece.reveal:nth-child(6) { transition-delay: 140ms; }

.service.reveal:nth-child(1) { transition-delay: 0ms; }
.service.reveal:nth-child(2) { transition-delay: 80ms; }
.service.reveal:nth-child(3) { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

body.legal-page .header {
  min-height: 0;
  padding: 28px var(--gutter) 0;
}

body.legal-page .logo {
  flex: none;
  width: 280px;
  max-width: 72%;
}

body.legal-page .logo img {
  width: 100%;
  height: auto;
  max-height: none;
}

body.legal-page .logo a {
  display: block;
}

.legal {
  width: min(36rem, calc(100% - 2 * var(--gutter)));
  margin: 65px auto 0;
}

.legal h1 {
  font-family: var(--font-condensed);
  font-weight: 200;
  font-size: 20px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--soft);
  text-align: center;
  margin-bottom: 48px;
}

.legal h2 {
  font-family: var(--font-condensed);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  margin: 2.25rem 0 0.85rem;
}

.legal p {
  font-size: 14px;
  letter-spacing: 0.8px;
  line-height: 1.55;
  margin: 0 0 0.8rem;
}

.legal a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
