:root {
  --ink: #171717;
  --paper: #f7f5f1;
  --white: #fff;
  --corten: #c96a28;
  --stone: #8a8680;
  --line: rgba(23, 23, 23, .14);
  --pad: clamp(1.25rem, 3.5vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Mulish, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
figure, p, h1, h2, dl, dd { margin: 0; }
.skip-link { position: fixed; z-index: 100; top: .5rem; left: .5rem; padding: .7rem 1rem; background: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  color: var(--white);
}
.nav-solid { position: sticky; top: 0; align-items: center; min-height: 7.25rem; background: var(--ink); }
.nav-logo img { width: 9.2rem; height: auto; }
.nav nav { display: flex; gap: clamp(1.35rem, 3vw, 3rem); align-items: center; padding-top: 1.5rem; }
.nav-solid nav { padding-top: 0; }
.nav nav a {
  position: relative;
  padding: .35rem 0;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.nav nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s ease; }
.nav nav a:hover::after, .nav nav a:focus-visible::after, .nav nav a.active::after { right: 0; }
.nav nav a.active { color: var(--corten); }
.menu-toggle { display: none; border: 0; background: none; color: #fff; }

.home-page { overflow: hidden; background: var(--ink); }
.home-hero { position: relative; width: 100%; height: 100svh; min-height: 36rem; overflow: hidden; background: var(--ink); color: var(--white); }
.home-hero > video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.home-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,.22), rgba(12,12,12,.04) 45%, rgba(12,12,12,.58)); }
.home-hero h1 {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(2rem, 5vw, 4rem);
  color: #a39f99;
  font-size: clamp(.95rem, 1.75vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.home-horizontal-logo {
  position: absolute;
  z-index: 2;
  right: var(--pad);
  bottom: clamp(2.1rem, 5vw, 4.15rem);
  width: clamp(15rem, 29vw, 31rem);
}

.page-head { max-width: 62rem; padding: clamp(5rem, 8vw, 8rem) var(--pad) clamp(3.5rem, 6vw, 6rem); }
.eyebrow { margin-bottom: .75rem; color: var(--corten); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.page-head h1 { font-size: clamp(3rem, 6vw, 6rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.page-head > p:last-child { max-width: 42rem; margin-top: 1.5rem; color: #5b5853; font-size: 1rem; }

.projects-kicker { display: flex; justify-content: space-between; align-items: center; margin: 0 var(--pad) clamp(3rem, 6vw, 5.5rem); padding-top: 1rem; border-top: 1px solid var(--line); color: var(--corten); font-size: .75rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.projects-kicker b { color: var(--stone); font-weight: 700; }

.feature-project { padding: 0 var(--pad) clamp(7rem, 12vw, 12rem); }
.feature-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.7rem; }
.feature-title > div { display: flex; align-items: baseline; gap: 1rem; }
.feature-title span { color: var(--corten); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.feature-title h2 { font-size: clamp(2rem, 4.5vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.feature-title h2 small { display: inline-block; margin-left: .45em; color: var(--corten); font-size: clamp(.72rem, 1.15vw, 1.05rem); font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.feature-title > p { color: var(--stone); font-size: .85rem; text-align: right; }
.feature-cover { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.feature-story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2rem, 5vw, 6rem); margin: clamp(2rem, 4vw, 4rem) 0; padding: 0 8%; }
.feature-story p { color: #55514c; font-size: clamp(.95rem, 1.25vw, 1.15rem); line-height: 1.7; }
.feature-story > div p + p { margin-top: 1.25rem; }
.feature-story blockquote { color: #34312d; font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.feature-story cite { display: block; margin-top: 1rem; color: var(--stone); font-size: .72rem; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-story cite a { padding-bottom: .1rem; border-bottom: 1px solid currentColor; color: var(--corten); }
.riomarina-story figure { min-width: 0; }
.riomarina-story img { display: block; width: 100%; height: auto; padding: clamp(.6rem, 1.2vw, 1.1rem); background: #e8e5df; }
.riomarina-story figcaption { margin-top: .55rem; color: var(--stone); font-size: .7rem; letter-spacing: .06em; text-align: right; text-transform: uppercase; }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; margin-top: 1rem; }
.project-gallery > img, .project-gallery > video { width: 100%; height: 100%; object-fit: cover; }
.project-gallery > .contain { padding: clamp(.8rem, 2vw, 2rem); background: #e8e5df; object-fit: contain; }
.marisma-set > :nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.marisma-set > :nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 10; }
.marisma-set > :nth-child(3), .marisma-set > :nth-child(4), .marisma-set > :nth-child(5) { grid-column: span 4; aspect-ratio: 4 / 3; }
.marisma-set > :nth-child(6) { grid-column: 2 / span 10; aspect-ratio: 16 / 9; }
.riomarina-set > :nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.riomarina-set > :nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 10; }
.riomarina-set > :nth-child(3) { grid-column: span 12; aspect-ratio: 16 / 6; }
.riomarina-set > :nth-child(4), .riomarina-set > :nth-child(5), .riomarina-set > :nth-child(6) { grid-column: span 4; aspect-ratio: 4 / 3; }
.feature-zahara { color: #fff; background: var(--ink); padding-top: clamp(5rem, 9vw, 9rem); }
.feature-zahara .feature-title > p { color: #aaa59d; }
.zahara-set > :nth-child(1) { grid-column: span 7; aspect-ratio: 16 / 10; }
.zahara-set > :nth-child(2) { grid-column: span 5; aspect-ratio: 16 / 10; }
.zahara-set > :nth-child(3), .zahara-set > :nth-child(4) { grid-column: span 6; aspect-ratio: 16 / 10; }
.zahara-set > :nth-child(5), .zahara-set > :nth-child(6) { grid-column: span 6; aspect-ratio: 16 / 10; }

.project-category { padding: clamp(6rem, 10vw, 10rem) var(--pad); background: #fff; }
.project-category-muted { background: var(--paper); }
.project-category-dark { color: #fff; background: var(--ink); }
.category-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.category-head h2 { font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.05em; line-height: .95; }
.category-head > p { max-width: 27rem; color: var(--stone); font-size: .88rem; line-height: 1.6; text-align: right; }
.project-category-dark .category-head > p { color: #aaa59d; }
.collection-grid { display: grid; gap: clamp(2.4rem, 5vw, 5rem) clamp(1rem, 2vw, 2rem); }
.collection-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collection-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collection-card { display: block; min-width: 0; }
.collection-card > div { overflow: hidden; background: #d8d5cf; }
.collection-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.collection-card img.project-cover-contain { object-fit: contain; padding: .55rem; }
.collection-card:hover img { transform: scale(1.025); }
.collection-grid-large .collection-card > div { aspect-ratio: 16 / 10; }
.collection-grid-compact .collection-card > div { aspect-ratio: 4 / 3; }
.collection-card p { display: flex; justify-content: space-between; gap: 1.25rem; margin-top: .85rem; padding-top: .7rem; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.45; }
.collection-card b { font-weight: 800; }
.collection-card span { color: var(--stone); text-align: right; }
.project-category-dark .collection-card p { border-color: rgba(255,255,255,.18); }
.project-category-dark .collection-card span { color: #aaa59d; }
.project-category-dark .collection-grid-compact .collection-card > div { aspect-ratio: 4 / 5; background: #f2f0eb; }
.project-category-dark .collection-card img { padding: clamp(.55rem, 1.2vw, 1rem); object-fit: contain; }

.archive { padding: clamp(6rem, 10vw, 10rem) var(--pad); background: var(--paper); }
.archive > header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.archive-intro { max-width: 27rem; color: var(--stone); font-size: .88rem; text-align: right; }
.archive h2 { font-size: clamp(2.4rem, 4vw, 4rem); letter-spacing: -.045em; }
.project-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem 1.5rem; }
.project-card { margin-bottom: 4rem; }
.project-card > div { overflow: hidden; background: #ddd; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card.wide { grid-column: span 4; }
.project-card.narrow { grid-column: span 2; }
.project-card.wide > div { aspect-ratio: 16 / 10; }
.project-card.narrow > div { aspect-ratio: 4 / 5; }
.project-card p { display: flex; justify-content: space-between; gap: 1rem; margin-top: .85rem; padding-top: .65rem; border-top: 1px solid var(--line); font-size: .78rem; }
.project-card b { font-weight: 800; }
.project-card span { color: var(--stone); text-align: right; }

.project-directory { margin-top: clamp(3rem, 7vw, 7rem); padding-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); }
.project-directory > header { max-width: 48rem; margin-bottom: 2.5rem; }
.project-directory > header h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.project-directory > header > p:last-child { margin-top: 1rem; color: #5b5853; }
.project-directory details { border-top: 1px solid var(--line); }
.project-directory details:last-child { border-bottom: 1px solid var(--line); }
.project-directory summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; cursor: pointer; list-style: none; }
.project-directory summary::-webkit-details-marker { display: none; }
.project-directory summary span { font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 800; }
.project-directory summary b { color: var(--corten); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.directory-list { display: grid; grid-template-columns: 1fr 1fr; padding: .5rem 0 2.25rem; }
.directory-list > a, .directory-list > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid rgba(23,23,23,.09); }
.directory-list > a:nth-child(odd), .directory-list > div:nth-child(odd) { margin-right: 1.5rem; }
.directory-list > a:hover span { color: var(--corten); }
.directory-list span { font-size: .87rem; font-weight: 700; }
.directory-list small { color: var(--stone); font-size: .72rem; text-align: right; }

.project-detail { min-height: 70vh; }
.project-detail-head { padding: clamp(4rem, 8vw, 8rem) var(--pad) clamp(3rem, 5vw, 5rem); }
.project-detail-head > a { display: inline-block; margin-bottom: clamp(3rem, 6vw, 6rem); color: var(--stone); font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.project-detail-head > a:hover { color: var(--corten); }
.project-detail-head h1 { max-width: 68rem; font-size: clamp(2.7rem, 6vw, 6.5rem); font-weight: 800; letter-spacing: -.055em; line-height: .95; }
.project-not-found > p:last-child { margin-top: 1.5rem; color: var(--stone); }
.project-detail-copy { display: grid; grid-template-columns: minmax(15rem, 1fr) 2fr; gap: clamp(2rem, 7vw, 8rem); padding: 0 var(--pad) clamp(5rem, 8vw, 8rem); }
.project-facts { padding-top: 1.1rem; border-top: 2px solid var(--ink); }
.project-facts p { margin-bottom: .9rem; font-size: .82rem; font-weight: 700; line-height: 1.65; }
.project-description { max-width: 49rem; }
.project-description p { margin-bottom: 1.35rem; color: #44413d; font-size: 1rem; line-height: 1.8; }
.project-detail-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.65rem, 1.5vw, 1.25rem); padding: 0 var(--pad) clamp(7rem, 12vw, 12rem); }
.project-detail-gallery figure { grid-column: span 6; overflow: hidden; background: #e9e6e1; }
.project-detail-gallery figure:nth-child(3n + 2) { grid-column: span 5; }
.project-detail-gallery figure:nth-child(3n + 3) { grid-column: span 7; }
.project-detail-gallery .project-image-lead { grid-column: 1 / -1; }
.project-detail-gallery img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.project-detail-gallery .project-image-lead img { max-height: 78vh; min-height: 28rem; }

.art-page-head { padding-bottom: 2.5rem; }
.artist-intro { display: flex; align-items: center; gap: 2rem; max-width: 52rem; padding: 0 var(--pad) clamp(4rem, 7vw, 7rem); }
.artist-intro img { width: 8.5rem; height: 8.5rem; object-fit: cover; border-radius: 50%; filter: grayscale(1); }
.artist-intro p { max-width: 35rem; color: #4c4944; font-size: .95rem; }
.artist-intro strong { display: block; margin-bottom: .45rem; color: var(--ink); font-size: 1rem; }
.art-catalog { padding: clamp(5rem, 8vw, 8rem) var(--pad) clamp(7rem, 11vw, 11rem); background: var(--paper); }
.art-catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; }
.art-catalog-head h2 { font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.05em; line-height: .95; }
.art-catalog-head > p { color: var(--stone); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.art-filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(3rem, 6vw, 5.5rem); padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-filters button { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.5rem; padding: .55rem .85rem; border: 1px solid transparent; background: transparent; color: #4d4a46; font: 700 .78rem/1 Mulish, sans-serif; cursor: pointer; }
.art-filters button span { color: var(--stone); font-size: .67rem; }
.art-filters button:hover, .art-filters button:focus-visible { border-color: var(--ink); outline: none; }
.art-filters button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.art-filters button.active span { color: #bbb7b1; }
.art-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(6rem, 10vw, 10rem) clamp(2rem, 4vw, 4.5rem); align-items: start; }
.art-card { grid-column: span var(--art-span, 4); min-width: 0; }
.art-card > button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.art-stage { display: block; width: 100%; overflow: visible; transition: transform .35s ease, box-shadow .35s ease; }
.art-stage img { display: block; width: 100%; height: auto; object-fit: contain; }
.art-stage-framed { padding: clamp(.75rem, 1.4vw, 1.25rem); background: #2b2a28; box-shadow: 0 1.2rem 2.2rem rgba(0,0,0,.17), inset 0 0 0 1px #45433f; }
.art-stage-framed img { box-shadow: 0 .4rem .9rem rgba(0,0,0,.42); }
.art-stage-poster { padding: clamp(.8rem, 1.5vw, 1.4rem); background: #e4e1dc; box-shadow: 0 1rem 2rem rgba(0,0,0,.1); }
.art-card > button:hover .art-stage, .art-card > button:focus-visible .art-stage { transform: translateY(-.25rem); box-shadow: 0 1.6rem 2.8rem rgba(0,0,0,.23); }
.art-card > button:focus-visible { outline: 2px solid var(--corten); outline-offset: .5rem; }
.art-card-copy { display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .8rem; align-items: baseline; margin-top: 1.15rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.art-card-number { grid-row: 1 / span 2; color: var(--corten); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.art-card-title { font-size: .92rem; font-weight: 800; }
.art-card-size { color: var(--stone); font-size: .72rem; text-align: right; }
.art-card-details { grid-column: 2 / -1; color: var(--stone); font-size: .68rem; }
.art-card-sale { grid-column: 2 / -1; color: var(--corten); font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.art-inline-thumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; }
.art-inline-thumb { width: 4.8rem; height: 3.6rem; padding: .18rem; border: 1px solid var(--line); background: #eeeae4; cursor: pointer; opacity: .78; transition: opacity .2s ease, border-color .2s ease; }
.art-inline-thumb:hover, .art-inline-thumb:focus-visible { border-color: var(--corten); outline: none; opacity: 1; }
.art-inline-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-dialog { width: min(96vw, 92rem); height: min(94vh, 62rem); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; color: #fff; background: #171717; box-shadow: 0 2rem 6rem rgba(0,0,0,.55); }
.art-dialog::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.art-dialog-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(17rem, 1fr); height: 100%; }
.art-dialog-layout > div:first-child { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; min-height: 0; background: #101010; }
.art-dialog-viewer { display: grid; place-items: center; min-height: 0; padding: clamp(1.3rem, 3vw, 3rem); }
.art-dialog-viewer img, .art-dialog-viewer video { width: 100%; height: 100%; max-height: 76vh; object-fit: contain; }
.art-dialog-thumbs { display: flex; gap: .55rem; min-height: 0; padding: .8rem 1rem 1rem; overflow-x: auto; background: #101010; }
.art-dialog-thumbs:empty { display: none; }
.art-dialog-thumbs button { flex: 0 0 5.4rem; width: 5.4rem; height: 4rem; padding: .2rem; border: 1px solid transparent; background: #272727; cursor: pointer; opacity: .62; }
.art-dialog-thumbs button.active { border-color: var(--corten); opacity: 1; }
.art-dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.art-video-thumb { display: grid; place-items: center; height: 100%; color: #fff; font-size: 1rem; }
.art-video-thumb small { display: block; font-size: .6rem; }
.art-dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 4rem); background: #22211f; }
.art-dialog-number { margin-bottom: 1.2rem; color: var(--corten); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.art-dialog-copy h2 { font-size: clamp(1.8rem, 3.2vw, 3.5rem); letter-spacing: -.045em; line-height: 1; }
.art-dialog-category { margin-top: 1.2rem; color: #b7b2aa; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.art-dialog-size { margin-top: 2rem; font-size: .92rem; font-weight: 700; }
.art-dialog-sale { margin-top: 1rem; color: #d78a54; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.art-dialog-technique { margin-top: .75rem; color: #b7b2aa; font-size: .85rem; line-height: 1.65; }
.art-dialog-close, .art-dialog-nav { position: fixed; z-index: 3; border: 0; color: #fff; background: rgba(23,23,23,.78); cursor: pointer; }
.art-dialog-close { top: max(1.6rem, 4vh); right: max(1.6rem, 3vw); width: 3rem; height: 3rem; font: 300 2rem/1 Mulish, sans-serif; }
.art-dialog-nav { top: 50%; width: 3rem; height: 3rem; font-size: 1.25rem; transform: translateY(-50%); }
.art-dialog-prev { left: max(1.6rem, 3vw); }
.art-dialog-next { right: max(1.6rem, 3vw); }

.blog-main { min-height: 62vh; }
.posts { max-width: 52rem; padding: 0 var(--pad) 8rem; }
.posts article { padding-top: 2rem; border-top: 1px solid var(--line); }
.posts article + article { margin-top: 3.5rem; }
.posts time { color: var(--corten); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.posts h2 { margin: .75rem 0; font-size: clamp(1.5rem, 3vw, 2.5rem); }
.posts p { max-width: 44rem; color: #4d4a46; line-height: 1.7; }
.read-more { display: inline-block; margin-top: 1.2rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; color: var(--corten); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.contact-main { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 7.25rem); }
.contact-info { padding: clamp(4rem, 7vw, 7rem) var(--pad); background: var(--paper); }
.contact-info h1 { color: #6f6b65; font-size: clamp(1.35rem, 3.4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.contact-lead { margin: 1.6rem 0 1rem; color: #4d4a46; }
.contact-portrait { width: 7.75rem; margin: 0 0 1rem; }
.contact-portrait img { display: block; width: 100%; height: auto; opacity: .72; filter: grayscale(.65) contrast(.84) brightness(1.04) blur(.2px); mix-blend-mode: multiply; }
.contact-info dl { max-width: 35rem; }
.contact-info dl > div { margin: 0 0 1.5rem; }
.contact-info dt { margin-bottom: .25rem; color: var(--stone); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-info dd { font-size: 1rem; }
.contact-form { display: grid; place-items: center; padding: clamp(4rem, 7vw, 7rem) var(--pad); }
.contact-form form { width: min(100%, 36rem); }
.contact-form label { display: block; margin-bottom: 1.6rem; color: var(--stone); font-size: .75rem; letter-spacing: .06em; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: .45rem; padding: .75rem .1rem; border: 0; border-bottom: 1px solid rgba(23,23,23,.3); border-radius: 0; background: transparent; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--corten); }
.contact-form button { padding: 1rem 2rem; border: 0; background: var(--ink); color: #fff; font: 700 .78rem/1 Mulish, sans-serif; letter-spacing: .08em; cursor: pointer; }
.contact-form form > p { margin-top: 1rem; color: var(--stone); font-size: .75rem; }
.contact-map { display: block; width: 100%; height: 26rem; border: 0; filter: grayscale(.4) contrast(1.05); }

.site-footer { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.15fr; gap: 3rem; padding: 5rem var(--pad) 2rem; color: var(--paper); background: var(--ink); }
.site-footer > img { width: 9rem; }
.site-footer span { display: block; margin-bottom: .55rem; color: var(--stone); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer p { font-size: .83rem; line-height: 1.65; }
.site-footer .copyright { grid-column: 1 / -1; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); color: var(--stone); font-size: .7rem; }

@media (max-width: 900px) {
  .nav { align-items: center; }
  .nav-logo img { width: 7.5rem; }
  .menu-toggle { display: grid; gap: 5px; padding: .5rem 0 .5rem .8rem; }
  .menu-toggle span { display: block; width: 1.7rem; height: 1px; background: currentColor; }
  .menu-toggle i { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .nav nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1.6rem; padding: 0; background: rgba(23,23,23,.98); font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
  .nav nav.open { opacity: 1; pointer-events: auto; }
  .home-horizontal-logo { width: min(72vw, 25rem); }
  .home-hero h1 { right: var(--pad); }
  .collection-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.wide, .project-card.narrow { grid-column: span 1; }
  .project-card.wide > div, .project-card.narrow > div { aspect-ratio: 4 / 3; }
  .art-gallery { grid-template-columns: repeat(2, 1fr); }
  .art-dialog-layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .art-dialog-copy { justify-content: flex-start; padding: 1.4rem 5rem 1.5rem 1.5rem; }
  .art-dialog-copy h2 { font-size: 1.8rem; }
  .art-dialog-number { margin-bottom: .6rem; }
  .art-dialog-category { margin-top: .65rem; }
  .art-dialog-size { margin-top: .8rem; }
  .art-dialog-technique { margin-top: .35rem; }
  .contact-main { grid-template-columns: 1fr; }
  .project-detail-copy { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .nav, .nav-solid { min-height: 6rem; padding: .75rem 1.2rem; }
  .nav-logo img { width: 6.6rem; }
  .home-horizontal-logo { right: 1.2rem; bottom: 6.6rem; width: calc(100vw - 2.4rem); }
  .home-hero h1 { bottom: 2rem; font-size: 1rem; }
  .feature-title { display: block; }
  .feature-title > div { display: block; }
  .feature-title span { display: block; margin-bottom: .55rem; }
  .feature-title > p { margin-top: 1rem; text-align: left; }
  .feature-title h2 small { display: block; margin: .7rem 0 0; }
  .feature-cover { aspect-ratio: 4 / 5; }
  .feature-story { display: block; padding: 0; }
  .feature-story p + p { margin-top: 1.25rem; }
  .project-gallery { display: block; }
  .project-gallery > img, .project-gallery > video { height: auto; margin-top: .75rem; aspect-ratio: auto !important; }
  .category-head { display: block; }
  .category-head > p { margin-top: 1rem; text-align: left; }
  .collection-grid-large, .collection-grid-compact { grid-template-columns: 1fr; }
  .collection-card p { display: block; }
  .collection-card span { display: block; margin-top: .25rem; text-align: left; }
  .contact-info h1 { font-size: clamp(1.25rem, 6vw, 1.65rem); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { margin-bottom: 2.8rem; }
  .project-card p { display: block; }
  .project-card span { display: block; margin-top: .25rem; text-align: left; }
  .archive > header { display: block; }
  .archive-intro { margin-top: 1rem; text-align: left; }
  .directory-list { grid-template-columns: 1fr; }
  .directory-list > a:nth-child(odd), .directory-list > div:nth-child(odd) { margin-right: 0; }
  .directory-list > a, .directory-list > div { display: block; }
  .directory-list small { display: block; margin-top: .25rem; text-align: left; }
  .project-detail-gallery { display: block; }
  .project-detail-gallery figure { margin-bottom: .8rem; }
  .project-detail-gallery img, .project-detail-gallery .project-image-lead img { height: auto; min-height: 0; max-height: none; }
  .artist-intro { align-items: flex-start; }
  .artist-intro img { width: 6.5rem; height: 6.5rem; }
  .contact-portrait { width: 6.75rem; }
  .art-catalog-head { display: block; }
  .art-catalog-head > p { margin-top: 1rem; }
  .art-gallery { grid-template-columns: 1fr; gap: 4.5rem; }
  .art-card { grid-column: auto; }
  .art-card-copy { grid-template-columns: auto 1fr; }
  .art-card-size { grid-column: 2; text-align: left; }
  .art-card-details { grid-column: 2; }
  .art-dialog { width: 100vw; height: 100dvh; }
  .art-dialog-viewer { padding: 1rem; }
  .art-dialog-thumbs button { flex-basis: 4.6rem; width: 4.6rem; height: 3.4rem; }
  .art-dialog-nav { top: 42%; }
  .art-dialog-prev { left: .45rem; }
  .art-dialog-next { right: .45rem; }
  .art-dialog-close { top: .65rem; right: .65rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.project-gallery > .technical-plan {
  grid-column: 1 / -1 !important;
  width: 100%;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: #f4f4f2;
}
.riomarina-story { display: block; padding-inline: 0; }
.riomarina-story > div { max-width: 58rem; margin: 0 auto 2rem; }
.riomarina-story figure { width: 100%; }
.riomarina-history-large { width: 100%; max-width: none; height: auto; object-fit: contain; }
.project-detail-gallery .project-image-contain img,
.project-detail-gallery .project-image-lead.project-image-contain img { height: auto; min-height: 0; max-height: none; object-fit: contain; }
