/* Lot Shots, the public site at lotshots.jpcoakley.com: home, Next Shoot!,
   the galleries (one page a show, one page a portrait) and the books.
   Built from the "Lot Shots Website" design canvas on the Lot Shots design
   system: paper, ink, Archivo, tracked caps, hairlines, square corners, no
   shadows, the blue for links and the one solid button, the red only in
   the mark. Phone first; the desktop layout starts at 900px. The picks
   tool at /picks/ has its own stylesheet and no phone layout. */

:root {
  --paper: #F4F3EF;
  --paper-deep: #ECEAE4;
  --paper-edge: #E4E2DB;
  --ink: #16150F;
  --ink-soft: #2A2925;
  --ink-mute: #6E6C64;
  --rule: #C6C4BC;
  --rule-strong: #A19F97;
  --blue: #385A8C;
  --blue-deep: #2E4B76;
  --red: #C82828;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.top.desk { display: none; }   /* the home page's header: desktop only, the phone has the big mark */

/* ---------- type ---------- */

.label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); }
.label.blue { color: var(--blue); font-weight: 600; }
.soft { color: var(--ink-soft); }
.mute { color: var(--ink-mute); }
.h1 { font-size: 34px; line-height: 1.05; font-weight: 600; }
.h1.blue { color: var(--blue); }
.h1.show { font-size: 32px; font-weight: 500; }
.h2 { font-size: 26px; line-height: 1.1; font-weight: 500; }
.lede { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.more { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.fine { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-mute); }

/* ---------- header and footer ---------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.top .mark { display: block; line-height: 0; }
.top .mark img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.nav .here { color: var(--ink); }
.nav .ig { display: none; }
.foot {
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.foot .mute:hover { color: var(--ink); }

/* ---------- page ---------- */

.wrap { max-width: 720px; margin: 0 auto; padding: 28px var(--gutter) 32px; display: flex; flex-direction: column; }
.wrap > .h1 { margin-bottom: 6px; }
.wrap > .lede { margin-bottom: 8px; }
.wrap > .after { margin-top: 22px; }

/* ---------- home ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.hero img { width: 228px; }
.hero p { max-width: 330px; }
.section { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 6px; }
.section.wide { gap: 12px; }
.section .h2 { margin-top: 4px; }
.section .more { margin-top: 8px; }
.fill { display: flex; flex-direction: column; gap: 6px; }
.home .foot { border-top: 0; }

/* ---------- strips, grids, captions ---------- */

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.strip img, .grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.grid a { display: block; line-height: 0; }
.cap { display: flex; flex-direction: column; gap: 2px; }
.cap .t { font-size: 17px; font-weight: 500; color: var(--ink); }
.cap .m { font-size: 12px; letter-spacing: 0.06em; color: var(--ink-mute); }

/* ---------- the galleries ---------- */

.gal { padding: 18px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.gal:last-child { border-bottom: 1px solid var(--rule); }

/* ---------- one show ---------- */

.show-head { padding: 24px var(--gutter) 16px; display: flex; flex-direction: column; gap: 4px; }
.show-head .label { margin-top: 2px; }
.show-head .aside { display: none; }
.show-foot { padding: 20px var(--gutter) 32px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; }
.show-foot .foot { margin-top: 4px; }

/* ---------- one portrait ---------- */

.one { gap: 14px; padding-top: 18px; }
.one .crumb { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); }
.one .portrait { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.one .under { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.one .acts { margin-top: 0; }
.one .links { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }

/* ---------- Next Shoot! ---------- */

.next .h1 { margin-bottom: 18px; }
.rows { border-top: 1px solid var(--rule); display: flex; flex-direction: column; }
.row { padding: 14px 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; gap: 4px; }
.row .big { font-size: 24px; line-height: 1.15; font-weight: 500; }
.row .v { font-size: 17px; line-height: 1.3; }
.row .soft { line-height: 1.5; }
.empty {
  padding: 18px 0 22px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.empty .big { font-size: 24px; line-height: 1.15; font-weight: 500; }
.call { margin-top: 22px; }
.acts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.last { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
}
.btn:hover { background: var(--blue-deep); color: #FFFFFF; }
.btn.outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.btn.outline:hover { border-color: var(--ink); background: transparent; }

/* ---------- the books ---------- */

.book { padding: 20px 0 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 12px; }
.book:last-child { border-bottom: 1px solid var(--rule); }
.cover {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #FFFFFF;
  border: 1px solid var(--paper-edge);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cover .cm { width: 86px; }
.cover .ct { font-size: 18px; letter-spacing: 0.24em; text-transform: uppercase; line-height: 1.1; }
.cover .cs { margin-top: 8px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--ink-mute); line-height: 1.5; }
.cover.photo { padding: 0; }
.cover.photo .pic { width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; object-position: center top; }
.cover.photo .band { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.cover.photo .band img { width: 54px; }
.cover.photo .band span { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; text-align: right; line-height: 1.5; }
.book .h2 { font-size: 20px; line-height: 1.15; }
.book .meta { font-size: 13px; letter-spacing: 0.04em; color: var(--ink-mute); }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buy .btn { min-width: 110px; }
.price { font-size: 17px; font-weight: 600; }
.books .after { font-size: 13px; }

/* the one book on the home page */
.minibook { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.minibook:hover { color: var(--ink); }
.minibook .mini {
  width: 64px;
  height: 80px;
  flex: none;
  background: #FFFFFF;
  border: 1px solid var(--paper-edge);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 6px;
}
.minibook .mini img { width: 26px; }
.minibook .mini div { font-size: 6px; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; }
.minibook .cap { min-width: 0; }
.minibook .t { font-size: 15px; line-height: 1.3; }
.minibook .price { margin-left: auto; font-size: 15px; white-space: nowrap; }

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .top.desk { display: flex; }
  .top { padding: 22px var(--gutter); gap: 16px 24px; }
  .top .mark img { height: 56px; }
  .nav { gap: 28px; font-size: 12px; }
  .nav .ig { display: inline; }
  .wrap { max-width: 1280px; padding: 36px var(--gutter) 40px; }
  .narrow .wrap { max-width: 720px; }

  /* home: the header carries the mark, the intro becomes one line */
  .home .wrap { padding-top: 44px; }
  .hero { align-items: flex-start; text-align: left; padding: 0; border-bottom: 0; }
  .hero img { display: none; }
  .hero p { max-width: 820px; font-size: 26px; line-height: 1.3; color: var(--ink); }
  .home .sections {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px 48px;
  }
  .home .section { padding: 0; border: 0; }
  .home .h2 { font-size: 32px; }
  .home .foot { margin-top: 44px; border-top: 1px solid var(--rule); }
  .minibook .mini { width: 112px; height: 140px; padding: 10px; }
  .minibook .mini img { width: 36px; }
  .minibook .mini div { font-size: 7px; line-height: 1.5; }
  .minibook .t { font-size: 17px; }
  .minibook .price { font-size: 17px; }

  /* the galleries and the books in columns */
  .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px 40px; border-top: 1px solid var(--rule); padding-top: 24px; }
  .list .gal, .list .book { padding: 0; border: 0; }
  .wrap > .after { margin-top: 28px; }

  /* one show: six across, the note beside the title */
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .show-head {
    padding: 36px var(--gutter) 24px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px 48px;
  }
  .show-head .title { display: flex; flex-direction: column; gap: 4px; }
  .show-head .h1 { font-size: 44px; }
  .show-head .aside { display: flex; max-width: 380px; flex-direction: column; gap: 8px; }
  .show-foot { border-top: 0; }
  .show-foot .note { display: none; }
}
