:root {
  --ink: #101315;
  --graphite: #202224;
  --paper: #f4f2ee;
  --warm: #fbf8f1;
  --muted: rgba(16, 19, 21, 0.64);
  --soft: rgba(244, 242, 238, 0.76);
  --line: rgba(16, 19, 21, 0.16);
  --line-dark: rgba(244, 242, 238, 0.2);
  --red: #c1121f;
  --max: 1280px;
  --edge: clamp(20px, 4vw, 56px);
  --section: clamp(78px, 10vw, 144px);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.45;
  letter-spacing: 0;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

[id] {
  scroll-margin-top: 96px;
}

img {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  background: var(--red);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--edge);
  color: var(--paper);
  background: rgba(16, 19, 21, 0.86);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  text-transform: uppercase;
}

.brand-bar {
  display: block;
  width: 7px;
  height: 40px;
  flex: 0 0 auto;
  background: var(--red);
}

.topbar-actions,
nav,
.lang-switch {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: clamp(16px, 3vw, 38px);
  min-width: 0;
}

nav {
  gap: clamp(14px, 3vw, 34px);
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

nav a {
  color: rgba(244, 242, 238, 0.74);
  white-space: nowrap;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

.lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-dark);
  background: rgba(16, 19, 21, 0.36);
}

.lang-switch button {
  min-width: 32px;
  min-height: 27px;
  padding: 4px 7px;
  border: 0;
  border-radius: 0;
  color: rgba(244, 242, 238, 0.62);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.lang-switch button:hover,
.lang-switch button:focus-visible {
  color: #fff;
}

.lang-switch button:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
}

.lang-switch button[aria-pressed="true"] {
  color: #fff;
  background: var(--red);
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  max-height: 980px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
}

.hero > img,
.hero-tone {
  position: absolute;
  inset: 0;
}

.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: saturate(0.86) contrast(1.05) brightness(0.66);
}

.hero-tone {
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.92), rgba(16, 19, 21, 0.5) 44%, rgba(16, 19, 21, 0.14)),
    linear-gradient(0deg, rgba(16, 19, 21, 0.84), rgba(16, 19, 21, 0.04) 54%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--edge) * 2)), var(--max));
  margin: 0 auto;
  padding: 120px 0 116px;
}

.kicker,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker > span:first-child,
.section-label > span:first-child {
  display: block;
  width: 6px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--red);
}

.hero h1 {
  display: grid;
  max-width: 900px;
  margin-top: 28px;
  font-size: clamp(76px, 12vw, 174px);
  line-height: 0.82;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero-copy > p:last-child {
  max-width: 600px;
  margin-top: 32px;
  color: rgba(244, 242, 238, 0.84);
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 700;
}

.hero-note {
  position: absolute;
  right: var(--edge);
  bottom: 28px;
  z-index: 1;
  color: rgba(244, 242, 238, 0.64);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.about,
.studio {
  width: min(calc(100% - (var(--edge) * 2)), var(--max));
  margin: 0 auto;
  padding: var(--section) 0;
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(34px, 7vw, 108px);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--red);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
  gap: clamp(34px, 5vw, 76px);
  min-width: 0;
}

.about h2,
.section-heading h2,
.studio h2 {
  max-width: 780px;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.96;
  font-weight: 920;
  letter-spacing: 0;
}

.about-content > p,
.section-heading > div > p,
.studio li {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.work {
  width: min(calc(100% - (var(--edge) * 2)), var(--max));
  margin: 0 auto;
  padding: var(--section) 0 calc(var(--section) * 0.9);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(34px, 7vw, 108px);
  margin-bottom: clamp(42px, 6vw, 74px);
}

.section-heading > div:last-child {
  min-width: 0;
}

.section-heading h2 {
  max-width: 900px;
}

.section-heading > div > p {
  max-width: 620px;
  margin-top: 24px;
}

.case-series {
  padding: clamp(34px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.case-series + .case-series {
  margin-top: clamp(54px, 7vw, 96px);
}

.case-series-dark {
  padding: clamp(34px, 4vw, 56px);
  color: var(--paper);
  background: var(--ink);
  border-top: 0;
}

.case-series-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(26px, 3vw, 42px);
}

.case-number {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-series h3 {
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 0.94;
  font-weight: 920;
  letter-spacing: 0;
}

.case-series-head > p:last-child {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
}

.case-series-dark .case-series-head > p:last-child {
  color: rgba(244, 242, 238, 0.66);
}

.case-grid {
  display: grid;
  gap: clamp(12px, 1.5vw, 20px);
}

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

.case-grid-portrait,
.case-grid-catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-frame {
  min-width: 0;
  overflow: hidden;
}

.case-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 800ms ease;
}

.zoom-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.zoom-trigger:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}

.case-series-dark .case-frame img {
  border-color: var(--line-dark);
}

.case-grid-landscape .case-frame img {
  aspect-ratio: 16 / 9;
}

.case-grid-portrait .case-frame img {
  aspect-ratio: 3 / 4;
}

.case-grid-catalog .case-frame img {
  aspect-ratio: 4 / 5;
}

.case-frame:hover img {
  transform: scale(1.02);
}

.case-frame-mono img {
  filter: grayscale(1) contrast(1.02);
}

.case-frame figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-series-dark .case-frame figcaption {
  color: rgba(244, 242, 238, 0.62);
}

.studio {
  border-bottom: 0;
}

.studio-content {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(34px, 7vw, 108px);
  min-width: 0;
}

.studio h2 {
  max-width: 620px;
}

.studio ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.studio li:first-child {
  padding-top: 0;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 34px var(--edge);
  color: var(--paper);
  background: var(--ink);
}

.footer-main,
.footer-socials {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.footer-email {
  color: rgba(244, 242, 238, 0.78);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-email:hover,
.footer-email:focus-visible {
  color: #fff;
}

.footer-socials {
  gap: 10px;
}

.social-label {
  margin-right: 8px;
  color: rgba(244, 242, 238, 0.54);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: rgba(244, 242, 238, 0.78);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: lowercase;
}

.social-mark:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.image-lightbox {
  width: fit-content;
  max-width: 96vw;
  max-height: 96vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--paper);
  background: transparent;
}

.image-lightbox::backdrop {
  background: rgba(5, 7, 8, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  background: var(--ink);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.4);
}

.lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 88vh;
  object-fit: contain;
  cursor: zoom-out;
}

.lightbox-stage figcaption {
  width: 100%;
  min-height: 38px;
  padding: 12px 52px 12px 16px;
  color: rgba(244, 242, 238, 0.66);
  background: var(--ink);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 242, 238, 0.36);
  border-radius: 0;
  color: #fff;
  background: rgba(16, 19, 21, 0.78);
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

body:has(.image-lightbox[open]) {
  overflow: hidden;
}

html.js .hero-copy > * {
  animation: hero-copy-in 800ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

html.js .hero-copy > :nth-child(2) {
  animation-delay: 100ms;
}

html.js .hero-copy > :nth-child(3) {
  animation-delay: 220ms;
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .about,
  .section-heading,
  .studio {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-content,
  .studio-content {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .case-series-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

@media (max-width: 640px) {
  :root {
    --edge: 20px;
    --section: 78px;
  }

  .topbar {
    min-height: 72px;
  }

  nav {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 720px;
    height: min(100svh, 820px);
  }

  .hero > img {
    object-position: 54% center;
  }

  .hero-copy {
    padding-bottom: 98px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(68px, 19vw, 94px);
  }

  .hero-copy > p:last-child {
    max-width: 330px;
    margin-top: 26px;
    font-size: 17px;
  }

  .hero-note {
    left: var(--edge);
    right: var(--edge);
    bottom: 26px;
    font-size: 10px;
  }

  .about-content,
  .studio-content {
    gap: 30px;
  }

  .about h2,
  .section-heading h2,
  .studio h2 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .about-content > p,
  .section-heading > div > p,
  .studio li {
    font-size: 17px;
  }

  .case-series-dark {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .case-grid-landscape {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-socials {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-socials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .social-label {
    width: 100%;
    margin: 0;
  }

  .lightbox-stage img {
    max-width: calc(100vw - 20px);
    max-height: 84vh;
  }

  .lightbox-stage figcaption {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .hero-copy > * {
    animation: none;
  }

  .case-frame img {
    transition: none;
  }
}
