:root {
  --ink: #111;
  --paper: #fff;
  --soft: #f4f4f2;
  --muted: #777;
  --line: #d9d9d6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo Narrow", "Arial Narrow", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

a:hover,
.active {
  color: #666;
  text-decoration: none;
}

.language .active {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 12px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
  font-weight: 400;
}

.page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 500px;
  padding: 40px 60px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.name {
  display: inline-block;
  margin-bottom: 55px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.11em;
  font-weight: 800;
}

.nav,
.meta-links,
.language,
.nav-group {
  display: grid;
  gap: 6px;
}

.nav a,
.meta-links a,
.language,
.caption,
.kicker,
.index-row time {
  font-size: 18px;
  line-height: 1;
}

.nav a,
.meta-links a,
.language {
  font-weight: 800;
}

.nav-sub {
  display: grid;
  gap: 6px;
  padding-top: 3px;
  padding-bottom: 4px;
}

.nav-sub a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sidebar-bottom {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-icons a {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.social-icons svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icons a:hover,
.social-icons a:focus-visible {
  color: #666;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language,
.caption,
.kicker,
.muted,
.index-row p,
.index-row time,
.work-item p {
  color: var(--muted);
}

.main {
  min-width: 0;
  padding: 120px 80px 44px 60px;
}

.mobile-header {
  display: none;
}

.home {
  min-height: auto;
  display: grid;
  align-items: start;
}

.hero {
  width: min(925px, calc(100vw - 460px));
  margin: 0;
}

.hero img {
  width: 100%;
  aspect-ratio: 925 / 716;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
}

.caption {
  display: grid;
  gap: 3px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 17px;
  letter-spacing: 0;
  text-transform: none;
}

.caption strong {
  font-weight: 700;
}

.content {
  max-width: 1300px;
  margin: 0;
  padding-top: 0;
}

.page-title {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 44px;
  padding-bottom: 0;
  border-bottom: none;
}

.page-title h1 {
  max-width: 720px;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.section {
  margin-top: 50px;
  padding-top: 0;
  border-top: none;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 20px;
}

.section-title {
  max-width: 640px;
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.index {
  border-top: none;
}

.index-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) 190px;
  gap: 28px;
  padding: 0 0 10px;
  border-bottom: none;
}

.index-row h2,
.index-row h3 {
  font-size: 17px;
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
}

.news-container {
  max-width: 1300px;
  margin-bottom: 50px;
}

.news-entry {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(260px, 0.88fr);
  gap: 30px;
  padding: 40px 0;
  border-bottom: 1px solid var(--ink);
}

.news-entry:first-child {
  padding-top: 0;
}

.news-media {
  background: var(--soft);
}

.news-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.news-media.is-missing::before {
  content: "Image pending";
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-copy h4 {
  margin: 10px 0 8px;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
}

.news-copy h4 a {
  border-bottom: 1px solid var(--ink);
  text-transform: uppercase;
}

.news-copy h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.news-copy p {
  max-width: 560px;
  padding-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
}

.news-copy small {
  color: var(--muted);
  font-size: 12px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 30px;
}

.work-item {
  display: grid;
  gap: 8px;
}

.work-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(1);
}

.work-item h2,
.work-item h3 {
  font-size: 17px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.selected-works-index {
  max-width: 1000px;
}

.selected-work-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(260px, 0.75fr);
  gap: 30px;
  padding: 0 0 40px;
  color: var(--ink);
}

.selected-work-row figure,
.project-slide {
  background: var(--soft);
}

.selected-work-row img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.selected-work-row figure.is-missing::before,
.project-slide.is-missing::before,
.work-item.is-missing::before {
  content: "Image pending";
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.selected-work-row h2 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
}

.selected-work-row p {
  max-width: 460px;
  padding-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
}

.project-viewer {
  position: relative;
  max-width: 1000px;
}

.project-slide {
  margin-bottom: 42px;
}

.project-slide img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.project-slide figcaption {
  display: grid;
  gap: 3px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 17px;
}

.project-slide figcaption strong {
  font-weight: 800;
}

.project-slide figcaption span {
  color: var(--muted);
}

.project-arrows {
  position: sticky;
  top: 50vh;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: calc(100% + 60px);
  margin-left: -30px;
  pointer-events: none;
}

.project-arrows a {
  pointer-events: auto;
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 750px);
  gap: 26px;
}

.bio p {
  font-size: 15px;
  line-height: 1.5;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-page {
  max-width: 820px;
}

.contact-intro {
  max-width: 760px;
  margin-bottom: 46px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-list {
  display: grid;
  gap: 30px;
  max-width: 650px;
}

.contact-item {
  display: grid;
  gap: 8px;
}

.contact-item h2 {
  font-size: 20px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-item p:not(.kicker) {
  font-size: 16px;
  line-height: 1.45;
}

.contact-closing {
  margin-top: 62px;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.home-legal {
  max-width: 720px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-legal p {
  padding-bottom: 7px;
}

.about-lead,
.text-section {
  max-width: 780px;
}

.about-lead {
  display: grid;
  gap: 36px;
  margin-bottom: 56px;
}

.about-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: start;
}

.about-lead-copy {
  display: grid;
  gap: 30px;
}

.about-lead-copy > p {
  max-width: 700px;
  font-size: 17px;
  line-height: 1.35;
}

.about-portrait img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  filter: grayscale(1);
  background: var(--soft);
}

.about-lead blockquote,
.story-quote {
  margin: 0;
  padding: 0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-lead blockquote p {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.02;
}

.text-section {
  margin-top: 46px;
}

.text-flow {
  max-width: 760px;
}

.text-flow p {
  padding-bottom: 15px;
  font-size: 16px;
  line-height: 1.55;
}

.plain-list {
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding-bottom: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.exhibition-list {
  margin-top: 14px;
}

.plain-list li::before {
  content: "* ";
}

.project-text {
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.project-text h2 {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
}

.project-lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
}

.story-quote {
  max-width: 820px;
  padding-bottom: 70px;
}

.story-quote p {
  padding-bottom: 18px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
}

.about-faq {
  max-width: 760px;
  margin-top: 18px;
  padding-bottom: 70px;
}

.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.faq-list h3 {
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.faq-list p {
  max-width: 700px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.about-media {
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 60px;
}

.media-thumb {
  display: grid;
  gap: 7px;
  grid-template-rows: auto minmax(30px, auto);
  min-width: 0;
  color: var(--ink);
}

.media-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: 100%;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
}

.media-thumb.is-missing::before {
  content: "Image pending";
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-thumb span {
  font-size: 12px;
  line-height: 1.15;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: rgba(255, 255, 255, 0.96);
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
}

.template-page {
  max-width: 1000px;
  padding: 60px;
}

.entry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-bottom: 42px;
}

.entry-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.entry-form input,
.entry-form select,
.entry-form textarea,
.template-output textarea {
  width: 100%;
  border: 1px solid #999;
  padding: 8px;
  font: inherit;
}

.entry-form textarea {
  min-height: 120px;
  grid-column: span 2;
}

.template-preview,
.template-output {
  margin-top: 36px;
}

.template-output textarea {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.entry-form button,
.publish-button {
  align-self: end;
  min-height: 42px;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  color: var(--paper);
  background: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.entry-form input[type="file"] {
  min-height: 42px;
  padding: 8px;
}

.notice {
  max-width: 640px;
  margin-bottom: 24px;
  padding: 12px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.notice.success {
  color: #0f5132;
  background: #d1e7dd;
}

.notice.error {
  color: #842029;
  background: #f8d7da;
}

.admin-actions {
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.language {
  display: flex;
  gap: 5px;
}

.language a:not(:last-child)::after {
  content: " /";
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  margin-left: 5px;
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
    line-height: 1.45;
  }

  .page {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 4;
    display: grid;
    gap: 12px;
    padding: 14px 18px 12px;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }

  .mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-name {
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .mobile-nav {
    display: flex;
    gap: 11px 15px;
    overflow-x: auto;
    padding: 2px 0 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    text-transform: uppercase;
  }

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

  .mobile-nav a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.1em;
  }

  .mobile-header .social-icons {
    gap: 12px;
  }

  .mobile-header .social-icons a {
    width: 44px;
    height: 44px;
    justify-content: flex-start;
  }

  .mobile-header .language {
    font-size: 16px;
    line-height: 1;
  }

  .mobile-header .language a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }

  .main {
    padding: 24px 18px 54px;
  }

  .home {
    min-height: auto;
    padding-top: 8px;
  }

  .hero {
    width: 100%;
  }

  .hero img {
    max-height: none;
    height: auto;
  }

  .caption,
  .page-title,
  .section-head,
  .index-row,
  .bio {
    grid-template-columns: 1fr;
  }

  .caption {
    display: grid;
    gap: 4px;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.25;
  }

  .page-title {
    margin-bottom: 28px;
  }

  .page-title h1,
  .section-title,
  .index-row h2,
  .index-row h3,
  .news-copy h2,
  .selected-work-row h2 {
    font-size: 18px;
    line-height: 1.1;
  }

  .section {
    margin-top: 42px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .news-entry,
  .entry-form,
  .selected-work-row {
    grid-template-columns: 1fr;
  }

  .news-entry {
    gap: 18px;
    padding: 30px 0;
  }

  .news-copy h4 {
    margin-top: 0;
  }

  .news-copy p,
  .selected-work-row p,
  .text-flow p,
  .plain-list li,
  .contact-item p:not(.kicker) {
    font-size: 16px;
    line-height: 1.5;
  }

  .template-page {
    padding: 24px;
  }

  .about-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .about-lead-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-portrait {
    max-width: 220px;
    order: -1;
  }

  .about-lead-copy > p {
    font-size: 16px;
    line-height: 1.5;
  }

  .about-lead blockquote p {
    font-size: clamp(28px, 12vw, 44px);
  }

  .story-quote p {
    font-size: 24px;
    line-height: 1.15;
  }

  .project-arrows {
    position: static;
    width: 100%;
    margin: 0 0 18px;
  }

  .project-arrows a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 24px;
  }

  .project-slide {
    margin-bottom: 34px;
  }

  .home-legal {
    margin-top: 32px;
    font-size: 12px;
    line-height: 1.45;
  }

  .contact-intro {
    margin-bottom: 34px;
    line-height: 1.45;
  }

  .lightbox {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .main {
    padding-inline: 16px;
  }

  .mobile-header {
    padding-inline: 16px;
  }

  .about-media {
    grid-template-columns: 1fr;
  }

  .hero img,
  .news-media img,
  .selected-work-row img {
    aspect-ratio: 4 / 3;
  }
}

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