:root {
  --paper: #e4e2de;
  --ink: #151515;
  --muted: #6b6861;
  --line: rgba(21, 21, 21, 0.16);
  --glass: rgba(228, 226, 222, 0.82);
  --panel: #f5f3ee;
  --header-h: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.top-plateau {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: var(--header-h);
  padding: 14px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(21, 21, 21, 0.08);
}

.plateau-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 62px;
}

.mark {
  justify-self: start;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 42px;
  color: var(--ink);
}

.mark svg {
  width: 58px;
  height: 42px;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  min-width: 0;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

.nav-links a {
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.social {
  justify-self: end;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.social:hover,
.social:focus-visible {
  opacity: 0.7;
  transform: translateY(-1px);
}

.social svg {
  width: 32px;
  height: 32px;
}

.page-main {
  min-height: 100svh;
  padding-top: var(--header-h);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.64fr);
  align-items: end;
  gap: clamp(28px, 6vw, 96px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(70px, 12vw, 150px) 0 clamp(52px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

.page-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 10.8rem);
  font-weight: 400;
  line-height: 0.86;
}

.page-intro {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.page-side-image {
  justify-self: end;
  width: min(100%, 390px);
}

.page-side-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.page-band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 82px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 22px;
}

.text-stack h2,
.info-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.96;
}

.text-stack p,
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.image-grid figure,
.works-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
}

.image-grid .wide img {
  aspect-ratio: 1.35 / 1;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.works-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.22;
  object-fit: cover;
}

.works-grid figcaption {
  padding: 14px 16px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  :root {
    --header-h: 86px;
  }

  .top-plateau {
    padding: 10px 14px;
  }

  .plateau-inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    min-height: 58px;
  }

  .mark,
  .mark svg {
    width: 40px;
    height: 32px;
  }

  .nav-links {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    gap: clamp(8px, 2.6vw, 16px);
    overflow-x: auto;
    padding: 0 4px;
    font-size: clamp(0.56rem, 2.2vw, 0.68rem);
    letter-spacing: 0.1em;
    scrollbar-width: none;
  }

  .nav-links .mobile-hide {
    display: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .social {
    width: 40px;
    height: 40px;
  }

  .social svg {
    width: 27px;
    height: 27px;
  }

  .page-hero {
    grid-template-columns: 1fr;
    width: min(100% - 34px, 680px);
    padding: 58px 0 40px;
  }

  .page-title {
    font-size: clamp(3.1rem, 18vw, 6rem);
  }

  .page-side-image {
    justify-self: start;
    width: min(74vw, 310px);
  }

  .page-band {
    width: min(100% - 34px, 680px);
    padding: 42px 0;
  }

  .two-column,
  .image-grid,
  .works-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
