/* Photosapiens — base */
html { font-size: clamp(93.75%, 87.5% + 0.35vw, 112.5%); scroll-behavior: smooth; }
@media (min-width: 1920px) { html { font-size: clamp(112.5%, 0.86vw, 137.5%); } }
body { margin: 0; background: oklch(0.98 0.006 90); }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; padding: 0.5rem 0.75rem; background: oklch(0.2 0.01 90); color: oklch(0.98 0.006 90); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.875rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
::selection { background: oklch(0.2 0.01 90); color: oklch(0.98 0.006 90); }
p, h1, h2, h3 { text-wrap: pretty; }
a { color: inherit; text-decoration-color: oklch(0.52 0.2 27); text-underline-offset: 3px; }
a:hover { text-decoration-color: oklch(0.52 0.2 27); color: oklch(0.46 0.21 27); }
.dark a { color: oklch(0.68 0.19 27); text-decoration: none; }
.dark a:hover { color: oklch(0.78 0.17 27); text-decoration: none; }

/* layout rows + indices */
.row, .row-work { display: grid; grid-template-columns: 8rem minmax(0, 38.75rem); gap: 0 4rem; }
.idx { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8125rem; text-transform: uppercase; color: oklch(0.52 0.2 27); line-height: 1.9; }
.dark .idx { color: oklch(0.68 0.19 27); }

/* hero art */
#hero-art { aspect-ratio: 1560 / 646; height: auto; background-size: 100% auto; width: min(100%, 85%, calc(max(18rem, 100vh - 26rem) * 1560 / 646)); }

/* navigation */
#sticky-bar { transform: translateY(-100%); }
#sticky-bar.is-visible { transform: translateY(0); }
#nav-desktop a, #sticky-links a { position: relative; transition: color 160ms ease; }
#nav-desktop a:hover, #sticky-links a:hover { color: oklch(0.52 0.2 27); }
#nav-desktop a + a::before, #sticky-links a + a::before {
  content: ""; position: absolute; left: -0.875rem; top: 50%; width: 1px; height: 0.95em;
  background: oklch(0.52 0.2 27); opacity: 0.55; transform: translate(-50%, -50%) rotate(22deg); pointer-events: none;
}
#sticky-panel a, #menu-panel a { transition: color 160ms ease; }
#sticky-panel a:hover, #menu-panel a:hover { color: oklch(0.52 0.2 27) !important; }
#sticky-panel a + a, #menu-panel a + a { border-top: 1px solid oklch(0.88 0.008 90); padding-top: 1rem !important; }

/* components (generated from inline styles) */
.div-1 { font-family: 'Newsreader', Georgia, serif; background: oklch(0.98 0.006 90); color: oklch(0.2 0.01 90); min-height: 100vh; }
.div-2 { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: oklch(0.98 0.006 90); border-bottom: 1px solid oklch(0.88 0.008 90); transition: transform 280ms cubic-bezier(0.4,0,0.2,1); will-change: transform; }
.div-3 { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); box-sizing: border-box; height: 3.625rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.a-1 { display: flex; align-items: center; text-decoration: none; }
.img-1 { height: 1.375rem; width: auto; display: block; }
.nav-1 { display: flex; align-items: center; gap: 1.625rem; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8125rem; text-transform: uppercase; }
.a-2 { text-decoration: none; color: oklch(0.38 0.012 90); }
.button-1 { display: none; flex-direction: column; justify-content: center; gap: 0.3125rem; width: 2.75rem; height: 2.75rem; background: none; border: none; padding: 0; cursor: pointer; }
.span-1 { display: block; width: 1.375rem; height: 1px; background: oklch(0.2 0.01 90); }
.nav-2 { display: none; flex-direction: column; gap: 1.125rem; padding: clamp(0.28rem, 0.04vw + 2rem, 0.5rem) clamp(1.25rem, 5vw, 3rem) clamp(0.96rem, 0.15vw + 2rem, 1.75rem); max-width: 72rem; margin: 0 auto; box-sizing: border-box; border-top: 1px solid oklch(0.88 0.008 90); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1rem; text-transform: uppercase; }
.a-3 { text-decoration: none; color: oklch(0.28 0.012 90); padding: 0.375rem 0; }
.header-1 { max-width: 72rem; margin: 0 auto; padding: 1.75rem clamp(1.25rem, 5vw, 3rem); box-sizing: border-box; }
.div-4 { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.img-2 { height: clamp(4.5rem, 10vh, 6rem); width: auto; }
.nav-3 { display: flex; align-items: center; gap: 1.75rem; font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8125rem; letter-spacing: 0; text-transform: uppercase; }
.nav-4 { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem 0 0.5rem; margin-top: 1.25rem; border-top: 1px solid oklch(0.85 0.008 90); font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1rem; letter-spacing: 0; text-transform: uppercase; }
.a-4 { text-decoration: none; color: oklch(0.28 0.012 90); }
.section-1 { max-width: 72rem; margin: 0 auto; padding: clamp(3.44rem, 0.52vw + 2rem, 6.25rem) clamp(1.25rem, 5vw, 3rem) clamp(4.81rem, 0.73vw + 2rem, 8.75rem); box-sizing: border-box; padding-top: 1rem; }
.div-5 { margin-bottom: 0px; overflow: hidden; background-image: url(assets/hero-drawing.png); background-repeat: no-repeat; background-position: center; margin-left: -1em; }
.h1-1 { font-size: clamp(2.75rem, min(7.4vw, 10vh), 5.25rem); font-weight: 400; line-height: 1.02; margin: 0 0 2.25rem; letter-spacing: -0.02em; max-width: 18ch; width: 100%; }
.div-6 { max-width: 38.75rem; }
.p-1 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1.1875rem; line-height: 1.65; color: oklch(0.32 0.012 90); margin: 0; align-self: auto; }
.a-5 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.875rem; letter-spacing: 0; text-transform: uppercase; border-bottom: 1px solid oklch(0.52 0.2 27); color: oklch(0.46 0.21 27); padding-bottom: 3px; display: inline-block; margin-top: 3.5rem; }
.section-2 { max-width: 72rem; margin: 0 auto; padding: 0 3rem 8.75rem; box-sizing: border-box; }
.div-7 { margin: 0 0 3.5rem; }
.h2-1 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8em; text-transform: uppercase; font-weight: 500; color: oklch(0.45 0.012 90); margin: 0; }
.div-8 { display: flex; flex-direction: column; gap: 4.5rem; }
.h3-1 { font-size: clamp(1.875rem, 3.2vw, 2.125rem); line-height: 1.25; margin: 0 0 0.75rem; font-weight: 400; }
.p-2 { font-size: 1.25rem; line-height: 1.55; margin: 0 0 1.25rem; font-weight: 400; color: oklch(0.42 0.012 90); font-style: italic; }
.p-3 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.7; margin: 0; color: oklch(0.38 0.012 90); }
.div-9 { background: oklch(0.98 0.006 90); height: 5.625rem; overflow: hidden; }
.div-10 { max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 3rem); box-sizing: border-box; position: relative; height: 100%; }
.img-3 { position: absolute; left: calc(12rem + clamp(1.25rem, 5vw, 3rem)); top: 0; height: 11.25rem; width: auto; max-width: none; display: block; }
.div-11 { background: oklch(0.2 0.01 90); height: 5.625rem; overflow: hidden; }
.img-4 { position: absolute; left: calc(12rem + clamp(1.25rem, 5vw, 3rem)); top: -5.625rem; height: 11.25rem; width: auto; max-width: none; display: block; }
.section-3 { background: oklch(0.2 0.01 90); color: oklch(0.97 0.006 90); }
.div-12 { max-width: 72rem; margin: 0 auto; padding: clamp(6.88rem, 1.04vw + 2rem, 12.5rem) clamp(1.25rem, 5vw, 3rem) clamp(7.56rem, 1.15vw + 2rem, 13.75rem); box-sizing: border-box; padding-top: 7.5rem; padding-bottom: 7.5rem; }
.h2-2 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8em; text-transform: uppercase; font-weight: 500; color: oklch(0.7 0.01 90); margin: 0; }
.div-13 { display: flex; flex-direction: column; gap: 5.5rem; }
.p-4 { font-size: clamp(1.875rem, 4.5vw, 2.875rem); font-style: italic; line-height: 1.25; margin: 0 0 1.125rem; font-weight: 400; }
.p-5 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.7; color: oklch(0.78 0.01 90); margin: 0; max-width: 35rem; }
.section-4 { max-width: 72rem; margin: 0 auto; padding: clamp(4.13rem, 0.63vw + 2rem, 7.5rem) clamp(1.25rem, 5vw, 3rem) clamp(3.44rem, 0.52vw + 2rem, 6.25rem); box-sizing: border-box; }
.div-14 { display: flex; flex-direction: column; gap: 1.375rem; }
.div-15 { font-size: 1.25rem; line-height: 1.6; margin: 0; color: oklch(0.28 0.012 90); }
.span-2 { text-wrap-mode: initial; font-size: 1.25rem; }
.div-16 { max-width: 72rem; margin: 0 auto; padding: clamp(5.16rem, 0.78vw + 2rem, 9.375rem) clamp(1.25rem, 5vw, 3rem) clamp(5.50rem, 0.83vw + 2rem, 10rem); box-sizing: border-box; padding-top: 7.5rem; padding-bottom: 7.5rem; }
.div-17 { margin: 0 0 2.75rem; }
.div-18 { display: flex; flex-direction: column; }
.div-19 { padding: 1.875rem 0; border-top: 1px solid oklch(0.4 0.008 90); }
.div-20 { line-height: 1.5; }
.h3-2 { font-size: 1.5rem; font-weight: 400; margin: 0 0 0.625rem; line-height: 1.3; }
.p-6 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.9375rem; line-height: 1.65; color: oklch(0.78 0.01 90); margin: 0; max-width: 35rem; }
.div-21 { padding: 1.875rem 0; border-top: 1px solid oklch(0.4 0.008 90); border-bottom: 1px solid oklch(0.4 0.008 90); }
.p-7 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.9375rem; color: oklch(0.7 0.01 90); margin: 2.25rem 0 0; font-style: italic; }
.section-5 { max-width: 72rem; margin: 0 auto; padding: clamp(3.78rem, 0.57vw + 2rem, 6.875rem) clamp(1.25rem, 5vw, 3rem) clamp(3.78rem, 0.57vw + 2rem, 6.875rem); box-sizing: border-box; }
.div-22 { margin: 0 0 4rem; }
.h2-3 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8em; text-transform: uppercase; font-weight: 500; color: oklch(0.45 0.012 90); margin: 0; line-height: 1.9; }
.p-8 { font-size: 1.25rem; line-height: 1.6; margin: 0; color: oklch(0.32 0.012 90); font-style: italic; }
.article-1 { border-top: 1px solid oklch(0.85 0.008 90); padding-top: 2rem; }
.h3-3 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); line-height: 1.2; font-weight: 400; margin: 0 0 1.25rem; max-width: 22ch; }
.p-9 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.7; color: oklch(0.38 0.012 90); margin: 0; max-width: 38.75rem; }
.div-23 { max-width: 72rem; margin: 0 auto; padding: clamp(4.13rem, 0.63vw + 2rem, 7.5rem) clamp(1.25rem, 5vw, 3rem) clamp(1.93rem, 0.29vw + 2rem, 3.5rem); box-sizing: border-box; }
.div-24 { margin-bottom: 6rem; }
.h2-4 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8em; text-transform: uppercase; font-weight: 500; color: oklch(0.7 0.01 90); margin: 0; line-height: 1.9; }
.p-10 { font-size: clamp(1.875rem, 4.2vw, 2.875rem); line-height: 1.15; margin: 0 0 2.5rem; font-weight: 400; max-width: 18ch; }
.div-25 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.75rem 3rem; }
.a-6 { font-size: 1.625rem; color: oklch(0.68 0.19 27); text-decoration: none; }
.a-7 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 1rem; color: oklch(0.68 0.19 27); text-decoration: none; }
.div-26 { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid oklch(0.4 0.008 90); padding-top: 1.5rem; }
.span-3 { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.8125rem; color: oklch(0.7 0.01 90); }

.div-when { display: flex; flex-direction: column; gap: 3.5rem; }
.h3-when { font-size: clamp(1.625rem, 3vw, 2rem); line-height: 1.25; margin: 0 0 0.875rem; font-weight: 400; max-width: 30ch; text-wrap: pretty; }
.p-when { font-size: 1.25rem; line-height: 1.55; margin: 0; font-style: italic; color: oklch(0.42 0.012 90); max-width: 36rem; text-wrap: pretty; }
.p-when::before { content: "→ "; font-style: normal; color: oklch(0.52 0.2 27); }
.article-2 { margin-top: 4rem; }
.p-hist { font-family: 'Instrument Sans', system-ui, sans-serif; font-size: 0.9375rem; line-height: 1.7; color: oklch(0.38 0.012 90); margin: 0; }
.p-hist .span-2 { font-size: inherit; }
.p-hist p { margin: 1.375rem 0 0; }
/* responsive */
@media (max-width: 56rem) {
  .row, .row-work { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .idx { line-height: 1.4; }
}
@media (max-width: 47.5rem) {
  #nav-desktop, #sticky-links { display: none !important; }
  #nav-toggle, #sticky-toggle { display: flex !important; }
  #sticky-panel:not([hidden]) { display: flex !important; }
}
@media (max-width: 43.75rem) {
  #hero-art { width: 100%; margin-left: 0 !important; }
  header#top { padding-bottom: 0.5rem !important; }
  header#top + section { padding-top: 0.5rem !important; }
  #site-logo { height: 5rem !important; }
  #seam-1 > div, #seam-2 > div, #seam-3 > div, #seam-4x > div { height: 3.75rem; }
  #seam-1 img, #seam-2 img, #seam-3 img, #seam-4x img { height: 7.5rem; left: 50% !important; transform: translateX(-50%) !important; }
  #seam-1 > div:last-child img, #seam-2 > div:last-child img, #seam-3 > div:last-child img, #seam-4x > div:last-child img { top: -3.75rem; }
}
@media (max-width: 40rem) {
  #hero-art { margin: 5% 0 !important; background-size: contain; background-position: center !important; }
}
