/* Elizabeth Starr Archive · Microfilm
   paper, ink, one reel-edge red. No halftone, no newsprint texture. */

:root {
  --paper: #e8e4da;
  --ink: #1a1a18;
  --gray: #565650;
  --red: #a33a2c;
  --rule: #cfcabe;
  --panel: #f1ede3;
  --mono: 'Spline Sans Mono', 'Courier New', monospace;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15.5px;
  line-height: 1.68;
  font-weight: 400;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 3px;
}

::selection { background: var(--red); color: var(--paper); }

.wrap {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.brand, .main-nav a, .btn, .kicker, .sec-no, .sec-head h2, .frame-no, .pno, .pname,
.profile-head, .profile-row .k, .cell .yr, .social-row .platform, .lang-switch, .foot-copy,
.foot-brand a, .page-kicker, .rail dt, .ledger th, .film-table th, .ledger td:first-child,
.film-table td:first-child, .stat b, .stat span, .faq-item h2, .text-link { font-weight: 500; }

/* ---------------------------------------------------------------- header */

.site-head { border-bottom: 1px solid var(--rule); }

.head-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-sub {
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.16em;
  margin-left: 6px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.main-nav a {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 5px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover { color: var(--red); border-bottom-color: var(--red); }

.main-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.main-nav a.btn {
  background: var(--red);
  border: 1px solid var(--red);
  color: var(--paper);
  padding: 8px 13px;
  line-height: 1;
}

.main-nav a.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--panel);
}

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

.btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--paper);
  border: 1px solid var(--red);
  padding: 12px 18px;
  line-height: 1.2;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--panel);
}

.text-link {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.text-link:hover { color: var(--red); border-bottom-color: var(--red); }

/* ------------------------------------------------------------- sprocket */

.sprocket {
  width: 100%;
  height: 10px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background-image: repeating-linear-gradient(90deg, transparent 0 4px, var(--ink) 4px 7px, transparent 7px 12px);
  background-size: 12px 2px;
  background-position: 0 center;
  background-repeat: repeat-x;
}

.sprocket.red { border-color: var(--red); }

.sprocket-v {
  width: 10px;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background-image: repeating-linear-gradient(180deg, transparent 0 4px, var(--ink) 4px 7px, transparent 7px 12px);
  background-size: 2px 12px;
  background-position: center 0;
  background-repeat: repeat-y;
}

.w56 { width: 56px; }
.w120 { width: 120px; }
.w176 { width: 176px; }
.w200 { width: 200px; }
.w300 { width: 300px; }

.mobile-only { display: none; }

/* ----------------------------------------------------------------- hero */

.hero { padding: 56px 0 52px; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
}

.hero-shot {
  position: relative;
  grid-column: 1 / 6;
  width: 360px;
  max-width: 100%;
  margin: 0;
  padding: 24px 0;
}

.hero-shot img {
  display: block;
  width: 360px;
  height: 400px;
  max-width: 100%;
  object-fit: cover;
}

.frame-no {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gray);
  text-transform: uppercase;
}

.frame-tl { top: 2px; left: 0; }
.frame-br { bottom: 2px; right: 0; }

.hero-copy {
  grid-column: 6 / 11;
  padding-top: 34px;
}

.kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--gray);
  text-transform: uppercase;
  margin: 0 0 20px;
}

h1 {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

h1 span { display: block; }

.hero-copy h1 span:last-child { color: var(--red); }

.lede {
  max-width: 30ch;
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.68;
}

/* -------------------------------------------------------------- sections */

.sec { padding: 44px 0 40px; border-top: 1px solid var(--rule); }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 26px;
}

.sec-no {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--gray);
}

.hero + .sec .sec-no { color: var(--red); }

.sec-head h2 {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}

.sec-flat { border-top: 0; padding-top: 0; }

/* -------------------------------------------------------------- partners */

.partners { position: relative; padding-right: 26px; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  gap: 20px;
  max-width: 940px;
  position: relative;
}

.partner-grid::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 160px;
  height: 1px;
  background: var(--rule);
}

.partner-card {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 160px;
  border: 1px solid var(--rule);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 10px 6px;
}

.partner-card:hover { border-color: var(--red); }

.partner-card img {
  flex: 0 0 auto;
  width: 200px;
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.pno {
  position: absolute;
  top: -15px;
  left: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--gray);
}

.pname {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: auto;
  color: var(--gray);
}

.partners > .sprocket-v {
  position: absolute;
  right: 0;
  top: 0;
  height: 340px;
}

/* --------------------------------------------------------------- profile */

.profile {
  width: 720px;
  max-width: 100%;
  padding-left: 14px;
}

.profile-head {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.profile-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  min-height: 46px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
}

.profile-row .k {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.profile-row .v { font-size: 15px; line-height: 1.45; }

.profile-row.mark .k::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--red);
  margin-right: 8px;
  vertical-align: 2px;
}

/* ----------------------------------------------------------------- about */

.about-body {
  width: 520px;
  max-width: 100%;
  margin: 0;
}

.about-body p {
  max-width: 46ch;
  margin: 0 0 16px;
}

.about-photo {
  float: right;
  width: 240px;
  margin: 4px 0 14px 28px;
}

.about-photo img {
  display: block;
  width: 240px;
  height: 320px;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-photo .sprocket { margin-top: 10px; }

.about-notes {
  clear: both;
  padding-top: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gray);
}

.about-notes p { margin: 0 0 2px; }

/* ------------------------------------------------------------ career cells */

.frames {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 8px;
  max-width: 940px;
}

.frames + .frames { margin-top: 20px; }

.frame { width: 148px; }

.frame .sprocket { margin-bottom: 6px; }

.frames-lead .frame:first-child .yr { color: var(--red); }

.cell {
  width: 148px;
  height: 108px;
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cell .yr {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.cell .ev {
  font-size: 13px;
  line-height: 1.35;
}

/* --------------------------------------------------------------- gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 176px));
  gap: 8px;
  width: 912px;
  max-width: 100%;
}

.gcell img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.gcell:nth-child(1) img { object-position: 50% 35%; }
.gcell:nth-child(3) img { object-position: 30% 40%; }
.gcell:nth-child(4) img { object-position: 35% 45%; }
.gcell:nth-child(5) img { object-position: 50% 20%; }

.gcell .sprocket { width: 100%; max-width: 176px; margin-top: 4px; }

/* ---------------------------------------------------------------- social */

.social-list {
  max-width: 720px;
  border-top: 1px solid var(--ink);
}

.social-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.social-row .platform {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.social-row a {
  font-size: 14px;
  border-bottom: 1px solid var(--rule);
  justify-self: start;
}

.social-row a:hover { color: var(--red); border-bottom-color: var(--red); }

.social-last {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 11px;
  color: var(--gray);
}

/* ---------------------------------------------------------------- footer */

.site-foot {
  margin-top: 56px;
  border-top: 1px solid var(--rule);
  padding: 14px 0 34px;
}

.site-foot .sprocket { margin-bottom: 24px; border-color: var(--red); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.foot-brand a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.foot-brand p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray);
  max-width: 30ch;
}

.lang-switch {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray);
  text-transform: uppercase;
}

.lang-switch a { color: var(--gray); padding: 2px 1px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--red); }

.foot-copy {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-align: right;
  color: var(--gray);
}

.foot-notes {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray);
}

.foot-notes p { margin: 0; }

.credit-link { text-decoration: underline; text-underline-offset: 2px; }

.credit-link:hover { color: var(--red); }

/* -------------------------------------------------------------- subpages */

.page-head { padding: 44px 0 34px; border-bottom: 1px solid var(--rule); }

.page-kicker {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 12px;
}

.page-head h1 { margin: 0 0 16px; }

.page-stand {
  max-width: 46ch;
  margin: 0 0 26px;
  font-size: 16.5px;
  line-height: 1.6;
}

.page-head .sprocket { margin-top: 4px; }

.doc-wrap { padding: 40px 0 24px; }

.doc {
  display: grid;
  grid-template-columns: 180px minmax(0, 520px);
  gap: 60px;
  align-items: start;
}

.rail dl { margin: 0; border-top: 1px solid var(--ink); }

.rail div {
  display: flex;
  flex-direction: column;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.rail dt {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.rail dd { margin: 3px 0 0; font-size: 13px; line-height: 1.45; }

.doc-body section + section { margin-top: 34px; }

.doc-body h2,
.prose h2 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.doc-body p,
.prose p {
  max-width: 46ch;
  margin: 0 0 14px;
}

.prose { width: min(520px, 100%); }

.prose section + section { margin-top: 34px; }

/* ------------------------------------------------------------ career ledger */

.ledger,
.film-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
}

.ledger th,
.film-table th {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  text-align: left;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--ink);
}

.ledger td,
.film-table td {
  padding: 11px 12px 11px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.55;
}

.ledger td:first-child {
  width: 104px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--ink);
}

.film-table td:first-child {
  width: 64px;
  font-family: var(--mono);
  font-size: 11px;
}

.film-table td:nth-child(2) { width: 290px; }
.film-table td:nth-child(3) { color: var(--gray); font-size: 13.5px; }

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

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 0 34px;
}

.stat {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 16px 16px 14px;
}

.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 1.5;
}

.notes {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.notes p { font-size: 12.5px; color: var(--gray); max-width: 46ch; }

/* ------------------------------------------------------------------- faq */

.faq-list { max-width: 760px; border-top: 1px solid var(--ink); }

.faq-item {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--rule);
}

.faq-item h2 {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 8px;
}

.faq-item p { margin: 0; font-size: 15px; max-width: 46ch; }

/* ------------------------------------------------------------------- 404 */

.notfound { padding: 70px 0 40px; }

.nf-box {
  width: 460px;
  max-width: 100%;
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 28px 28px 26px;
}

.nf-box h1 { font-size: 26px; margin-bottom: 12px; }

.nf-box p { margin: 0 0 16px; max-width: 42ch; }

/* ------------------------------------------------------------- breakpoints */

@media (max-width: 1024px) {
  .wrap { width: min(900px, calc(100% - 44px)); }

  .hero-shot { grid-column: 1 / 7; width: 320px; }
  .hero-shot img { width: 320px; height: 356px; }
  .hero-copy { grid-column: 7 / 13; }

  h1 { font-size: 28px; }

  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .partners > .sprocket-v { height: 340px; }

  .frame, .cell { width: 140px; }

  .gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); width: 100%; }

  .doc { grid-template-columns: 160px minmax(0, 1fr); gap: 36px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 28px); }

  .head-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    min-height: 0;
  }

  .main-nav {
    width: 100%;
    gap: 9px;
    justify-content: flex-start;
  }

  .main-nav a { font-size: 8.5px; letter-spacing: 0.08em; }

  .main-nav a.btn { padding: 6px 9px; margin-left: auto; }

  .hero { padding: 26px 0 30px; }

  .hero-grid { display: flex; flex-direction: column; gap: 22px; }

  .hero-copy { order: 1; padding-top: 0; width: 100%; }

  .hero-shot {
    order: 2;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 18px 0;
  }

  .hero-shot img { width: 100%; height: auto; }

  .hero-shot .sprocket:first-of-type { display: none; }

  .hero-shot .sprocket:last-of-type { width: 300px; margin: 0 auto; }

  h1 { font-size: 28px; }

  .lede { max-width: 32ch; }

  .sec { padding: 32px 0 30px; }

  .sec-head { margin-bottom: 22px; }

  .partners { padding-right: 0; }

  .partners > .sprocket-v { display: none; }

  .mobile-only { display: block; margin-bottom: 18px; }

  .partner-grid { grid-template-columns: 1fr; }

  .partner-grid::after { display: none; }

  .partner-card { height: 160px; }

  .profile { padding-left: 10px; }

  .profile-head { display: none; }

  .profile-row {
    display: block;
    min-height: 0;
    padding: 9px 0 10px;
  }

  .profile-row .k { display: block; font-size: 8.5px; margin-bottom: 2px; }

  .profile-row .v { display: block; font-size: 14.5px; }

  .about-body { width: 100%; }

  .about-photo {
    float: none;
    width: 240px;
    margin: 0 0 18px;
  }

  .frames { display: block; max-width: 100%; }

  .frame { width: 100%; margin-bottom: 14px; }

  .frame .sprocket { width: 56px; }

  .cell { width: 100%; height: auto; min-height: 92px; gap: 14px; }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .gcell:nth-child(5) { grid-column: 1 / -1; }

  .gcell img { height: auto; aspect-ratio: 4 / 3; }

  .gcell:nth-child(5) img { aspect-ratio: 16 / 10; }

  .gcell .sprocket { width: 100%; }

  .social-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }

  .site-foot { margin-top: 40px; padding-top: 22px; }

  .footer-grid { grid-template-columns: 1fr; gap: 18px; }

  .foot-copy { text-align: left; }

  .page-head { padding: 30px 0 26px; }

  .page-head h1 { font-size: 28px; }

  .doc { grid-template-columns: 1fr; gap: 26px; }

  .rail dl { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }

  .doc-wrap { padding: 28px 0 18px; }

  .stats { grid-template-columns: 1fr; gap: 10px; }

  .ledger td:first-child { width: 78px; font-size: 10px; }

  .film-table td:nth-child(2) { width: auto; }

  .film-table td, .ledger td { font-size: 13.5px; }

  .notfound { padding: 40px 0 20px; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
