@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-ext-400-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/inter-latin-400-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/inter-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

/* Matthew Mason: site styles. Dark text on white, Inter (self-hosted in /fonts). */

html, body { margin: 20px; padding: 0; }
html { background: #fff; }
body {
  background: #fff;
  color: #333;
  font-family: 'Inter', sans-serif, helvetica;
  font-size: 20px;
  line-height: 1.5;
  padding-top: 30px;
}
br { clear: both; }
img { border: 0; background: transparent; padding: 0; }

/* header + navigation */
:root { --accent: #c8321e; }
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 0 20px; position: relative; z-index: 99; }
.site-header { position: sticky; top: 0; background: #fff; transition: box-shadow .3s ease, transform .3s ease; }
.site-header.is-compact { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.site-logo { display: block; padding: 20px 0; text-align: left; transition: padding .3s ease; }
.site-logo__link { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.site-logo__mark { width: 64px; height: 64px; flex: none; transition: width .3s ease, height .3s ease; }
.site-logo img { transition: width .3s ease; }
.site-header.is-compact .site-logo { padding: 10px 0; }
.site-header.is-compact .site-logo img.site-logo__name { width: 380px; height: auto; }
.site-header.is-compact .site-logo img.site-logo__mark { width: 40px; height: 40px; }
.site-logo img { display: block; max-width: 100%; height: auto; }
.site-logo img.site-logo__mark { height: 64px; }
.site-nav { margin-left: auto; text-align: right; }
.site-nav__link {
  display: inline-block;
  margin-left: 28px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.site-nav__link:hover { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }
.site-nav__link:active { color: #999; }
.site-nav__link.is-current { font-weight: 700; color: #000; border-bottom-color: var(--accent); }

/* page frame */
.page { position: relative; z-index: 10; padding-bottom: 30px; text-align: center; }
.entry { display: block; max-width: 905px; margin: 0 auto 60px; padding: 0 16px; }
.entry__body { max-width: 1000px; margin: 0 auto; font-size: 16px; line-height: 1.7; color: #222; text-align: left; }
.entry__body > strong:first-child { display: inline-block; margin-bottom: 6px; font-size: 30px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; color: #000; }
.entry__body a { color: #000; text-decoration: underline; }
.entry__body a:hover { background: var(--accent); color: #fff; text-decoration: none; }
.entry__body a:active { background: #000; color: #fff; }
.entry__body b, .entry__body strong { font-weight: 600; color: #000; }
.entry__body iframe { margin: 0 auto; }
.entry__img { float: left; margin: 0 15px 15px 0; cursor: zoom-in; }

/* home grid */

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; max-width: 1100px; margin: 0 auto; padding: 0 20px; text-align: left; }
.tile { display: block; text-decoration: none; color: #000; animation: tile-in .9s ease both; animation-delay: calc(var(--i, 0) * 110ms); }
.tile__frame { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #e6e6e6; }
.tile__frame img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile:hover .tile__frame img { transform: scale(1.04); }
.tile__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%); opacity: 0; transition: opacity .4s ease; }
.tile:hover .tile__frame::after, .tile:focus-visible .tile__frame::after { opacity: 1; }
.tile__title { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .4s ease; }
.tile__year { margin-left: 12px; font-size: 12px; letter-spacing: .12em; opacity: .75; }
.tile:hover .tile__title, .tile:focus-visible .tile__title { opacity: 1; transform: none; }
@media (hover: none) { .tile__frame::after, .tile__title { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } .tile__frame img, .tile__title { transition: none; } }
@keyframes tile-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.site-footer { height: 35px; margin-top: 35px; padding-left: 20px; font-size: 12px; line-height: 35px; text-align: left; color: #7d7a7a; }

/* credits + previous/next */
.credits { text-align: left; margin: 40px 0 0; padding: 20px 0 0; border-top: 1px solid #e3e3e3; font-size: 14px; line-height: 1.6; }
.credits__row { display: flex; gap: 20px; padding: 3px 0; }
.credits dt { width: 90px; flex: none; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #777; line-height: 1.9; }
.credits dd { margin: 0; color: #222; }
.pager { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #e3e3e3; }
.pager__link { display: block; text-align: left; max-width: 48%; color: #000; text-decoration: none; transition: color .2s; }
.pager__link--next { margin-left: auto; text-align: right; }
.pager__dir { display: block; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #777; }
.pager__name { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.pager__link--prev .pager__dir::before { content: "\2190  "; }
.pager__link--next .pager__dir::after { content: "  \2192"; }
.pager__link:hover { color: var(--accent); }

/* page transitions: cross-fade between pages, header stays put */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .25s; }
.page { animation: page-in .35s ease both; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .page { animation: none; } }

/* click-to-enlarge viewer (see /js/lightbox.js) */
.viewer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 9999999; background: #000; }
.viewer__img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: auto; max-width: 100%; max-height: 100%; cursor: pointer; }
.viewer.is-fill .viewer__img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.viewer__bar { position: fixed; bottom: 50px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.viewer__btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .9); color: #000; cursor: pointer; }
.viewer__btn:hover { background: #fff; }
.viewer__btn svg { display: block; margin: auto; }

/* phones and small tablets */
@media (max-width: 700px) {
  html, body { margin: 0; }
  body { padding-top: 0; font-size: 16px; }
  .site-header { display: block; padding: 0 16px; }
  .site-header.is-hidden { transform: translateY(-100%); }
  .site-logo { padding: 14px 0 6px; }
  .site-logo__link { gap: 10px; }
  .site-logo img.site-logo__name, .site-header.is-compact .site-logo img.site-logo__name { width: 190px; max-width: 100%; height: auto; }
  .site-logo img.site-logo__mark, .site-header.is-compact .site-logo img.site-logo__mark { width: 40px; height: 40px; }
  .site-header.is-compact .site-logo { padding: 10px 0 4px; }
  .site-nav { margin-left: 0; padding-bottom: 10px; text-align: left; }
  .site-nav__link { margin: 0 20px 0 0; padding: 8px 0; }
  .grid { grid-template-columns: 1fr; gap: 16px; padding: 0 16px; }
  .entry { margin-bottom: 40px; padding: 0 16px; }
  .entry__body > strong:first-child { font-size: 24px; }
  .entry__img { float: none; display: block; width: auto; max-width: 100%; height: auto; margin: 0 0 12px; }
  .entry__body iframe.video-frame, .entry__body .video-ph { width: 100%; height: auto; }
  .site-footer { padding-left: 16px; }
  .pager__name { font-size: 17px; }
  .credits__row { gap: 12px; }
}
