@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600&display=swap');

:root {
  --paper: #ffffff;
  --ink: #242422;
  --muted: #62625d;
  --line: #deded9;
  --soft: #f4f4f1;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 4.75rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--ink); color: white; padding: .65rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  min-height: 156px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
}
.brand { width: 158px; height: 148px; display: grid; place-items: center; }
.brand img { width: 148px; height: 148px; object-fit: contain; }
.primary-nav { justify-self: end; }
.primary-nav ul { display: flex; gap: clamp(1.25rem, 3vw, 3.5rem); list-style: none; margin: 0; padding: 0; }
.primary-nav a, .menu-toggle {
  border: 0; background: transparent; color: var(--muted);
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
}
.primary-nav a { position: relative; padding: .5rem 0; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .1rem;
  height: 1px; background: var(--ink); transition: right .25s ease;
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav a[aria-current="page"] { color: var(--ink); }
.menu-toggle { display: none; cursor: pointer; padding: .7rem 0 .7rem 1rem; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 8.5vw, 9rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.03em;
}
.page-title {
  margin: 0;
  max-width: 950px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 7.2rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.025em;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: .98;
}
.intro { max-width: 46rem; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.button-link {
  display: inline-flex; align-items: center; gap: .85rem;
  border-bottom: 1px solid var(--ink); padding: .55rem 0 .35rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.button-link::after { content: "↗"; font-size: .95rem; transition: transform .2s ease; }
.button-link:hover::after { transform: translate(3px,-3px); }

.hero { min-height: calc(100vh - 156px); display: grid; grid-template-columns: minmax(300px,.78fr) minmax(0,1.55fr); }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(4rem,8vw,8.5rem) var(--pad) 3rem; }
.hero-copy .lede { max-width: 27rem; margin: 2rem 0; color: var(--muted); }
.hero-actions { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-media { position: relative; min-height: 620px; overflow: hidden; background: var(--soft); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.caption {
  display: flex; justify-content: space-between; gap: 1rem;
  margin: .7rem 0 0; color: var(--muted); font-size: .67rem; letter-spacing: .06em;
}
.hero-media .caption {
  position: absolute; right: 1rem; bottom: 1rem; left: 1rem; margin: 0;
  padding: .55rem .7rem; background: rgba(255,255,255,.88); backdrop-filter: blur(8px);
}

.manifesto { padding: clamp(7rem,14vw,15rem) var(--pad); }
.manifesto p {
  max-width: 1150px; margin: 0;
  font-family: var(--serif); font-size: clamp(2.8rem,6.2vw,6.7rem); line-height: .98;
}
.manifesto p em { color: var(--muted); font-style: italic; }

.selected-work { padding: 0 var(--pad) clamp(7rem,12vw,12rem); }
.section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 2rem;
  margin-bottom: clamp(2.5rem,5vw,5rem); padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.work-feature { display: grid; grid-template-columns: 1.4fr .75fr; gap: clamp(2rem,6vw,7rem); align-items: start; }
.work-feature + .work-feature { margin-top: clamp(7rem,13vw,14rem); }
.work-feature.reverse { grid-template-columns: .72fr 1.3fr; }
.work-feature.reverse .work-text { order: -1; }
.work-image { overflow: hidden; background: var(--soft); }
.work-image img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.work-image:hover img { transform: scale(1.012); }
.work-text { padding-top: 1rem; }
.work-number { color: var(--muted); font-size: .68rem; letter-spacing: .16em; }
.work-text h3 { margin: 1.8rem 0 1rem; font-family: var(--serif); font-size: clamp(2.6rem,4vw,4.6rem); line-height: 1; font-weight: 400; }
.work-text p { max-width: 30rem; color: var(--muted); }

.architecture-band {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; background: var(--ink); color: white;
}
.architecture-band img { width: 100%; height: 100%; object-fit: cover; }
.architecture-copy { display: flex; flex-direction: column; justify-content: center; padding: var(--pad); }
.architecture-copy .eyebrow, .architecture-copy p { color: #c8c8c2; }
.architecture-copy h2 { margin: 0 0 2rem; font-family: var(--serif); font-weight: 400; font-size: clamp(3.4rem,6vw,6.5rem); line-height: .95; }
.architecture-copy p { max-width: 34rem; }
.architecture-copy .button-link { align-self: flex-start; margin-top: 2rem; border-color: white; }

.page-intro { padding: clamp(5rem,10vw,10rem) var(--pad) clamp(4rem,8vw,8rem); }
.page-intro .intro { margin: 2rem 0 0 auto; }
.filters {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 1.7rem; overflow-x: auto;
  padding: 1rem var(--pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
}
.filter {
  flex: 0 0 auto; border: 0; border-bottom: 1px solid transparent; background: transparent;
  padding: .5rem 0; color: var(--muted); cursor: pointer;
  font-size: .68rem; letter-spacing: .13em; text-transform: uppercase;
}
.filter[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(2rem,5vw,6rem) clamp(1rem,2.2vw,2.5rem);
  padding: clamp(4rem,7vw,8rem) var(--pad) clamp(8rem,12vw,12rem);
}
.art-card { grid-column: span 4; border: 0; background: transparent; padding: 0; text-align: left; color: inherit; cursor: zoom-in; }
.art-card.wide { grid-column: span 8; }
.art-card.tall { grid-column: span 4; }
.art-card[hidden] { display: none; }
.art-card .visual { overflow: hidden; background: var(--soft); }
.art-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.art-card.wide img { aspect-ratio: 16/10; }
.art-card:hover img { transform: scale(1.02); }
.art-card .caption { padding-top: .2rem; }

.art-dialog { width: min(1220px,96vw); height: min(900px,94vh); border: 0; padding: 0; background: white; color: var(--ink); }
.art-dialog::backdrop { background: rgba(20,20,18,.72); backdrop-filter: blur(5px); }
.dialog-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
}
.dialog-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: var(--soft);
  overflow: hidden;
}
.dialog-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.dialog-copy { display: flex; flex-direction: column; padding: clamp(1.5rem,3vw,3rem); }
.dialog-copy h2 { margin: auto 0 1rem; font-family: var(--serif); font-size: clamp(2.4rem,4vw,4.2rem); line-height: 1; font-weight: 400; }
.dialog-copy p { color: var(--muted); }
.dialog-close { align-self: flex-end; border: 0; background: transparent; padding: .5rem; cursor: pointer; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }

.artist-grid { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 720px; }
.artist-grid figure { margin: 0; background: var(--soft); }
.artist-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.artist-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem,8vw,9rem) var(--pad); }
.artist-copy h2 { margin: 0 0 2rem; font-family: var(--serif); font-size: clamp(3.4rem,5.8vw,6.2rem); font-weight: 400; line-height: .96; }
.artist-copy p { max-width: 38rem; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(3,1fr); padding: clamp(6rem,11vw,12rem) var(--pad); }
.principle { padding: 2rem clamp(1rem,3vw,3rem); border-left: 1px solid var(--line); }
.principle:first-child { padding-left: 0; border-left: 0; }
.principle span { color: var(--muted); font-size: .68rem; letter-spacing: .15em; }
.principle h3 { margin: 5rem 0 1rem; font-family: var(--serif); font-size: clamp(2.2rem,3.5vw,4rem); font-weight: 400; line-height: 1; }
.principle p { color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 156px); }
.contact-copy { padding: clamp(5rem,9vw,9rem) var(--pad); }
.contact-copy .page-title { max-width: 700px; }
.contact-copy .intro { margin-top: 2rem; }
.contact-aside { display: flex; flex-direction: column; justify-content: center; padding: var(--pad); background: var(--soft); }
.contact-form { display: grid; gap: 1.6rem; margin-top: 2rem; }
.field { display: grid; gap: .45rem; }
.field label { color: var(--muted); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #aaa9a3; border-radius: 0; background: transparent; padding: .75rem 0; color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.form-button { justify-self: start; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .65rem 0 .4rem; cursor: pointer; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.form-status { min-height: 1.5rem; color: var(--muted); font-size: .82rem; }
.prelaunch-note { border-top: 1px solid #c7c7c2; margin-top: 3rem; padding-top: 1.2rem; color: var(--muted); font-size: .75rem; }

.site-footer { padding: clamp(4rem,7vw,7rem) var(--pad) 2rem; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 2rem; margin-bottom: 6rem; }
.footer-main h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem,5vw,5.5rem); line-height: .95; font-weight: 400; }
.footer-list { list-style: none; margin: 0; padding: 0; color: var(--muted); }
.footer-list a:hover { color: var(--ink); }
.footer-meta { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
.js .reveal { opacity: 0; transform: translateY(24px); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 130px 1fr auto; min-height: 128px; }
  .brand, .brand img { width: 122px; height: 122px; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: 128px 0 0; display: none; justify-self: stretch;
    background: white; padding: 4rem var(--pad);
  }
  .menu-open .primary-nav { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .primary-nav a { font-family: var(--serif); font-size: 2.7rem; letter-spacing: 0; text-transform: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 580px; padding-top: 5rem; }
  .hero-media { min-height: 62vw; }
  .work-feature, .work-feature.reverse { grid-template-columns: 1fr; }
  .work-feature.reverse .work-text { order: initial; }
  .architecture-band, .artist-grid, .contact-layout { grid-template-columns: 1fr; }
  .architecture-band img { min-height: 70vw; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle:first-child { padding: 2.2rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .principle h3 { margin-top: 2rem; }
  .art-card, .art-card.wide, .art-card.tall { grid-column: span 6; }
  .dialog-inner { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .dialog-copy { max-height: 38vh; overflow-y: auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main h2 { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .site-header { min-height: 112px; }
  .brand, .brand img { width: 104px; height: 104px; }
  .primary-nav { inset-block-start: 112px; }
  .display { font-size: clamp(3.35rem,18vw,5.4rem); }
  .hero-copy { min-height: 560px; }
  .hero-media { min-height: 74vw; }
  .manifesto { padding-block: 7rem; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .portfolio-grid { display: block; }
  .art-card { display: block; width: 100%; margin-bottom: 4rem; }
  .filters { top: 0; }
  .caption { flex-direction: column; gap: .1rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main h2 { grid-column: auto; }
  .footer-meta { flex-direction: column; }
}

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