/* JedRose.com – photos live at dusk, words live in daylight */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --dusk: #15212c;
  --tide: #22364a;
  --sun: #e8a33d;
  --sun-deep: #a8650f;
  --salt: #f1f3ef;
  --slate: #5e6b77;
  --mist: #aeb9c2;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: 2rem;
  --step-4: clamp(2.5rem, 4vw, 3.25rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --measure: 38rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.theme-day { background: var(--salt); color: var(--dusk); }
.theme-dusk { background: var(--dusk); color: var(--salt); }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.theme-day a { text-decoration-color: var(--sun-deep); }
.theme-dusk a { text-decoration-color: var(--sun); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--sun); color: var(--dusk); padding: .5rem .75rem;
  font-family: var(--sans); font-weight: 600;
}
.skip:focus { top: 1rem; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem var(--gutter);
  font-family: var(--sans);
  position: relative; z-index: 20;
}
.page-home .site-header { position: absolute; inset: 0 0 auto 0; color: var(--salt); }
.wordmark {
  font-weight: 700; font-stretch: 112%; font-size: var(--step-1);
  letter-spacing: -0.01em; text-decoration: none;
}
.page-home .wordmark { visibility: hidden; } /* the hero carries the name */
.site-nav { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav a {
  font-size: var(--step--1); font-weight: 500; text-decoration: none;
  padding-block: .25rem; border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: currentColor; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--sun); }
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-toggle {
    display: block; background: none; border: 1px solid currentColor; border-radius: 2px;
    padding: .35rem .7rem; font-family: var(--sans); font-size: var(--step--1); cursor: pointer;
  }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .theme-day .site-nav { background: var(--salt); border-bottom: 1px solid rgb(21 33 44 / .12); }
  .theme-dusk .site-nav { background: var(--dusk); }
  .site-nav a { font-size: var(--step-1); padding-block: .6rem; }
  .page-home .site-nav { display: flex; position: static; padding: 0; background: none; }
  .page-home .site-nav a { font-size: var(--step--1); padding-block: .25rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto auto;
  color: var(--salt); isolation: isolate;
}
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slides { z-index: -2; background: var(--dusk); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-slide video {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 60%;
}
.hero[data-motion="1"] .hero-slide.is-active img,
.hero[data-motion="1"] .hero-slide.is-leaving img {
  animation: drift var(--drift, 12s) linear forwards;
}
.hero-slide:nth-child(3n+2) img { transform-origin: 20% 40%; }
.hero-slide:nth-child(3n+3) img { transform-origin: 80% 50%; }
@keyframes drift {
  from { transform: scale(1.12) translate3d(1.5%, 0, 0); }
  to   { transform: scale(1.0) translate3d(0, 0, 0); }
}
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(to bottom, rgb(21 33 44 / .55) 0%, rgb(21 33 44 / 0) 22%),
    linear-gradient(to top, rgb(21 33 44 / .92) 0%, rgb(21 33 44 / .55) 38%, rgb(21 33 44 / 0) 70%);
}

.hero-body {
  grid-row: 2;
  padding: 0 var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
  max-width: 72rem;
}
.hero-name {
  font-family: var(--sans);
  font-weight: 760;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-stretch: 112%;
  margin-left: -0.02em;
  text-wrap: balance;
}
.hero-intro {
  margin-top: clamp(1rem, 2vw, 1.5rem);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45; max-width: 34rem;
  color: rgb(241 243 239 / .9);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-name { animation: horizon 1.7s var(--ease) both; }
  .hero-intro { animation: rise 1s var(--ease) .9s both; }
  @keyframes horizon {
    from { font-stretch: 62%; letter-spacing: 0.02em; opacity: 0; }
    30% { opacity: 1; }
    to { font-stretch: 112%; letter-spacing: -0.025em; opacity: 1; }
  }
  @keyframes rise { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
}

.doors {
  grid-row: 3;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgb(241 243 239 / .35);
  margin: 0 var(--gutter);
}
.door {
  display: block; text-decoration: none;
  padding: 1.25rem 1.5rem 2rem 0;
}
.door + .door { padding-left: 1.5rem; border-left: 1px solid rgb(241 243 239 / .2); }
.door-label {
  display: block; font-family: var(--sans); font-weight: 650; font-size: var(--step-2);
  font-stretch: 100%; line-height: 1.15;
  transition: font-stretch .5s var(--ease), color .3s;
}
.door-text { display: block; margin-top: .4rem; font-size: var(--step--1); line-height: 1.5; color: rgb(241 243 239 / .78); max-width: 22rem; }
.door:hover .door-label, .door:focus-visible .door-label { font-stretch: 118%; color: var(--sun); }

.hero-meta {
  position: absolute; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  font-family: var(--sans); font-size: var(--step--1);
}
.hero-caption { min-height: 1.4em; color: rgb(241 243 239 / .85); text-align: right; }
.hero-ticks { display: flex; gap: .4rem; }
.hero-ticks button {
  display: block; width: 2rem; padding: .6rem 0; background: none; border: 0; cursor: pointer;
}
.hero-ticks span { display: block; height: 2px; background: rgb(241 243 239 / .35); position: relative; overflow: hidden; }
.hero-ticks span::after {
  content: ""; position: absolute; inset: 0; background: var(--sun);
  transform: scaleX(0); transform-origin: left;
}
.hero-ticks button[aria-current="true"] span::after { transform: scaleX(1); transition: transform var(--interval, 9s) linear; }
.hero.is-paused .hero-ticks button[aria-current="true"] span::after { transition: none; }
.hero-pause {
  background: none; border: 0; padding: .2rem 0; cursor: pointer;
  color: rgb(241 243 239 / .7); text-decoration: underline; text-underline-offset: .2em;
}

@media (max-width: 860px) {
  .doors { grid-template-columns: 1fr; }
  .door, .door + .door { padding: 1rem 0; border-left: 0; }
  .door + .door { border-top: 1px solid rgb(241 243 239 / .2); }
  .door-text { display: none; }
  .hero-meta { top: auto; bottom: auto; position: static; grid-row: 1; align-self: end; padding: 0 var(--gutter) 1rem; align-items: flex-start; }
  .hero-caption { text-align: left; }
}

/* ---------- inner pages ---------- */
.page {
  padding: clamp(2rem, 7vw, 6rem) var(--gutter) clamp(3rem, 8vw, 7rem);
  max-width: 86rem;
}
.page-head { max-width: 62rem; margin-bottom: clamp(2.5rem, 7vw, 6rem); }
.page-title {
  font-family: var(--sans); font-weight: 720;
  font-size: clamp(3rem, 8.5vw, 7.5rem);
  line-height: .92; letter-spacing: -0.035em; font-stretch: 78%;
  text-wrap: balance;
}
.page-title--stretch { font-stretch: 125%; font-weight: 800; }
.lede {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.45;
  max-width: var(--measure);
}
.lede-link { display: inline-block; margin-top: .5rem; font-size: var(--step-0); font-family: var(--sans); font-weight: 500; }
.theme-day .lede { color: rgb(21 33 44 / .86); }
.theme-dusk .lede { color: rgb(241 243 239 / .86); }
.muted { color: var(--slate); font-size: var(--step--1); margin-top: .35rem; }

.band {
  display: grid; grid-template-columns: minmax(10rem, 3fr) 9fr; gap: 1rem 2.5rem;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  border-top: 1px solid rgb(21 33 44 / .16);
}
.band-title {
  font-family: var(--sans); font-weight: 600; font-size: var(--step-0);
  line-height: 1.4; padding-top: .3rem; color: var(--slate);
}
.band-body { max-width: 52rem; }
.prose-lg { font-size: var(--step-1); line-height: 1.55; max-width: var(--measure); }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* ledger of figures */
.ledger { display: grid; grid-template-columns: max-content 1fr; column-gap: 2.5rem; }
.ledger-row {
  display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline;
  padding-block: .9rem; border-bottom: 1px dashed rgb(21 33 44 / .22);
}
.ledger-row:first-child { padding-top: 0; }
.ledger dt {
  font-family: var(--sans); font-weight: 650; font-stretch: 112%;
  font-size: var(--step-4); line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}
.ledger dd { font-size: var(--step-0); color: rgb(21 33 44 / .8); }
@media (max-width: 560px) { .ledger { grid-template-columns: 1fr; } .ledger-row { gap: .35rem; } }


/* logo wall – companies backed */
.logo-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr));
  gap: clamp(.6rem, 1.2vw, 1rem);
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.logo-tile {
  display: grid; place-items: center; aspect-ratio: 1; overflow: hidden;
  border-radius: 22%; background: #fff;
  box-shadow: inset 0 0 0 1px rgb(21 33 44 / .1);
  text-decoration: none; position: relative;
  transition: transform .35s var(--ease);
}
.logo-tile img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(21 33 44 / .08); pointer-events: none; }
a.logo-tile:hover, a.logo-tile:focus-visible { transform: translateY(-3px) scale(1.04); }
.logo-tile--text { background: var(--dusk); color: var(--salt); font-family: var(--sans); font-weight: 700; font-stretch: 112%; font-size: 1.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .logo-wall li { animation: tile-in .6s var(--ease) both; animation-delay: calc(var(--i) * 25ms); }
  @keyframes tile-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
}
@media (min-width: 720px) { .logo-wall { grid-template-columns: repeat(var(--cols, 14), 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(auto-fill, minmax(3.5rem, 1fr)); } }

.prose p + p { margin-top: 1em; }
.prose { font-size: var(--step-1); line-height: 1.55; max-width: var(--measure); }

/* timeline */
.timeline > li {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem;
  padding-block: 1.1rem; border-bottom: 1px solid rgb(21 33 44 / .1);
}
.timeline > li:first-child { padding-top: 0; }
.tl-years { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; color: var(--slate); padding-top: .35rem; font-variant-numeric: tabular-nums; }
.tl-org { font-family: var(--sans); font-weight: 680; font-size: var(--step-2); line-height: 1.2; font-stretch: 100%; }
.tl-role { font-style: italic; margin-top: .1rem; }
.tl-text { margin-top: .4rem; max-width: var(--measure); color: rgb(21 33 44 / .82); }
.timeline--compact .tl-org { font-size: var(--step-1); }
@media (max-width: 560px) { .timeline > li { grid-template-columns: 1fr; gap: .2rem; } }

/* portfolio index */
.band-note { font-size: var(--step-1); line-height: 1.5; max-width: var(--measure); margin-bottom: 1.5rem; }
.theme-night .band-note { color: rgb(255 255 255 / .86); }
.index { columns: 3 13rem; column-gap: 2.5rem; }
.index li { break-inside: avoid; padding-bottom: 1.1rem; }
.index-name { display: block; font-family: var(--sans); font-weight: 650; font-size: var(--step-1); line-height: 1.25; }
.index-text { display: block; font-size: var(--step--1); line-height: 1.45; color: var(--slate); margin-top: .15rem; }

.links li { padding-block: .55rem; border-bottom: 1px solid rgb(21 33 44 / .1); display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: baseline; justify-content: space-between; }
.links li:first-child { padding-top: 0; }
.links a, .links li > span:first-child { font-size: var(--step-1); }
.links-source { font-family: var(--sans); font-size: var(--step--1); color: var(--slate); }
.plain li { padding-block: .3rem; }

/* quotes */
.quotes { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.quote blockquote p {
  font-size: clamp(1.5rem, 3vw, 2.375rem); line-height: 1.22; font-style: italic; font-weight: 380;
  max-width: 40rem; text-indent: -0.42em;
}
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote figcaption { margin-top: .6rem; font-family: var(--sans); font-size: var(--step--1); font-weight: 600; color: var(--slate); }
.paper { font-size: var(--step-2); line-height: 1.3; max-width: 36rem; font-style: italic; }

/* ---------- photography (dusk) ---------- */
.page--wide { max-width: 100rem; }
.theme-dusk .band { border-top-color: rgb(241 243 239 / .16); }
.theme-dusk .muted, .theme-dusk .band-title { color: var(--mist); }
.gallery { columns: 3 22rem; column-gap: clamp(.75rem, 1.5vw, 1.25rem); }
.gallery-item { break-inside: avoid; margin-bottom: clamp(.75rem, 1.5vw, 1.25rem); }
.gallery-open {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--tide); overflow: hidden; position: relative;
}
.gallery-open img, .gallery-open video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery-open:hover img, .gallery-open:hover video { transform: scale(1.025); }
.gallery-play {
  position: absolute; left: 1rem; bottom: 1rem; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: rgb(21 33 44 / .7); border: 1px solid rgb(241 243 239 / .6);
}
.gallery-play::after {
  content: ""; position: absolute; left: 1.05rem; top: .8rem;
  border-left: .85rem solid var(--salt); border-top: .55rem solid transparent; border-bottom: .55rem solid transparent;
}
.gallery-caption { font-family: var(--sans); font-size: var(--step--1); color: var(--mist); padding-top: .5rem; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: #0f171f; color: var(--salt);
}
.lightbox::backdrop { background: rgb(15 23 31 / .8); }
.lightbox[open] { display: grid; grid-template-rows: 1fr; }
.lightbox-stage { display: grid; place-items: center; padding: 4rem 4.5rem; min-height: 0; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: calc(100vh - 8rem); object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: var(--step--1);
  color: var(--salt); padding: .75rem 1rem;
}
.lightbox-close { top: .75rem; right: .75rem; }
.lightbox-prev { left: .5rem; top: 50%; }
.lightbox-next { right: .5rem; top: 50%; }
.lightbox button:hover { color: var(--sun); }

/* ---------- forms ---------- */
.contact-form { display: grid; gap: 1.25rem; max-width: 36rem; }
.field label { display: block; font-family: var(--sans); font-weight: 600; font-size: var(--step--1); margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: var(--step-0); color: var(--dusk);
  background: #fff; border: 1px solid rgb(21 33 44 / .3); border-radius: 2px; padding: .7rem .8rem;
}
.field textarea { resize: vertical; min-height: 10rem; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sun); outline-offset: 0; border-color: var(--dusk); }
.has-error input, .has-error textarea { border-color: #b3261e; }
.field-error { color: #b3261e; font-family: var(--sans); font-size: var(--step--1); margin-top: .3rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button {
  justify-self: start; font-family: var(--sans); font-weight: 600; font-size: var(--step-0);
  background: var(--dusk); color: var(--salt); border: 0; border-radius: 2px; padding: .85rem 1.5rem; cursor: pointer;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--sun); color: var(--dusk); }
.notice { padding: 1rem 1.25rem; background: #fff; border-left: 3px solid var(--sun); max-width: 36rem; }
.notice--error { border-left-color: #b3261e; margin-bottom: 1.25rem; }

/* ---------- footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr auto auto; gap: 1rem 2.5rem; align-items: baseline;
  padding: 2rem var(--gutter) 2.5rem; font-family: var(--sans); font-size: var(--step--1);
  border-top: 1px solid rgb(21 33 44 / .16);
}
.theme-dusk .site-footer { border-top-color: rgb(241 243 239 / .16); }
.footer-name { font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-copy { color: var(--slate); }
.theme-dusk .footer-copy { color: var(--mist); }
@media (max-width: 640px) { .site-footer { grid-template-columns: 1fr; } }

.page--center { min-height: 60vh; display: grid; align-content: center; }


/* ---------- portfolio news ---------- */
.band-body--wide { max-width: none; }
.news-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.news-item--lead { grid-column: span 2; }
.news-card { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / .22); text-decoration: none; color: inherit; }
.news-co { display: flex; align-items: center; gap: .55rem; font-family: var(--sans); font-size: var(--step--1); font-weight: 600; color: #a7adb3; }
.news-co img { width: 1.5rem; height: 1.5rem; border-radius: .35rem; object-fit: cover; flex: none; }
.news-head { font-family: var(--sans); font-weight: 650; font-size: var(--step-1); line-height: 1.25; text-wrap: balance; }
.news-item--lead .news-head { font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.12; letter-spacing: -0.01em; }
.news-meta { margin-top: auto; font-family: var(--sans); font-size: var(--step--1); color: #a7adb3; }
a.news-card:hover .news-head, a.news-card:focus-visible .news-head { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: .18em; }
a.news-card:hover { border-top-color: var(--sun); }
.news-more { margin-top: 2rem; font-family: var(--sans); font-weight: 500; }
@media (max-width: 900px) { .news-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-wall { grid-template-columns: 1fr; } .news-item--lead { grid-column: auto; } }

.crumb { font-family: var(--sans); font-size: var(--step--1); font-weight: 500; margin-bottom: 1rem; }
.news-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.news-filter a {
  font-family: var(--sans); font-size: var(--step--1); font-weight: 500; text-decoration: none;
  padding: .4rem .85rem; border: 1px solid rgb(255 255 255 / .3); border-radius: 999px;
}
.news-filter a:hover { border-color: #fff; }
.news-filter a[aria-current="true"] { background: #fff; color: #000; border-color: #fff; }
.news-list > li { display: grid; grid-template-columns: 7.5rem 1fr; gap: .25rem 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid rgb(255 255 255 / .12); }
.news-list > li:first-child { padding-top: 0; }
.news-list .news-co { margin-bottom: .35rem; }
.news-list-date { font-family: var(--sans); font-size: var(--step--1); color: #a7adb3; padding-top: .3rem; font-variant-numeric: tabular-nums; }
.news-list-head { font-family: var(--sans); font-weight: 650; font-size: var(--step-1); line-height: 1.3; }
.news-list .news-meta { margin-top: .3rem; }
.news-list-head a { text-decoration: none; }
.news-list-head a:hover, .news-list-head a:focus-visible { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 2px; }
@media (max-width: 560px) { .news-list > li { grid-template-columns: 1fr; } }

/* ---------- night: black subpages, white type ---------- */
.theme-night { background: #000; color: #fff; }
.theme-night a { text-decoration-color: var(--sun); }
.theme-night .lede { color: rgb(255 255 255 / .86); }
.theme-night .band { border-top-color: rgb(255 255 255 / .18); }
.theme-night .band-title,
.theme-night .muted,
.theme-night .tl-years,
.theme-night .index-text,
.theme-night .links-source,
.theme-night .quote figcaption,
.theme-night .gallery-caption,
.theme-night .footer-copy { color: #a7adb3; }
.theme-night .ledger-row { border-bottom-color: rgb(255 255 255 / .22); }
.theme-night .ledger dd,
.theme-night .tl-text { color: rgb(255 255 255 / .8); }
.theme-night .timeline > li,
.theme-night .links li { border-bottom-color: rgb(255 255 255 / .12); }
.theme-night .site-footer { border-top-color: rgb(255 255 255 / .18); }
.theme-night .logo-tile { box-shadow: none; }
.theme-night .logo-tile::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.theme-night .logo-tile--text { background: #1c1c1c; color: #fff; }
.theme-night .gallery-open { background: #111; }
.theme-night .field input, .theme-night .field textarea {
  background: #0d0d0d; color: #fff; border-color: rgb(255 255 255 / .3);
}
.theme-night .field input:focus, .theme-night .field textarea:focus { border-color: #fff; }
.theme-night .has-error input, .theme-night .has-error textarea { border-color: #ff8a80; }
.theme-night .field-error { color: #ff8a80; }
.theme-night .button { background: #fff; color: #000; }
.theme-night .button:hover { background: var(--sun); color: #000; }
.theme-night .notice { background: #111; color: #fff; }
.theme-night .notice--error { border-left-color: #ff8a80; }
@media (max-width: 720px) {
  .theme-night .site-nav { background: #000; border-bottom: 1px solid rgb(255 255 255 / .15); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-slide { transition: opacity .6s linear !important; }
}
