/* Thomas J. Owen: "Wash". Paper white, pale watercolor light, paintings as the brightest thing on the page.
   One hand-written stylesheet. Light mode only. Fonts are self-hosted (latin subset). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/fraunces.woff2?v=6cd09f7117) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 400;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic.woff2?v=ed45b47209) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/assets/fonts/jost.woff2?v=1deb8909ee) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fdfbf6;
  --white: #ffffff;
  --ink: #22201c;
  --text: #3a3731;
  --muted: #615c53;
  --line: #e8e2d5;
  --line-strong: #d3cab8;
  --gold: #a87a26;
  --accent: #2b4a5f;
  --accent-deep: #1b3342;
  --sold: #a3402c;
  --hold: #b07a12;
  --wall: #f6f0e3;
  --shadow-rgb: 92 68 34;
  --shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.1), 5px 9px 16px -6px rgb(var(--shadow-rgb) / 0.2),
            16px 28px 48px -18px rgb(var(--shadow-rgb) / 0.28);
  --shadow-lift: 0 1px 2px rgb(var(--shadow-rgb) / 0.1), 7px 13px 22px -6px rgb(var(--shadow-rgb) / 0.22),
                 22px 38px 64px -18px rgb(var(--shadow-rgb) / 0.3);
  --shadow-soft: 0 1px 2px rgb(var(--shadow-rgb) / 0.08), 4px 8px 18px -8px rgb(var(--shadow-rgb) / 0.2);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Jost", "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 5vw, 3.5rem);
  --maxw: 1360px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--paper);
  /* Two pale washes: aspen gold light at the top, a cool sky wash where the page ends. */
  background-image: url(/assets/wash-gold.svg?v=2e3488a97f), url(/assets/wash-sky.svg?v=c9bef30f98);
  background-repeat: no-repeat;
  background-position: 50% 0, 50% 100%;
  background-size: max(100%, 1180px) auto, max(100%, 1180px) auto;
  font: 350 1.125rem/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper tooth: a tiny stitched noise tile at very low opacity, behind all content. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .35 0 0 0 0 .24 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; color: var(--ink); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.012em; text-wrap: balance; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
h3 { font-size: 1.35rem; font-weight: 400; }
p { margin: 0 0 1.1em; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(4rem, 10vw, 8rem); }

.kicker {
  font: 400 0.9375rem/1.4 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.page-title { font-size: clamp(2.75rem, 6.4vw, 5.25rem); line-height: 1; letter-spacing: -0.022em; margin: 0 0 1.25rem; }
.intro, .byline { color: var(--muted); font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); max-width: 40rem; margin: 0; }
.page-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.skip { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--accent); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* ---- header and footer */
.site-header { position: relative; z-index: 2; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2.5rem; padding-top: clamp(1.25rem, 3vw, 2.25rem); padding-bottom: clamp(1rem, 2.5vw, 1.75rem);
}
.brand { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 0.15rem; }
.brand:hover { color: var(--ink); }
.brand-name { font: 400 1.625rem/1.1 var(--serif); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.9375rem; line-height: 1.3; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem clamp(1.25rem, 3vw, 2.5rem); }
.site-nav a {
  display: inline-block; padding: 0.4rem 0; color: var(--ink); text-decoration: none;
  font-size: 1.0625rem; letter-spacing: 0.03em;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background-size: 100% 1px; color: var(--ink); }
.site-nav a[aria-current="page"] { background-size: 100% 2px; }

.site-footer { margin-top: clamp(6rem, 14vw, 11rem); padding: clamp(3rem, 7vw, 5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.footer-inner { display: grid; gap: 0.9rem 4rem; }
.footer-inner::before { content: ""; grid-column: 1 / -1; height: 1px; background: rgb(43 74 95 / 0.16); margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.footer-name { font: italic 300 clamp(1.75rem, 3vw, 2.25rem)/1.1 var(--serif); color: var(--ink); margin: 0; }
.footer-note { color: var(--muted); font-size: 1rem; max-width: 38rem; margin: 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.75rem; font-size: 1rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .footer-name { grid-row: span 2; }
}

/* ---- buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: 0.8rem 1.45rem;
  border: 1px solid var(--accent); border-radius: 2px;
  background: var(--accent); color: var(--white);
  font: 500 0.9375rem/1.1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.12), 3px 6px 14px -6px rgb(27 51 66 / 0.35);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); }
.button--quiet { background: rgb(255 255 255 / 0.66); color: var(--accent); box-shadow: none; }
.button--quiet:hover { background: var(--white); color: var(--accent-deep); }
.hero-links, .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 520px) { .hero-links .button { flex: 1 1 100%; } }

/* ---- the frame: works are never cropped; each painting casts a soft shadow, as if lit from a window at upper left */
.frame { display: flex; align-items: center; justify-content: center; position: relative; }
.frame img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain;
  background: var(--white);
  box-shadow: var(--shadow);
}
.frame--card {
  aspect-ratio: 1 / 1; padding: 11%;
  background: linear-gradient(158deg, rgb(255 255 255 / 0.75), rgb(246 239 225 / 0.6));
  border-radius: 2px;
}
.frame--thumb {
  aspect-ratio: 1 / 1; padding: 12%;
  background: linear-gradient(158deg, rgb(255 255 255 / 0.75), rgb(246 239 225 / 0.6));
}
.frame--thumb img { box-shadow: var(--shadow-soft); }
.frame--hero img { max-height: min(72vh, 760px); }
.frame--work img { max-height: min(76vh, 980px); }
.noimg {
  display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 3; padding: 1rem;
  background: radial-gradient(ellipse at 30% 25%, #fffdf7, #f1eadb 80%);
  box-shadow: var(--shadow-soft);
  color: var(--muted); font-size: 0.9375rem; letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
}
@media (prefers-reduced-motion: no-preference) {
  .frame img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s ease; }
  .card-link:hover .frame img, .frame--hero:hover img { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
}

/* ---- home hero */
.hero { padding: clamp(1.5rem, 5vw, 4.5rem) 0 0; }
.hero-inner {
  display: grid; gap: clamp(2rem, 5vw, 3rem) clamp(2.5rem, 6vw, 6.5rem);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "fig" "body";
}
.hero-head { grid-area: head; }
.hero-figure { grid-area: fig; margin: 0; }
.hero-body { grid-area: body; }
.hero-title {
  text-wrap: wrap;
  font-size: clamp(3.25rem, 7.4vw, 7rem); line-height: 0.96; letter-spacing: -0.03em; margin: 0;
}
.h1-sub {
  display: block; margin-top: 1.4rem;
  font: 400 1rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.lede { font-size: clamp(1.125rem, 1.35vw, 1.25rem); line-height: 1.8; max-width: 34rem; margin-bottom: 2.25rem; }
.hero-figure figcaption { margin-top: 1.6rem; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; text-align: center; }
.hero-figure figcaption a { font: italic 400 1.1875rem/1.4 var(--serif); color: var(--ink); text-decoration: none; }
.hero-figure figcaption a:hover { text-decoration: underline; }
.cap-bits { display: block; margin-top: 0.2rem; }
@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "head fig" "body fig";
    align-items: end;
  }
  .hero-body { align-self: start; }
  .hero-inner--solo { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
  .hero-figure { padding-top: 1rem; }
}

/* ---- section heads */
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; margin-bottom: clamp(2.25rem, 5vw, 3.75rem);
}
.section-title { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.section-aside { margin: 0; }
.more-link {
  font-size: 1rem; letter-spacing: 0.04em; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 0.15rem;
}
.more-link:hover { border-bottom-width: 2px; }

/* ---- grid of works: 1 / 2 / 3 columns, generous air */
.grid {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3.5vw, 3.5rem);
}
@media (min-width: 620px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-text { padding-top: 1.25rem; }
.card-title { font: 400 1.375rem/1.25 var(--serif); color: var(--ink); margin: 0 0 0.35rem; letter-spacing: -0.005em; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.card-meta { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.card-status { margin: 0.55rem 0 0; font-size: 1rem; color: var(--ink); }

/* ---- status marks */
.status { color: var(--muted); letter-spacing: 0.02em; }
.status--sold, .status--on_hold { color: var(--ink); }
.status--sold::before, .status--on_hold::before {
  content: ""; display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%;
  margin-right: 0.5em; vertical-align: 0.04em; background: var(--sold);
}
.status--on_hold::before { background: var(--hold); }
.price { font-variant-numeric: lining-nums tabular-nums; }

/* ---- collection filters */
.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 2rem;
  margin: 0 0 clamp(2.75rem, 6vw, 4.5rem); padding: 1.35rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.filters label {
  display: flex; flex-direction: column; gap: 0.4rem;
  font-size: 0.9375rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.filters select {
  -webkit-appearance: none; appearance: none;
  font: 400 1.0625rem/1.3 var(--sans); letter-spacing: 0.01em; text-transform: none; color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23615c53' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 0.9rem center / 12px 8px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  padding: 0.7rem 2.6rem 0.7rem 0.9rem; min-width: 14rem; max-width: 100%;
  box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / 0.06);
}
.filters select:hover { border-color: var(--muted); }
.filter-count { margin: 0 0 0.7rem auto; color: var(--muted); font-size: 0.9375rem; }
.filter-empty { color: var(--muted); padding: 2rem 0; }
@media (max-width: 520px) {
  .filters label, .filters select { width: 100%; }
  .filter-count { margin: 0; }
}

/* ---- work page */
.work { padding-top: clamp(0.5rem, 2vw, 1.5rem); }
.crumbs { font-size: 0.9375rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.crumbs a { text-decoration: none; border-bottom: 1px solid currentColor; }
.work-grid { display: grid; gap: clamp(2.25rem, 5vw, 5rem); }
@media (min-width: 1000px) {
  .work-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4.6fr); align-items: start; }
  .work-media { position: sticky; top: 1.5rem; }
}
/* Morning light across a warm wall: two soft window panes falling diagonally, fading out at the edges. */
.wall { position: relative; isolation: isolate; padding: clamp(1.75rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3.5rem); }
.wall::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(116deg, transparent 14%, rgb(255 253 245 / 0.9) 16%, rgb(255 253 245 / 0.9) 37%, transparent 39%,
                    transparent 42%, rgb(255 253 245 / 0.75) 44%, rgb(255 253 245 / 0.75) 62%, transparent 64%),
    radial-gradient(ellipse at 28% 18%, #fbf2da, #f3ebdb 72%);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent);
  mask-image: radial-gradient(closest-side, #000 62%, transparent);
}
.work-thumbs { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; }
.work-info .kicker { margin-bottom: 0.8rem; }
.work-title { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.work-byline { color: var(--muted); margin-bottom: 1.75rem; }
.work-status { margin: 0 0 0.3rem; font-size: 1rem; }
.work-info .price { font: 400 1.875rem/1.2 var(--serif); color: var(--ink); margin: 0.2rem 0 0.4rem; letter-spacing: -0.01em; }
.work-info .price--request { font: 400 1.125rem/1.5 var(--sans); color: var(--muted); letter-spacing: 0; }
.card-status .price { font-size: inherit; }
.status-note { color: var(--muted); font-size: 1rem; }
.actions { margin: 1.5rem 0 2.5rem; }
.facts { margin: 0 0 2.25rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.9375rem; letter-spacing: 0.04em; padding-top: 0.12rem; }
.facts dd { margin: 0; color: var(--ink); }
@media (max-width: 480px) { .facts div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; } }
.work-desc { margin-bottom: 1.5rem; }
.label { color: var(--muted); }
h2.minor {
  font: 500 0.9375rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin: 2.25rem 0 0.6rem;
}
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags a {
  display: inline-block; font-size: 0.9375rem; padding: 0.35rem 0.95rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgb(255 255 255 / 0.6); text-decoration: none;
}
.tags a:hover { border-color: var(--accent); }

.about-artist { margin-top: clamp(5rem, 11vw, 9rem); }
.about-artist-inner { display: grid; gap: 1.5rem 4rem; }
.about-artist-inner .section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.about-artist-text p { max-width: 42rem; }
@media (min-width: 900px) { .about-artist-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---- home teaser */
.teaser-inner { display: grid; gap: clamp(2.25rem, 5vw, 5.5rem); align-items: center; }
.teaser-text .section-title { margin-bottom: 1.5rem; }
.teaser-text p { max-width: 38rem; }
@media (min-width: 860px) { .teaser--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ---- photographs of the artist: shown as prints, with a white border */
.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; object-fit: contain; background: var(--white); padding: clamp(0.5rem, 1.1vw, 0.9rem); box-shadow: var(--shadow); }
.portrait figcaption { margin-top: 0.9rem; color: var(--muted); font-size: 0.9375rem; font-style: italic; font-family: var(--serif); }
.portrait--teaser { max-width: 34rem; }

/* ---- about page */
.about-head { max-width: 52rem; }
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.portrait--about { max-width: 32rem; }
@media (min-width: 960px) {
  .about-grid--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .portrait--about { position: sticky; top: 2rem; max-width: none; }
}
.prose { max-width: 41rem; }
.notfound { max-width: calc(41rem + 2 * var(--gutter)); }
.prose h2 { margin: 2.6em 0 0.8em; }
.prose h3 { margin: 1.8em 0 0.6em; }
.bio > p:first-child { font: 300 clamp(1.3rem, 2vw, 1.55rem)/1.6 var(--serif); color: var(--ink); letter-spacing: -0.005em; }
.prose ul { list-style: none; margin: 0 0 1.25em; padding: 0; border-top: 1px solid var(--line); }
.prose li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--line); }
.prose li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.8rem; height: 1px; background: var(--gold); }
.photo-row { display: grid; gap: 2rem; margin: 1rem 0 0; align-items: start; }
@media (min-width: 600px) { .photo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
