/* Immersive exhibition treatment. Original portfolio images retain their colors. */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root,
:root[data-theme='light'],
:root[data-theme='dark'] {
  --bg: #3c4035;
  --surface: #34382f;
  --text: #f0eddb;
  --muted: #c2c3b3;
  --line: #656a58;
  --accent: #d3b674;
  --pink: #55513f;
  --white: #44483c;
  --radius: 0px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
}
:root[data-theme='light'] {
  --bg: #484c40;
  --surface: #3e4237;
  --white: #505548;
  --muted: #d0d0bf;
  --line: #747968;
}
html { background: var(--bg); }
body {
  background-color: var(--bg);
  color: var(--text);
  overflow-x: clip;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: .045;
  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='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--accent); color: #30342b; }
.header {
  height: 88px;
  max-width: none;
  width: 100%;
  padding-inline: 5%;
  border: 0;
  background: transparent;
  color: var(--text);
}
.wordmark { font-size: 30px; font-weight: 700; letter-spacing: -1.7px; }
.wordmark span { color: var(--accent); }
.nav { gap: 38px; font-size: 12px; font-weight: 500; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; }
.nav a::after { height: 1px; background: var(--accent); }
.header-actions { gap: 30px; }
.download-link { font-size: 11px; letter-spacing: .01em; font-weight: 500; }
.theme-button { opacity: .65; }
.page-width { width: 90%; max-width: 1500px; }
.page-enter { animation-duration: .75s; }

/* The opening portrait is a full-width scene, independent of the content grid. */
.exhibition-hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - 88px);
  min-height: 650px;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: var(--bg);
}
.exhibition-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.09 .25' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)' opacity='.4'/%3E%3C/svg%3E");
  background-size: 340px 340px;
  opacity: .18;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-person-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0);
  transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
}
.hero-material { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.exhibition-hero .hero-person-image {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 50%;
  height: 95%;
  width: auto;
  max-width: 65%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(-42%);
  transform-origin: center bottom;
  pointer-events: none;
  user-select: none;
}
.exhibition-copy {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5%;
  width: 31%;
}
.exhibition-title {
  margin: 0;
  font-family: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font-size: clamp(80px, 9vw, 160px);
  line-height: .85;
  font-weight: 800;
  letter-spacing: -.025em;
  text-transform: uppercase;
  color: #f0eddb;
}
.exhibition-title span { display: block; }
.exhibition-copy p {
  max-width: 235px;
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.exhibition-info {
  position: absolute;
  z-index: 4;
  top: 18%;
  right: 5%;
  width: 190px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.exhibition-info strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--text);
}
.exhibition-info p + p { margin-top: 16px; }
.exhibition-info a { display: inline-block; margin-top: 24px; }
.exhibition-bottom {
  position: absolute;
  z-index: 4;
  left: 5%;
  right: 5%;
  bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.exhibition-bottom p { max-width: 260px; }
.exhibition-bottom a { color: var(--text); }
.exhibition-bottom .text-link { font-size: 12px; gap: 32px; }
.exhibition-hero .accent { color: var(--accent); }


.exhibition-copy .exhibition-greeting {
  margin: 0 0 22px;
  max-width: none;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .035em;
  color: var(--text);
}
.exhibition-copy .exhibition-description {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}
.exhibition-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--accent);
  font-size: 12px;
  color: var(--text);
  transition: color .2s ease;
}
.exhibition-cta:hover { color: var(--accent); }
.exhibition-cta span { font-size: 18px; }
.exhibition-info .exhibition-info-title {
  margin-top: 0;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
  letter-spacing: .02em;
}
.exhibition-info .exhibition-info-title + p { margin-top: 22px; }
.exhibition-caption {
  position: absolute;
  z-index: 4;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .1em;
  white-space: nowrap;
}

/* Projects read as individual exhibits, with one substantial image per row. */
.project-section { padding-block: 84px 110px; border-top-color: var(--line); }
.section-heading { margin-bottom: 48px; align-items: end; }
.section-heading h2, .practice-title h2 { font-size: 30px; font-weight: 500; }
.section-heading h2 span { color: var(--accent); }
.filters { gap: 27px; }
.filter { font-size: 12px; color: var(--muted); }
.filter.active { color: var(--text); font-weight: 500; }
.filter::after { background: var(--accent); height: 1px; }
.work-grid, .work-grid.filtered { display: block; }
.project-card,
.project-card:first-child,
.project-card:last-child,
.work-grid.filtered .project-card,
.work-grid.filtered .project-card:only-child {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr);
  gap: 6%;
  align-items: center;
  grid-column: auto;
  max-width: none;
  padding-block: 35px;
  border-top: 1px solid var(--line);
}
.project-card:first-child { border-top: 0; padding-top: 0; }
.project-card[hidden] { display: none; }
.project-card .project-image,
.project-card:first-child .project-image,
.project-card:last-child .project-image,
.work-grid.filtered .project-card .project-image {
  aspect-ratio: 1.7;
  background: var(--surface);
  border-radius: 0;
}
.project-card .project-image img { object-fit: cover; filter: none; }
.project-card:first-child .project-image img { object-position: center; }
.project-card .card-info {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  gap: 30px;
  padding-right: 12%;
}
.card-title { font-size: clamp(23px, 2.4vw, 38px); line-height: 1.4; font-weight: 500; letter-spacing: -.035em; }
.card-description { font-size: 13px; line-height: 1.9; color: var(--muted); margin-top: 21px; max-width: 300px; }
.card-category { display: block; font-size: 11px; padding: 0; color: var(--accent); }
.card-open {
  background: #3c4035;
  color: #f0eddb;
  width: 40px;
  height: 40px;
  right: 15px;
  bottom: 15px;
  border-radius: 0;
  font-size: 19px;
}
.project-card:hover .project-image img { transform: scale(1.025); }

.practice { padding-block: 95px; grid-template-columns: 1fr 2.05fr; gap: 8%; }
.practice-title p { font-size: 13px; max-width: 250px; margin-top: 25px; }
.practice-tabs { gap: 32px; margin-bottom: 28px; }
.practice-tab { font-size: 12px; }
.practice-tab.active { font-weight: 500; }
.practice-tab.active::after { height: 1px; }
.practice-gallery { gap: 25px; }
.experiment-card .project-image { aspect-ratio: 1.15; border-radius: 0; }
.experiment-card h3 { font-size: 19px; font-weight: 500; margin-top: 20px; }
.experiment-card p { max-width: 300px; font-size: 12px; margin-top: 10px; }
.workflow-figure { padding: 0; border-radius: 0; }
.workflow-note { margin-top: 26px; }
.workflow-note strong { font-weight: 500; }
.about { padding-block: 100px; grid-template-columns: .75fr 1.6fr; gap: 13%; }
.about-photo { max-width: 320px; border-radius: 0; filter: saturate(.65); }
.about-photo-caption { line-height: 1.9; margin-top: 20px; }
.about h2 { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.45; font-weight: 400; }
.about-copy { margin-block: 30px 40px; color: var(--muted); font-size: 14px; }
.specialties { color: var(--accent); gap: 12px 25px; }
.experience-list { gap: 28px; }
.experience h3 { font-weight: 500; }
.closing { padding-block: 90px 100px; }
.closing h2 { font-size: clamp(30px, 4.4vw, 64px); font-weight: 400; }
.closing-links .text-link { color: var(--text); }
.text-link { font-weight: 500; border-bottom-width: 1px; }
.text-link:hover { color: var(--accent); }
.footer { max-width: 1500px; padding-block: 30px 36px; }
.footer .wordmark { font-size: 26px; }

/* Long cases keep a quiet, dark reading surface; original screenshots stay intact. */
.case-page { padding-top: 42px; }
.case-breadcrumb { margin-bottom: 48px; }
.case-title { font-weight: 500; font-size: clamp(38px, 5.3vw, 76px); }
.case-subtitle { color: var(--muted); }
.case-meta { padding-block: 30px 35px; margin-top: 42px; }
.case-meta dt { color: var(--muted); }
.case-meta dd { color: var(--text); }
.case-cover { border-radius: 0; max-height: 690px; }
.case-layout { padding-top: 85px; grid-template-columns: 175px minmax(0, 1fr); gap: 6%; }
.case-toc { gap: 21px; color: var(--muted); }
.case-toc a.active, .case-toc a:hover { color: var(--accent); }
.case-section { margin-bottom: 80px; }
.case-section h2 { font-size: 29px; font-weight: 500; }
.case-section > p { font-size: 15px; line-height: 2.05; color: var(--muted); }
.decision-grid { background: var(--surface); padding: 30px; gap: 30px 38px; margin-block: 36px 40px; }
.decision { border: 0; padding: 0; }
.decision h3 { font-size: 15px; font-weight: 500; }
.decision p { color: var(--muted); }
.case-figure { margin-block: 34px 46px; }
.case-figure button { border-radius: 0; background: #f0f0ec; }
.case-figure img { filter: none; }
.case-figure figcaption { color: var(--muted); margin-top: 15px; }
.original-details { border-bottom: 0; }
.next-project { padding-block: 55px 85px; }
.next-project h2 { font-weight: 400; }
.next-project:hover, .back-top:hover { color: var(--accent); }
.lightbox { background: #30342c; color: var(--text); }
.lightbox-toolbar { background: #3c4035; border-bottom-color: var(--line); }
.lightbox-canvas { background: #30342c; }
.lightbox-hint { background: #30342c; }
.toast { background: #f0eddb; color: #30342b; border-radius: 0; }
.image-error { background: var(--surface); color: var(--muted); }

@media (min-width: 1800px) {
  .exhibition-copy { left: max(5%, calc((100vw - 1620px) / 2)); }
  .exhibition-info { right: max(5%, calc((100vw - 1620px) / 2)); }
}
@media (max-width: 1100px) {
  .header { height: 76px; }
  .nav { gap: 26px; }
  .exhibition-hero { height: calc(100svh - 76px); min-height: 620px; }
  .exhibition-copy { top: 22%; width: 33%; }
  .exhibition-title { font-size: clamp(82px, 10.2vw, 112px); }
  .exhibition-hero .hero-person-image { left: 52%; max-width: 64%; height: 90%; }
  .exhibition-info { width: 155px; right: 4%; font-size: 11px; }
  .exhibition-info strong { font-size: 13px; }
  .exhibition-copy p { font-size: 11px; max-width: 185px; }
  .project-card, .project-card:first-child, .project-card:last-child, .work-grid.filtered .project-card, .work-grid.filtered .project-card:only-child { gap: 5%; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .project-card .card-info { padding-right: 0; gap: 20px; }
  .card-title { font-size: 26px; }
  .card-description { font-size: 12px; margin-top: 15px; }
  .practice { gap: 6%; }
  .about { gap: 9%; }
  .case-layout { grid-template-columns: 135px minmax(0, 1fr); gap: 4%; }
}
@media (max-width: 767px) {
  .header { width: 100%; height: 72px; padding-inline: 22px; }
  .wordmark { font-size: 28px; }
  .header-actions { gap: 20px; }
  .nav { top: 71px; left: 0; right: 0; padding: 25px 22px 30px; background: #34382f; border-bottom-color: var(--line); gap: 20px; }
  .nav a { font-size: 14px; }
  .menu-button { font-size: 11px; }
  .page-width { width: calc(100% - 44px); }
  .exhibition-hero { height: calc(100svh - 72px); min-height: 670px; max-height: 850px; }
  .exhibition-copy { left: 22px; top: 9%; width: 56%; z-index: 3; }
  .exhibition-title { font-size: clamp(76px, 21vw, 124px); line-height: .86; letter-spacing: -.02em; }
  .exhibition-copy p { margin-top: 21px; max-width: 150px; font-size: 10px; line-height: 1.8; }
  .exhibition-copy .exhibition-greeting { margin: 0 0 17px; font-size: 9px; max-width: 200px; }
  .exhibition-copy .exhibition-description { font-size: 10px; margin-top: 22px; max-width: 165px; }
  .exhibition-cta { margin-top: 23px; font-size: 11px; gap: 30px; }
  .exhibition-caption { display: none; }
  .exhibition-info .exhibition-info-title { font-size: 9px; }
  .exhibition-info .exhibition-info-title + p { margin-top: 15px; }
  .exhibition-hero .hero-person-image { height: 76%; max-width: 90%; left: 62%; bottom: 0; transform: translateX(-42%); }
  .exhibition-info { top: 8%; right: 22px; width: 100px; font-size: 9px; line-height: 1.8; text-align: right; }
  .exhibition-info strong { font-size: 11px; line-height: 1.6; margin-bottom: 10px; }
  .exhibition-info p + p { margin-top: 10px; }
  .exhibition-info a { margin-top: 13px; }
  .exhibition-bottom { left: 22px; right: 22px; bottom: 22px; gap: 15px; align-items: end; font-size: 9px; }
  .exhibition-bottom p { max-width: 135px; }
  .exhibition-bottom .text-link { font-size: 10px; gap: 15px; padding-bottom: 6px; }
  .project-section { padding-block: 54px 60px; }
  .section-heading { gap: 22px; margin-bottom: 30px; }
  .section-heading h2, .practice-title h2 { font-size: 25px; font-weight: 500; }
  .filters { gap: 24px; }
  .filter { font-size: 11px; }
  .project-card, .project-card:first-child, .project-card:last-child, .work-grid.filtered .project-card, .work-grid.filtered .project-card:only-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-block: 30px;
  }
  .project-card:first-child { padding-top: 0; }
  .project-card .project-image, .project-card:first-child .project-image, .project-card:last-child .project-image, .work-grid.filtered .project-card .project-image { aspect-ratio: 1.45; }
  .project-card .card-info { gap: 14px; padding: 0 0 0 1px; }
  .card-title { font-size: 25px; }
  .card-description { font-size: 12px; line-height: 1.9; margin-top: 12px; max-width: 340px; }
  .card-category { display: block; font-size: 10px; color: var(--accent); }
  .card-open { width: 32px; height: 32px; right: 12px; bottom: 12px; font-size: 16px; }
  .practice { grid-template-columns: 1fr; gap: 30px; padding-block: 56px 60px; }
  .practice-title p { max-width: 320px; margin-top: 15px; font-size: 12px; }
  .practice-gallery { grid-template-columns: 1fr; gap: 30px; }
  .experiment-card .project-image { aspect-ratio: 1.5; }
  .experiment-card h3 { font-size: 20px; margin-top: 15px; }
  .experiment-card p { max-width: 330px; }
  .practice-tabs { margin-bottom: 23px; }
  .practice-tab { font-size: 11px; }
  .workflow-note { margin-top: 20px; }
  .about { grid-template-columns: 1fr; gap: 34px; padding-block: 60px; }
  .about-portrait { align-items: end; gap: 25px; }
  .about-photo { width: 150px; }
  .about-photo-caption { margin-bottom: 0; font-size: 10px; }
  .about h2 { font-size: 30px; line-height: 1.5; }
  .about-copy { margin-block: 23px 30px; font-size: 13px; line-height: 2; }
  .specialties { font-size: 10px; gap: 12px 20px; margin-block: 25px 35px; }
  .experience-list { gap: 27px; }
  .closing { padding-block: 58px 60px; gap: 32px; }
  .closing h2 { font-size: 32px; }
  .closing-links { gap: 28px; }
  .closing-links .text-link { font-size: 10px; }
  .footer { width: calc(100% - 44px); padding-block: 25px 30px; }
  .footer p { font-size: 9px; }
  .case-page { padding-top: 25px; }
  .case-breadcrumb { margin-bottom: 31px; }
  .case-title { font-size: 36px; }
  .case-subtitle { font-size: 13px; line-height: 1.9; }
  .case-meta { margin-top: 30px; padding-block: 25px; gap: 20px; }
  .case-cover { aspect-ratio: 1.4; }
  .case-layout { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
  .case-toc { gap: 25px; font-size: 10px; padding-block: 15px; }
  .case-section { margin-bottom: 50px; }
  .case-section h2 { font-size: 25px; }
  .case-section > p { font-size: 13px; }
  .decision-grid { padding: 23px; gap: 23px; margin-block: 28px 32px; }
  .decision h3 { font-size: 14px; }
  .decision p { font-size: 12px; }
  .case-figure { margin-block: 25px 33px; }
  .case-figure figcaption { font-size: 9px; }
  .next-project { padding-block: 35px 55px; }
  .next-project h2 { font-size: 27px; }
  .lightbox-toolbar { background: #3c4035; }
}
@media (max-width: 380px) {
  .exhibition-title { font-size: 74px; }
  .exhibition-info { width: 88px; font-size: 8px; }
  .exhibition-info strong { font-size: 10px; }
  .exhibition-hero .hero-person-image { left: 66%; height: 72%; }
  .exhibition-copy p { max-width: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-person-stage { transform: none !important; transition: none !important; }
  .exhibition-hero .hero-person-image { will-change: auto; }
  .project-card .project-image img { transform: none !important; }
}

/* Preserve filtering after overriding the exhibit row display. */
.work-grid .project-card[hidden],
.work-grid.filtered .project-card[hidden] { display: none; }

/* A restrained studio light across the mineral scene, matching the chosen reference. */
.hero-material{background:radial-gradient(ellipse at 55% 40%,#777b64 0%,#4e5343 48%,#3c4035 90%)}
[data-theme='light'] .hero-material{background:radial-gradient(ellipse at 55% 40%,#777b64 0%,#555b47 48%,#484c40 90%)}
@keyframes portrait-enter{from{opacity:0;transform:translateX(-42%) translateY(35px)}to{opacity:1;transform:translateX(-42%) translateY(0)}}
.exhibition-hero .hero-person-image{animation:portrait-enter 1.1s var(--ease) both}
@media(prefers-reduced-motion:reduce){.exhibition-hero .hero-person-image{animation:none!important}}

.contact-methods{display:flex;flex-wrap:wrap;gap:28px 45px;margin-top:38px}.contact-method{display:block;text-align:left;padding:0 0 12px;border-bottom:1px solid var(--line)}.contact-method span{display:block;font-size:11px;color:var(--muted);margin-bottom:12px}.contact-method strong{font-size:clamp(15px,1.7vw,24px);font-weight:500;letter-spacing:-.015em}.contact-method:hover{color:var(--accent)}
@media(max-width:767px){.exhibition-copy .exhibition-description{font-size:12px;max-width:172px;line-height:1.85}.exhibition-copy .exhibition-greeting{font-size:10px}.exhibition-info .exhibition-info-title{font-size:10px}.exhibition-info .exhibition-info-title+p{display:none}.exhibition-cta{font-size:12px}.contact-methods{gap:24px;margin-top:30px}.contact-method strong{font-size:17px;overflow-wrap:anywhere}.contact-method span{font-size:11px}}

.exhibition-copy .exhibition-description,.exhibition-info,.exhibition-bottom{color:var(--text)}.contact-methods{max-width:100%}.contact-method{max-width:100%}.contact-method strong{overflow-wrap:anywhere}
