/* Gallery feel: thin type, lots of air. Palette from the summer 2026 posters. */
:root {
  --paper: #f7f1e6; --paper-2: #efe6d6; --card: #fffdf8;
  --ink: #26332c; --ink-2: #56625a;
  --green: #3f5a45; --terra: #b8603e; --terra-2: #e7c3ad; --line: #ddd1bd;
  --radius: 14px;
  --head: "Heebo", system-ui, sans-serif;
  --serif: "Frank Ruhl Libre", Georgia, serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 18px/1.85 var(--head); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 200; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.4rem; font-weight: 300; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 32px); }
.eyebrow { font-size: .8rem; font-weight: 400; letter-spacing: .18em; color: var(--terra); margin-bottom: .9rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--green); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: 400 1rem/1 var(--head); letter-spacing: .02em; padding: 1em 1.7em; border-radius: 999px; transition: background .2s, color .2s; }
.btn:hover { background: #2f4634; }
.btn-ghost { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.btn-ghost:hover { background: rgba(63,90,69,.08); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(247,241,230,.55); }
.btn-outline:hover { background: rgba(247,241,230,.1); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; transition: background .2s; }
.icon-btn:hover { background: #2f4634; }
.icon-btn svg { width: 22px; height: 22px; }
.nav .icon-btn + .icon-btn { margin-inline-start: -14px; }
.btn-sm { padding: .65em 1.2em; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.cta-row.center { justify-content: center; }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 300; font-size: 1.15rem; letter-spacing: .02em; }
.mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--terra); color: var(--paper); font-weight: 200; font-size: 1.25rem; line-height: 1; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn):not(.icon-btn) { text-decoration: none; color: var(--ink-2); font-weight: 300; }
.nav a:not(.btn):not(.icon-btn):hover { color: var(--ink); }

.hero { padding: 64px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.lead { font-size: 1.35rem; font-weight: 200; color: var(--ink-2); margin-top: 1.4rem; line-height: 1.7; }
.hero-img { margin: 0; position: relative; }
.hero-img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: 220px 220px var(--radius) var(--radius); }
.hero-img::after { content: ""; position: absolute; inset: auto -18px -18px auto; width: 110px; height: 110px; border-radius: 50%; background: var(--terra-2); z-index: -1; }

.section { padding: 96px 0; }
.tint { background: var(--paper-2); }
.sec-head { margin-bottom: 44px; max-width: 720px; }
.sec-lead { color: var(--ink-2); margin-top: 1.2rem; font-size: 1.1rem; }
.sub-lead { font-weight: 400; margin-bottom: 1.4rem; }

.about-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.side-img { margin: 0; position: sticky; top: 100px; }
.side-img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.side-img figcaption { font-size: .85rem; color: var(--ink-2); margin-top: 10px; }
.prose h2 { margin-bottom: 1.6rem; }
.prose h3 { margin: 2.4rem 0 1rem; color: var(--green); }
.prose p { max-width: 62ch; }
.closer { font-family: var(--serif); font-weight: 300; font-size: 1.45rem; line-height: 1.6; color: var(--green); margin-top: 1.8rem; }

.journey { display: grid; gap: 88px; }
.stop { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stop:not(:has(.stop-imgs)) { grid-template-columns: minmax(0, 640px); }
.stop.full { grid-template-columns: 1fr; gap: 28px; }
.stop.full .stop-text { max-width: 640px; }
.stop .wide { all: unset; cursor: zoom-in; display: block; border-radius: var(--radius); overflow: hidden; background: #f3f0ea; }
.stop .wide img { width: 100%; height: auto; }
.stop-imgs.grid { grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stop-imgs.grid button { grid-column: span 2; aspect-ratio: 4/5; background: #f3f0ea; }
.stop-imgs.grid button.lone { grid-column: 3 / span 2; }
/* works at their own proportions, no cropping */
.stop-imgs.masonry { display: block; columns: 3; column-gap: 18px; }
.stop-imgs.masonry button { aspect-ratio: auto; width: 100%; margin-bottom: 18px; break-inside: avoid; background: transparent; box-shadow: 0 1px 0 var(--line), 0 10px 28px -16px rgba(38,51,44,.35); }
.stop-imgs.masonry img { height: auto; }
.stop.flip .stop-text { order: 2; }
.num { font-family: var(--serif); font-weight: 300; font-size: 1rem; color: var(--terra); letter-spacing: .1em; }
.stop-text h3 { margin: .4rem 0 .8rem; font-size: 1.9rem; font-weight: 200; }
.stop-text p { color: var(--ink-2); margin: 0; }
.stop-imgs { display: grid; gap: 14px; }
.stop-imgs.n2, .stop-imgs.n3 { grid-template-columns: 1fr 1fr; }
.stop-imgs button { all: unset; cursor: zoom-in; display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper); aspect-ratio: 4/3; }
.stop-imgs button:focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.stop-imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.stop-imgs button:hover img { transform: scale(1.03); }

.now { background: var(--green); color: var(--paper); text-align: center; }
.now .eyebrow { color: var(--terra-2); }
.now h2 { margin-bottom: 2rem; }
.now p { color: rgba(247,241,230,.85); text-align: right; }
blockquote { margin: 2.6rem 0; padding: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.35; color: var(--paper); text-align: center; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillars article { border-top: 1px solid var(--line); padding-top: 22px; }
.pillars h3 { margin: 6px 0 8px; }
.pillars p { color: var(--ink-2); margin: 0; }
.note { margin-top: 56px; padding: 32px 36px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); max-width: 820px; }
.note h3 { margin-bottom: .6rem; }
.note p { color: var(--ink-2); margin: 0; }

.contact { background: var(--ink); color: var(--paper); text-align: center; }
.contact .eyebrow { color: var(--terra-2); }
.contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.join-text { color: rgba(247,241,230,.8); margin-top: 1.6rem; }
.sig { margin-top: 3rem; color: rgba(247,241,230,.75); line-height: 2; }
.phone { font-size: 1.8rem; font-weight: 200; text-decoration: none; direction: ltr; unicode-bidi: isolate; display: inline-block; color: var(--paper); }

.foot { padding: 28px 0; border-top: 1px solid var(--line); font-size: .92rem; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { text-decoration: none; }


/* progress line */
#progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--terra); transform: scaleX(0); transform-origin: right; z-index: 30; }

/* quiet motion */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s cubic-bezier(.2,.6,.2,1) var(--d,0ms), transform .9s cubic-bezier(.2,.6,.2,1) var(--d,0ms); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .stop-text .num::after { content: ""; display: block; width: 0; height: 1px; background: var(--terra); margin-top: 8px; transition: width 1.1s cubic-bezier(.2,.6,.2,1) .25s; }
.motion .stop-text.in .num::after { width: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-img img { animation: ease-out-slow 2.8s cubic-bezier(.2,.6,.2,1) both; }
  .hero h1, .hero .lead, .hero .eyebrow, .hero .cta-row { animation: rise 1.1s cubic-bezier(.2,.6,.2,1) both; }
  .hero .eyebrow { animation-delay: .1s; } .hero h1 { animation-delay: .25s; } .hero .lead { animation-delay: .5s; } .hero .cta-row { animation-delay: .75s; }
}
@keyframes ease-out-slow { from { transform: scale(1.07); opacity: .0; } 25% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-img { overflow: hidden; border-radius: 220px 220px var(--radius) var(--radius); }

/* hover: the work lifts a little, its label slides in (only when the work has a title) */
.stop-imgs button { position: relative; transition: transform .5s cubic-bezier(.2,.6,.2,1), box-shadow .5s; }
@media (hover: hover) { .stop-imgs button:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(38,51,44,.5); } }
.wall-label { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(20,24,21,.62)); display: grid; gap: 2px; text-align: right; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; font-size: .95rem; line-height: 1.4; }
.wall-label b { font-weight: 400; } .wall-label i { font-style: normal; font-weight: 200; font-size: .85rem; opacity: .9; }
.stop-imgs button:hover .wall-label, .stop-imgs button:focus-visible .wall-label { opacity: 1; transform: none; }
@media (hover: none) { .wall-label { opacity: 1; transform: none; } }

/* viewer */
.viewer { touch-action: pan-y; user-select: none; -webkit-user-select: none; border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #121512; color: #f4efe6; }
.viewer::backdrop { background: #121512; }
.viewer[open] { display: grid; place-items: center; animation: v-in .5s ease both; }
@keyframes v-in { from { opacity: 0; } to { opacity: 1; } }
.v-fig { will-change: transform, opacity; margin: 0; display: grid; justify-items: center; gap: 14px; max-width: min(78vw, 1300px); pointer-events: none; }
.v-fig img { max-width: 100%; max-height: 80dvh; width: auto; height: auto; border-radius: 3px; opacity: 0; transition: opacity .45s ease; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.v-fig img.on { opacity: 1; }
.v-fig figcaption { display: grid; gap: 2px; text-align: center; min-height: 3em; }
.v-title { font-size: 1.15rem; font-weight: 300; letter-spacing: .02em; }
.v-meta { font-size: .9rem; font-weight: 200; opacity: .7; }
.v-count { position: fixed; bottom: 18px; inset-inline: 0; text-align: center; font-size: .8rem; letter-spacing: .2em; opacity: .5; direction: ltr; }
.v-close, .v-nav { position: fixed; background: none; border: 0; color: #f4efe6; cursor: pointer; opacity: .65; transition: opacity .25s; display: grid; place-items: center; }
.v-close:hover, .v-nav:hover { opacity: 1; }
.v-close svg { width: 28px; height: 28px; } .v-nav svg { width: 34px; height: 34px; }
.v-close { top: 14px; left: 14px; width: 48px; height: 48px; }
.v-nav { top: 0; bottom: 0; width: 22vw; max-width: 260px; opacity: 1; background: none; transition: background .3s; -webkit-tap-highlight-color: transparent; }
.v-nav svg { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: rgba(244,239,230,.1); opacity: .75; transition: opacity .25s, background .25s, transform .25s; }
.v-next { left: 0; justify-items: start; padding-inline: 18px; } .v-prev { right: 0; justify-items: end; padding-inline: 18px; }
.v-next:hover { background: linear-gradient(to right, rgba(244,239,230,.07), transparent); } .v-prev:hover { background: linear-gradient(to left, rgba(244,239,230,.07), transparent); }
.v-nav:hover svg { opacity: 1; background: rgba(244,239,230,.2); }
.v-next:hover svg { transform: translateX(-3px); } .v-prev:hover svg { transform: translateX(3px); }
.v-close { z-index: 2; }
.viewer :focus-visible { outline: 2px solid var(--terra-2); outline-offset: 2px; }

@media (max-width: 860px) {
  .v-nav { width: 26vw; } .v-nav svg { width: 46px; height: 46px; padding: 11px; opacity: .95; background: rgba(244,239,230,.2); }
  .v-fig img { max-height: 74dvh; }
  .v-count { bottom: 22px; }
  body { font-size: 17px; }
  .nav a:not(.btn):not(.icon-btn) { display: none; }
  .hero { padding: 28px 0 56px; }
  .hero-in, .about-in, .stop { grid-template-columns: 1fr; gap: 32px; }
  .stop:not(:has(.stop-imgs)) { grid-template-columns: 1fr; }
  .stop.flip .stop-text { order: 0; }
  .stop-imgs.masonry { columns: 2; column-gap: 12px; }
  .stop-imgs.masonry button { margin-bottom: 12px; }
  /* on a phone a featured work stands alone across the width, with air around it */
  .stop-imgs.masonry button.feature { column-span: all; display: block; margin: 36px auto 48px; width: 100%; background: transparent; box-shadow: 0 2px 0 var(--line), 0 30px 60px -34px rgba(38,51,44,.45); }
  .stop-imgs.masonry button.feature:first-child { margin-top: 8px; }
  .stop-imgs.masonry button.feature.tall { width: min(100%, 460px); }
  .stop-imgs.masonry button.feature.tall img { height: auto; width: 100%; max-height: 82vh; object-fit: contain; }
  .journey { gap: 80px; }
  .stop-imgs.grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stop-imgs.grid button, .stop-imgs.grid button.lone { grid-column: auto; }
  .stop-imgs.grid button.lone { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 4/3.4; border-radius: 130px 130px var(--radius) var(--radius); }
  .hero-img::after { display: none; }
  .section { padding: 64px 0; }
  .side-img { position: static; }
  .side-img img { aspect-ratio: 4/3; }
  .pillars { grid-template-columns: 1fr; }
  .journey { gap: 52px; }
  .note { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- the works as walls, in reading order: every row is one height, every work keeps its own proportions ---- */
.stop { display: block; }
.stop-text { max-width: 640px; margin-bottom: 36px; }
.stop-sub { font-size: .95rem; color: var(--terra); letter-spacing: .02em; margin: -.2rem 0 .8rem; }
.group { margin-top: 44px; }
.group-title { font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--green); margin: 0 0 20px; letter-spacing: 0; }
.wall { --h: 270px; display: flex; flex-wrap: wrap; gap: 16px; }
.wall::after { content: ""; flex-grow: 1000; }
.wall button { all: unset; box-sizing: border-box; cursor: zoom-in; position: relative; display: block; overflow: hidden; border-radius: 6px; background: transparent;
  flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--h)); min-width: 0;
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -20px rgba(38,51,44,.45); transition: transform .5s cubic-bezier(.2,.6,.2,1), box-shadow .5s; }
.wall button:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.wall img { display: block; width: 100%; height: auto; }
@media (hover: hover) { .wall button:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -20px rgba(38,51,44,.55); } }
.wall .wall-label { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(20,24,21,.62)); display: grid; gap: 2px; text-align: right; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; font-size: .95rem; line-height: 1.4; }
.wall button:hover .wall-label, .wall button:focus-visible .wall-label { opacity: 1; transform: none; }
@media (min-width: 861px) { .wall.row { flex-wrap: nowrap; } .wall.row::after { display: none; } }   /* a short group is one row, as in Yael's file */
.more { margin-top: 56px; }
.more-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 16px; width: 100%; font-weight: 300; letter-spacing: .04em; color: var(--ink-2); padding: 10px 0; }
.more-btn::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.more-btn i { order: 3; width: 9px; height: 9px; border-inline-end: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor; transform: rotate(45deg) translate(-3px,-3px); transition: transform .4s; }
.more-btn.is-open i { transform: rotate(225deg) translate(-3px,-3px); }
.more-btn:hover { color: var(--ink); }
.more-btn:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; }
.more-body { margin-top: 22px; }
@media (max-width: 860px) {
  .wall { --h: 170px; gap: 10px; }
  .group { margin-top: 32px; }
  .stop-text { margin-bottom: 24px; }
}
