/* ============================================================
   Presley Fine Arts — Brand Stylesheet
   Contemporary Art Gallery · Brooklyn, New York
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color palette (from brand guide) */
  --gallery-white: #ffffff;
  --warm-paper: #ffffff;
  --cream: #ffffff;
  --stone: #d8d0c5;
  --stone-soft: #e4ddd1;
  --graphite: #2a2622;
  --ink: #14110e;
  --terracotta: #c0552f;
  --terracotta-soft: #d97e5c;
  --slate: #54605a;
  --slate-blue: #4f5d63;

  /* Semantic */
  --bg: var(--gallery-white);
  --text: var(--graphite);
  --muted: #7a7166;
  --hairline: #d9d2c6;
  --hairline-strong: #c7bfb1;

  /* Type */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--font);
  --sans: var(--font);
  --script: var(--font);

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;

  /* Letter spacing for the editorial label style */
  --tracking-label: 0.22em;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-page="join"] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 18px;
}
body[data-page="join"] .landing { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.serif { font-family: var(--serif); }
.script { font-family: var(--script); }

.label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--muted);
}
.label--ink { color: var(--graphite); }
.label--accent { color: var(--terracotta); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--graphite);
  margin-bottom: 26px;
}
.eyebrow::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--hairline-strong);
}

.lede { color: #5f574c; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(54px, 7vw, 96px); }
.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }

/* ---------- Buttons / links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid var(--graphite);
  background: transparent;
  color: var(--graphite);
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--graphite); color: var(--gallery-white); }
.btn--solid { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn--solid:hover { background: var(--graphite); border-color: var(--graphite); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
}
.arrow-link .arw { transition: transform .25s ease; }
.arrow-link:hover .arw { transform: translateX(6px); }
.arrow-link:hover { color: var(--terracotta); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-block: 16px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--graphite);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-links a.is-active { border-color: var(--terracotta); color: var(--terracotta); }
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}
.nav-addr {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-cta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 3px;
}
.nav-cta:hover { color: var(--terracotta); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--graphite); margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(460px, 64vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--graphite);
}
.hero__media { position: absolute; inset: 0; }
.hero__media svg, .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: blur(1.2px) saturate(0.9) contrast(1.03);
  transform: scale(1.03);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(20,17,14,.62) 0%, rgba(20,17,14,.28) 42%, rgba(20,17,14,0) 70%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__loc {
  color: rgba(255,255,255,.82);
  font-size: 0.7rem; letter-spacing: var(--tracking-label); text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__title {
  color: var(--gallery-white);
  font-size: clamp(3.4rem, 9vw, 7rem);
  line-height: 0.92;
}
.hero__divider { width: 64px; height: 2px; background: var(--terracotta); margin: 28px 0 16px; }
.hero__sub {
  color: rgba(255,255,255,.86);
  font-size: 0.78rem; letter-spacing: var(--tracking-label); text-transform: uppercase;
}

/* ============================================================
   NOW ON VIEW
   ============================================================ */
#now-on-view .wrap.nowview {
  max-width: 1380px;
}
.nowview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(24px, 3vw, 44px);
  row-gap: clamp(18px, 2.5vw, 32px);
  align-items: start;
}
.nowview-spot { display: contents; }
.nowview-spot:nth-child(1) .nowview-spot__header { grid-column: 1; grid-row: 1; }
.nowview-spot:nth-child(1) .nowview-spot__content { grid-column: 1; grid-row: 2; }
.nowview-spot:nth-child(2) .nowview-spot__header { grid-column: 2; grid-row: 1; }
.nowview-spot:nth-child(2) .nowview-spot__content { grid-column: 2; grid-row: 2; }
.nowview-spot__header {
  min-width: 0;
  padding-right: 4px;
}
.nowview-spot__content {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
  min-width: 0;
}
.nowview-spot__copy { min-width: 0; overflow: visible; }
.nowview-spot .eyebrow { font-size: 0.88rem; margin-bottom: 20px; }
.nowview-spot .nowview__title {
  font-size: clamp(2.35rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.nowview__title { font-size: clamp(2.2rem, 3.6vw, 3.1rem); margin-bottom: 18px; }
.nowview-spot .nowview__artist {
  font-size: 1.05rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: none;
  margin-bottom: 0;
}
.nowview__artist {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 6px;
}
.nowview__dates {
  font-size: 0.74rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 22px;
}
.nowview__body { font-size: 0.95rem; color: #5f574c; margin-bottom: 30px; max-width: 34ch; }
.nowview-spot .nowview__body {
  max-width: none;
  font-size: 1.22rem;
  line-height: 1.55;
  margin-bottom: 28px;
}
.nowview-spot .btn {
  font-size: 0.78rem;
  padding: 16px 28px;
}

.artframe {
  position: relative;
  background: var(--warm-paper);
  padding: 14px;
  box-shadow: 0 24px 50px -34px rgba(20,17,14,.5);
}
.artframe svg, .artframe img { width: 100%; height: auto; }
.nowview-spot .artframe {
  padding: 10px;
  min-height: 340px;
  align-self: start;
}
.nowview-spot .artframe img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center top;
}

.note {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--hairline);
  padding: 30px 26px;
  box-shadow: 0 18px 40px -30px rgba(20,17,14,.45);
  margin-top: 8px;
  /* torn paper feel */
  clip-path: polygon(0 2%, 6% 0, 22% 3%, 40% 0, 62% 3%, 84% 0, 100% 2%, 100% 100%, 0 100%);
}
.note__tape {
  position: absolute; top: -14px; right: 26px;
  width: 58px; height: 26px; background: var(--terracotta);
  transform: rotate(4deg); opacity: .92;
}
.note__quote {
  font-family: var(--script);
  font-size: 1.9rem;
  line-height: 1.15;
  color: var(--graphite);
}
.note__sig { font-family: var(--script); font-size: 1.2rem; color: var(--muted); margin-top: 8px; }
.upcoming { margin-top: 30px; }
.upcoming .label { display: block; margin-bottom: 10px; }
.upcoming__name { font-family: var(--serif); font-size: 1.2rem; }
.upcoming__meta { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   TRIPTYCH (catalogue / featured artists / director)
   ============================================================ */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.tcol__head {
  font-size: 0.7rem; font-weight: 600; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--graphite); padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--hairline);
}
.tcol p { font-size: 0.9rem; color: #5f574c; }

.bookshot {
  background: var(--warm-paper);
  padding: 26px;
  display: flex; justify-content: center;
  margin-bottom: 20px;
}
.bookshot svg, .bookshot img { width: 70%; filter: drop-shadow(0 18px 26px rgba(20,17,14,.28)); }

.faces { display: flex; gap: 14px; margin-bottom: 18px; }
.face { flex: 1; }
.face .portrait { width: 100%; aspect-ratio: 1/1.12; overflow: hidden; background: var(--stone); }
.face .portrait svg, .face .portrait img { width: 100%; height: 100%; object-fit: cover; }
.face__name { font-family: var(--serif); font-size: 0.92rem; margin-top: 10px; }

.quote-block {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.42;
  color: var(--graphite);
  margin-bottom: 18px;
}
.director {
  display: grid; grid-template-columns: 1fr 0.7fr; gap: 18px; align-items: start;
}
.director__sig { font-family: var(--script); font-size: 1.5rem; color: var(--graphite); }
.director__role { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 4px 0 18px; }
.director__photo { aspect-ratio: 3/3.6; overflow: hidden; background: var(--stone); }
.director__photo svg, .director__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   VISIT
   ============================================================ */
.visit {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(26px, 3vw, 48px);
  align-items: stretch;
}
.visit__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.visit__mosaic .tile { overflow: hidden; background: var(--stone); }
.visit__mosaic .tile svg, .visit__mosaic .tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--tall { grid-row: span 2; }
.tile--accent { background: var(--terracotta); display: flex; align-items: flex-end; padding: 14px; }
.tile--accent span {
  color: #fff; font-family: var(--serif); font-size: 1.1rem; line-height: 1.1; letter-spacing: 0.04em;
}
.visit__info h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 6px; }
.visit__addr { font-size: 0.92rem; color: #5f574c; margin-bottom: 22px; }
.visit__hours { font-size: 0.9rem; color: #5f574c; margin-bottom: 24px; }
.visit__photo { overflow: hidden; background: var(--stone); }
.visit__photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.map { background: var(--cream); border: 1px solid var(--hairline); overflow: hidden; }
.map svg { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding-block: 30px;
}
.footer-copy { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }
.footer-nav { display: flex; gap: 28px; justify-content: flex-end; }
.footer-nav a { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.footer-nav a:hover { color: var(--terracotta); }
.footer-swatch { position: absolute; right: 0; bottom: 0; width: 120px; height: 36px; background: var(--slate-blue); transform: rotate(-2deg) translate(20px, 8px); }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.page-head { padding-block: clamp(46px, 6vw, 84px) clamp(20px, 3vw, 34px); }
.page-head__title { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-head__sub { color: #5f574c; max-width: 56ch; margin-top: 18px; font-size: 1rem; }

/* ---------- Artists grid ---------- */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
.artist-card { display: block; }
.artist-card .portrait {
  aspect-ratio: 1/1.18; overflow: hidden; background: var(--stone); margin-bottom: 16px;
  transition: transform .4s ease;
}
.artist-card .portrait svg, .artist-card .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.artist-card:hover .portrait svg, .artist-card:hover .portrait img { transform: scale(1.04); }
.artist-card__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.05; }
.artist-card__meta { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.artist-card__disc { font-size: 0.92rem; color: #5f574c; margin-top: 10px; }

/* ---------- Artist detail ---------- */
.detail-hero { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.detail-hero .portrait { background: var(--stone); overflow: hidden; }
.detail-hero .portrait svg, .detail-hero .portrait img { width: 100%; height: auto; }
.detail-name { font-size: clamp(2.6rem, 5vw, 4rem); line-height: 0.98; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0 28px; }
.detail-meta div .label { display: block; margin-bottom: 4px; }
.detail-meta div p { margin: 0; font-size: 0.95rem; }
.detail-bio p { font-size: 1rem; color: #4f4840; max-width: 58ch; }

.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 38px);
}
.works-grid .artframe,
.works-grid .work__frame {
  background: #ffffff;
}
.works-grid .artframe img,
.works-grid .work__frame img {
  background: #ffffff;
}
.work figure { margin: 0; }
.work .artframe { padding: 12px; margin-bottom: 14px; background: #ffffff; }
.work__title { font-family: var(--serif); font-style: italic; font-size: 1.02rem; }
.work__meta { font-size: 0.82rem; color: var(--muted); }

/* ---------- Associated catalogue (artist detail bottom) ---------- */
.assoc-cat {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.assoc-cat__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.assoc-cat .bookshot { background: transparent; padding: 0; }
.assoc-cat .bookshot svg, .assoc-cat .bookshot img { width: 78%; }
.assoc-cat__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 10px 0 6px; }
.assoc-cat__by { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.assoc-cat__desc { color: #4f4840; max-width: 52ch; margin-bottom: 22px; }
.assoc-cat__specs { display: flex; gap: 30px; margin-bottom: 28px; }
.assoc-cat__specs .label { display:block; margin-bottom: 4px; }
.assoc-cat__specs p { margin: 0; font-size: 0.95rem; }

/* ---------- Catalogue page ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.cat-item .bookshot { background: var(--warm-paper); padding: 34px 30px; margin-bottom: 18px; }
.cat-item .bookshot svg, .cat-item .bookshot img { width: 72%; }
.cat-item__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.08; }
.cat-item__by { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 8px 0; }
.cat-item__meta { font-size: 0.86rem; color: #5f574c; display: flex; justify-content: space-between; align-items: baseline; }
.cat-item__price { font-family: var(--serif); font-size: 1.05rem; color: var(--graphite); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.contact-block { margin-bottom: 34px; }
.contact-block h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.contact-block p { font-size: 0.96rem; color: #5f574c; margin: 0; }
.contact-block a.inline { border-bottom: 1px solid var(--terracotta); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 0.95rem; color: var(--graphite);
  background: #fff; border: 1px solid var(--hairline-strong); padding: 13px 14px; border-radius: var(--radius);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: 0.8rem; color: var(--muted); }
.form-success {
  display: none; background: var(--cream); border: 1px solid var(--hairline); padding: 18px 20px;
  font-size: 0.92rem; color: var(--graphite);
}
.form-success.show { display: block; }

/* Newsletter strip */
.newsletter { background: var(--graphite); color: var(--gallery-white); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.newsletter h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); }
.newsletter p { color: rgba(255,255,255,.74); max-width: 40ch; }
.newsletter form { display: flex; gap: 0; border-bottom: 1px solid rgba(255,255,255,.4); }
.newsletter input {
  flex: 1; background: transparent; border: 0; color: #fff; padding: 14px 4px; font-size: 0.95rem;
}
.newsletter input::placeholder { color: rgba(255,255,255,.5); }
.newsletter input:focus { outline: none; }
.newsletter button {
  background: transparent; border: 0; color: var(--terracotta-soft); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.74rem;
}

/* ---------- Misc ---------- */
.breadcrumb { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--terracotta); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.section--tight { padding-block: clamp(34px, 4vw, 56px); }

/* QR / mailing list landing */
.site-header--minimal { border-bottom: 1px solid var(--hairline); }
.nav--minimal { grid-template-columns: 1fr; justify-items: start; padding-block: 24px; }
body[data-page="join"] .nav--minimal .brand-logo {
  height: clamp(96px, 22vw, 120px);
  max-width: none;
}
.landing__hero { padding-block: clamp(48px, 10vw, 96px); }
.landing__inner { max-width: 580px; margin-inline: auto; }
body[data-page="join"] .landing__hero { padding-block: clamp(56px, 11vw, 104px); }
body[data-page="join"] .eyebrow {
  font-size: 0.82rem;
  margin-bottom: 32px;
}
body[data-page="join"] .eyebrow::after { width: 56px; }
.landing__title {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  margin-bottom: 28px;
}
body[data-page="join"] .landing__title {
  font-size: clamp(2.85rem, 8.5vw, 4.1rem);
  margin-bottom: 32px;
}
.landing__copy {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.65;
  color: #5f574c;
  margin-bottom: 36px;
}
body[data-page="join"] .landing__copy {
  font-size: clamp(1.22rem, 3.2vw, 1.48rem);
  line-height: 1.62;
  margin-bottom: 40px;
}
.landing__copy p { margin-bottom: 1em; }
.landing__copy p:last-child { margin-bottom: 0; }
.landing__link {
  color: var(--graphite);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.landing__link:hover { color: var(--terracotta); }
.landing__social { max-width: 42ch; }
body[data-page="join"] .landing__social { max-width: none; }
.landing__form { margin-top: 8px; }
body[data-page="join"] .landing__form { gap: 22px; margin-top: 12px; }
body[data-page="join"] .landing__form .field { gap: 10px; }
body[data-page="join"] .landing__form .field label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}
body[data-page="join"] .landing__form .field input {
  font-size: 1.1rem;
  padding: 16px 18px;
}
body[data-page="join"] .landing__form .btn {
  font-size: 0.82rem;
  padding: 18px 32px;
  margin-top: 4px;
}
body[data-page="join"] .landing__form .form__note {
  font-size: 0.95rem;
}
body[data-page="join"] .landing__form .form-success {
  font-size: 1.05rem;
  padding: 20px 22px;
}
body[data-page="join"] .site-footer--minimal {
  padding-block: 28px;
}
body[data-page="join"] .site-footer--minimal .footer-copy,
body[data-page="join"] .site-footer--minimal .footer-nav a {
  font-size: 0.88rem;
}
.landing__optional {
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}
.site-footer--minimal { margin-top: auto; }

/* reveal animation */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .nowview {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 48px;
  }
  .nowview-spot:nth-child(1) .nowview-spot__header,
  .nowview-spot:nth-child(2) .nowview-spot__header,
  .nowview-spot:nth-child(1) .nowview-spot__content,
  .nowview-spot:nth-child(2) .nowview-spot__content {
    grid-column: 1;
    grid-row: auto;
  }
  .nowview-spot__content { grid-template-columns: 0.72fr 1.28fr; }
  .nowview-spot .artframe { min-height: 300px; }
  .nowview-spot .artframe img { min-height: 280px; }
  .nowview .note-wrap { grid-column: 1 / -1; }
  .triptych { grid-template-columns: 1fr; gap: 48px; }
  .visit { grid-template-columns: 1fr; }
  .director { grid-template-columns: 1fr 0.5fr; }
}
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    background: var(--gallery-white); border-bottom: 1px solid var(--hairline);
    flex-direction: column; align-items: center; gap: 22px; padding: 28px 0;
    transform: translateY(-130%); transition: transform .35s ease; z-index: 40;
  }
  .nav-links.open { transform: none; }
  .nav-right { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .nowview { grid-template-columns: 1fr; }
  .nowview-spot:nth-child(1) .nowview-spot__header,
  .nowview-spot:nth-child(2) .nowview-spot__header,
  .nowview-spot:nth-child(1) .nowview-spot__content,
  .nowview-spot:nth-child(2) .nowview-spot__content {
    grid-column: 1;
    grid-row: auto;
  }
  .nowview-spot__content { grid-template-columns: 1fr; }
  .nowview-spot .artframe { min-height: 0; }
  .nowview-spot .artframe img { min-height: 0; height: auto; }
  .detail-hero { grid-template-columns: 1fr; }
  .artist-grid, .cat-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  .assoc-cat__inner, .contact-grid, .newsletter__inner { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .footer-nav { flex-wrap: wrap; }
}
@media (max-width: 540px) {
  .artist-grid, .cat-grid, .works-grid, .faces { grid-template-columns: 1fr; }
  .faces { flex-direction: row; }
  .detail-meta { gap: 18px; }
}

/* ---------- About intro (homepage) ---------- */
.about-intro__inner { max-width: 72ch; }
.about-intro__lead {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--graphite);
  margin: 0.75em 0 0;
}
.about-intro__mission {
  font-size: 1rem;
  line-height: 1.65;
  color: #5f574c;
  margin: 1.25em 0 0;
  max-width: 65ch;
}

/* ============================================================
   HOMEPAGE TYPE SCALE
   ============================================================ */
body[data-page="home"] .nav-links a { font-size: 0.82rem; }
body[data-page="home"] .brand-mark { flex-shrink: 0; }
body[data-page="home"] .brand-logo,
.brand-logo--home {
  height: 140px;
  width: auto;
  max-width: none;
}
body[data-page="home"] .nav { padding-block: 22px; }
@media (max-width: 860px) {
  body[data-page="home"] .brand-logo,
  .brand-logo--home { height: 108px; }
  body[data-page="home"] .nav { padding-block: 16px; }
}
body[data-page="home"] .nav-addr { font-size: 0.76rem; }
body[data-page="home"] .nav-cta { font-size: 0.82rem; }
body[data-page="home"] .hero__loc { font-size: 0.82rem; }
body[data-page="home"] .hero__title { font-size: clamp(3.6rem, 9.5vw, 7.5rem); }
body[data-page="home"] .hero__sub { font-size: 0.92rem; }
body[data-page="home"] .eyebrow { font-size: 0.85rem; }
body[data-page="home"] .nowview-spot .eyebrow { font-size: 1rem; }
body[data-page="home"] .nowview-spot .nowview__title {
  font-size: clamp(2.6rem, 3.8vw, 3.65rem);
}
body[data-page="home"] .nowview-spot .nowview__artist { font-size: 1.18rem; }
body[data-page="home"] .nowview-spot .nowview__body {
  font-size: 1.35rem;
  line-height: 1.58;
}
body[data-page="home"] .nowview-spot .btn {
  font-size: 0.88rem;
  padding: 17px 30px;
}
body[data-page="home"] .about-intro__lead {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
}
body[data-page="home"] .about-intro__mission { font-size: 1.15rem; }
body[data-page="home"] .visit__info h3 { font-size: 1.75rem; }
body[data-page="home"] .visit__addr { font-size: 1.05rem; }
body[data-page="home"] .visit__hours { font-size: 1.02rem; }
body[data-page="home"] .arrow-link { font-size: 0.85rem; }
body[data-page="home"] .footer-copy { font-size: 0.82rem; }
body[data-page="home"] .footer-nav a { font-size: 0.8rem; }

.work--real .work__frame { padding: 12px; margin-bottom: 0; background: #ffffff; }
.work--real .work__frame img { width: 100%; height: auto; display: block; object-fit: contain; background: #ffffff; }
.work--real .work__link { color: inherit; text-decoration: none; display: block; }
.work--real .work__link:hover .work__title { color: var(--terracotta); }
.work--real .work__price { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.works-view-all { margin-top: 2em; }

/* ---------- Works catalog (catalogue page) ---------- */
.works-filters { margin-bottom: clamp(28px, 4vw, 48px); }
.works-filters__row {
  display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-end; justify-content: space-between;
}
.works-filters__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  font: inherit; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--hairline); background: transparent;
  color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.filter-btn:hover, .filter-btn.is-active {
  color: var(--graphite); border-color: var(--graphite); background: var(--cream);
}
.works-filters__artist select {
  font: inherit; font-size: 0.88rem; padding: 10px 12px; border: 1px solid var(--hairline);
  background: var(--gallery-white); min-width: 200px;
}
.works-filters__count { font-size: 0.82rem; color: var(--muted); margin: 14px 0 0; }

.works-catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px);
}
.work-card { display: flex; flex-direction: column; }
.work-card__link { color: inherit; text-decoration: none; display: block; flex: 1; }
.work-card__img {
  aspect-ratio: 4/5; overflow: hidden; background: #ffffff;
  border: 1px solid var(--hairline); margin-bottom: 16px;
}
.work-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; background: #ffffff; }
.work-card__artist { display: block; margin-bottom: 8px; }
.work-card__title { font-size: 1.25rem; line-height: 1.2; font-style: italic; margin: 0 0 8px; }
.work-card__meta { font-size: 0.82rem; color: #5f574c; margin: 0 0 10px; line-height: 1.5; }
.work-card__price { font-size: 0.88rem; color: var(--muted); margin: 0; }
.work-card__inquire {
  display: inline-block; margin-top: 14px; font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terracotta); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit;
}
.work-card__inquire:hover { text-decoration: underline; }

/* ---------- Inquiry modal ---------- */
.inquiry-modal {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.inquiry-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.inquiry-modal__backdrop {
  position: absolute; inset: 0; background: rgba(28, 24, 20, .42);
}
.inquiry-modal__panel {
  position: relative; width: min(100%, 480px); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--gallery-white); border: 1px solid var(--hairline); padding: 28px 28px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.inquiry-modal__close {
  position: absolute; top: 12px; right: 14px; border: 0; background: transparent;
  font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer;
}
.inquiry-modal__close:hover { color: var(--graphite); }
.inquiry-modal__context { margin: 0 0 10px; }
.inquiry-modal__title { font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.1; margin: 0 0 20px; font-style: italic; }
body.inquiry-open { overflow: hidden; }
.work-detail__actions .btn { width: 100%; max-width: 280px; justify-content: center; }

/* ---------- Work detail ---------- */
.work-detail {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start;
}
.work-detail__img {
  background: #ffffff; border: 1px solid var(--hairline); padding: 16px;
}
.work-detail__img img { width: 100%; height: auto; display: block; object-fit: contain; background: #ffffff; }
.work-detail__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 12px 0 16px; font-style: italic; }
.work-detail__meta { font-size: 0.95rem; color: #5f574c; margin: 0 0 16px; line-height: 1.55; }
.work-detail__price { font-size: 1rem; color: var(--muted); margin: 0 0 24px; }
.work-detail__desc p { font-size: 0.98rem; line-height: 1.65; color: #4f4840; max-width: 52ch; }
.work-detail__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.shopify-buy-mount { width: 100%; max-width: 280px; min-height: 48px; }
.shopify-buy-mount .shopify-buy__btn {
  width: 100% !important;
  max-width: 280px !important;
}
.work-detail__artist-link { margin-top: 20px; }
.btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--hairline);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--warm-paper); }

@media (max-width: 900px) {
  .works-catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .work-detail { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .works-catalog-grid { grid-template-columns: 1fr; }
  .works-filters__cats { gap: 6px; }
  .filter-btn { padding: 8px 10px; font-size: 0.65rem; }
}

.muted-note {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  padding: 1.5em 0;
}
