:root {
  --black: #000;
  --white: #eeeeea;
  --accent: #7f1822;
  --accent-dark: #5d1018;
  --line: rgba(238, 238, 234, 0.26);
  --section-space: clamp(120px, 22vw, 300px);
  --grain: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  --chrome: linear-gradient(
    115deg,
    #555 0%,
    #f8f8f8 18%,
    #6a6a6a 35%,
    #fff 48%,
    #575757 67%,
    #e8e8e8 83%,
    #4c4c4c 100%
  );
  --display: "Archivo Black", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
.section-label {
  margin: 0;
  font: 10px var(--mono);
  text-align: left;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--white);
  background-color: var(--black);
  background-image: var(--grain);
  background-size: 220px 220px;
  background-repeat: repeat;
  font-family: var(--body);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.library-section {
  padding-right: 10vw;
}
.library-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 65px;
}
.library-heading h2 {
  margin: 0;
  text-align: center;
  font: clamp(48px, 7.2vw, 106px)/0.75 var(--display);
  letter-spacing: -0.09em;
}
.library-heading > p {
  max-width: 450px;
  margin: 0 auto;
  font: 13px/1.45 var(--mono);
  text-align: left;
}
.library-heading > p:not(.section-label),
.services-title > p:not(:first-child),
.service-list p,
.graphics-heading > p:last-child,
.about-text,
.subpage-heading p:not(.section-label) {
  background-color: transparent;
}
.library-heading > p:not(.section-label) {
  color: #7d7d7d;
  font: 700 19.38px/1.45 sans-serif;
  text-align: left;
}
.library-heading .section-label {
  max-width: none;
  margin: 0;
  justify-self: start;
  font: 10px var(--mono);
  text-align: left;
}
.archive-rail {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
}
.archive-card {
  flex: 1 1 22%;
  position: relative;
  aspect-ratio: 1;
  margin-left: -6%;
  overflow: hidden;
  background: #202020;
  box-shadow: none;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s,
    opacity 0.35s ease;
}
.archive-card:first-child {
  margin-left: 0;
}
.archive-card:nth-child(1),
.archive-card:nth-child(5) {
  flex: 0 1 16%;
  z-index: 1;
  transform: translateY(24px);
  opacity: 0.62;
}
.archive-card:nth-child(2),
.archive-card:nth-child(4) {
  flex: 0 1 19%;
  z-index: 2;
  transform: translateY(10px);
  opacity: 0.82;
}
.archive-card.feature-card {
  flex: 0 1 28%;
  z-index: 3;
  transform: translateY(0);
  opacity: 1;
  box-shadow: none;
}
.archive-card img {
  filter: contrast(1.08);
  transition:
    transform 0.55s ease,
    filter 0.4s ease;
}
.archive-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 58%);
  transition: opacity 0.35s ease;
}
.archive-card span,
.archive-card strong {
  position: absolute;
  z-index: 1;
  left: 13px;
}
.archive-card span {
  top: 13px;
  font: 9px var(--mono);
}
.archive-card strong {
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  font: clamp(9px, 1.3vw, 20px)/0.9 var(--display);
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.archive-card:first-child strong {
  font-size: clamp(7px, 1vw, 15px);
}
.archive-card:hover {
  z-index: 4;
  transform: translateY(-18px) scale(1.06);
  opacity: 1;
  box-shadow: none;
}
.archive-card:hover img {
  filter: grayscale(0) contrast(1.08);
  transform: scale(1.06);
}
.archive-card:hover::after {
  opacity: 0.72;
}
.archive-rail:has(.archive-card:hover) .archive-card:not(:hover) {
  opacity: 0.35;
}
.archive-card.feature-card:hover {
  transform: translateY(-16px) scale(1.16);
}
@media (max-width: 780px) {
  .library-section {
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .library-heading {
    grid-template-columns: 1fr;
    gap: 21px;
    margin-bottom: 45px;
  }
  .library-heading h2 {
    width: 100%;
    font-size: clamp(29px, 8vw, 40px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-align: center;
  }
  .archive-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    padding: 0 4vw;
  }
  .archive-card {
    margin-left: 0;
  }
  .archive-card:nth-child(n) {
    transform: none;
  }
  .archive-card.feature-card {
    grid-column: span 2;
    grid-row: 1;
    transform: none;
  }
  .archive-card:nth-child(1),
  .archive-card:nth-child(2) {
    grid-row: 2;
  }
  .archive-card:nth-child(4),
  .archive-card:nth-child(5) {
    grid-row: 3;
  }
  .archive-card.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
}
.topbar {
  position: sticky;
  z-index: 6;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 67px;
  padding: 0 3vw;
  border-bottom: 0;
  background: transparent;
}
.logo {
  padding: 8px 11px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: 18px/0.8 var(--display);
  letter-spacing: -1px;
}
.topbar .logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 39px;
  min-height: 31px;
  padding: 8px 11px;
  border: 1px solid transparent;
  color: var(--accent);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -1px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.topbar .logo::after {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  content: "";
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.topbar .logo.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.topbar .logo.is-measuring {
  visibility: visible;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.topbar .logo.is-departing {
  pointer-events: none;
}
.topbar .logo.is-departing::after {
  clip-path: inset(0 100% 0 0);
}
.topbar .logo.is-departing .logo-letter {
  opacity: 0;
  transition: none;
}
.topbar .logo.is-visible::after {
  clip-path: inset(0);
}
.topbar .logo-letter {
  opacity: 0;
  transition: opacity 0.25s ease;
}
.topbar .logo.is-settled .logo-letter {
  opacity: 1;
}
.topbar .logo.is-arriving .logo-letter {
  opacity: 1;
  transition: none;
}
.topbar .logo.is-settled .logo-letter:nth-child(1) {
  transition-delay: 0.04s;
}
.topbar .logo.is-settled .logo-letter:nth-child(2) {
  transition-delay: 0.12s;
}
.topbar .logo.is-settled .logo-letter:nth-child(3) {
  transition-delay: 0.2s;
}
nav {
  display: flex;
  gap: clamp(15px, 3vw, 43px);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
}
nav a {
  color: #fff;
}
nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}
.topbar.on-light-background nav a {
  color: #111;
}
.topbar.on-light-background nav a:hover {
  color: var(--accent);
}
.top-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--accent-dark);
  margin-left: auto;
  color: var(--white);
  background: var(--accent-dark);
  font: 10px var(--mono);
  transition: 0.2s;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0;
  margin-left: 12px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font: 10px var(--mono);
}
.language-toggle:hover,
.language-toggle[aria-pressed="true"] {
  color: var(--accent);
}
.topbar .language-toggle {
  margin-left: auto;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
}
.topbar.on-light-background .language-toggle {
  color: #111;
}
.topbar .top-contact {
  margin-left: 22px;
}
.top-contact:hover {
  color: var(--white);
  background: var(--accent);
}
.top-contact b {
  margin-left: 5px;
  font-size: 16px;
}
.hero {
  position: relative;
  min-height: calc(100svh - 67px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 55px 9vw 50px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  perspective: 1000px;
}
.hero-image {
  position: absolute;
  top: 46%;
  left: 50%;
  width: clamp(520px, 68vw, 960px);
  height: auto;
  border: 0;
  object-fit: contain;
  transform: translate3d(calc(-50% + var(--logo-x, 0px)), calc(-50% + var(--logo-y, 0px)), 0)
    rotateX(var(--logo-rotate-x, 0deg)) rotateY(var(--logo-rotate-y, 0deg));
  transform-style: preserve-3d;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.32));
  animation: logo-float 6s ease-in-out infinite;
  will-change: transform;
}
.logo-flight-letter {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  will-change: transform, opacity;
}
@keyframes logo-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}
.kicker,
.gear > div > p,
footer > p {
  font: 10px var(--mono);
  letter-spacing: 0.02em;
}
.hero-copy {
  z-index: 1;
  position: absolute;
  left: 5vw;
  bottom: 8vh;
  width: min(48%, 660px);
  margin: 0;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-copy.is-morphed,
.hero-copy.is-morphing {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}
.hero-copy.is-restoring {
  opacity: 0;
  transform: translateY(0);
  transition: none;
}
.hero-copy.is-writing {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}
.hero-copy.is-writing h1 {
  clip-path: inset(0 100% 0 0);
}
.hero-copy h1 {
  clip-path: inset(0);
}
.hero-copy h1 {
  margin: 11px 0 0;
  font: clamp(50px, 6.5vw, 92px)/0.78 var(--display);
  letter-spacing: -0.095em;
}
.hero-copy h1 span,
.services h2 i,
.about h2 i,
.gear h2 i {
  color: transparent;
  background: var(--chrome);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-copy h1 span {
  color: var(--white);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.hero-copy h1 .accent-letter {
  color: var(--accent);
  background: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--accent);
}
.hero-role {
  position: relative;
  height: 1.25em;
  overflow: hidden;
  margin: 10px 0 0 3px;
  font: clamp(18px, 2.7vw, 34px) "Special Elite", cursive;
  color: #aaa;
}
.hero-role span {
  position: absolute;
  inset: 0;
  opacity: 0;
  white-space: nowrap;
  animation: role 6s infinite steps(1, end);
}
.hero-role span:first-child {
  animation-delay: 0s;
}
.hero-role span:nth-child(2) {
  animation-delay: -2s;
}
.hero-role span:nth-child(3) {
  animation-delay: -4s;
}
@keyframes role {
  0%,
  30% {
    opacity: 1;
  }
  33.333%,
  100% {
    opacity: 0;
  }
}
.news-board {
  padding: calc(var(--section-space) + 40px) 10vw;
  border-bottom: 1px solid var(--line);
  color: #0c0c0c;
  background-color: var(--white);
  background-image: var(--grain);
  background-size: 220px 220px;
  background-repeat: repeat;
  text-align: center;
}
.news-board > h2 {
  margin: 0;
  font: clamp(42px, 6vw, 76px)/0.9 var(--display);
  letter-spacing: -0.09em;
}
.news-board > .section-label {
  margin-bottom: 25px;
  text-align: left;
}
.news-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 820px);
  height: clamp(230px, 38vw, 420px);
  margin: 24px auto 0;
  perspective: 1200px;
}
.news-card {
  position: absolute;
  display: block;
  width: 68%;
  height: 86%;
  overflow: hidden;
  border: 1px solid rgba(12, 12, 12, 0.26);
  background: #171717;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s, filter 0.8s;
}
.news-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.news-display.is-changing .news-card-current {
  transform: translateX(0) scale(0.92) rotateY(-4deg);
  opacity: 0.35;
}
.news-display.is-changing .news-card-current img {
  opacity: 0;
  transform: scale(1.08);
}
.news-display.is-changing .news-card-prev {
  transform: translateX(-68%) scale(0.72) rotateY(6deg);
}
.news-display.is-changing .news-card-next {
  transform: translateX(68%) scale(0.72) rotateY(-6deg);
}
.news-card-prev {
  z-index: 1;
  transform: translateX(-58%) scale(0.78);
  opacity: 0.52;
  filter: brightness(0.55);
}
.news-card-current {
  z-index: 2;
  transform: translateX(0) scale(1);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.45);
}
.news-card-next {
  z-index: 1;
  transform: translateX(58%) scale(0.78);
  opacity: 0.52;
  filter: brightness(0.55);
}
.news-card-current:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.news-dot {
  position: relative;
  width: 9px;
  height: 9px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #999;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.news-dot.is-active {
  width: 38px;
  background: #333;
}
.news-dot::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}
.news-dot.is-active::after {
  animation: news-progress 5s linear forwards;
}
@keyframes news-progress {
  to { transform: scaleX(1); }
}
.car-work,
.services,
.gear,
.graphics,
.about {
  padding: var(--section-space) 10vw;
}
.car-work,
.services {
  border-bottom: 1px solid var(--line);
}
.services h2,
.about h2,
.gear h2 {
  margin: 0;
  font: clamp(48px, 7.2vw, 106px)/0.75 var(--display);
  letter-spacing: -0.09em;
}
.services {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  color: #0c0c0c;
  background-color: #d5d5d0;
  background-image:
    var(--grain),
    linear-gradient(180deg, #d5d5d0 0%, #dfdfda 50%, #d5d5d0 100%);
  background-size: 220px 220px, 100% 100%;
  background-repeat: repeat, no-repeat;
  border-bottom-color: #b8b8b3;
}
.services-title {
  position: sticky;
  top: 115px;
  align-self: start;
}
.services-title > p,
.gear > div > p {
  color: #7d7d7d;
}
.services-title > p {
  max-width: 300px;
  margin: 0 0 20px;
  font: 700 19.38px/1.5 sans-serif;
  text-align: left;
}
.services-title > p:first-child {
  margin-bottom: 25px;
  color: #111;
  font: 10px var(--mono);
}
.service-list {
  width: min(100%, 520px);
  align-self: center;
  justify-self: center;
  border-top: 1px solid #b8b8b3;
}
.service-list article {
  display: grid;
  grid-template-columns: 45px 1fr 30px;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid #b8b8b3;
  transition:
    padding 0.25s,
    background 0.25s;
}
.service-list article:hover {
  padding-inline: 12px;
  color: #111;
  background: #e0e0dc;
}
.service-list article > span {
  color: #555;
  font: 10px var(--mono);
}
.service-list h3 {
  margin: 0 0 8px;
  font: clamp(26px, 3.1vw, 42px)/0.9 var(--display);
  letter-spacing: -0.06em;
}
.service-list p {
  max-width: 350px;
  margin: 0;
  color: #7d7d7d;
  font: 700 19.38px/1.4 sans-serif;
}
.service-list article:hover > span {
  color: #555;
}
.service-list article > b {
  font-size: 25px;
}
.graphics {
  border-block: 1px solid var(--line);
}
.graphics-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 65px;
}
.graphics-heading p {
  max-width: 280px;
  margin: 0 0 10px;
  color: #999;
  font: 12px/1.5 var(--mono);
}
.graphics-heading p:first-child {
  align-self: start;
  color: var(--white);
  font-size: 10px;
}
.graphics-heading > p:last-child {
  max-width: 450px;
  margin: 0 0 10px auto;
  color: #7d7d7d;
  text-align: right;
  font: 700 19.38px/1.5 sans-serif;
}
.graphics h2 {
  margin: 0;
  text-align: right;
  font: clamp(48px, 7.2vw, 106px)/0.75 var(--display);
  letter-spacing: -0.09em;
}
.graphics h2 i {
  color: transparent;
  background: var(--chrome);
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}
.graphics-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 4vw;
}
.graphic-card {
  flex: 0 1 19%;
  position: relative;
  aspect-ratio: 1;
  margin-left: -6%;
  overflow: hidden;
  background: #202020;
  box-shadow: none;
  opacity: 0.82;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s,
    opacity 0.35s ease;
}
.graphic-card:first-child {
  margin-left: 0;
  transform: translateY(10px);
}
.graphic-card:nth-child(3) {
  transform: translateY(10px);
}
.graphic-card-raster {
  aspect-ratio: 1;
  background: #000;
}
.graphic-card-3d {
  background: #000;
}
.graphic-card-3d img {
  object-fit: cover;
}
.graphic-card-raster img {
  object-fit: contain;
  filter: none;
}
.graphic-card-raster::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 30%);
}
.graphic-card:nth-child(2) {
  flex-basis: 28%;
  z-index: 3;
  transform: none;
  opacity: 1;
  box-shadow: none;
}
.graphic-card img {
  filter: brightness(0.82) contrast(1.05);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.graphic-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), transparent 65%);
}
.graphic-card span,
.graphic-card strong {
  position: absolute;
  z-index: 1;
  left: 18px;
}
.graphic-card span {
  top: 16px;
  font: 10px var(--mono);
}
.graphic-card strong {
  bottom: 17px;
  font: clamp(18px, 2vw, 38px)/0.82 var(--display);
  letter-spacing: -0.08em;
}
.graphic-card:hover img {
  filter: brightness(1) contrast(1.05);
  transform: scale(1.06);
}
.graphic-card:hover {
  z-index: 4;
  transform: translateY(-18px) scale(1.06);
  opacity: 1;
  box-shadow: none;
}
.graphic-card:nth-child(2):hover {
  transform: translateY(-16px) scale(1.16);
}
.graphics-grid:has(.graphic-card:hover) .graphic-card:not(:hover) {
  opacity: 0.35;
}
.about {
  --about-content-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  color: #0c0c0c;
  background-color: #d5d5d0;
  background-image:
    var(--grain),
    linear-gradient(180deg, #d5d5d0 0%, #dfdfda 50%, #d5d5d0 100%);
  background-size: 220px 220px, 100% 100%;
  background-repeat: repeat, no-repeat;
}
.about > .section-label {
  width: auto;
  align-self: flex-start;
}
.about h2,
.about-video,
.about-copy {
  width: min(100%, var(--about-content-width));
  align-self: center;
}
.about h2 {
  margin: 0;
  color: #0c0c0c;
  font-size: clamp(44px, 6.2vw, 91px);
  line-height: 0.95;
}
.about h2 span,
.about h2 em {
  display: block;
}
.about h2 em {
  margin: 0.08em 0 0;
  color: var(--accent);
  font-family: "Bodoni Moda", serif;
  font-size: 1.15em;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.8;
}
.about-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.about-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.about-text {
  max-width: none;
  margin: 0;
  color: #7d7d7d;
  font: 700 19.38px/1.75 sans-serif;
  text-align: left;
}
.about-text > p {
  margin: 0 0 1.5em;
}
.about-text > p:last-child {
  margin-bottom: 0;
}
.about-highlight {
  color: var(--accent);
  font-weight: 800;
}
.gear {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 7vw;
  align-items: center;
}
.gear > div > .section-label {
  position: absolute;
  top: calc(var(--section-space) - 38px);
  left: 7vw;
}
.gear ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.gear li {
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 10px;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.gear li:last-child {
  border-bottom: 1px solid var(--line);
}
.gear li span,
.gear li em {
  font: 10px var(--mono);
  color: #999;
  font-style: normal;
}
.gear li strong {
  font: clamp(19px, 2.3vw, 31px) var(--display);
  letter-spacing: -0.05em;
}
footer {
  padding: clamp(90px, 12vw, 170px) 7vw 24px;
  color: #0c0c0c;
  background-color: var(--white);
  background-image: var(--grain);
  background-size: 220px 220px;
  background-repeat: repeat;
}
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: clamp(45px, 10vw, 150px);
  max-width: 1440px;
  margin: 0 auto clamp(75px, 10vw, 140px);
}
.contact-intro .section-label,
.contact-links .section-label {
  margin: 0 0 25px;
  font: 10px var(--mono);
}
.contact-intro h2 {
  margin: 0;
  font: clamp(42px, 6.5vw, 92px)/0.88 var(--display);
  letter-spacing: -0.095em;
}
.contact-intro h2 span {
  color: var(--accent);
}
.contact-intro .contact-description {
  max-width: 590px;
  margin: 28px 0 26px;
  color: #7d7d7d;
  font: 700 19.38px/1.75 sans-serif;
  text-align: left;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  color: var(--accent);
  font: clamp(18px, 2.4vw, 30px) var(--display);
  letter-spacing: -0.05em;
}
.contact-email span {
  transition: transform 0.25s ease;
}
.contact-email:hover span {
  transform: translate(4px, -4px);
}
.contact-links {
  align-self: center;
}
.contact-links .section-label {
  color: #666;
}
.contact-links > a {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 12px;
  padding: 23px 0;
  border-top: 1px solid rgba(12, 12, 12, 0.3);
  font: clamp(20px, 2vw, 26px) var(--display);
}
.contact-links > a span {
  color: #666;
  font: 12px var(--mono);
}
.contact-links > a b {
  justify-self: end;
  color: var(--accent);
  font: 20px var(--body);
}
.contact-links > a:hover {
  color: var(--accent);
}
.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(12, 12, 12, 0.45);
  font: 10px var(--mono);
}
@media (max-width: 780px) {
  :root {
    --section-space: clamp(100px, 20vw, 160px);
  }
  .topbar {
    padding: 0 5vw;
    height: 58px;
  }
  .top-contact {
    font-size: 0;
    min-height: 34px;
    height: 34px;
    padding: 0 9px;
  }
  .language-toggle {
    min-height: 34px;
    height: 34px;
    margin-left: 8px;
  }
  .top-contact b {
    margin: 0;
    font-size: 17px;
  }
  nav {
    display: none;
  }
  .hero {
    min-height: calc(100svh - 58px);
    padding: 48px 5vw;
  }
  .hero-image {
    top: 42%;
    width: clamp(350px, 100vw, 640px);
  }
  .hero-copy {
    left: 5vw;
    bottom: 8vh;
    width: 90%;
  }
  .hero-copy h1 {
    font-size: clamp(44px, 11vw, 78px);
  }
  .news-board {
    padding: calc(var(--section-space) + 40px) 7vw;
  }
  .news-display {
    height: clamp(210px, 52vw, 340px);
    margin-top: 20px;
  }
  .news-card {
    width: 74%;
    height: 84%;
  }
  .news-card-prev {
    transform: translateX(-48%) scale(0.76);
  }
  .news-card-next {
    transform: translateX(48%) scale(0.76);
  }
  .car-work,
  .services,
  .gear,
  .graphics {
    padding: var(--section-space) 7vw;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services h2,
  .about h2,
  .gear h2 {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 0.9;
    letter-spacing: -0.07em;
    text-align: center;
  }
  .services-title {
    position: static;
  }
  .service-list article {
    grid-template-columns: 29px 1fr 22px;
    padding: 20px 0;
  }
  .graphics-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 35px;
  }
  .graphics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    padding: 0 4vw;
  }
  .graphic-card {
    margin-left: 0;
  }
  .graphic-card:nth-child(n) {
    transform: none;
  }
  .graphic-card:nth-child(2) {
    grid-column: span 2;
    grid-row: 1;
  }
  .graphic-card:first-child,
  .graphic-card:nth-child(3) {
    grid-row: 2;
  }
  .graphic-card:nth-child(2):hover {
    transform: translateY(-8px) scale(1.02);
  }
  .about {
    gap: 26px;
    padding: var(--section-space) 7vw;
  }
  .about h2,
  .graphics h2 {
    text-align: left;
  }
  .graphics h2 {
    text-align: center;
  }
  .gear {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gear > div {
    padding-top: 38px;
  }
  .gear > div > .section-label {
    top: var(--section-space);
    left: 7vw;
  }
  .gear > div > .section-label {
    left: 7vw;
  }
  .gear li {
    grid-template-columns: 63px 1fr;
  }
  .gear li em {
    grid-column: 2;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  footer {
    padding: 80px 5vw 20px;
  }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-bottom: 60px;
  }
  .contact-intro h2 {
    font-size: clamp(36px, 10vw, 64px);
  }
  .contact-email {
    font-size: clamp(17px, 5vw, 24px);
  }
  .contact-links > a {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto) 24px;
    gap: 8px;
  }
  .contact-links > a span {
    max-width: 128px;
    font-size: 10px;
    text-align: right;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .typing-character {
    opacity: 1;
  }
  .hero-image {
    animation: none;
  }
  .topbar .logo::after {
    transition: none;
  }
}
.typing-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.typing-character {
  opacity: 0;
}
.typing-character.is-typed {
  opacity: 1;
}

.subpage {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
  background-image: var(--grain);
  background-size: 220px 220px;
  background-repeat: repeat;
}
.subpage-topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 24px);
  min-height: 67px;
  padding: 0 4vw;
  border-bottom: 0;
  background: transparent;
}
.subpage-topbar .logo {
  color: var(--accent);
  border-color: var(--accent);
}
.subpage-topbar .language-toggle {
  margin-left: auto;
  border: 0;
  color: var(--white);
  background: transparent;
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-size: 15px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.subpage-topbar .language-toggle:hover,
.subpage-topbar .language-toggle[aria-pressed="true"] {
  color: var(--accent);
}
.back-home {
  padding: 8px 11px;
  border: 1px solid var(--accent-dark);
  color: var(--white);
  background: var(--accent-dark);
  font: 10px var(--mono);
}
.back-home:hover {
  background: var(--accent);
}
.subpage-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 100px 7vw 120px;
}
.subpage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px;
}
.subpage-heading p {
  max-width: 360px;
  margin: 0;
  color: #7d7d7d;
  font: 700 19.38px/1.5 sans-serif;
}
.subpage-heading .section-label {
  color: var(--white);
  font: 10px var(--mono);
}
.subpage-heading h1 {
  margin: 0;
  font: clamp(46px, 8vw, 106px)/0.8 var(--display);
  letter-spacing: -0.09em;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 3vw;
  align-items: start;
}
.album-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  padding-inline: 0;
}
.album-gallery .gallery-tile {
  display: block;
  flex: 0 0 auto;
  width: fit-content;
  height: clamp(220px, 22vw, 300px);
}
.album-gallery .gallery-tile img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
#barum.album-gallery {
  position: relative;
  left: 50%;
  width: min(1400px, 92vw);
  max-width: none;
  transform: translateX(-50%);
}
#barum.album-gallery .gallery-tile {
  height: clamp(260px, 26vw, 380px);
}
.gallery-tile {
  position: relative;
  overflow: hidden;
  border: 0;
  background: #202020;
}
.gallery-tile img {
  height: auto;
  object-fit: contain;
}
.car-collections {
  position: relative;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  width: min(1450px, 92vw);
  max-width: none;
  gap: 8px;
  padding: 0;
  transform: translateX(-50%);
}
.car-collections .gallery-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: fit-content;
  height: clamp(280px, 24vw, 340px);
}
.car-collections .gallery-tile img {
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}
.graphics-branch-grid {
  align-items: stretch;
}
.graphics-branch-grid .gallery-tile {
  display: flex;
}
.graphics-branch-grid .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.graphics-branch-grid .three-d-preview {
  aspect-ratio: 16 / 9;
}
.graphics-branch-grid .three-d-preview img {
  object-fit: cover;
}
.album-gallery.graphics-branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  width: min(100%, 900px);
  margin-inline: auto;
  gap: clamp(10px, 2vw, 20px);
}
.album-gallery.graphics-branch-grid .gallery-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  background: #000;
}
.album-gallery.graphics-branch-grid .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 9px 12px 8px;
  color: var(--black);
  background: var(--white);
  font: 12px/1 var(--display);
  letter-spacing: -0.04em;
}
.editing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 5vw;
}
.editing-copy > p:not(.section-label) {
  color: #7d7d7d;
  font: 700 19.38px/1.7 sans-serif;
}
.editing-showcase > .section-label {
  margin: 0 0 14px;
}
.editing-showcase > .section-label:not(:first-child) {
  margin-top: 28px;
}
.editing-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background: #202020;
}
.editing-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.editing-video-caption {
  margin: 10px 0 0;
  color: #7d7d7d;
  font: 500 14px/1.6 sans-serif;
}
.subpage-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 7vw 28px;
  border-top: 1px solid var(--line);
  color: #aaa;
  font: 10px var(--mono);
}
@media (max-width: 780px) {
  .subpage-topbar {
    min-height: 58px;
    padding: 0 5vw;
  }
  .subpage-main {
    padding: 70px 5vw 80px;
  }
  .subpage-heading {
    display: block;
    margin-bottom: 35px;
  }
  .subpage-heading h1 {
    margin: 15px 0 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0;
  }
  .album-gallery {
    gap: 5px;
  }
  .album-gallery .gallery-tile {
    height: clamp(190px, 52vw, 280px);
  }
  #barum.album-gallery {
    width: 90vw;
  }
  .car-album .gallery-tile {
    height: clamp(160px, 45vw, 220px);
  }
  .car-collections .gallery-tile {
    height: clamp(210px, 42vw, 280px);
  }
  .editing-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .subpage-footer {
    flex-wrap: wrap;
    padding-inline: 5vw;
  }
}
@media (max-width: 600px) {
  .album-gallery.graphics-branch-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vw 8vw;
  background: rgba(8, 8, 8, 0.96);
}
.raster-page .lightbox {
  background: #000;
}
.lightbox[aria-hidden="false"] {
  display: flex;
}
.lightbox-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 92svh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  z-index: 1;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font: 32px/1 var(--mono);
}
.lightbox-close {
  top: 24px;
  right: 30px;
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
.lightbox-open {
  overflow: hidden;
}
@media (max-width: 780px) {
  .lightbox {
    padding: 4vw;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
}


/* =========================================================
   VYLEPŠENÍ (vzhled beze změny)
   ========================================================= */
html { scroll-padding-top: 70px; }

/* plynulejší střídání rolí v hero (původně tvrdé přepnutí) */
.hero-role span { animation-name: role-smooth; animation-timing-function: ease-in-out; }
@keyframes role-smooth {
  0%      { opacity: 0; transform: translateY(45%); }
  4%, 29% { opacity: 1; transform: translateY(0); }
  33.333% { opacity: 0; transform: translateY(-45%); }
  100%    { opacity: 0; transform: translateY(-45%); }
}

/* měkčí parallax loga při pohybu myši */
.hero-image { transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }

/* odhalování sekcí: používá vlastnosti translate/opacity, takže nekoliduje s hover efekty */
.reveal { transition: opacity 0.9s ease, translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal:not(.is-in) { opacity: 0; translate: 0 36px; }
.archive-card.reveal,
.graphic-card.reveal {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s,
    opacity 0.9s ease,
    translate 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* klávesnice: stejné chování jako hover */
.archive-card:focus-visible,
.graphic-card:focus-visible { z-index: 4; opacity: 1; outline: 2px solid var(--accent); outline-offset: 3px; }
.archive-card:focus-visible img,
.graphic-card:focus-visible img { filter: none; transform: scale(1.06); }
.news-dot:focus-visible, .language-toggle:focus-visible,
.top-contact:focus-visible, nav a:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}

/* novinky: pauza progress baru, swipe, klikací boční karty */
.news-display { touch-action: pan-y; }
.news-card-prev, .news-card-next { cursor: pointer; }
.news-board.is-paused .news-dot.is-active::after { animation-play-state: paused; }

/* navigace se na středních šířkách nepřekrývá s tlačítky */
@media (max-width: 1000px) and (min-width: 781px) {
  nav { font-size: 13px; gap: 14px; }
  .topbar .language-toggle { font-size: 13px; }
}

/* mobilní menu (do 780 px navigace úplně chyběla) */
.menu-toggle { display: none; }
@media (max-width: 780px) {
  .topbar .logo, .topbar .language-toggle, .topbar .top-contact { position: relative; z-index: 8; }
  .menu-toggle {
    position: relative; z-index: 8; display: flex; flex-direction: column; justify-content: center;
    gap: 6px; width: 36px; height: 34px; padding: 0 6px; margin-left: 8px;
    border: 0; background: none; cursor: pointer;
  }
  .menu-toggle i { display: block; height: 1.5px; background: #fff; transition: transform 0.3s ease, background 0.3s; }
  .topbar.on-light-background .menu-toggle i { background: #111; }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-toggle i { background: #fff; }
  body.menu-open .menu-toggle i:first-child { transform: translateY(3.75px) rotate(45deg); }
  body.menu-open .menu-toggle i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  body.menu-open .topbar .language-toggle { color: #fff; }
  body.menu-open nav {
    position: fixed; inset: 0; z-index: 7; left: 0; transform: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
    font-size: 36px; background: rgba(0, 0, 0, 0.97);
    animation: menu-fade 0.35s ease both;
  }
  body.menu-open nav a { color: #fff; animation: menu-link 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  body.menu-open nav a:nth-child(2) { animation-delay: 0.04s; }
  body.menu-open nav a:nth-child(3) { animation-delay: 0.08s; }
  body.menu-open nav a:nth-child(4) { animation-delay: 0.12s; }
  body.menu-open nav a:nth-child(5) { animation-delay: 0.16s; }
  body.menu-open nav a:nth-child(6) { animation-delay: 0.2s; }
}
@keyframes menu-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes menu-link { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .reveal:not(.is-in) { opacity: 1; translate: none; }
}

/* ===== REVIEW FIXES / ADDITIONS (kept in one block so it is easy to find or revert) ===== */
/* mobile: the side cards of the news carousel were pushed ~18px past the viewport edge */
.news-board { overflow-x: clip; }
.hero picture { display: contents; }

/* keyboard focus: visible on both the dark and the light (news) sections */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #d6303f;
  outline-offset: 3px;
}

/* hero: short pitch + two calls to action (sits inside .hero-copy, so it fades with the title on scroll) */
.hero-pitch {
  max-width: 430px;
  margin: 18px 0 0 3px;
  color: #b4b4ae;
  font: 12px/1.6 var(--mono);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0 3px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--accent-dark);
  color: var(--white);
  font: 11px var(--mono);
  letter-spacing: 0.02em;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn b { font-weight: 400; }
.btn-solid { background: var(--accent-dark); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); }
.btn-line { border-color: rgba(238, 238, 234, 0.4); background: transparent; }
.btn-line:hover { border-color: var(--white); }

/* subpages: contact call to action between the two footer links */
.subpage-footer { flex-wrap: wrap; align-items: center; }
.footer-cta {
  color: var(--white);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
}
.footer-cta:hover { color: #d6303f; }

@media (max-width: 780px) {
  .hero-copy { bottom: 5vh; }
  .hero-pitch { font-size: 11.5px; max-width: 340px; margin-top: 14px; }
  .hero-cta { margin-top: 14px; }
}
@media (max-width: 780px) {
  /* 16:9 tile grew wider than its grid column (200px in a 172px column) -> sideways scroll */
  .graphics-branch-grid .three-d-preview { width: 100%; min-width: 0; }
}
