/* A camera roll with room to grow. Shared by the homepage, archive and albums. */
[hidden] { display: none !important; }
.work-spotlight { display: grid; grid-template-columns: 1fr 1.08fr; min-width: 0; overflow: hidden; border-radius: var(--radius-card); background: var(--green); margin: 0 0 68px; }
.spotlight-image { position: relative; min-height: 370px; overflow: hidden; background: var(--lavender); }
.spotlight-image img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 50% 48%; transition: transform .5s; }
.work-spotlight:hover .spotlight-image img { transform: scale(1.035); }
.spotlight-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: var(--ink); font-size: 23px; padding-left: 4px; box-shadow: 0 5px 28px #170b2525; }
.spotlight-time { position: absolute; bottom: 20px; left: 22px; border-radius: 999px; background: var(--paper); color: var(--ink); padding: 7px 12px; font-size: 8px; font-weight: 800; letter-spacing: .07em; }
.spotlight-copy { padding: 42px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.spotlight-copy .eyebrow { font-size: 9px; margin-bottom: 23px; }
.spotlight-copy h3 { font-size: clamp(45px,4.6vw,68px); line-height: .94; }
.spotlight-copy > p:not(.eyebrow) { font-size: 12px; line-height: 1.85; color: var(--ink); max-width: 370px; margin-top: 22px; }
.spotlight-link { display: inline-flex; gap: 24px; align-items: center; font-size: 12px; font-weight: 800; margin-top: 26px; }
.spotlight-link > span { font-size: 24px; line-height: 1; }
.work-spotlight:hover .spotlight-link { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) {
  .spotlight-copy { padding: 32px; }
  .spotlight-copy h3 { font-size: 49px; }
  .spotlight-image { min-height: 350px; }
}
@media (max-width: 700px) {
  .work-spotlight { grid-template-columns: 1fr; margin-bottom: 72px; }
  .spotlight-image { min-height: 310px; }
  .spotlight-copy { padding: 30px 28px; }
  .spotlight-copy h3 { font-size: clamp(43px,10vw,60px); }
  .spotlight-copy .eyebrow { font-size: 8px; margin-bottom: 19px; }
  .spotlight-copy > p:not(.eyebrow) { font-size: 12px; margin-top: 18px; }
  .spotlight-link { margin-top: 22px; }
}
.camera-roll { margin-top: 80px; padding-top: 44px; border-top: 1px solid var(--line); }
.camera-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.camera-heading h3 { font-size: 52px; text-transform: uppercase; }
.camera-heading .eyebrow { margin-bottom: 12px; }
.camera-heading > p { max-width: 310px; font-size: 12px; }
.moment-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.moment-card { min-width: 0; display: block; border-radius: var(--radius-photo); text-align: left; }
.moment-image { position: relative; overflow: hidden; border-radius: var(--radius-photo); aspect-ratio: 1.32; background: var(--lavender); isolation: isolate; }
.moment-image img { display: block; position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; object-position: center; }

.moment-card:hover img { transform: none; }

.moment-meta { display: flex; align-items: center; margin: 12px 3px 0; }
.moment-format { position: static; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--paper); color: var(--ink); border-radius: 999px; font-size: 9px; font-weight: 800; z-index: 1; }
.moment-format.is-video { background: var(--green); }
.moment-open { position: absolute; bottom: 15px; right: 15px; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff85; color: white; border-radius: 50%; z-index: 1; font-size: 20px; }
.moment-card h3 { font-family: var(--body); font-size: 14px; line-height: 1.5; letter-spacing: -.025em; margin: 15px 3px 4px; font-weight: 800; }
.moment-card p { font-size: 11px; line-height: 1.5; margin: 0 3px; }
.camera-footer { margin-top: 35px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.camera-footer > p { font-size: 11px; }
.camera-footer .button { min-width: 255px; }
.portfolio-hero { background: var(--lavender); padding: 55px 0 52px; overflow: hidden; }
.portfolio-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.portfolio-hero h1 { font-size: clamp(90px,10vw,146px); line-height: .86; }
.portfolio-hero h1 span { color: var(--violet); }
.portfolio-hero .eyebrow { margin-bottom: 20px; }
.portfolio-lede { font-size: 13px; max-width: 435px; margin-top: 25px; line-height: 1.9; }
.portfolio-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; font-size: 10px; font-weight: 750; }
.portfolio-meta span { background: white; padding: 7px 13px; border-radius: 999px; }
.portfolio-cover { position: relative; height: 305px; }
.portfolio-cover img { position: absolute; width: 72%; height: 250px; object-fit: cover; border: 7px solid white; border-radius: 26px; left: 0; top: 0; transform: rotate(-7deg); box-shadow: 0 15px 30px #2b174317; }
.portfolio-cover img:nth-child(2) { width: 58%; height: 224px; left: auto; right: -5px; top: 77px; transform: rotate(9deg); }
.portfolio-cover span { position: absolute; top: -5px; right: -12px; transform: rotate(10deg); background: var(--coral); padding: 16px 20px; border-radius: 50%; font-family: var(--hand); font-size: 26px; line-height: .95; }
.portfolio-library { padding-block: 45px 70px; }
.library-tools { display: flex; gap: 18px; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.media-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filter-button { display: flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 17px; border: 1px solid var(--line); background: transparent; font-size: 11px; font-weight: 750; min-height: 43px; }
.filter-button span { font-size: 9px; opacity: .7; }
.filter-button[aria-pressed=true] { color: white; border-color: var(--violet); background: var(--violet); }
.library-search { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-field { position: relative; }
.search-field > span { position: absolute; left: 16px; top: 11px; font-size: 18px; }
.search-field input { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px 12px 41px; width: 220px; font-size: 11px; color: var(--ink); }
.library-search select { background: white; border: 1px solid var(--line); border-radius: 999px; padding: 12px 32px 12px 17px; font-size: 11px; max-width: 205px; color: var(--ink); }
.library-status { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; gap: 14px; font-size: 11px; }
.library-reset { background: transparent; text-decoration: underline; text-underline-offset: 4px; font-size: 11px; padding: 5px 0; color: var(--violet); }
.library-actions { text-align: center; margin-top: 40px; }
.library-actions p { margin-bottom: 15px; font-size: 11px; }
.library-actions .button { min-width: 240px; }
.library-empty { padding: 60px 25px; text-align: center; background: var(--lavender); border-radius: var(--radius-card); }
.library-empty h3 { font-size: 40px; margin-bottom: 14px; }
.library-empty p { font-size: 13px; margin-bottom: 20px; }
.portfolio-cta { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 36px 40px; border-radius: var(--radius-card); background: var(--green); margin-top: 60px; }
.portfolio-cta h2 { font-size: 49px; }
.portfolio-cta p { font-size: 12px; margin-top: 12px; }
.portfolio-footer { border-top: 1px solid var(--line); padding-block: 25px; display: flex; justify-content: space-between; gap: 25px; align-items: center; }
.portfolio-footer .brand { width: 155px; }
.portfolio-footer p,.portfolio-footer > a:last-child { font-size: 10px; }
.album-dialog { max-width: 1200px; width: calc(100% - 32px); max-height: calc(100dvh - 32px); background: var(--paper); overflow: auto; }
.dialog-toolbar { display: contents; }
.dialog-toolbar-label { display: none; }
.album-dialog .dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; position: sticky; top: 0; z-index: 6; min-height: 60px; padding: 8px 16px 8px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.album-dialog .dialog-toolbar-label { display: block; font-size: 12px; font-weight: 800; }
.album-dialog .dialog-close { display: block; position: static; margin: 0; flex: 0 0 44px; width: 44px; height: 44px; }
.album-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(285px,.8fr); }
.album-view { background: var(--ink); min-width: 0; padding: 24px; color: white; }
.album-viewer { height: min(62dvh,610px); min-height: 180px; position: relative; display: flex; align-items: center; justify-content: center; background: #170b25; overflow: hidden; padding: 8px; border-radius: 18px; }
.album-viewer > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; }
.album-viewer > video { width: 100%; height: 100%; object-fit: contain; }
.album-embed { position: relative; flex: none; }
.album-embed iframe { display: block; position: absolute; inset: 0 auto auto 0; max-width: none; border: 0; transform-origin: top left; }
.album-media-actions { display: flex; align-items: center; justify-content: center; }
.album-media-actions:not(:empty) { margin-top: 12px; }
.video-launch { position: static; display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; background: var(--green); color: var(--ink); border-radius: 999px; padding: 12px 24px; font-size: 12px; font-weight: 800; }
.album-full-photo { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.video-launch > span { font-size: 16px; }
.album-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.album-controls p { color: #e9dcf9; font-size: 11px; }
.album-controls button { display: grid; place-items: center; background: #ffffff18; color: white; border: 1px solid #ffffff50; border-radius: 50%; width: 42px; height: 42px; font-size: 22px; }
.album-controls button:disabled { opacity: .3; cursor: default; }
.album-caption { color: #eee3ff; margin-top: 12px; font-size: 11px; line-height: 1.7; min-height: 20px; }
.album-thumbs { display: flex; gap: 9px; overflow-x: auto; margin-top: 18px; padding: 4px 4px 9px; }
.album-thumb { position: relative; padding: 0; flex: 0 0 72px; height: 60px; border: 2px solid transparent; border-radius: 10px; background: #ffffff22; opacity: .65; overflow: hidden; }
.album-thumb[aria-pressed=true] { opacity: 1; border-color: var(--green); }
.album-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.album-thumb > span { position: absolute; bottom: 2px; right: 2px; padding: 0 3px; color: white; background: #170b25; border-radius: 3px; font-size: 9px; }
.album-info { padding: 28px 30px; min-width: 0; overflow-wrap: anywhere; }
.album-info h2 { font-size: 48px; line-height: .96; margin-bottom: 24px; }
.album-info > p { font-size: 12px; line-height: 1.9; margin-bottom: 22px; }
.album-info .eyebrow { margin-bottom: 18px; font-size: 9px; }
.album-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.album-tags span { border-radius: 999px; background: var(--lavender); padding: 6px 11px; font-size: 9px; font-weight: 700; }
.album-info .button { font-size: 11px; width: 100%; margin-bottom: 17px; padding: 16px 19px; }
.album-source { display: block; width: fit-content; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; margin-bottom: 15px; }
.album-info .source-note { margin-top: 8px; font-size: 10px; }
.album-view :focus-visible { outline-color: var(--green); }
.showcase-header { padding: 47px 0 42px; background: var(--lavender); }
.back-link { display: inline-block; font-size: 11px; margin-bottom: 32px; font-weight: 750; }
.showcase-header h1 { font-size: clamp(64px,7vw,104px); max-width: 900px; }
.showcase-description { font-size: 14px; line-height: 1.9; max-width: 690px; margin-top: 25px; }
.showcase-header .album-tags { margin-top: 25px; margin-bottom: 0; }
.showcase-header .album-tags span { background: white; }
.showcase-gallery { padding-block: 42px 65px; }
.showcase-gallery .moment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.showcase-gallery .moment-image { aspect-ratio: 1.3; background: var(--ink); }
.showcase-gallery .moment-image img { object-fit: contain; }
.showcase-gallery .library-status { margin-bottom: 25px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media(min-width:1000px) { .camera-roll .moment-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px 20px; } }
@media(max-width:1000px) { .portfolio-intro { grid-template-columns: 1fr .75fr; gap: 25px; } .portfolio-cover { height: 230px; } .portfolio-cover img { height: 180px; } .portfolio-cover img:nth-child(2) { height: 160px; top: 80px; } .portfolio-cover span { font-size: 21px; top: -10px; } .library-tools { align-items: start; } .library-search { width: 100%; } .search-field { flex: 1; } .search-field input { width: 100%; } .moment-grid { gap: 25px 18px; } .album-layout { grid-template-columns: minmax(0,1.1fr) minmax(280px,.8fr); } }
@media(max-width:700px) {
  .camera-roll { margin-top: 49px; padding-top: 32px; }
  .camera-heading { display: block; margin-bottom: 24px; }
  .camera-heading h3 { font-size: 43px; }
  .camera-heading > p { margin-top: 17px; }
  .camera-roll .moment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 14px; }
  .camera-roll .moment-image { aspect-ratio: .88; border-radius: 20px; }
  .moment-card h3 { font-size: 12px; margin-top: 11px; }
  .moment-card p { font-size: 10px; }
  .moment-format { top: 10px; left: 10px; padding: 5px 9px; font-size: 8px; }
  .moment-open { width: 30px; height: 30px; right: 10px; bottom: 10px; font-size: 18px; }
  .camera-footer { align-items: stretch; flex-direction: column; gap: 18px; }
  .camera-footer .button { width: 100%; }
  .portfolio-hero { padding-block: 33px 32px; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 26px; }
  .portfolio-hero h1 { font-size: clamp(78px,18vw,115px); }
  .portfolio-lede { font-size: 12px; }
  .portfolio-cover { display: none; }
  .portfolio-meta { margin-top: 20px; gap: 7px; font-size: 9px; }
  .portfolio-meta span { padding: 6px 10px; }
  .portfolio-library { padding-top: 28px; }
  .filter-button { padding: 11px 14px; font-size: 10px; }
  .filter-button span { font-size: 8px; }
  .library-search { flex-wrap: wrap; gap: 11px; }
  .search-field { flex: 1 1 100%; }
  .search-field input,.library-search select { font-size: 16px; width: 100%; max-width: none; }
  .library-search select { flex: 1; }
  .search-field > span { top: 13px; }
  .library-status { font-size: 10px; }
  .portfolio-library .moment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 14px; }
  .portfolio-library .moment-image { aspect-ratio: .85; border-radius: 20px; }
  .portfolio-cta { padding: 28px; flex-direction: column; align-items: start; margin-top: 43px; }
  .portfolio-cta h2 { font-size: 40px; }
  .portfolio-cta .button { width: 100%; font-size: 11px; }
  .portfolio-footer { flex-wrap: wrap; gap: 20px; }
  .portfolio-footer p { order: 3; width: 100%; font-size: 9px; }
  .portfolio-footer > a:last-child { margin-left: auto; }
  .album-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .album-layout { display: block; }
  .album-view { padding: 12px; }
  .album-viewer { height: clamp(200px, calc(100dvh - 245px), 620px); min-height: 0; }
  .album-info { padding: 27px 24px; }
  .album-dialog .dialog-toolbar { padding-left: 16px; }
  .album-info h2 { font-size: 42px; }
  .album-info .eyebrow { font-size: 8px; }
  .album-thumbs { margin-top: 12px; }
  .album-thumb { flex-basis: 62px; height: 49px; }
  .album-caption { font-size: 10px; }
  .showcase-header { padding-block: 28px 34px; }
  .showcase-header h1 { font-size: 59px; }
  .showcase-description { font-size: 12px; }
  .showcase-gallery .moment-grid { grid-template-columns: 1fr; }
  .showcase-gallery .moment-card h3 { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) { .moment-image img { transition: none; } }

@media (max-height: 520px) and (min-width: 701px) {
  .album-viewer { height: calc(100dvh - 150px); min-height: 150px; }
}
