/* Roosevelt Washington — rooseveltwashington.art
   One idea: the art is the only color on the page. */

:root {
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --bone: #D4D0C8;
  --stone: #A3A3A3;
  --dim: #7A7A7A;
  --gold: #C9A34E;
  --green: #2E5A44;
  --clay: #9C4A2A;
  --rule: rgba(255, 255, 255, 0.14);
  --rule-strong: rgba(255, 255, 255, 0.30);
  --gutter: 48px;
  --section: 96px;
  --mat: 14px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); }
body {
  font-family: var(--font);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
button, input, select, textarea { font-family: var(--font); }

/* Type scale */
.display { font-size: 96px; font-weight: 300; line-height: 0.95; letter-spacing: -0.035em; }
.display-sm { font-size: 88px; font-weight: 300; line-height: 0.98; letter-spacing: -0.035em; }
.headline { font-size: 56px; font-weight: 300; line-height: 1.05; letter-spacing: -0.025em; }
.statement { font-size: 40px; font-weight: 300; line-height: 1.22; letter-spacing: -0.015em; }
.lede { font-size: 20px; font-weight: 300; line-height: 1.5; color: var(--bone); }
.body { font-size: 17px; line-height: 1.6; color: var(--bone); }
.label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.label-gold { color: var(--gold); }
.label-stone { color: var(--stone); }
.work-title { font-size: 28px; font-weight: 400; letter-spacing: -0.01em; color: var(--white); }
.num { font-size: 13px; letter-spacing: 0.18em; color: var(--gold); }

/* Layout */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.rule-b { border-bottom: 1px solid var(--rule); }
.rule-t { border-top: 1px solid var(--rule); }
.rule-t-strong { border-top: 1px solid var(--rule-strong); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; }

/* Header */
.site-header {
  padding: 28px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  border-bottom: 1px solid var(--rule);
}
.wordmark { font-size: 14px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 40px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.nav a { padding: 12px 0; }
body[data-page="home"] .nav a[data-page="home"],
body[data-page="shop"] .nav a[data-page="shop"],
body[data-page="about"] .nav a[data-page="about"],
body[data-page="contact"] .nav a[data-page="contact"] { color: var(--gold); }
.cart-count {
  display: inline-flex; min-width: 22px; height: 22px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.4); font-size: 11px; letter-spacing: 0; margin-left: 10px;
}

/* Split hero: the artist on one side, the words on the other */
.section-sm { padding-top: 72px; padding-bottom: 72px; }
.hero-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-copy { grid-column: 1 / span 6; display: flex; flex-direction: column; gap: 24px; padding-right: 24px; }
.hero-copy .lede { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; padding-top: 8px; }
.hero-photo { grid-column: 8 / span 5; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.hero-photo img { width: 100%; height: 620px; object-fit: cover; object-position: center 20%; }
.hero-split .hero-photo:first-child { grid-column: 1 / span 5; }
.hero-split .hero-photo:first-child + .hero-copy { grid-column: 7 / span 6; padding-right: 0; }

/* Compact print grid and card */
.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; align-items: start; }
.card { display: flex; flex-direction: column; gap: 16px; }
.card-image { display: block; }
.card-image .mat-sm { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 12px; }
.card-image img { width: 100%; height: 100%; object-fit: contain; }
.card-image:hover .mat-sm { background: var(--gold); }
.card-caption { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px 14px; align-items: baseline; font-size: 14px; color: var(--bone); }
.card-caption .work-title { font-size: 22px; }
.card-caption .card-meta { grid-column: 2; }
.card-caption .link-u { grid-column: 3; justify-self: end; font-size: 12px; }

/* Shop header */
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 64px; padding-top: 72px; padding-bottom: 48px; }
.shop-artist { display: flex; flex-direction: column; gap: 12px; width: 220px; }
.shop-artist img { width: 220px; height: 220px; object-fit: cover; object-position: center 25%; }
.filter-bar { gap: 8px 32px; }

/* Print page */
.print-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; padding-top: 32px; padding-bottom: 72px; }
.print-media { grid-column: 1 / span 7; }
.print-panel { grid-column: 9 / span 4; position: sticky; top: 24px; display: flex; flex-direction: column; gap: 24px; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; text-align: left; }
.zoom img { width: 100%; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.thumb { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.thumb img { width: 100%; }
.thumb .zoom img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.thumb .label { font-size: 11px; }

/* Lightbox: click a work to see it full size */
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,0.96); display: none; align-items: center; justify-content: center; padding: 40px; z-index: 50; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; background: #fff; padding: 12px; }
.lightbox-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; color: var(--bone); font-size: 15px; cursor: default; }
.lightbox-title { font-size: 22px; color: var(--white); }
.lightbox-buy { min-height: 48px; padding: 0 28px; }
.lightbox-close { position: absolute; top: 20px; right: 24px; min-width: 44px; min-height: 44px; background: transparent; border: 0; color: #fff; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }

/* Share */
.share-btn { background: transparent; border: 0; padding: 0 0 4px; color: var(--white); cursor: pointer; font-family: var(--font); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.share-btn:hover { color: var(--gold); }
.footer-links .social .share-btn { color: var(--stone); margin-left: 32px; border: 0; }
.footer-links .social .share-btn:hover { color: var(--gold); }
.share-menu { position: fixed; inset: 0; background: rgba(10,10,10,0.9); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60; }
.share-menu.is-open { display: flex; }
.share-card { width: 100%; max-width: 360px; background: var(--ink); border: 1px solid var(--rule-strong); padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.share-heading { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.share-opt { display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; border-top: 1px solid var(--rule); background: transparent; color: var(--white); font-family: var(--font); font-size: 17px; cursor: pointer; }
.share-opt:hover { color: var(--gold); }
.share-close { margin-top: 16px; min-height: 44px; border: 1px solid var(--rule-strong); background: transparent; color: var(--bone); font-family: var(--font); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }

/* Hero (full-bleed variant, kept for the canvas) */
.hero { position: relative; height: 880px; overflow: hidden; background: #000; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* Text sits bottom-left only, so the painting's signature (bottom-right) stays clear. */
.hero-text {
  position: absolute; left: var(--gutter); bottom: var(--gutter); max-width: 560px;
  display: flex; flex-direction: column; gap: 24px;
}
.hero-caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }

/* Artwork */
.mat { background: var(--white); padding: var(--mat); }
.mat-sm { background: var(--white); padding: 8px; }
.mat img, .mat-sm img, .grid12 > img, .grid3 > img { width: 100%; }
.caption-row {
  display: grid; grid-template-columns: 80px 1fr 1fr 1fr 160px 160px; gap: 24px; align-items: baseline;
  padding-top: 28px; font-size: 15px; color: var(--bone);
}
.caption-row .buy { justify-self: end; }
.caption-compact {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px 20px; align-items: baseline;
  padding-top: 24px; font-size: 15px; color: var(--bone);
}
.price { color: var(--white); }
.link-u { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--white); padding-bottom: 4px; }
.link-u:hover { border-color: var(--gold); }
.detail-frame { background: var(--white); padding: 10px; aspect-ratio: 4 / 5; overflow: hidden; }
.detail-frame img { width: 100%; height: 100%; object-fit: cover; }
figcaption.label { color: var(--stone); letter-spacing: 0.12em; margin-top: 14px; }

/* Buttons & forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 40px;
  background: var(--white); color: var(--ink); border: 0; cursor: pointer;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500;
}
.btn:hover { background: var(--gold); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-ghost:hover { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-block { width: 100%; }
.pill { min-height: 48px; padding: 0 20px; border: 1px solid var(--white); background: var(--white); color: var(--ink); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; cursor: pointer; }
.pill[disabled] { border-color: rgba(255,255,255,0.25); background: transparent; color: var(--dim); font-weight: 400; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); }
.field input, .field select, .field textarea {
  min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.4); border-radius: 0;
  background: transparent; color: var(--white); font-size: 20px; font-weight: 300;
}
.field textarea { padding: 12px 0; resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.qty { width: 88px; min-height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.4); background: transparent; color: var(--white); font-size: 16px; }

/* Spec list */
.spec { display: flex; flex-direction: column; font-size: 15px; color: var(--bone); }
.spec div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.spec div:last-child { border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--stone); }
.spec dd { text-align: right; }

/* Milestones */
.milestones { display: grid; grid-template-columns: 200px 1fr; gap: 0 48px; border-top: 1px solid var(--rule-strong); }
.milestones span { padding: 28px 0; border-bottom: 1px solid var(--rule); }
.milestones .when { font-size: 15px; color: var(--stone); }
.milestones .what { font-size: 28px; font-weight: 300; letter-spacing: -0.01em; }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--rule); }
.tricolor { height: 2px; display: flex; }
.tricolor span { flex: 1; }
.tricolor span:nth-child(1) { background: var(--green); }
.tricolor span:nth-child(2) { background: var(--gold); }
.tricolor span:nth-child(3) { background: var(--clay); }
.footer-inner { padding: 72px var(--gutter) 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-name { font-size: 140px; font-weight: 300; line-height: 0.9; letter-spacing: -0.045em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.footer-links .social a { color: var(--stone); }
.footer-links .social a:hover { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.08em; color: var(--dim); border-top: 1px solid var(--rule); padding-top: 24px; }

/* Phone */
@media (max-width: 1200px) and (min-width: 961px) {
  .print-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --gutter: 20px; --section: 56px; --mat: 8px; }
  .display { font-size: 52px; }
  .display-sm { font-size: 46px; }
  .headline { font-size: 34px; }
  .statement { font-size: 26px; }
  .lede { font-size: 18px; }
  .work-title { font-size: 22px; }
  .grid12, .grid2, .grid3 { display: flex; flex-direction: column; gap: 32px; }
  .grid12 > * { grid-column: auto !important; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .hero-split { display: flex; flex-direction: column-reverse; gap: 32px; padding-top: 32px; padding-bottom: 48px; }
  .hero-split .hero-photo:first-child { order: 1; }
  .hero-photo img { height: 360px; }
  .hero-copy { padding-right: 0; }
  .print-grid { grid-template-columns: 1fr; gap: 40px; }
  .shop-artist { width: 100%; flex-direction: row; align-items: center; gap: 16px; }
  .shop-artist img { width: 88px; height: 88px; }
  .print-layout { display: flex; flex-direction: column; gap: 32px; }
  .print-panel { position: static; }
  .thumbs { gap: 10px; }
  .lightbox { padding: 16px; }
  .hero { height: auto; padding: 0 var(--gutter) 24px; }
  .hero img { position: static; height: auto; }
  .hero-text { position: static; padding-top: 24px; max-width: none; }
  .caption-row { grid-template-columns: 48px 1fr auto; gap: 8px 16px; }
  .caption-row .meta { grid-column: 2 / span 2; }
  .caption-row .buy { justify-self: start; grid-column: 2; }
  .milestones { grid-template-columns: 1fr; }
  .milestones .when { padding-bottom: 4px; border-bottom: 0; }
  .milestones .what { padding-top: 0; font-size: 22px; }
  .footer-name { font-size: 56px; }
  .nav { gap: 8px 16px; font-size: 11px; }
  .site-header { padding-top: 20px; padding-bottom: 20px; }
  .two-up { grid-template-columns: 1fr; }
}

/* ---------- Legal pages (privacy, terms) ---------- */
.legal { padding: 96px var(--gutter) 120px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px var(--gutter); align-items: start; }
.legal-head { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 32px; }
.legal-head .display-sm { font-size: 56px; }
.legal-body { grid-column: 7 / span 6; max-width: 640px; font-size: 17px; font-weight: 300; line-height: 1.65; color: var(--bone); }
.legal-body h2 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin: 48px 0 16px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-body p { margin: 0 0 16px; }
.legal-body strong { color: var(--white); font-weight: 500; }
.legal-body a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--gold); }
.legal-body ul { margin: 0 0 16px; padding-left: 20px; }
.legal-body li { margin-bottom: 10px; }
.footer-legal a { color: inherit; text-decoration: none; margin-left: 18px; }
.footer-legal a:hover { color: var(--white); }
.form-privacy { font-size: 13px; line-height: 1.6; color: var(--stone); max-width: 440px; }
.form-privacy a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Privacy notice: one line, bottom left, dismissed in local storage ---------- */
.notice { position: fixed; left: 24px; bottom: 24px; z-index: 40; max-width: 360px; background: var(--ink); color: var(--bone); border: 1px solid var(--rule-strong); padding: 16px 18px; font-size: 13px; line-height: 1.5; display: none; gap: 14px; align-items: flex-start; }
.notice.is-open { display: flex; }
.notice a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.notice button { background: none; border: 0; color: var(--white); font: inherit; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px; cursor: pointer; padding: 2px 0; flex: none; }
.notice button:hover { color: var(--gold); }
@media (max-width: 760px) {
  .legal { grid-template-columns: 1fr; gap: 40px; padding: 64px var(--gutter) 96px; }
  .legal-head, .legal-body { grid-column: auto; position: static; }
  .legal-head .display-sm { font-size: 40px; }
  .notice { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

.form-status { font-size: 15px; line-height: 1.6; color: var(--bone); max-width: 440px; margin: 0; min-height: 1em; }
.form-status:empty { display: none; }
.form-status a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
