@font-face {
  font-family: Timeless Sans Grotesk;
  src: url(../fonts/TimelessSans-GroteskSemibold.woff2) format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Timeless Sans Grotesk;
  src: url(../fonts/TimelessSans-GroteskBold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Timeless Sans;
  src: url(../fonts/TimelessSansVF.woff2) format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: Timeless Serif;
  src: url(../fonts/TimelessSerifVF.woff2) format("woff2");
  font-weight: 100 700;
  font-display: swap;
}
@font-face {
  font-family: Timeless Serif;
  src: url(../fonts/TimelessSerifItalicVF.woff2) format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #222321;
  --muted: #595c55;
  --line: #d9dbd5;
  --mat: #eeefeb;
  --link-accent: #26619c;
  --link-highlight: #e4eeff;
  --sans: "Timeless Sans", system-ui, sans-serif;
  --serif: "Timeless Serif", Georgia, serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #181917;
  --ink: #f2f1ec;
  --muted: #b6b8ae;
  --line: #43463e;
  --mat: #252722;
  --link-accent: #91baff;
  --link-highlight: #253650;
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    animation-duration: 420ms;
    animation-timing-function: ease-in-out;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 1.125rem/1.55 var(--serif);
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(74rem, calc(100% - clamp(2rem, 8vw, 7rem))); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: absolute; z-index: 2; top: .5rem; left: .5rem; background: var(--paper); padding: .5rem; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-block: 1.35rem;
  font: 500 .95rem/1.25 var(--sans);
}
.wordmark { font-size: 1.35rem; font-weight: 650; }
.home-header { padding-block: .675rem; }
.home-header .wordmark {
  font: 700 clamp(1.6rem, 6vw, 6rem)/1.02 "Timeless Sans Grotesk", var(--sans);
  letter-spacing: -.045em;
  margin: 0;
}
@media (width > 34rem) {
  .home-header {
    align-items: last baseline;
    padding-block: clamp(1rem, 2.5vw, 2.875rem) clamp(.75rem, 2vw, 2rem);
  }
  .home-header #site-nav {
    flex-direction: column;
    align-items: flex-end;
    text-transform: lowercase;
    font-size: 1.05rem;
  }
  .home-header #site-nav a { min-height: 1.5rem; }
}
.site-header a { text-decoration: none; }
.site-header a:hover, .site-header [aria-current] { text-decoration: underline; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.65rem, 2vw, 1.6rem); }
nav a { display: flex; align-items: center; min-height: 44px; }
#theme-toggle { border: 0; background: transparent; min-height: 44px; }
#theme-toggle [aria-hidden] { font-size: 1rem; margin-inline-end: .2rem; }
main { flex: 1; padding-top: clamp(1.25rem, 4vw, 3rem); }
.home-main { padding-top: .4375rem; }
.site-footer { margin-top: clamp(3rem, 8vw, 7rem); text-align: center; padding-block: 1rem 2rem; color: var(--muted); font: .8rem/1.4 var(--sans); }
h1, h2, h3 { line-height: 1.12; font-weight: 500; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); letter-spacing: -.045em; }
.page-heading { margin: 0 0 clamp(1.25rem, 4vw, 2.5rem); }
.page-heading h1 { margin: 0 0 .4rem; }
h1.page-heading, .page-heading > h1 {
  font-family: "Timeless Sans Grotesk", var(--sans);
  font-weight: 700;
  letter-spacing: -.055em;
}
.hero img { width: 100%; }
.hero img.hero-portrait {
  width: auto;
  max-height: 50svh;
  margin-inline: auto;
}
figcaption { padding-block: .55rem; font-size: 1rem; color: var(--muted); }
.hero figcaption, .gallery-caption { text-align: center; }
.hero figcaption, .gallery-caption, .video-grid figcaption {
  font: 300 .875rem/1.4 var(--sans);
}
time { font: .83rem/1.4 var(--sans); }
time { color: var(--muted); }
.post-list, .media-grid, .thumbnails { list-style: none; padding: 0; margin: 0; }
.media-grid { display: grid; gap: clamp(.8rem, 2vw, 1.5rem); }
.post-list a { font-size: 1.25rem; line-height: 1.2; }
.post-list li { display: grid; align-content: start; gap: .35rem; border-top: 1px solid var(--line); padding: .85rem 0; }
.prose { max-width: 39rem; margin-inline: auto; overflow-wrap: anywhere; }
.body-copy a {
  color: var(--link-accent);
  font-weight: 500;
  text-decoration: none;
}
.body-copy a:hover, .body-copy a:focus-visible {
  color: var(--link-accent);
  background-color: var(--link-highlight);
}

@media (prefers-reduced-motion: no-preference) {
  .body-copy a:hover { transition: background-color 550ms ease-out; }
}
.prose img { margin-block: 1.5rem; }
.prose pre { overflow: auto; padding: 1rem; }
.prose blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: 2px solid var(--line); }
.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-grid > li:only-child { grid-column: 1 / -1; }
.video-embed { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--mat); }
.album-card { display: grid; gap: .45rem; text-decoration: none; }
.album-card span { font-family: "Timeless Sans Grotesk", var(--sans); font-weight: 600; }
.album-card:hover span { text-decoration: underline; }
.album-card img, .empty-cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mat); }
main:has(> .album) { padding-top: 0; }
.album-breadcrumb { gap: 0 .4rem; flex: 1; min-width: 0; font-size: 1.125rem; font-weight: 400; }
.album-title { margin: 0; font: inherit; letter-spacing: normal; overflow-wrap: anywhere; }
.album-breadcrumb .album-title[aria-current] { text-decoration: none; }
.gallery-stage { position: relative; aspect-ratio: 3 / 2; }
.gallery-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.gallery-outgoing {
  background: var(--paper);
  pointer-events: none;
}
.gallery-stage button {
  position: absolute;
  inset-block: 0;
  width: max(44px, 20%);
  padding: 0;
  border: 0;
  background: transparent;
}
.gallery-stage button:focus-visible { outline-offset: -4px; }
.gallery-stage .previous { left: 0; }
.gallery-stage .next { right: 0; }
.gallery-caption { display: grid; grid-template-rows: minmax(1lh, auto); overflow-wrap: anywhere; }
.gallery-caption > span { grid-area: 1 / 1; }
.caption-spacer { visibility: hidden; }
.album .thumbnails { margin-top: .5rem; }
@property --scroll-thumb {
  syntax: "<color>";
  inherits: true;
  initial-value: transparent;
}
.thumbnails {
  --scroll-thumb: transparent;
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}
.thumbnails:hover { --scroll-thumb: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .thumbnails { transition: --scroll-thumb 240ms ease-in-out 350ms; }
  .thumbnails:hover { transition-delay: 0ms; }
}
@supports selector(::-webkit-scrollbar) {
  .thumbnails { scrollbar-width: auto; scrollbar-color: auto; }
  .thumbnails::-webkit-scrollbar { height: 5px; }
  .thumbnails::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border-radius: 3px;
  }
  .thumbnails::-webkit-scrollbar-track { background: transparent; }
}
.thumbnails li { flex: 0 0 clamp(5rem, 14vw, 9rem); }
.thumbnails a { display: block; }
.thumbnails a:hover img { filter: brightness(1.12); }
.thumbnails a:focus-visible { outline-offset: -3px; }
.thumbnails img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.thumbnails a:not([aria-current="true"]) img { opacity: .75; }
@media (prefers-reduced-motion: no-preference) {
  .thumbnails img { transition: filter 220ms ease-in-out, opacity 220ms ease-in-out; }
}
@media (max-width: 46rem) {
  .wordmark { font-size: 1.2rem; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#menu-toggle { display: none; }
@media (max-width: 34rem) {
  .site-header { flex-wrap: wrap; }
  #menu-toggle:not([hidden]) {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  #site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; }
  #menu-toggle:not([hidden])[aria-expanded="false"] + #site-nav { display: none; }
}
@media (max-width: 27rem) {
  .media-grid { grid-template-columns: 1fr; }
}
