/* claudiajadlocki.com: the 2005 look (teal masthead, green page strip, Century Gothic, sideways
   picture strips) rebuilt without frames, Flash or tables. */
:root {
  --teal: #99cccc;
  --green: #ccff99;
  --green-text: #6db899;
  --link: #009999;
  --hot: #ff6600;
  --ink: #111;
  --muted: #555;
  --rule: #000;
  --font: "Century Gothic", "CenturyGothic", "AppleGothic", "Avant Garde", "URW Gothic", "Futura", "Avenir Next", "Trebuchet MS", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 600 15px/1.6 var(--font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: var(--hot); }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- home: black page, the 2005 picture, links over it */
body.home { background: #000; }
.home-main { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 16px; }
.home-card { position: relative; width: min(1000px, 100%); }
.home-card img { width: 100%; }
.home-nav { position: absolute; left: 4.2%; top: 54%; display: flex; flex-direction: column; gap: .15em;
  font-weight: 400; font-size: clamp(13px, 2vw, 19px); letter-spacing: .02em; }
.home-nav a { color: #fff; text-shadow: 0 0 6px rgba(0,0,0,.5); }
.home-nav a:hover, .home-nav a:focus-visible { color: var(--teal); }
@media (max-width: 560px) {
  .home-nav { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
    margin-top: 18px; font-size: 17px; }
}

/* ---------- masthead */
.masthead { background: var(--teal); }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 70px 10px 28px; min-height: 82px; }
.logo img { width: 230px; }
.site-nav { width: min(460px, 55%); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.nav-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 2px 0; }
.nav-row:first-child { grid-template-columns: 1fr 1fr; padding: 0 16% 3px; border-bottom: 2px solid var(--rule); }
.nav-row:last-child { padding-top: 4px; }
.site-nav a { color: #fff; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a.is-current { color: var(--hot); }
.strip { background: var(--green); color: var(--green-text); font-size: 12px; line-height: 26px; height: 26px;
  overflow: hidden; white-space: nowrap; padding-left: 8px; word-spacing: 1em; user-select: none; }
.subnav { background: var(--green); border-top: 1px solid #b7e88a; display: flex; flex-wrap: wrap; gap: 4px 26px;
  justify-content: space-between; padding: 4px 28px; font-size: 13px; position: sticky; top: 0; z-index: 5; }
.subnav span { color: var(--link); text-transform: uppercase; }
.subnav a { color: var(--hot); }
.subnav a:hover { color: var(--link); }
@media (max-width: 700px) {
  .masthead-inner { flex-direction: column; align-items: flex-start; padding: 12px 16px; gap: 10px; }
  .logo img { width: 190px; }
  .site-nav { width: 100%; }
  .subnav { padding: 6px 16px; justify-content: flex-start; gap: 4px 16px; }
}

/* ---------- general pages */
.page { max-width: 1060px; margin: 0 auto; padding: 28px 28px 56px; }
.page-title { font-size: 20px; font-weight: 600; letter-spacing: .03em; margin: 8px 0 18px; }
.lead { color: var(--muted); }
.button { display: inline-block; background: var(--teal); color: #000; border: 0; border-radius: 0;
  padding: 10px 22px; font: inherit; letter-spacing: .05em; text-transform: uppercase; font-size: 13px; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--hot); color: #fff; }
.button:disabled { opacity: .6; cursor: default; }
ul.plain { padding-left: 1.2em; }
.site-footer { border-top: 2px solid var(--rule); margin: 0 28px; padding: 14px 0 28px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 0; }
@media (max-width: 700px) { .page { padding: 20px 16px 44px; } .site-footer { margin: 0 16px; } }

/* ---------- images index */
.series-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 12px; }
.series-card { display: block; color: var(--ink); }
.series-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.series-card:hover img { opacity: .85; }
.series-name { display: block; margin-top: 10px; font-size: 17px; }
.series-card:hover .series-name { color: var(--hot); }
.series-years { color: var(--muted); font-size: 13px; }

/* ---------- a series: quotes at left, the works in a sideways strip */
.series { display: grid; grid-template-columns: 330px 1fr; gap: 0; padding: 24px 0 40px; }
.series-intro { padding: 0 24px 0 28px; border-right: 2px solid var(--rule); margin-right: 0; }
.series-title { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.series-years-line { margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.series-intro blockquote { margin: 0 0 14px; font-size: 13px; line-height: 1.6; }
.series-intro blockquote p { margin: 0; }
.see-words { font-size: 12px; font-style: italic; }
.scroll-hint { font-size: 12px; color: var(--muted); }
.strip-scroller { display: flex; gap: 22px; overflow-x: auto; padding: 0 28px 18px 24px; scroll-snap-type: x proximity;
  overscroll-behavior-x: contain; scrollbar-color: var(--teal) #eee; }
.work { margin: 0; display: flex; gap: 10px; flex: 0 0 auto; scroll-snap-align: start; }
.work img { height: min(436px, 62vh); width: auto; max-width: none; }
.work figcaption { font-size: 11px; line-height: 1.5; width: 108px; flex: 0 0 auto; }
.work figcaption b { font-size: 12px; }
.next-series { flex: 0 0 auto; align-self: center; padding: 0 30px; font-size: 13px; color: var(--muted); }
.next-series b { color: var(--link); font-weight: 600; }
@media (max-width: 860px) {
  .series { grid-template-columns: 1fr; }
  .series-intro { border-right: 0; border-bottom: 2px solid var(--rule); padding: 0 16px 14px; margin-bottom: 20px; }
  .scroll-hint { display: none; }
  .strip-scroller { flex-direction: column; overflow: visible; padding: 0 16px; gap: 30px; }
  .work { flex-direction: column; }
  .work img { height: auto; width: 100%; max-width: 100%; }
  .work figcaption { width: auto; }
  .next-series { padding: 10px 0; align-self: flex-start; }
}

/* ---------- editions */
.table-wrap { overflow-x: auto; }
table.editions { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 680px; }
.editions th, .editions td { padding: 9px 10px; text-align: left; border-bottom: 2px solid var(--rule); }
.editions thead th { font-size: 12px; vertical-align: bottom; }
.editions tbody th { text-align: right; padding-right: 26px; }
.edition-notes { max-width: 640px; margin-top: 26px; }

/* ---------- words */
.words { max-width: 1120px; margin: 0 auto; padding: 18px 28px 50px; }
.print-links { font-size: 12px; color: var(--muted); }
.words-section { padding-top: 14px; scroll-margin-top: 44px; }
.words-section h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 10px; }
.words-block { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 34px; margin-bottom: 26px; }
.words-text p { color: #666; line-height: 2.1; margin: 0 0 1.1em; }
.words-figs { display: flex; flex-direction: column; gap: 16px; }
.film { margin: 6px 0 28px; }
.film figcaption { font-size: 12px; margin-top: 6px; }
.bio h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 22px 0 6px; }
.cv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 18px; margin: 0; font-size: 14px; }
.cv dt { color: var(--muted); }
.cv dd { margin: 0; }
.cv-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.to-top { margin-top: 30px; font-size: 12px; }
@media (max-width: 860px) {
  .words { padding: 14px 16px 40px; }
  .words-block { grid-template-columns: 1fr; gap: 16px; }
  .words-figs { flex-direction: row; flex-wrap: wrap; }
  .words-figs img { width: calc(50% - 8px); }
  .words-text p { line-height: 1.8; }
  .cv { grid-template-columns: 92px 1fr; }
}

/* ---------- contact + price request */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr 209px; gap: 34px; align-items: start; }
.contact-info { font-size: 14px; }
.cj-photo { width: 209px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 4px; }
.field input, .field textarea { width: 100%; font: 400 15px/1.4 var(--font); padding: 8px 10px; border: 1px solid #999;
  border-radius: 0; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--link); outline: 2px solid var(--teal); outline-offset: 0; }
.field.has-error input, .field.has-error textarea { border-color: #c00; }
.req { color: var(--hot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
.form-status.ok { color: #067; }
.form-status.err { color: #b00; }
.form-note { font-size: 12px; color: var(--muted); }
.price-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 24px; max-width: 760px; }
.pick { border: 0; border-top: 2px solid var(--rule); margin: 22px 0 10px; padding: 10px 0 0; }
.pick legend { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; padding: 0 8px 0 0; }
.pick label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.pick input { width: 17px; height: 17px; accent-color: var(--link); }
.pick-table { border-collapse: collapse; font-size: 13px; }
.pick-table th, .pick-table td { padding: 5px 22px 5px 0; text-align: left; }
.pick-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 18px; }
.price-form > .field { max-width: 760px; margin-top: 20px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cj-photo { order: -1; width: 150px; }
}
