:root {
  color-scheme: dark;
  --paper: #090b0d;
  --ink: #f2ede6;
  --muted: #aaa9a5;
  --line: rgba(242, 237, 230, .17);
  --grid: 1010px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; }
input { font: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }

.paper-bg, .bg-grid { position: fixed; inset: 0; pointer-events: none; }
.paper-bg {
  background: none center / cover no-repeat;
  filter: grayscale(1) contrast(1.18) brightness(.34);
  mix-blend-mode: screen;
  opacity: .5;
}
.bg-grid {
  opacity: .7;
  background:
    linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px) 0 0 / 20vw 100%,
    linear-gradient(to right, rgba(255, 255, 255, .025) 1px, transparent 1px) 0 0 / 10vw 100%;
}
.page-shell { max-width: calc(var(--grid) + 84px); margin: auto; padding-inline: clamp(20px, 4vw, 42px); }
.masthead, main, .foot { position: relative; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; background: var(--ink); color: var(--paper); padding: 12px; transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio, .index-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; text-decoration: none; }
.studio { font: 700 11px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.index-link { font-size: 11px; color: var(--muted); white-space: nowrap; }
.studio span { color: var(--muted); font-size: 8px; font-weight: 400; letter-spacing: .15em; }
.index-link span { font-size: 14px; }
.studio:hover, .index-link:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }

.intro { text-align: center; padding-block: clamp(28px, 4.25vw, 60px) clamp(22px, 3vw, 39px); }
.eyebrow { margin: 0 0 13px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .23em; text-transform: uppercase; }
.intro h1 { margin: 0; font: 800 clamp(33px, 5.5vw, 69px)/.96 Arial, Helvetica, sans-serif; letter-spacing: .075em; text-wrap: balance; text-transform: uppercase; }
.intro::after { content: ''; display: block; width: 32px; height: 1px; margin: clamp(17px, 2.25vw, 28px) auto 0; background: rgba(242, 237, 230, .5); }

.collection { scroll-margin-top: 18px; }
.tools { display: flex; justify-content: center; margin-bottom: clamp(26px, 3.6vw, 46px); }
.search { width: min(238px, 100%); min-height: 44px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 5px; padding: 0 12px; color: var(--muted); background: rgba(9, 11, 13, .6); }
.search:focus-within { border-color: var(--ink); color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); letter-spacing: .075em; font-size: 12px; padding: 11px 0; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search input:focus { outline: none; }
.search svg { flex: none; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 72px) clamp(21px, 3.6vw, 47px); padding: 0; margin: 0; list-style: none; scroll-margin-top: 18px; }
.card { min-width: 0; }
.card a { display: block; border-radius: 5px; text-decoration: none; }
.cover { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 5px; background: #16191b; }
.cover::after { position: absolute; inset: 0; border: 1px solid rgba(242, 237, 230, .14); border-radius: inherit; content: ''; pointer-events: none; transition: border-color .25s var(--ease); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card h3 { text-align: center; font-size: clamp(10px, 1.04vw, 13px); font-weight: 500; line-height: 1.48; letter-spacing: .16em; text-transform: uppercase; margin: 15px 0 0; padding-inline: 4px; overflow-wrap: anywhere; }
.card a:is(:hover, :focus-visible) .cover::after { border-color: rgba(242, 237, 230, .68); }
@media (hover: hover) and (pointer: fine) { .card a:hover .cover img { transform: scale(1.035); } }
/* Keep faces in the 3:2 index frame when the original cover is a tall portrait. */
.card a[href="galleries/carolyn-burns-album-cover/"] .cover img { object-position: center 10%; }
.card a[href="galleries/madhu-chocolate/"] .cover img { object-position: center 70%; }
.card a[href="galleries/jonel/"] .cover img { object-position: center 13%; }

.empty { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; padding: 20px; }
.foot { margin-top: clamp(49px, 9vw, 107px); }
.foot-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.foot-content { width: 100%; min-height: inherit; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: inherit; }
.footer-label, .footer-count { margin: 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 33px 21px; }
  .masthead-inner { min-height: 57px; }
  .intro h1 span { display: block; }
}
@media (max-width: 420px) {
  .gallery-grid { gap: 29px 14px; }
  .card h3 { letter-spacing: .13em; margin-top: 10px; }
  .intro h1 { font-size: clamp(30px, 8.2vw, 36px); }
  .studio { font-size: 9px; letter-spacing: .14em; }
  .studio span { display: none; }
  .search input { font-size: 16px; }
  .search input::placeholder { font-size: 12px; }
  .foot-inner { min-height: 62px; }
  .foot-content { flex-wrap: wrap; align-content: center; gap: 6px 12px; }
  .footer-label, .footer-count { font-size: 9px; }
}
@media (max-width: 350px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .card h3 { font-size: 12px; }
}
@media (pointer: coarse) {
  .search input { font-size: 16px; }
  .search input::placeholder { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .card a:hover .cover img { transform: none; }
}

:root{color-scheme:light;--paper:#f8f5ef;--ink:#26231f;--muted:#655b52;--line:#cfc4b6;background:var(--paper);color:var(--ink)}
body{background:var(--paper)}
.paper-bg,.bg-grid{display:none}
.intro::after{background:#a0998c}
.search,.view-switch,.view-toolbar{background:#fffdf8;color:var(--ink)}
.cover,.hero-frame,.photo-open{background:#e6ded1}
.cover::after{border-color:#27231f22}
.card a:is(:hover,:focus-visible) .cover::after{border-color:#27231f88}
.hero-open,.hero-loading{color:#fff;background:#211e1bcc}
.photo-viewer,.photo-viewer::backdrop{background:#f8f5ef;color:var(--ink)}
.viewer-status,.viewer-loading{color:var(--ink);background:var(--paper)}
.hero-caption,.hero-inset:before,.hero-inset:after{background:var(--paper)}
:focus-visible{outline-color:var(--ink)}

.btw-child-photo #content{width:100%;overflow:visible}.btw-child-photo .ast-container{display:block}.btw-child-photo .btw-photo-cta{text-align:center;padding:24px;margin:30px auto;max-width:620px}.btw-child-photo .btw-photo-cta a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}.btw-child-photo .view-switch button,.btw-child-photo .arrow-button,.btw-child-photo .viewer-button{color:var(--ink)}.btw-child-photo .photo-viewer{margin:0;max-width:none;max-height:none}