/* Pencil Art by Maddox — Mike's "Dusk Range" board (Claude Design canvas, project/DuskRange.dc.html).
   Values below are the board's; the board's home page is the reference for every other page. */
:root {
  --bg: #1c1a26;
  --bg-deep: #14131c;
  --bg-raised: #24212f;
  --line: #3a3648;
  --text: #ece9f4;
  --body: #c9c6de;
  --muted: #a9a6c4;
  --faint: #8d89ac;
  --accent: #b8b1f0;
  --paper: #ece9f4;
  --display: "Marcellus", Georgia, serif;
  --serif: "Source Serif 4", Georgia, serif;
  --script: "Mrs Saint Delafield", cursive;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.65 var(--serif); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; }
p { margin: 0 0 20px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--bg); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* header */
.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 24px; padding-bottom: 24px; }
.brand { font-family: var(--display); font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--text); text-decoration: none; padding: 12px 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.nav a { font-family: var(--display); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }

/* small type bits shared by every page */
.eyebrow { font-family: var(--display); font-size: 14px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.eyebrow a { color: inherit; text-decoration: none; }
.link-caps { font-family: var(--display); font-size: 14px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 12px 0; display: inline-block; }
.btn, .btn-ghost { display: inline-flex; align-items: center; font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.btn { min-height: 56px; padding: 0 32px; background: var(--accent); color: var(--bg); font-size: 15px; letter-spacing: .16em; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn-ghost { min-height: 52px; padding: 0 28px; border: 1px solid var(--accent); color: var(--text); font-size: 14px; letter-spacing: .22em; }
.btn-ghost:hover { background: var(--bg-raised); color: var(--text); }
.sig { font-family: var(--script); font-weight: 400; line-height: .9; color: var(--accent); }

/* hero */
.hero { padding-top: 48px; text-align: center; }
.sig-hero { font-size: clamp(84px, 13vw, 168px); }
.tagline { margin: 8px 0 0; font-family: var(--display); font-size: 16px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }

/* the four drawings */
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 64px; }
.strip-item { display: block; text-decoration: none; color: var(--text); }
.strip-item img { display: block; width: 100%; height: 440px; object-fit: cover; background: var(--bg-raised); }
.strip-cap { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px 0; font-size: 15px; }
.strip-title { font-style: italic; }
.strip-cat { font-family: var(--display); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.strip-item:hover .strip-title { color: var(--accent); }

/* statement */
.statement { display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: flex-start; padding-top: 128px; padding-bottom: 128px; }
.statement-big { flex: 1 1 560px; min-width: 0; margin: 0; font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; color: var(--text); }
.statement-side { flex: 1 1 360px; min-width: 0; color: var(--body); }
.statement-side .btn-ghost { margin-top: 12px; }

/* winter band + the paper-mat cards used for every grid of drawings */
.winter { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 112px 0; }
.winter-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.winter-head h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; }
.winter-head p { margin: 0; max-width: 380px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 32px; }
.card { display: block; text-decoration: none; color: var(--text); }
.mat { display: flex; align-items: flex-end; justify-content: center; height: 260px; }  /* no mat of our own: the restored photos carry their own white paper border (a second mat looked double-matted) */
.mat img { display: block; max-height: 100%; width: auto; object-fit: contain; }
.card-title { display: block; padding-top: 14px; font-style: italic; line-height: 1.35; }
.card:hover .card-title { color: var(--accent); }
.noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 1px solid var(--line); font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #6f6b88; }

/* subjects list */
.works { padding-top: 128px; padding-bottom: 128px; }
.works .eyebrow { margin-bottom: 32px; }
.subjects { border-top: 1px solid var(--line); }
.subj { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.subj-l { display: flex; align-items: baseline; gap: 28px; min-width: 0; }
.subj-n { font-family: var(--display); font-size: 14px; color: var(--faint); }
.subj-name { font-family: var(--display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
.subj-arrow { font-size: 28px; color: var(--accent); transition: transform .2s ease; }
.subj:hover .subj-name { color: var(--accent); }
.subj:hover .subj-arrow { transform: translateX(6px); }

/* about */
.about { display: flex; flex-wrap: wrap; gap: 64px 96px; align-items: center; padding-bottom: 128px; }
.about-photo { flex: 0 1 380px; min-width: 0; max-width: 380px;  /* the only photo we have is 145×180: keep it near size */ background: var(--bg-raised); border: 1px solid var(--line); padding: 32px; }
.about-photo img { display: block; width: 100%; height: auto; }
.about-text { flex: 1 1 500px; min-width: 0; }
.about-text h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 28px; }
.about-text p { color: var(--body); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.badge { padding: 10px 18px; border: 1px solid var(--line); font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--body); }

/* inquire + footer (every page) */
.inquire { background: var(--bg-raised); }
.inquire-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 64px; padding-top: 104px; padding-bottom: 104px; }
.inquire-text { flex: 1 1 520px; min-width: 0; }
.inquire h2 { font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 12px; }
.inquire p { margin: 0; color: var(--body); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--faint); }
.foot-name { display: flex; align-items: baseline; gap: 16px; }
.sig-foot { font-size: 44px; line-height: 1; color: var(--muted); }
.foot-years { font-family: var(--display); letter-spacing: .16em; color: var(--muted); }

/* inner pages */
.page-head { padding-top: 64px; padding-bottom: 24px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; margin-bottom: 12px; }
.narrow { max-width: 860px; }
.lede { font-size: 20px; color: var(--body); max-width: 720px; }
.count { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 16px; }
.tabs a { font-family: var(--display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 10px 0; }
.tabs a:hover, .tabs a[aria-current] { color: var(--text); }
.tabs a[aria-current] { box-shadow: inset 0 -1px 0 var(--accent); }
.grid-section { padding-top: 40px; padding-bottom: 112px; }
.pager { display: flex; gap: 10px; margin-top: 64px; }
.pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border: 1px solid var(--line); font-family: var(--display); color: var(--text); text-decoration: none; }
.pager a[aria-current] { border-color: var(--accent); color: var(--accent); }

.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); gap: 64px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.mat-large { height: auto; justify-content: flex-start; }
.mat-large img { max-height: 78vh; }
.art-note { margin: 14px 0 0; font-size: 14px; color: var(--faint); }
.art-note a { color: var(--muted); }
.detail-info { position: sticky; top: 32px; }
.detail-info h1 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; margin-bottom: 28px; }
.facts { margin: 0 0 28px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { font-family: var(--display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; color: var(--body); }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-style: italic; font-size: 16px; line-height: 1.3; }
.prevnext a:last-child { text-align: right; }
.prevnext a:hover { border-color: var(--accent); }
.pn-k { font-family: var(--display); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.mat-feature { height: auto; max-width: 760px; justify-content: flex-start; }

@media (max-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .detail-info { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { gap: 0 22px; }
  .nav a { font-size: 13px; letter-spacing: .16em; }
  .hero { padding-top: 24px; }
  .tagline { font-size: 13px; letter-spacing: .26em; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 40px; }
  .strip-item img { height: 240px; }
  .strip-cap { flex-direction: column; gap: 2px; font-size: 14px; }
  .statement, .works { padding-top: 80px; padding-bottom: 80px; }
  .winter { padding: 80px 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .mat { height: 160px; }
  .card-title { font-size: 15px; }
  .subj { padding: 16px 0; }
  .subj-l { gap: 16px; }
  .about { padding-bottom: 80px; }
  .about-photo { padding: 20px; }
  .inquire-row { padding-top: 72px; padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .subj-arrow { transition: none; } }
