:root {
  --bg: #f4f0e8;
  --paper: #fbf8f1;
  --ink: #1e1d1a;
  --muted: #747067;
  --line: rgba(30, 29, 26, 0.16);
  --clay: #b8896f;
  --clay-dark: #6f5448;
  --night: #182743;
  --soft-blue: #d8dee8;
  --radius: 26px;
  --wide: min(1480px, calc(100vw - 48px));
  --narrow: min(900px, calc(100vw - 48px));
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(184, 137, 111, 0.13), transparent 34vw),
    radial-gradient(circle at 89% 12%, rgba(24, 39, 67, 0.10), transparent 28vw),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: geometricPrecision;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  z-index: 0;
}

body.nav-open { overflow: hidden; }

body > * { position: relative; z-index: 1; }

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

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

p { margin: 0; }

p + p { margin-top: 1rem; }

button, input, textarea, select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(244, 240, 232, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  width: var(--wide);
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.brand strong {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.88rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
}

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

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: relative;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 5px; }

.hero {
  width: var(--wide);
  margin: 0 auto;
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding: clamp(52px, 8vw, 112px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 980px;
  font-size: clamp(4rem, 11vw, 13.4rem);
}

h2 {
  font-size: clamp(2.6rem, 6.3vw, 8rem);
}

h3 {
  font-size: clamp(1.55rem, 3vw, 3rem);
}

h4 {
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lead {
  margin-top: 28px;
  max-width: 720px;
  font-size: clamp(1.15rem, 1.5vw, 1.6rem);
  line-height: 1.55;
  color: #3f3b34;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.button:hover { transform: translateY(-2px); }

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.fragment-field {
  position: relative;
  aspect-ratio: 1 / 1.16;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(251, 248, 241, 0.72), rgba(230, 224, 215, 0.36));
  overflow: hidden;
  box-shadow: 0 36px 100px rgba(30, 29, 26, 0.10);
  --cursor-x: 70%;
  --cursor-y: 44%;
}

.fragment-field::before {
  content: '';
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(30, 29, 26, 0.08);
  border-radius: 50%;
}

.fragment-field .cursor-aura {
  position: absolute;
  left: var(--cursor-x);
  top: var(--cursor-y);
  width: clamp(180px, 20vw, 340px);
  height: clamp(180px, 20vw, 340px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 251, 247, 0.34) 0%, rgba(255, 251, 247, 0.12) 35%, rgba(255, 251, 247, 0) 72%);
  filter: blur(10px);
  opacity: 0.85;
  z-index: 1;
}

.fragment-field .fragment {
  position: absolute;
  width: var(--s);
  height: var(--s);
  left: 0;
  top: 0;
  opacity: var(--o);
  transform: translate(-50%, -50%) rotate(0deg) scale(1);
  will-change: left, top, transform, opacity, filter;
  transition: opacity 260ms ease;
  filter: blur(var(--blur, 0px));
}

.fragment.circle {
  border-radius: 50%;
  background: rgba(252, 249, 244, 0.78);
  box-shadow: 0 0 0 1px rgba(237, 231, 223, 0.55), 0 8px 18px rgba(255, 255, 255, 0.18);
}

.fragment.triangle {
  width: 0;
  height: 0;
  border-left: calc(var(--s) / 2) solid transparent;
  border-right: calc(var(--s) / 2) solid transparent;
  border-bottom: var(--s) solid rgba(248, 245, 239, 0.74);
  filter: drop-shadow(0 5px 12px rgba(255, 255, 255, 0.12));
}

.fragment.shard {
  border-radius: 48% 52% 46% 54%;
  background: rgba(242, 238, 231, 0.78);
  box-shadow: 0 0 0 1px rgba(234, 228, 220, 0.55), 0 8px 18px rgba(255, 255, 255, 0.14);
}

.field-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.section {
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) 0;
}

.section.narrow { width: var(--narrow); }

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(36px, 6vw, 76px);
}

.section-header p {
  color: #4f4a42;
  font-size: 1.04rem;
}

.rule {
  height: 1px;
  width: 100%;
  background: var(--line);
  margin: 34px 0;
}

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

.work-card {
  grid-column: span 6;
  display: grid;
  gap: 18px;
  color: var(--ink);
}

.work-card:nth-child(3n) { grid-column: span 7; }
.work-card:nth-child(4n) { grid-column: 8 / span 5; }

.work-media {
  position: relative;
  aspect-ratio: 1 / 0.72;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.45), transparent 24%),
    linear-gradient(135deg, rgba(184, 137, 111, 0.34), rgba(24, 39, 67, 0.16));
  box-shadow: 0 30px 80px rgba(30, 29, 26, 0.08);
}

.work-media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  color: rgba(30, 29, 26, 0.42);
  font-size: clamp(2rem, 5vw, 5.2rem);
  font-family: var(--serif);
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.work-media::after {
  content: '';
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,0.26);
  border-radius: calc(var(--radius) - 10px);
}

.work-card:hover .work-media {
  transform: translateY(-3px);
}

.work-media {
  transition: transform 400ms ease;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-card h3 {
  font-size: clamp(1.8rem, 3.2vw, 3.8rem);
}

.work-card p {
  max-width: 650px;
  color: #565147;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.statement-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.5);
}

.statement-panel .quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 5.1rem);
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.statement-panel .copy {
  color: #4f4a42;
  font-size: 1.06rem;
}

.theme-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.theme-cloud a,
.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.45);
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  color: #4f4a42;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.theme-cloud a:hover,
.filter-button:hover,
.filter-button.active {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.footer {
  width: var(--wide);
  margin: 0 auto;
  padding: 44px 0 58px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-hero {
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 150px) 0 clamp(42px, 7vw, 92px);
}

.page-hero .lead {
  max-width: 860px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.archive-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 56px;
  color: #4f4a42;
}

.project-hero {
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 0 0;
}

.project-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.5fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
}

.project-title-grid h1 {
  font-size: clamp(4rem, 9vw, 11.5rem);
}

.project-facts {
  display: grid;
  gap: 13px;
  padding-bottom: 12px;
}

.fact {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: #4f4a42;
  font-size: 0.95rem;
}

.fact span:first-child {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
}

.project-cover {
  margin-top: clamp(34px, 5vw, 82px);
  aspect-ratio: 16 / 8.8;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(251,248,241,0.7), transparent 26%),
    radial-gradient(circle at 75% 55%, rgba(24,39,67,0.18), transparent 30%),
    linear-gradient(135deg, rgba(184,137,111,0.32), rgba(111,84,72,0.20));
  position: relative;
}

.project-cover::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 11rem);
  letter-spacing: -0.075em;
  color: rgba(30, 29, 26, 0.26);
}

.project-body {
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 110px) 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 100px);
}

.project-aside {
  position: sticky;
  top: 104px;
  align-self: start;
  color: var(--muted);
}

.project-aside nav {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.project-aside a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.rich-text {
  max-width: 850px;
}

.rich-text h2 {
  font-size: clamp(2.2rem, 4.8vw, 5.5rem);
  margin-bottom: 28px;
}

.rich-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  margin: 56px 0 18px;
}

.rich-text p,
.rich-text li {
  color: #4f4a42;
  font-size: 1.06rem;
}

.rich-text ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

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

.gallery-placeholder {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 248, 241, 0.7), transparent 32%),
    linear-gradient(145deg, rgba(24, 39, 67, 0.16), rgba(184, 137, 111, 0.28));
  position: relative;
  overflow: hidden;
}

.gallery-placeholder::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(30, 29, 26, 0.36);
  font-family: var(--serif);
  font-size: 2.2rem;
  letter-spacing: -0.05em;
  text-align: center;
  padding: 24px;
}

.related-nav {
  width: var(--wide);
  margin: 0 auto clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.related-nav a {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(251,248,241,0.38);
}

.related-nav span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.76rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 96px);
}

.portrait-placeholder {
  aspect-ratio: 0.78 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 25%, rgba(251,248,241,0.86), transparent 25%),
    linear-gradient(160deg, rgba(184,137,111,0.32), rgba(24,39,67,0.14));
  position: sticky;
  top: 104px;
  overflow: hidden;
}

.portrait-placeholder::before {
  content: 'portrait image';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  letter-spacing: -0.07em;
  color: rgba(30, 29, 26, 0.28);
}

.cv-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.cv-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cv-item .year {
  color: var(--muted);
}

.inquiry-grid {
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 100px) 0 clamp(70px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 96px);
}

.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251,248,241,0.46);
  padding: clamp(24px, 4vw, 46px);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-list a,
.contact-list div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #4f4a42;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(244, 240, 232, 0.65);
  color: var(--ink);
  padding: 14px 16px;
  outline: none;
  transition: border 200ms ease, background 200ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(30,29,26,0.42);
  background: rgba(251,248,241,0.95);
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 760ms ease, transform 760ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  :root {
    --wide: min(100vw - 32px, 1480px);
    --narrow: min(100vw - 32px, 900px);
  }

  .nav-toggle { display: inline-flex; }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(251,248,241,0.96);
    box-shadow: 0 22px 70px rgba(30,29,26,0.12);
  }

  body.nav-open .nav-links { display: flex; }

  .hero,
  .section-header,
  .statement-panel,
  .project-title-grid,
  .project-body,
  .about-grid,
  .inquiry-grid,
  .archive-note,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .fragment-field {
    min-height: 420px;
    aspect-ratio: auto;
  }

  .work-card,
  .work-card:nth-child(3n),
  .work-card:nth-child(4n) {
    grid-column: 1 / -1;
  }

  .gallery-strip,
  .related-nav {
    grid-template-columns: 1fr;
  }

  .project-aside,
  .portrait-placeholder {
    position: static;
  }

  .footer { gap: 8px; }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 66px; }
  h1 { font-size: clamp(3.2rem, 18vw, 5.5rem); }
  .project-title-grid h1 { font-size: clamp(3rem, 17vw, 5rem); }
  .hero-actions, .section-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .field-caption { flex-direction: column; }
  .fact, .cv-item { grid-template-columns: 1fr; gap: 4px; }
}

/* Full-screen interactive home background
   This turns the ceramic fragment field from a right-hand card into a full hero background. */
.hero-home {
  position: relative;
  grid-template-columns: 1fr;
  overflow: hidden;
  isolation: isolate;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(244, 240, 232, 0.97) 0%,
      rgba(244, 240, 232, 0.84) 34%,
      rgba(244, 240, 232, 0.48) 62%,
      rgba(244, 240, 232, 0.14) 100%);
}

.hero-home .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1080px;
}

.hero-home .fragment-field.hero-background {
  filter: blur(0.3px);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 0;
  aspect-ratio: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  opacity: 0.96;
}

.hero-home .fragment-field.hero-background::before {
  inset: auto 4vw 5vh auto;
  width: min(72vw, 980px);
  height: min(72vw, 980px);
  border-color: rgba(30, 29, 26, 0.075);
}

.hero-home .fragment-field.hero-background .fragment {
  opacity: calc(var(--o) * 0.90);
  mix-blend-mode: screen;
}

.hero-home .fragment-field.hero-background .fragment.circle {
  background: rgba(255, 251, 247, 0.72);
}

.hero-home .fragment-field.hero-background .fragment.triangle {
  border-bottom-color: rgba(248, 245, 240, 0.66);
}

.hero-home .fragment-field.hero-background .fragment.shard {
  background: rgba(244, 239, 233, 0.70);
}

.hero-home::before {
  content: '';
  position: absolute;
  right: 10vw;
  top: 14%;
  width: min(60vw, 860px);
  height: min(60vw, 860px);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 252, 247, 0.38), rgba(255, 252, 247, 0.08) 34%, rgba(255, 252, 247, 0) 72%);
  z-index: 0;
}

.hero-home .field-caption {
  left: max(24px, calc((100vw - 1480px) / 2 + 24px));
  right: max(24px, calc((100vw - 1480px) / 2 + 24px));
  bottom: 22px;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-home {
    min-height: calc(100svh - 66px);
    padding-top: 64px;
    padding-bottom: 118px;
  }

  .hero-home::after {
    background:
      linear-gradient(180deg,
        rgba(244, 240, 232, 0.98) 0%,
        rgba(244, 240, 232, 0.88) 42%,
        rgba(244, 240, 232, 0.45) 100%);
  }

  .hero-home .fragment-field.hero-background {
  filter: blur(0.2px);
    min-height: 0;
  }

  .hero-home .fragment-field.hero-background::before {
    right: -24vw;
    bottom: 8vh;
    width: 96vw;
    height: 96vw;
  }

  .hero-home .field-caption {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }
}


/* Real portfolio images */
.work-media.has-image::before,
.work-media.has-image::after,
.project-cover.image-cover::before {
  display: none;
}

.work-media.has-image,
.project-cover.image-cover,
.gallery-image,
.portrait-image {
  background: rgba(251, 248, 241, 0.52);
}

.work-media.has-image img,
.project-cover.image-cover img,
.gallery-image img,
.portrait-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
}

.work-media.has-image img {
  transition: transform 700ms cubic-bezier(.2,.8,.2,1), filter 700ms ease;
}

.work-card:hover .work-media.has-image img {
  transform: scale(1.035);
  filter: saturate(1) contrast(1);
}

.project-cover.image-cover {
  background: rgba(251, 248, 241, 0.55);
}

.project-cover.image-cover img {
  object-position: center;
}

.gallery-strip.gallery-images {
  align-items: stretch;
}

.gallery-image {
  margin: 0;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 22px 55px rgba(30, 29, 26, 0.07);
}

.gallery-image img {
  min-height: 300px;
  aspect-ratio: 1 / 1.08;
}

.gallery-image figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(251, 248, 241, 0.78);
  backdrop-filter: blur(12px);
  color: #5e594f;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.portrait-image {
  margin: 0;
  aspect-ratio: 0.78 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: sticky;
  top: 104px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(30, 29, 26, 0.08);
}

.portrait-image figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.42);
  color: rgba(251, 248, 241, 0.88);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visual-archive-grid {
  margin-bottom: 60px;
}

.archive-extension {
  margin-top: clamp(70px, 9vw, 130px);
}

@media (max-width: 900px) {
  .portrait-image {
    position: static;
  }
}


/* === Concrete editorial direction ==========================================
   Sharper frames, concrete-grey ground, stronger homepage gateway and lightbox.
   These rules intentionally override the softer beige/rounded first version. */
:root {
  --bg: #b7b8b3;
  --paper: #d8d8d2;
  --ink: #171816;
  --muted: #5e615b;
  --line: rgba(23, 24, 22, 0.25);
  --clay: #94705d;
  --clay-dark: #47413d;
  --radius: 2px;
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(255,255,255,0.16), transparent 34vw),
    radial-gradient(circle at 85% 7%, rgba(35, 39, 40, 0.16), transparent 30vw),
    linear-gradient(180deg, #bfc0bb 0%, #b0b1ac 100%);
}

body::before {
  opacity: 0.13;
  mix-blend-mode: multiply;
}

.site-header {
  background: rgba(183, 184, 179, 0.86);
  border-bottom-color: rgba(23, 24, 22, 0.24);
}

h1, h2, h3 {
  letter-spacing: -0.072em;
}

.lead,
.section-header p,
.work-card p,
.rich-text p,
.rich-text li,
.statement-panel .copy,
.archive-note,
.contact-card p,
.form-note {
  color: #333531;
}

.hero-home::after {
  background:
    linear-gradient(90deg,
      rgba(183, 184, 179, 0.96) 0%,
      rgba(183, 184, 179, 0.78) 34%,
      rgba(183, 184, 179, 0.36) 64%,
      rgba(183, 184, 179, 0.07) 100%);
}

.hero-home .fragment-field.hero-background .fragment {
  opacity: calc(var(--o) * 1.08);
}

.hero-home .fragment-field.hero-background .fragment.circle {
  background: rgba(254, 252, 248, 0.92);
}

.hero-home .fragment-field.hero-background .fragment.triangle {
  border-bottom-color: rgba(249, 246, 240, 0.90);
}

.hero-home .fragment-field.hero-background .fragment.shard {
  background: rgba(240, 237, 230, 0.90);
}

.hero-home .field-caption {
  color: rgba(23, 24, 22, 0.62);
  border-top-color: rgba(23, 24, 22, 0.23);
}

.button,
.tag,
.theme-cloud a,
.filter-button,
.related-nav a,
input,
textarea,
select {
  border-radius: 0;
}

.button.secondary,
.theme-cloud a,
.filter-button {
  background: rgba(216,216,210,0.18);
}

.filter-button:hover,
.filter-button.active,
.theme-cloud a:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Homepage: a more explicit route to the artistic work. */
.artistic-gateway {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(54px, 7vw, 96px);
}

.gateway-link {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  padding: clamp(30px, 4vw, 60px) 0;
  border-top: 1px solid rgba(23, 24, 22, 0.44);
  border-bottom: 1px solid rgba(23, 24, 22, 0.44);
}

.gateway-link span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gateway-link strong {
  grid-column: 1;
  font-weight: 420;
  font-size: clamp(3rem, 8vw, 10rem);
  letter-spacing: -0.078em;
  line-height: 0.86;
}

.gateway-link p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: #333531;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.45;
}

.gateway-link:hover strong {
  font-style: italic;
}

/* Images: remove gallery-like rounded cards; let the photos breathe. */
.work-grid {
  gap: clamp(28px, 3.4vw, 60px);
}

.work-card {
  gap: 12px;
}

.work-card h3 {
  margin-top: 5px;
}

.work-media,
.project-cover,
.gallery-image,
.portrait-image,
.contact-card,
.form-card,
.statement-panel,
.related-nav a,
.gallery-placeholder {
  border-radius: 0 !important;
}

.work-media,
.project-cover,
.gallery-image,
.portrait-image {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.work-media::after,
.work-media::before,
.project-cover::before,
.gallery-placeholder::before {
  display: none;
}

.work-media.has-image {
  aspect-ratio: 1 / 0.78;
}

.work-media.has-image img,
.project-cover.image-cover img,
.gallery-image img,
.portrait-image img {
  filter: none;
}

.work-card:hover .work-media.has-image img {
  transform: scale(1.018);
  filter: none;
}

.project-cover {
  margin-left: calc((100vw - var(--wide)) / -2);
  margin-right: calc((100vw - var(--wide)) / -2);
  width: 100vw;
  aspect-ratio: 16 / 8.2;
  border-top: 1px solid rgba(23, 24, 22, 0.24);
  border-bottom: 1px solid rgba(23, 24, 22, 0.24);
}

.project-cover.image-cover img {
  object-fit: cover;
}

.gallery-strip.gallery-images {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
}

.gallery-image {
  grid-column: span 4;
  min-height: clamp(340px, 35vw, 620px);
}

.gallery-image:first-child {
  grid-column: span 7;
}

.gallery-image:nth-child(2) {
  grid-column: span 5;
}

.gallery-image img {
  min-height: 100%;
  aspect-ratio: auto;
  cursor: zoom-in;
}

.project-cover.image-cover img,
.portrait-image img {
  cursor: zoom-in;
}

.gallery-image figcaption {
  left: 0;
  right: auto;
  bottom: 0;
  border-radius: 0;
  background: rgba(183, 184, 179, 0.84);
  color: #252623;
  backdrop-filter: blur(14px);
}

.archive-note {
  border-color: rgba(23, 24, 22, 0.34);
}

/* Full-screen image viewer */
body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 48px);
  background: rgba(17, 18, 16, 0.92);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  gap: 12px;
}

.image-lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 110px);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.image-lightbox figcaption {
  color: rgba(216, 216, 210, 0.82);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 101;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(216,216,210,0.42);
  border-radius: 0;
  background: rgba(17,18,16,0.16);
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-home::after {
    background:
      linear-gradient(180deg,
        rgba(183, 184, 179, 0.98) 0%,
        rgba(183, 184, 179, 0.84) 44%,
        rgba(183, 184, 179, 0.44) 100%);
  }

  .gateway-link {
    grid-template-columns: 1fr;
  }

  .gateway-link p,
  .gateway-link strong {
    grid-column: auto;
    grid-row: auto;
  }

  .project-cover {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .gallery-strip.gallery-images {
    grid-template-columns: 1fr;
  }

  .gallery-image,
  .gallery-image:first-child,
  .gallery-image:nth-child(2) {
    grid-column: auto;
  }
}


/* Hide unfinished placeholder blocks */
.gallery-placeholder { display: none !important; }


/* === V4 Gallery-level optimisation ========================================
   Work-led homepage, concrete-grey interface, uncropped project images,
   safer reveal behaviour and accessible fullscreen viewing. */
:root {
  --bg: #b6b7b1;
  --paper: #d7d7d1;
  --paper-strong: #e2e1dc;
  --ink: #111210;
  --muted: #50534e;
  --line: rgba(17, 18, 16, 0.28);
  --line-strong: rgba(17, 18, 16, 0.46);
  --blue-accent: #173f86;
  --radius: 0px;
  --wide: min(1500px, calc(100vw - 52px));
  --narrow: min(920px, calc(100vw - 52px));
}

html { scroll-padding-top: 92px; }
body {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.10), rgba(0,0,0,0.04)),
    linear-gradient(180deg, #bfc0ba 0%, #b1b2ad 52%, #a9aaa5 100%);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 200;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 12px;
  border: 1px solid var(--paper);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  background: rgba(182, 183, 177, 0.88);
  border-bottom: 1px solid var(--line-strong);
}
.nav-wrap { min-height: 68px; }
.nav-links a:focus-visible,
.button:focus-visible,
.filter-button:focus-visible,
.theme-cloud a:focus-visible,
.lightbox-close:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
img[role="button"]:focus-visible {
  outline: 2px solid var(--blue-accent);
  outline-offset: 4px;
}

h1, h2, h3 {
  letter-spacing: -0.07em;
  font-weight: 430;
}
.eyebrow,
.work-meta,
.fact span:first-child,
label,
.tag,
.filter-button,
figcaption {
  letter-spacing: 0.105em;
}
.lead { color: #2d302c; }

/* Progressive enhancement: content remains visible when JavaScript fails. */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 680ms ease, transform 680ms ease;
}
.js .reveal.visible { opacity: 1; transform: translateY(0); }

/* Homepage now starts with actual artwork instead of an abstract effect. */
.hero-home { display: none; }
.home-editorial-hero {
  width: var(--wide);
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 76px) 0 clamp(58px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
  gap: clamp(32px, 6vw, 106px);
  align-items: end;
  border-bottom: 1px solid var(--line-strong);
}
.home-hero-image {
  margin: 0;
  align-self: stretch;
  max-height: calc(100svh - 150px);
  overflow: hidden;
  background: rgba(17,18,16,0.08);
}
.home-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  cursor: zoom-in;
}
.home-hero-image figcaption,
.home-feature-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}
.home-hero-copy {
  padding-bottom: clamp(8px, 2vw, 26px);
}
.home-hero-copy h1 {
  max-width: 620px;
  font-size: clamp(4.2rem, 9.4vw, 12.4rem);
  line-height: 0.78;
  margin-bottom: 34px;
}
.home-hero-copy p:not(.lead) {
  max-width: 540px;
  margin-top: 18px;
  color: #30322f;
}

.home-index-line {
  width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-strong);
}
.home-index-line a {
  min-height: 120px;
  padding: 22px 22px 20px 0;
  border-right: 1px solid var(--line);
  display: grid;
  align-content: space-between;
  transition: background 220ms ease, padding-left 220ms ease;
}
.home-index-line a:last-child { border-right: 0; }
.home-index-line span {
  color: var(--muted);
  font-size: 0.76rem;
}
.home-index-line strong {
  font-weight: 430;
  font-size: clamp(1.4rem, 2.1vw, 2.7rem);
  letter-spacing: -0.055em;
}
.home-index-line a:hover {
  background: rgba(226,225,220,0.28);
  padding-left: 18px;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(26px, 3.8vw, 66px);
  align-items: start;
}
.home-feature-card {
  grid-column: span 6;
  display: grid;
  gap: 16px;
}
.home-feature-card.is-large {
  grid-column: span 7;
  grid-row: span 2;
}
.home-feature-card:nth-child(3) { grid-column: span 5; }
.home-feature-card:nth-child(4) { grid-column: 1 / span 6; }
.home-feature-image {
  margin: 0;
  background: rgba(17,18,16,0.08);
  overflow: hidden;
}
.home-feature-image img {
  width: 100%;
  height: auto;
  cursor: zoom-in;
  transition: transform 520ms ease;
}
.home-feature-card:hover img { transform: scale(1.015); }
.home-feature-card span {
  color: var(--muted);
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.home-feature-card h3 { font-size: clamp(2rem, 3.2vw, 4.8rem); }
.home-feature-card p { max-width: 520px; color: #31332f; }

/* Work overview: mixed ratios, no fake cards, no rounded image boxes. */
.work-grid {
  align-items: start;
  gap: clamp(34px, 4.2vw, 78px);
}
.work-card {
  grid-column: span 6;
  gap: 13px;
  align-self: start;
}
.work-card:nth-child(3n) { grid-column: span 6; }
.work-card:nth-child(4n) { grid-column: span 6; }
.work-card:nth-child(5n + 1) { grid-column: span 7; }
.work-card:nth-child(5n + 2) { grid-column: span 5; }
.work-card[hidden] { display: none !important; }
.work-media.has-image {
  aspect-ratio: auto;
  background: rgba(17,18,16,0.08);
  overflow: hidden;
}
.work-media.has-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.work-media.is-wide img,
.work-media.is-landscape img { width: 100%; }
.work-media::after,
.work-media::before { display: none !important; }
.work-card h3 { font-size: clamp(2rem, 3.1vw, 4.2rem); line-height: 0.92; }
.work-card p { color: #31332f; }
.work-meta { margin-top: 4px; }

/* Project pages: covers preserve the photograph's actual composition. */
.project-hero { padding-bottom: clamp(38px, 5vw, 84px); }
.project-title-grid { align-items: end; }
.project-cover.image-cover {
  width: min(100%, var(--wide));
  margin: clamp(40px, 6vw, 86px) auto 0;
  aspect-ratio: auto;
  height: auto;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: clamp(18px, 2.4vw, 34px) 0;
  background: transparent;
}
.project-cover.image-cover.is-portrait,
.project-cover.image-cover.is-tall {
  width: min(760px, calc(100vw - 52px));
}
.project-cover.image-cover.is-squareish {
  width: min(960px, calc(100vw - 52px));
}
.project-cover.image-cover.is-wide,
.project-cover.image-cover.is-landscape {
  width: var(--wide);
}
.project-cover.image-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.project-body {
  border-top: 1px solid var(--line);
  padding-top: clamp(42px, 6vw, 88px);
}
.project-aside {
  top: 96px;
}
.rich-text p,
.rich-text li { color: #292c28; }

.gallery-strip.gallery-images {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 54px);
  align-items: start;
  margin: clamp(42px, 6vw, 88px) 0;
}
.gallery-image {
  grid-column: span 6;
  margin: 0;
  min-height: 0;
  background: rgba(17,18,16,0.08);
  overflow: visible;
}
.gallery-image:nth-child(3n + 1) { grid-column: span 7; }
.gallery-image:nth-child(3n + 2) { grid-column: span 5; }
.gallery-image.is-wide,
.gallery-image.is-landscape { grid-column: span 12; }
.gallery-image.is-tall { grid-column: span 5; }
.gallery-image img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  cursor: zoom-in;
}
.gallery-image figcaption {
  position: static;
  display: block;
  margin-top: 10px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: left;
  backdrop-filter: none;
}

/* Better concrete panels/forms. */
.contact-card,
.form-card,
.statement-panel,
.related-nav a,
.archive-note {
  background: rgba(226,225,220,0.20);
  border-color: var(--line-strong);
}
input, textarea, select {
  background: rgba(226,225,220,0.30);
  border-color: var(--line-strong);
}
input:focus, textarea:focus, select:focus {
  background: rgba(226,225,220,0.64);
  border-color: var(--ink);
}
.button { border-radius: 0; }
.button.secondary { background: rgba(226,225,220,0.20); }
.tag { background: rgba(226,225,220,0.22); }

/* Full-screen image viewer */
body.lightbox-open { overflow: hidden; }
.image-lightbox[hidden] { display: none; }
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 48px);
  background: rgba(13, 14, 13, 0.94);
  opacity: 0;
  transition: opacity 180ms ease;
}
.image-lightbox.is-open { opacity: 1; }
.image-lightbox figure {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  justify-items: center;
}
.image-lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 116px);
  object-fit: contain;
  box-shadow: none;
}
.image-lightbox figcaption {
  color: rgba(226, 225, 220, 0.82);
  font-size: 0.78rem;
  text-transform: uppercase;
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 101;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(226,225,220,0.46);
  background: rgba(13,14,13,0.20);
  color: var(--paper);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  :root { --wide: min(100vw - 32px, 1500px); --narrow: min(100vw - 32px, 920px); }
  .home-editorial-hero,
  .home-feature-grid,
  .home-index-line {
    grid-template-columns: 1fr;
  }
  .home-editorial-hero { min-height: auto; }
  .home-hero-image { max-height: none; }
  .home-hero-image img { height: auto; }
  .home-feature-card,
  .home-feature-card.is-large,
  .home-feature-card:nth-child(3),
  .home-feature-card:nth-child(4),
  .work-card,
  .work-card:nth-child(5n + 1),
  .work-card:nth-child(5n + 2),
  .gallery-image,
  .gallery-image:nth-child(3n + 1),
  .gallery-image:nth-child(3n + 2),
  .gallery-image.is-wide,
  .gallery-image.is-landscape,
  .gallery-image.is-tall {
    grid-column: auto;
  }
  .home-index-line a { border-right: 0; border-bottom: 1px solid var(--line); }
  .home-index-line a:last-child { border-bottom: 0; }
  .project-cover.image-cover,
  .project-cover.image-cover.is-portrait,
  .project-cover.image-cover.is-tall,
  .project-cover.image-cover.is-squareish,
  .project-cover.image-cover.is-wide,
  .project-cover.image-cover.is-landscape {
    width: 100%;
  }
  .gallery-strip.gallery-images { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Home feature cards link to project pages; fullscreen viewing is reserved for hero/profile/project images. */
.home-feature-card .home-feature-image img { cursor: pointer; }

/* Final polish: current research before archive, clickable CV links. */
.current-research-grid {
  margin-bottom: clamp(54px, 7vw, 96px);
}

.current-research-grid .work-card {
  grid-column: 1 / span 7;
}

.current-research-grid .work-card .work-media {
  background: rgba(16, 17, 15, 0.06);
}

.cv-item a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}

.cv-item a:hover {
  color: var(--ink);
  text-decoration-thickness: 0.09em;
}

@media (max-width: 980px) {
  .current-research-grid .work-card {
    grid-column: auto;
  }
}

/* Final polish: make the opening hero fit inside one viewport on desktop. */
@media (min-width: 981px) {
  .home-editorial-hero {
    min-height: calc(100svh - 68px);
    height: calc(100svh - 68px);
    padding: clamp(16px, 2.2vw, 34px) 0;
    align-items: center;
    overflow: hidden;
  }

  .home-hero-image {
    height: calc(100svh - 132px);
    max-height: calc(100svh - 132px);
    align-self: center;
  }

  .home-hero-copy {
    padding-bottom: 0;
    align-self: center;
  }

  .home-hero-copy h1 {
    font-size: clamp(3.6rem, 6.65vw, 8.6rem);
    line-height: 0.82;
    margin-bottom: clamp(18px, 2vw, 28px);
    max-width: 760px;
  }

  .home-hero-copy .lead {
    font-size: clamp(1.05rem, 1.28vw, 1.42rem);
    line-height: 1.45;
    max-width: 620px;
  }

  .home-hero-copy p:not(.lead) {
    margin-top: 12px;
    max-width: 560px;
  }

  .home-hero-copy .hero-actions {
    margin-top: clamp(22px, 2.8vw, 36px);
  }
}

/* Final polish: align Blue Mass under Cor Chromaticum instead of floating right. */
@media (min-width: 981px) {
  .home-feature-card:nth-child(4) {
    grid-column: 1 / span 6;
  }
}

/* Final polish: compact vertical rhythm across pages and work archive. */
.page-hero {
  padding: clamp(34px, 5.2vw, 82px) 0 clamp(28px, 4vw, 58px);
}

.page-hero h1 {
  margin-top: clamp(20px, 3vw, 44px);
  line-height: 0.84;
}

.section {
  padding-top: clamp(42px, 5.2vw, 82px);
  padding-bottom: clamp(54px, 6vw, 96px);
}

.section-header {
  margin-bottom: clamp(28px, 4.5vw, 64px);
}

.filters {
  margin-bottom: clamp(22px, 3vw, 38px);
}

.work-grid {
  gap: clamp(26px, 3.3vw, 56px) clamp(24px, 3.2vw, 58px);
}

.archive-extension {
  margin-top: clamp(44px, 6vw, 86px);
}

.current-research-grid {
  margin-bottom: clamp(42px, 5vw, 76px);
}

.archive-note {
  margin-top: clamp(36px, 5vw, 70px);
}

.project-hero {
  padding-top: clamp(34px, 5vw, 78px);
}

.project-title-grid h1 {
  font-size: clamp(3.7rem, 8vw, 10rem);
  line-height: 0.83;
}

.project-cover.image-cover {
  margin-top: clamp(26px, 4.4vw, 62px);
  padding: clamp(12px, 1.8vw, 24px) 0;
}

.project-hero {
  padding-bottom: clamp(24px, 4vw, 62px);
}

.project-body {
  padding-top: clamp(34px, 5vw, 68px);
}

.gallery-strip.gallery-images {
  margin: clamp(32px, 5vw, 66px) 0;
  gap: clamp(18px, 2.6vw, 42px);
}

.related-nav {
  margin-top: clamp(38px, 5vw, 74px);
}

@media (min-width: 981px) {
  .page-hero {
    min-height: auto;
  }
}

/* Final polish: make the inquiry note a full-width soft grey band instead of a framed box. */
.archive-note {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(34px, 5vw, 68px);
  padding: clamp(28px, 3.6vw, 48px) max(calc((100vw - var(--wide)) / 2), 24px);
  box-sizing: border-box;
  border: 0;
  background: rgba(226, 225, 220, 0.34);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 70px);
  align-items: center;
}

.archive-note p {
  max-width: 1120px;
  margin: 0;
}

.archive-note .button {
  justify-self: end;
}

@media (max-width: 720px) {
  .archive-note {
    grid-template-columns: 1fr;
  }

  .archive-note .button {
    justify-self: start;
  }
}

/* Curated archive polish: allow the sixth selected work to sit as an important bridge before research. */
@media (min-width: 981px) {
  .work-grid > .work-card:nth-child(6) {
    grid-column: 6 / span 7;
  }
}

/* Curated works grid: keep Snippers and Cor Chromaticum together as a pair. */
@media (min-width: 981px) {
  .works-page .work-grid:first-of-type .work-card:nth-child(5) {
    grid-column: 1 / span 6;
  }

  .works-page .work-grid:first-of-type .work-card:nth-child(6) {
    grid-column: 7 / span 6;
  }
}

/* Current exhibitions page. */
.exhibition-status-panel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(34px, 5vw, 76px) max(calc((100vw - var(--wide)) / 2), 24px);
  box-sizing: border-box;
  background: rgba(226, 225, 220, 0.34);
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}

.exhibition-status-panel h2 {
  font-size: clamp(3.4rem, 7vw, 10rem);
  line-height: 0.82;
  margin: 18px 0 0;
}

.exhibition-status-panel p {
  max-width: 780px;
  color: #292c28;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.48;
}

.exhibition-format-note {
  width: var(--wide);
  margin: clamp(34px, 5vw, 72px) auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  padding-top: clamp(26px, 4vw, 58px);
  border-top: 1px solid var(--line);
}

.exhibition-format-note h3 {
  font-size: clamp(2.2rem, 4vw, 5.6rem);
  line-height: 0.9;
  margin-top: 18px;
}

.exhibition-format-note p {
  max-width: 760px;
  color: #31332f;
}

@media (max-width: 900px) {
  .exhibition-status-panel,
  .exhibition-format-note {
    grid-template-columns: 1fr;
  }
}

/* Current exhibitions: direct overview without a separate hero block. */
.current-exhibitions-section {
  padding-top: clamp(34px, 5vw, 72px);
}

.current-exhibitions-list {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(42px, 6vw, 88px) max(calc((100vw - var(--wide)) / 2), 24px);
  box-sizing: border-box;
  background: rgba(226, 225, 220, 0.34);
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}

.current-exhibitions-heading h1 {
  font-size: clamp(4rem, 9vw, 13rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  margin-top: clamp(20px, 3vw, 42px);
}

.current-exhibitions-copy {
  max-width: 780px;
  align-self: end;
}

.current-exhibitions-copy p {
  color: #292c28;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.48;
}

.current-exhibitions-copy p + p {
  margin-top: 1em;
}

@media (max-width: 900px) {
  .current-exhibitions-list {
    grid-template-columns: 1fr;
  }

  .current-exhibitions-copy {
    align-self: start;
  }
}

/* Future exhibitions: same direct status style as current exhibitions. */
.future-exhibitions-list {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(28px, 4vw, 54px);
  padding: clamp(38px, 5vw, 76px) max(calc((100vw - var(--wide)) / 2), 24px);
  box-sizing: border-box;
  background: rgba(226, 225, 220, 0.24);
  display: grid;
  grid-template-columns: minmax(300px, 0.66fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}

.future-exhibitions-heading h2 {
  font-size: clamp(3.6rem, 8vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  margin-top: clamp(20px, 3vw, 42px);
}

.future-exhibitions-copy {
  max-width: 780px;
  align-self: end;
}

.future-exhibitions-copy p {
  color: #292c28;
  font-size: clamp(1.08rem, 1.35vw, 1.45rem);
  line-height: 1.48;
}

.future-exhibitions-copy p + p {
  margin-top: 1em;
}

@media (max-width: 900px) {
  .future-exhibitions-list {
    grid-template-columns: 1fr;
  }

  .future-exhibitions-copy {
    align-self: start;
  }
}

/* Home hero: show the Groeivormen overview image with less cropping. */
.home-hero-image {
  background: transparent;
}

.home-hero-image img {
  object-fit: contain;
  object-position: center center;
  height: 100%;
  width: 100%;
}

@media (min-width: 981px) {
  .home-hero-image {
    background: transparent;
  }

  .home-hero-image img {
    object-fit: contain;
    object-position: center center;
  }
}

/* Press/publications: allow full publication dates in the left column. */
.press-list .cv-item {
  grid-template-columns: minmax(120px, 0.16fr) minmax(0, 1fr);
}

@media (max-width: 720px) {
  .press-list .cv-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}



/* Home hero final balance: image slightly over half width, text and buttons fully visible. */
@media (min-width: 981px) {
  .home-editorial-hero {
    width: calc(100vw - 48px);
    max-width: none;
    min-height: calc(100svh - 68px);
    height: calc(100svh - 68px);
    padding: clamp(30px, 4.2vw, 58px) 0 clamp(34px, 4.4vw, 62px);
    grid-template-columns: minmax(0, 0.62fr) minmax(420px, 0.38fr);
    gap: clamp(50px, 5.2vw, 96px);
    align-items: center;
    overflow: hidden;
  }

  .home-hero-image {
    height: calc(100svh - 174px);
    max-height: calc(100svh - 174px);
    min-height: 0;
    align-self: center;
  }

  .home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .home-hero-copy {
    align-self: center;
    padding-bottom: 0;
    max-width: 680px;
    min-width: 0;
  }

  .home-hero-copy h1 {
    font-size: clamp(4rem, 8.15vw, 11.2rem);
    line-height: 0.78;
    margin-bottom: clamp(22px, 2.4vw, 34px);
    max-width: 680px;
  }

  .home-hero-copy .lead {
    max-width: 620px;
    line-height: 1.42;
  }

  .home-hero-copy p:not(.lead) {
    max-width: 600px;
    margin-top: 14px;
  }

  .home-hero-copy .hero-actions {
    margin-top: clamp(24px, 3vw, 42px);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (min-width: 981px) and (max-height: 780px) {
  .home-editorial-hero {
    padding-top: 26px;
    padding-bottom: 30px;
  }

  .home-hero-image {
    height: calc(100svh - 160px);
    max-height: calc(100svh - 160px);
  }

  .home-hero-copy h1 {
    font-size: clamp(3.7rem, 7.4vw, 9.8rem);
    margin-bottom: 22px;
  }

  .home-hero-copy .lead,
  .home-hero-copy p:not(.lead) {
    font-size: 1rem;
    line-height: 1.38;
  }

  .home-hero-copy .hero-actions {
    margin-top: 24px;
  }
}

/* Material landscapes: five featured works with Groeivormen included. */
@media (min-width: 981px) {
  .home-feature-grid .home-feature-card:nth-child(1) {
    grid-column: 1 / span 7;
  }

  .home-feature-grid .home-feature-card:nth-child(2) {
    grid-column: 8 / span 5;
  }

  .home-feature-grid .home-feature-card:nth-child(3) {
    grid-column: 8 / span 5;
  }

  .home-feature-grid .home-feature-card:nth-child(4) {
    grid-column: 1 / span 6;
  }

  .home-feature-grid .home-feature-card:nth-child(5) {
    grid-column: 7 / span 6;
  }
}

/* Exhibitions page polish: make empty-state headings quieter. */
.current-exhibitions-heading h1,
.future-exhibitions-heading h2 {
  font-size: clamp(2.8rem, 5.6vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  max-width: 760px;
}

.current-exhibitions-list,
.future-exhibitions-list {
  padding-top: clamp(34px, 4.8vw, 68px);
  padding-bottom: clamp(34px, 4.8vw, 68px);
  align-items: center;
}

.current-exhibitions-copy,
.future-exhibitions-copy {
  align-self: center;
}

@media (min-width: 981px) {
  .current-exhibitions-section {
    padding-top: clamp(26px, 3.8vw, 58px);
  }
}

/* Works page: pair Snippers and Cor Chromaticum cleanly in the selected works grid. */
@media (min-width: 981px) {
  .works-page .selected-work-grid > .work-card:nth-child(5) {
    grid-column: 1 / span 6 !important;
  }

  .works-page .selected-work-grid > .work-card:nth-child(6) {
    grid-column: 7 / span 6 !important;
  }
}
