:root {
  --ink: #171717;
  --paper: #FAF7F0;
  --red: #D94B3D;
  --blue: #315F9F;
  --sage: #96A889;
  --line: #DED7C9;
}

/*
Design audit typography tokens:
h1 48-72px / 900
h2 30-40px / 700
h3 20-24px / 700
body 16-18px / 400
small 13px / 600.
Merriweather; Georgia; serif; literary, handmade portfolio feel.
Montserrat; Arial; sans-serif; clean captions, navigation, and project metadata.
*/

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0;
}
a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red); }
.container { width: min(1160px, 92vw); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(250, 247, 240, .96); }
.masthead { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.artist-name { font-family: "Merriweather", Georgia, serif; font-size: 1.45rem; font-weight: 900; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; justify-content: flex-end; }
.site-nav a, .eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.nav-group { position: relative; display: inline-block; }
.nav-children {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 220px;
  padding: .55rem;
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 8px;
  z-index: 20;
}
.nav-group:hover .nav-children { display: grid; gap: .35rem; }
.nav-children a { display: block; padding: .35rem .5rem; }
.hero { padding: 5.5rem 0 4rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: 3rem; align-items: center; }
.eyebrow { color: var(--red); margin: 0 0 .7rem; }
h1, h2, h3, .footer-title { font-family: "Merriweather", Georgia, serif; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: .95; font-weight: 900; margin: 0; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
.hero-copy p { max-width: 560px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-actions a, .work-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}
.hero-actions a { padding: .75rem 1rem; text-decoration: none; font-weight: 700; }
.art-frame { background: #fffaf0; border: 1px solid var(--line); padding: 1rem; box-shadow: 18px 18px 0 var(--sage); }
.art-frame img { width: 100%; display: block; object-fit: cover; }
.section { padding: 4rem 0; border-top: 1px solid var(--line); }
.page-hero { padding: 4rem 0 3rem; background: #fffaf0; border-bottom: 1px solid var(--line); }
.page-content { max-width: 1080px; }
.page-content.narrow { max-width: 760px; }
.lead { font-size: 1.08rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 1.4rem 0 2rem; }
.gallery-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: .5rem; border-radius: 8px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; border-radius: 5px; }
.social-strip { text-align: center; font-weight: 700; font-size: 1.25rem; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.page-content + .category-grid { margin-top: 2rem; }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; }
.table-wrap table, .page-content table { width: 100%; border-collapse: collapse; background: #fffaf0; border: 1px solid var(--line); }
.table-wrap th, .table-wrap td, .page-content th, .page-content td { border: 1px solid var(--line); padding: .65rem; text-align: left; vertical-align: top; }
.page-content dl { background: #fffaf0; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.page-content dt { font-weight: 700; margin-top: .8rem; }
.page-content dt:first-child { margin-top: 0; }
.work-card { display: grid; gap: .55rem; padding: 1rem; min-height: 120px; text-decoration: none; font-weight: 700; }
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.work-card em { color: var(--blue); font-style: normal; font-size: .8rem; }
.site-footer { background: var(--ink); color: var(--paper); padding: 2.5rem 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr); gap: 2rem; }
.footer-title { color: var(--paper); font-size: 1.5rem; margin: 0 0 .4rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.footer-links a { color: var(--paper); font-weight: 700; }
@media (max-width: 760px) {
  .masthead, .hero-grid, .footer-grid { display: grid; grid-template-columns: 1fr; }
  .site-nav { justify-content: flex-start; }
  .hero { padding: 3.2rem 0; }
  .section { padding: 2.5rem 0; }
  .art-frame { box-shadow: 10px 10px 0 var(--sage); }
}
