:root {
  --cream: #f6f3ee;
  --ink: #1c1b19;
  --muted: #7a766d;
  --border: #d6d0c6;
  --accent: #8c6a4a;
  --serif: "EB Garamond", Georgia, serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
  --max-width: 900px;
  --nav-height: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2rem 1.5rem 1.75rem;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--cream);
  z-index: 100;
}

.nav-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Pages */
.page {
  display: none;
  padding: 3rem 1.5rem 4rem;
  animation: fadein 0.35s ease both;
}

.page.active {
  display: block;
}

@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Home */
.hero {
  padding: 3rem 0 2.5rem;
  border-bottom: 0.5px solid var(--border);
}

.hero-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 42px);
  font-weight: 400;
  line-height: 1.28;
  color: var(--ink);
  max-width: 600px;
}

.hero h1 em {
  font-style: italic;
  color: var(--muted);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2.5rem 0 1.25rem;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  border-top: 0.5px solid var(--border);
  padding: 1.75rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.work-item:last-child {
  border-bottom: 0.5px solid var(--border);
}

.work-item:hover,
.work-item:focus-visible {
  opacity: 0.65;
}

.work-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.work-meta {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.work-arrow {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--accent);
  margin-top: 1rem;
  letter-spacing: 0.03em;
}

.work-arrow svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.work-item:hover .work-arrow svg,
.work-item:focus-visible .work-arrow svg {
  transform: translateX(3px);
}

.work-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  align-self: center;
}

/* Page headers */
.page-header {
  padding: 1.5rem 0 1.75rem;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.page-header h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
}

.page-header-count {
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 3.25rem;
  align-items: start;
  padding-top: 0.75rem;
}

.about-portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 0.5px solid var(--border);
}

.about-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
  min-width: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
  padding-top: 0.5rem;
}

.about-text p {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-sidebar h2 {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  margin-top: 2.25rem;
  font-weight: 400;
}

.about-sidebar h2:first-child {
  margin-top: 0;
}

.about-sidebar p {
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.about-sidebar p small {
  color: var(--muted);
}

.about-sidebar-gap {
  margin-top: 0.6rem !important;
}

.about-email {
  font-size: 13px !important;
}

.about-email a {
  color: var(--muted);
  text-decoration: none;
}

.about-email a:hover,
.about-email a:focus-visible {
  color: var(--ink);
}

/* Work */
.section-divider {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.section-divider:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.work-exhibition-spotlight {
  margin: 0.75rem -1.5rem 2.5rem;
  padding-top: 1.35rem;
  padding-bottom: 0.25rem;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.work-exhibition-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 1.5rem;
  margin: 0 0 1.25rem;
  font-weight: 400;
}

.work-exhibition-hero {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.work-exhibition-hero:hover,
.work-exhibition-hero:focus-visible,
.work-exhibition-related:hover,
.work-exhibition-related:focus-visible {
  opacity: 0.82;
}

.work-exhibition-hero-image {
  margin: 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

.work-exhibition-hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 28rem;
  object-fit: cover;
  object-position: center 42%;
}

.work-exhibition-hero-content {
  padding: 2rem 1.5rem 2.15rem;
}

.work-exhibition-eyebrow {
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
  line-height: 1.55;
}

.work-exhibition-hero-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 2.65rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  color: var(--ink);
}

.work-exhibition-blurb {
  font-family: var(--serif);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 38rem;
}

.work-exhibition-blurb em {
  font-style: italic;
  color: var(--ink);
}

.work-exhibition-blurb--follow {
  margin-top: 1.35rem;
  font-size: 17.5px;
  color: var(--ink);
}

.work-exhibition-related {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 2rem;
  align-items: start;
  padding: 1.65rem 1.5rem 1.85rem;
  border-top: 0.5px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.work-exhibition-related-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.project-row {
  border-top: 0.5px solid var(--border);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 2rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  cursor: pointer;
}

.project-row:hover,
.project-row:focus-visible {
  opacity: 0.7;
}

.project-row--last {
  border-bottom: 0.5px solid var(--border);
}

.project-type {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.project-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.project-blurb {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52rem;
}

.project-blurb em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}

.project-meta-col {
  text-align: right;
}

.project-year {
  font-size: 13px;
  color: var(--muted);
  padding-top: 6px;
}

.project-venue {
  font-size: 11.5px;
  color: var(--accent);
  margin-top: 3px;
  line-height: 1.4;
}

.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 0.5px solid var(--border);
  border-radius: 20px;
  color: var(--muted);
  margin-right: 5px;
  margin-top: 10px;
}

/* Project detail */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--ink);
}

.back-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.2s ease;
}

.back-link:hover svg,
.back-link:focus-visible svg {
  transform: translateX(-2px);
}

.project-detail-header {
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.installation-panel {
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.installation-heading {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.installation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, auto));
  gap: 0.75rem;
  align-items: stretch;
}

.installation-item {
  margin: 0;
  overflow: hidden;
  border: 0.5px solid var(--border);
  background: rgba(255, 255, 255, 0.35);
}

.installation-item--hero {
  grid-row: 1 / -1;
}

.installation-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.exhibition-video-panel {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.exhibition-video-panel--inline {
  margin: 0;
  padding: 0;
  border: none;
}

.exhibition-video-panel--inline .brochure-title {
  margin-bottom: 1.25rem;
}

.exhibition-media-panel {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.exhibition-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.exhibition-video-wrap {
  border: 0.5px solid var(--border);
  background: rgba(0, 0, 0, 0.03);
  height: 15rem;
  overflow: hidden;
}

.exhibition-video-panel--inline .exhibition-video-wrap {
  height: 15rem;
}

.exhibition-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}

.exhibition-video-caption {
  margin-top: 0.85rem;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  text-align: left;
}

.project-detail-eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.project-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 5vw, 38px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.project-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.project-detail-meta-item dt {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.project-detail-meta-item dd {
  font-size: 14px;
  color: var(--ink);
}

.project-detail-body {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 3rem;
}

.project-detail-body--single {
  grid-template-columns: 1fr;
}

.project-detail-text p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.exhibition-lede {
  font-size: 19px;
  font-style: italic;
  color: var(--muted);
}

.artist-surname {
  color: var(--muted);
}

.exhibition-credit {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.project-detail-text p:last-child {
  margin-bottom: 0;
}

.project-detail-sidebar h2 {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 0.5px solid var(--border);
  font-weight: 400;
}

.project-detail-sidebar h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.project-detail-sidebar p,
.project-detail-sidebar li {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 0.4rem;
}

.project-detail-sidebar ul {
  list-style: none;
  padding: 0;
}

.project-detail-sidebar ul li::before {
  content: "—";
  color: var(--muted);
  margin-right: 6px;
  font-size: 11px;
}

/* Brochure */
.brochure-panel {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
}

.brochure-panel--inline {
  margin: 0;
  padding: 0;
  border: none;
}

.brochure-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.article-embed-wrap--brochure-preview {
  min-height: 0;
  max-width: none;
}

.article-embed--brochure-preview {
  height: 15rem;
}

/* Article page */
.article-page-header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 0.5px solid var(--border);
}

.article-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 36rem;
  margin-top: 1rem;
}

.essay-body {
  max-width: 40rem;
}

.essay-byline {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 0.75rem;
}

.essay-body p {
  font-family: var(--serif);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.essay-body p:last-child {
  margin-bottom: 0;
}

.essay-body .exhibition-lede {
  font-size: 19px;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.essay-fn {
  font-family: var(--sans);
  font-size: 0.65em;
  line-height: 0;
  vertical-align: super;
}

.essay-fn a {
  color: var(--muted);
  text-decoration: none;
}

.essay-fn a:hover,
.essay-fn a:focus-visible {
  color: var(--ink);
}

.essay-footnotes {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
  max-width: 40rem;
}

.essay-footnotes h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.essay-footnotes ol {
  list-style: none;
  counter-reset: essay-note;
  padding: 0;
}

.essay-footnotes li {
  counter-increment: essay-note;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

.essay-footnotes li::before {
  content: counter(essay-note);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
}

.essay-footnotes a {
  color: var(--muted);
  word-break: break-word;
}

.essay-footnotes em {
  font-family: var(--serif);
  font-style: italic;
}

.article-embed-wrap {
  border: 0.5px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  min-height: 75vh;
}

.article-embed {
  display: block;
  width: 100%;
  height: 75vh;
  border: none;
}

.pdf-preview-panel {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border);
  max-width: 16rem;
}

.article-embed-wrap--preview {
  min-height: 0;
}

.article-embed--preview {
  height: 21rem;
}

.article-download-line {
  margin-top: 1rem;
  font-size: 12.5px;
}

.article-download-line a {
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.article-download-line a:hover,
.article-download-line a:focus-visible {
  color: var(--ink);
}

/* Contact CV */
.contact-cv {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 0.5px solid var(--border);
}

.contact-cv-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-cv-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
}

.cv-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid var(--border);
  padding: 9px 20px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.cv-download:hover,
.cv-download:focus-visible {
  background: rgba(0, 0, 0, 0.04);
}

.cv-section {
  margin-bottom: 2.25rem;
}

.cv-section-title {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 0.5px solid var(--border);
  font-weight: 400;
}

.cv-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid rgba(214, 208, 198, 0.5);
}

.cv-row:last-child {
  border-bottom: none;
}

.cv-date {
  font-size: 12.5px;
  color: var(--muted);
  padding-top: 2px;
}

.cv-title {
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.cv-title em {
  font-family: var(--serif);
  font-weight: 400;
}

.cv-place {
  font-size: 13px;
  color: var(--muted);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 0.5rem;
}

.contact-intro {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 2rem;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 1rem;
  font-size: 14px;
  color: var(--muted);
}

.contact-list svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.contact-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--ink);
}

.contact-list--spaced {
  margin-top: 1.25rem;
}

.social-label {
  font-size: 11px;
  color: var(--accent);
  margin-right: 4px;
}

.contact-form-panel {
  border: 0.5px solid var(--border);
  background: rgba(255, 255, 255, 0.55);
  padding: 2rem 2rem 1.75rem;
}

.contact-form-header {
  margin-bottom: 1.75rem;
}

.contact-form-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.contact-form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form-feedback {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 2px;
}

.contact-form-feedback--success {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
  border: 0.5px solid var(--border);
}

.contact-form-feedback--error {
  color: #6b2f2f;
  background: rgba(107, 47, 47, 0.06);
  border: 0.5px solid rgba(107, 47, 47, 0.2);
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
}

.contact-form-label {
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 0.5px solid var(--border);
  border-radius: 0;
  background: transparent;
  padding: 0.6rem 0;
  font-size: 15px;
  font-family: var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(122, 118, 109, 0.65);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  padding-top: 0.75rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--ink);
}

.contact-form-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  padding: 12px 28px;
  border-radius: 2px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.05em;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-submit svg {
  transition: transform 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  opacity: 0.85;
}

.contact-submit:hover svg,
.contact-submit:focus-visible svg {
  transform: translateX(2px);
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-submit:disabled svg {
  transform: none;
}

/* Responsive */
@media (max-width: 720px) {
  .nav {
    align-items: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 0.5px solid var(--border);
    padding: 0.5rem 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 1.5rem;
    border-bottom: none;
    border-top: 0.5px solid rgba(214, 208, 198, 0.5);
  }

  .work-item,
  .about-layout,
  .about-content,
  .about-grid,
  .work-exhibition-related,
  .project-row,
  .contact-layout,
  .project-detail-body,
  .project-detail-meta {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .about-portrait {
    position: static;
    max-width: 300px;
    margin: 0 auto 0.5rem;
  }

  .about-content {
    gap: 2rem;
  }

  .project-meta-col {
    text-align: left;
  }

  .work-exhibition-label {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .work-exhibition-hero-content,
  .work-exhibition-related {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .work-exhibition-hero-image img {
    max-height: 18rem;
  }

  .exhibition-media-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .installation-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .installation-item--hero {
    grid-row: auto;
  }

  .installation-item img {
    height: auto;
    object-fit: contain;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-form-panel {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .contact-cv-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media print {
  .nav,
  .nav-toggle,
  .contact-form,
  .back-link,
  .skip-link {
    display: none !important;
  }

  .page {
    display: block !important;
    page-break-after: always;
  }
}
