:root {
  --paper: #f5efee;
  --paper-deep: #eadfdd;
  --ink: #2b2020;
  --ink-soft: #786866;
  --line: #d2c4c1;
  --accent: #a34f43;
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, serif;
  --sans: "Helvetica Neue", "PingFang SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.22,.72,.24,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { border: 0; padding: 0; background: transparent; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.site-header { position: relative; z-index: 10; padding: 29px clamp(22px,3.1vw,48px) 0; }
.header-inner { display: flex; min-height: 58px; align-items: flex-start; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.site-mark { display: inline-flex; min-height: 48px; align-items: center; gap: 12px; transition: opacity .18s ease; }
.site-mark:hover { opacity: .6; }
.brand-symbol, .footer-symbol { display: inline-block; flex: 0 0 auto; color: var(--accent); background: currentColor; -webkit-mask: url('assets/feathermoon-symbol.svg') center / contain no-repeat; mask: url('assets/feathermoon-symbol.svg') center / contain no-repeat; }
.brand-symbol { width: 34px; height: 30px; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--sans); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .055em; }
.brand-copy strong i { color: var(--accent); font-style: normal; font-weight: 400; }
.brand-copy small { color: var(--ink-soft); font-family: var(--mono); font-size: 8px; line-height: 1; letter-spacing: .16em; }
.mark-primary { font-size: 24px; font-weight: 600; letter-spacing: -.08em; }
.mark-primary span { color: var(--accent); }
.mark-secondary { color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: clamp(20px,3.25vw,50px); padding-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
nav a { position: relative; min-height: 44px; padding: 10px 0; white-space: nowrap; transition: color .18s ease; }
nav a::after, .tabs button::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; content: ''; opacity: 0; transform: scaleX(0); transform-origin: left; transition: opacity .18s ease, transform .22s var(--ease); }
nav a:hover, nav a.active, .tabs button:hover, .tabs button.active { color: var(--accent); }
nav a:hover::after, nav a.active::after, .tabs button:hover::after, .tabs button.active::after { opacity: 1; transform: scaleX(1); }

.page-shell { width: min(calc(100% - 44px),1390px); margin-inline: auto; }
.explore { min-height: calc(100vh - 87px); padding: clamp(22px,3.2vh,38px) 0 30px; }
.explore-heading { margin-bottom: clamp(14px,2.2vh,24px); }
.eyebrow { display: flex; align-items: baseline; gap: 7px; margin: 0; font-family: var(--mono); font-size: 15px; letter-spacing: .1em; }
.eyebrow strong { color: var(--accent); font-weight: 400; }
.tabs { display: flex; gap: 25px; margin-top: 9px; }
.tabs button { position: relative; min-height: 28px; padding: 2px 0 7px; color: var(--ink-soft); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.mode-panel { animation: panel-in .42s var(--ease) both; }
.empty { min-height: 45vh; padding-top: 10vh; color: var(--ink-soft); font-family: var(--serif); font-size: 22px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.tone-stage { display: grid; min-height: clamp(270px,46vh,440px); grid-template-columns: minmax(0,1fr) minmax(0,2.2fr) minmax(0,1fr); align-items: center; gap: clamp(12px,2vw,32px); }
.tone-stage > button { display: flex; min-width: 0; align-items: center; justify-content: center; }
.side-photo { min-height: 180px; }
.side-photo img { width: auto; height: auto; max-width: 100%; max-height: clamp(140px,29vh,285px); filter: saturate(.76); opacity: .73; transition: opacity .24s ease, transform .28s var(--ease), filter .24s ease; }
.side-photo:hover img { opacity: 1; filter: saturate(.9); transform: scale(1.012); }
.main-photo { position: relative; min-height: 270px; overflow: hidden; }
.main-photo > img { width: 100%; height: clamp(280px,46vh,440px); object-fit: cover; animation: image-in .44s var(--ease) both; }
@keyframes image-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.photo-meta { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 40px 1fr auto; align-items: end; gap: 12px; padding: 38px 14px 13px; color: #f5f1e8; background: linear-gradient(transparent,rgba(16,16,14,.75)); text-align: left; }
.photo-meta em, .photo-meta b, .photo-meta small { font-family: var(--mono); font-size: 9px; font-style: normal; font-weight: 400; letter-spacing: .08em; }
.photo-meta em { color: #e6a085; }
.photo-meta > span { font-family: var(--serif); font-size: 17px; line-height: 1.2; }
.photo-meta small { display: block; margin-top: 5px; opacity: .72; }

.tone-control { position: relative; margin-top: clamp(16px,2.6vh,28px); }
.tone-rail { position: relative; width: 100%; height: 44px; margin-inline: auto; cursor: grab; touch-action: none; user-select: none; }
.tone-rail.is-scrubbing { cursor: grabbing; }
.tone-rail:focus-within { outline: 1px solid color-mix(in srgb,var(--accent) 55%,transparent); outline-offset: 4px; }
.tone-rail input { position: absolute; z-index: 4; inset: 0; width: 100%; height: 44px; margin: 0; cursor: inherit; opacity: 0; pointer-events: none; }
.tone-segments { display: flex; height: 44px; gap: 0; overflow: hidden; border-radius: 2px; background: var(--paper); box-shadow: 0 0 0 1px rgba(43,32,32,.08); }
.tone-segments span { min-width: 0; flex: var(--tone-weight,1) 1 0; transition: filter .18s ease; }
.tone-segments span.current { filter: saturate(1.22) contrast(1.04); }
.tone-cursor { position: absolute; z-index: 3; top: -40px; width: 1px; height: 112px; background: var(--accent); pointer-events: none; transform: translateX(-50%); }
.tone-cursor::before { position: absolute; top: 40px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(163,79,67,.12); content: ''; transform: translate(-50%,-50%); transition: box-shadow .16s ease,transform .16s ease; }
.tone-rail.is-scrubbing .tone-cursor::before { box-shadow: 0 0 0 8px rgba(163,79,67,.18); transform: translate(-50%,-50%) scale(1.12); }
.tone-labels { position: relative; min-height: 32px; margin-top: 15px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; line-height: 12px; letter-spacing: .08em; }
.tone-labels strong { position: absolute; top: 0; left: 50%; color: var(--accent); font-weight: 400; white-space: nowrap; transform: translateX(-50%); }
.tone-labels span { position: absolute; bottom: 0; }
.tone-labels span:first-child { left: 0; }
.tone-labels span:last-child { right: 0; text-align: right; }
.miniatures { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.miniatures button { width: clamp(44px,6vw,76px); padding-bottom: 5px; border-bottom: 1px solid transparent; opacity: .55; transition: opacity .18s ease, border-color .18s ease; }
.miniatures button:hover, .miniatures button.current { border-color: var(--accent); opacity: 1; }
.miniatures img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }

.echo-counter { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 14px; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.echo-counter span:first-child { color: var(--accent); }
.echo-grid { position: relative; display: grid; min-height: clamp(390px,57vh,560px); grid-template-columns: 1fr 1fr; gap: clamp(28px,5.5vw,88px); }
.echo-grid figure { min-width: 0; margin: 0; animation: echo-left .46s var(--ease) both; }
.echo-grid figure:nth-child(2) { animation-name: echo-right; animation-delay: 45ms; }
@keyframes echo-left { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
@keyframes echo-right { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: translateX(0); } }
.echo-grid figure > button { display: flex; width: 100%; height: min(53vh,500px); align-items: center; justify-content: center; overflow: hidden; }
.echo-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: filter .24s ease, transform .3s var(--ease); }
.echo-grid figure button:hover img { filter: saturate(.82); transform: scale(1.012); }
.echo-grid figcaption { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; margin-top: 14px; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; }
.echo-grid figcaption em { color: var(--accent); font-style: normal; }
.echo-grid figcaption b { font-weight: 400; }
.connector { position: absolute; top: 45%; left: 50%; display: grid; width: 34px; gap: 11px; transform: translate(-50%,-50%); }
.connector i { display: block; width: 100%; height: 1px; background: var(--accent); }
.echo-footer { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 25px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .07em; }
.echo-footer div { display: flex; gap: 18px; }
.echo-footer button { color: var(--accent); font-size: 10px; }
.echo-footer button:hover { color: var(--ink); }

.manifesto { padding: clamp(75px,12vw,160px) 0 40px; }
.manifesto > p { margin: 0; color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.manifesto blockquote { width: min(760px,100%); margin: 28px 0 80px; font-family: var(--serif); font-size: clamp(29px,4vw,56px); font-weight: 400; line-height: 1.45; letter-spacing: -.04em; }
.manifesto > div { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; }
.manifesto a:hover { color: var(--accent); }

.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 22px; color: #eeeae2; background: rgba(18,17,15,.97); animation: lightbox-in .22s ease both; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox-bar { display: flex; min-height: 42px; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.lightbox-bar button { color: #e6a085; }
.lightbox > img { align-self: center; justify-self: center; width: auto; height: auto; max-width: min(1180px,95vw); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox > small { align-self: end; justify-self: center; padding-top: 10px; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; opacity: .62; }

@media (max-width: 760px) {
  .site-header { padding: 20px 18px 0; }
  .header-inner { min-height: 52px; align-items: center; }
  .mark-primary { font-size: 21px; }
  .mark-secondary { font-size: 8px; }
  nav { gap: 13px; font-size: 9px; }
  nav a { min-height: 42px; padding-top: 12px; }
  .page-shell { width: min(calc(100% - 36px),560px); }
  .explore { min-height: 0; padding: 37px 0 34px; }
  .explore-heading { margin-bottom: 29px; }
  .eyebrow { font-size: 13px; }
  .tabs { margin-top: 15px; gap: 21px; }
  .tabs button { min-height: 34px; font-size: 10px; }
  .tone-stage { min-height: 255px; grid-template-columns: 54px minmax(0,1fr) 54px; gap: 8px; }
  .side-photo { min-height: 0; }
  .side-photo img { max-height: 125px; }
  .main-photo { min-height: 0; }
  .main-photo > img { height: min(340px,72vw); }
  .photo-meta { grid-template-columns: 28px 1fr; padding: 34px 10px 10px; }
  .photo-meta b { display: none; }
  .photo-meta > span { font-size: 14px; }
  .tone-control { margin-top: 27px; }
  .tone-rail, .tone-rail input, .tone-segments { height: 44px; }
  .tone-labels strong { max-width: 72%; overflow: hidden; text-overflow: ellipsis; }
  .miniatures { overflow-x: auto; justify-content: flex-start; padding-bottom: 8px; }
  .miniatures button { flex: 0 0 62px; }
  .echo-counter { font-size: 9px; }
  .echo-grid { display: flex; min-height: 0; flex-direction: column; gap: 30px; }
  .echo-grid figure > button { height: auto; }
  .echo-grid figure img { height: auto; aspect-ratio: 1.4; }
  .connector { position: static; display: flex; width: 100%; justify-content: center; gap: 9px; transform: none; }
  .connector i { width: 1px; height: 14px; }
  .echo-footer { display: block; }
  .echo-footer > span { display: none; }
  .echo-footer div { justify-content: space-between; gap: 10px; }
  .manifesto blockquote { margin-bottom: 60px; }
  .lightbox { padding: 15px; }
}

@media (max-width: 430px) {
  .mark-secondary { display: none; }
  nav { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Shared multi-page structure */
.page-main { min-height: calc(100vh - 88px); padding: clamp(30px,5vw,68px) 0 70px; }
.page-intro { margin-bottom: clamp(36px,6vw,78px); }
.page-intro h1 { margin: 18px 0 42px; font-family: var(--serif); font-size: clamp(38px,6.2vw,88px); font-weight: 400; line-height: 1; letter-spacing: -.055em; }
.intro-line { display: flex; justify-content: space-between; gap: 24px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .08em; }
.intro-line b { color: var(--accent); font-weight: 400; }

.projects-intro { position: relative; isolation: isolate; }
.projects-intro > :not(.brand-halfmark) { position: relative; z-index: 1; }
.brand-halfmark { position: absolute; z-index: 0; top: -27px; right: 0; width: clamp(210px,29vw,410px); aspect-ratio: 156.26 / 65.28; color: var(--accent); background: currentColor; opacity: .065; pointer-events: none; -webkit-mask: url('assets/feathermoon-half-logo.svg') center / contain no-repeat; mask: url('assets/feathermoon-half-logo.svg') center / contain no-repeat; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; }
.footer-symbol { width: 18px; height: 16px; }

/* Projects */
.projects-page { padding-bottom: 45px; }
.projects-intro { margin-bottom: 34px; }
.project-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 84px 24px; align-items: start; }
.project-card { min-width: 0; }
.project-1 { grid-column: 1 / span 7; }
.project-2 { grid-column: 8 / span 5; margin-top: 12vw; }
.project-3 { grid-column: 3 / span 7; }
.project-image { position: relative; display: block; overflow: hidden; background: var(--paper-deep); }
.project-image img { width: 100%; aspect-ratio: 1.42; object-fit: cover; filter: saturate(.83); transition: transform .65s var(--ease), filter .3s ease; }
.project-2 .project-image img { aspect-ratio: 1.1; }
.project-image > span { position: absolute; right: 14px; bottom: 14px; padding: 8px 10px; color: #f4efe5; background: rgba(24,22,19,.7); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .25s var(--ease); }
.project-image:hover img { filter: saturate(1); transform: scale(1.018); }
.project-image:hover > span { opacity: 1; transform: translateY(0); }
.project-placeholder { display: grid; aspect-ratio: 1.42; place-items: center; color: var(--ink-soft); font-family: var(--mono); font-size: 10px; }
.project-meta { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: baseline; margin-top: 16px; }
.project-meta em { color: var(--accent); font-family: var(--mono); font-size: 10px; font-style: normal; }
.project-meta h2 { margin: 0; font-family: var(--serif); font-size: clamp(24px,2.6vw,39px); font-weight: 400; line-height: 1; }
.project-meta p { margin: 7px 0 0; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.project-meta > span { color: var(--ink-soft); font-family: var(--mono); font-size: 9px; }
.project-copy { max-width: 560px; margin: 19px 0 0 48px; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.8; }
.project-foot { display: flex; justify-content: space-between; gap: 18px; margin: 20px 0 0 48px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.project-foot a { color: var(--accent); }
.projects-end { display: flex; justify-content: space-between; margin-top: 100px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.projects-end a { color: var(--accent); }

/* Archive */
.archive-tools { display: grid; grid-template-columns: repeat(5,minmax(100px,1fr)) minmax(180px,1.35fr) auto; gap: 10px; align-items: end; margin-bottom: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.archive-tools label { display: grid; gap: 6px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.archive-tools select, .archive-tools input { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: 0; padding: 0 10px; color: var(--ink); background: transparent; font: 11px var(--sans); }
.archive-tools button { height: 36px; padding: 0 13px; color: var(--accent); border: 1px solid var(--accent); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.archive-status { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-bottom: 14px; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.archive-status span:first-child { color: var(--accent); }
.archive-status #archive-showing { justify-self: end; }
.archive-order { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); }
.archive-order button { min-width: 58px; height: 25px; padding: 0 9px; color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; transition: color .18s ease,background .18s ease; }
.archive-order button:hover, .archive-order button.active { color: var(--paper); background: var(--accent); }
.archive-grid { columns: 4 230px; column-gap: 16px; }
.archive-item { position: relative; display: inline-block; width: 100%; margin: 0 0 16px; overflow: hidden; break-inside: avoid; text-align: left; background: var(--paper-deep); }
.archive-item img { width: 100%; height: auto; min-height: 150px; object-fit: cover; filter: saturate(.8); transition: filter .25s ease, transform .4s var(--ease); }
.archive-item.portrait img { aspect-ratio: .78; }
.archive-item.landscape img { aspect-ratio: 1.38; }
.archive-item > span { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 30px 1fr auto; align-items: end; gap: 8px; padding: 35px 10px 9px; color: #f6f0e6; background: linear-gradient(transparent,rgba(17,16,14,.72)); opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .25s var(--ease); }
.archive-item em, .archive-item small { font-family: var(--mono); font-size: 8px; font-style: normal; font-weight: 400; letter-spacing: .05em; }
.archive-item em { color: #eda083; }
.archive-item b { overflow: hidden; font-family: var(--serif); font-size: 13px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.archive-item:hover img { filter: saturate(1); transform: scale(1.015); }
.archive-item:hover > span, .archive-item:focus-visible > span { opacity: 1; transform: translateY(0); }
.archive-empty { min-height: 32vh; margin: 0; padding-top: 60px; color: var(--ink-soft); font-family: var(--serif); font-size: 22px; }
.load-more { display: flex; width: 100%; justify-content: space-between; margin-top: 28px; padding: 15px 0; color: var(--accent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.load-more:disabled { opacity: 1; }
.load-more #load-more-label { display: inline-flex; align-items: center; gap: 8px; }
.load-more.loading #load-more-label::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ''; animation: archive-load-pulse .8s ease-in-out infinite alternate; }
@keyframes archive-load-pulse { from { opacity: .28; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }

/* Explore additions */
.explore-page { padding-top: clamp(28px,4vw,52px); }

/* Film */
.film-body { color: #f1e8e5; background: #1c1515; }
.film-body .site-header { color: #f1e8e5; background: #1c1515; }
.film-body .header-inner { border-color: #4b3837; }
.film-body .mark-secondary { color: #8f8b83; }
.film-body .brand-copy small { color: #aa9794; }
.film-body .brand-symbol { color: #d98b7b; }
.film-stage { position: relative; display: grid; min-height: calc(100vh - 87px); grid-template-columns: 58px minmax(0,1fr) 58px; grid-template-rows: auto minmax(0,1fr) auto; gap: 12px; padding: 24px clamp(20px,3vw,48px) 22px; overflow: hidden; }
.film-kicker { grid-column: 1 / -1; display: flex; justify-content: space-between; color: #8f8b83; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.film-kicker span:first-child { color: #d47a5c; }
.film-viewer { display: grid; min-width: 0; min-height: 0; grid-column: 2; grid-row: 2; grid-template-rows: minmax(0,1fr) auto; gap: 14px; margin: 0; }
.film-transport { --frame-width: min(72vw,1040px); --film-gap: 18px; position: relative; align-self: stretch; min-height: 330px; overflow: hidden; border: 1px solid #3f3030; border-radius: 2px; background: radial-gradient(circle at 50% 45%,#302424 0,#1b1515 57%,#100d0d 100%); box-shadow: inset 0 0 70px #090707,0 18px 48px #09060666; isolation: isolate; }
.film-transport::before { position: absolute; z-index: 4; inset: 0; border: 1px solid #7d5f5838; box-shadow: inset 0 0 44px #050303c7; content: ''; pointer-events: none; }
.film-strip { position: absolute; top: 50%; left: 50%; display: flex; width: max-content; gap: var(--film-gap); transform: translate(-50%,-50%); will-change: transform,filter; }
.film-frame { position: relative; width: var(--frame-width); min-width: 0; flex: 0 0 var(--frame-width); padding: 28px 17px 29px; background: linear-gradient(90deg,#0e0d0c,#171412 12%,#171412 88%,#0c0b0a); box-shadow: 0 0 0 1px #332922,0 9px 26px #0009; }
.film-frame::before, .film-frame::after { position: absolute; right: 0; left: 0; height: 13px; background: radial-gradient(ellipse at center,#cbb298 0 3.3px,#2a211b 3.6px 4.1px,transparent 4.4px) 1px 0 / 24px 13px repeat-x; content: ''; opacity: .88; }
.film-frame::before { top: 7px; }
.film-frame::after { bottom: 7px; }
.film-frame-window { display: flex; height: min(53vh,545px); align-items: center; justify-content: center; overflow: hidden; border: 1px solid #080707; background: #080707; box-shadow: inset 0 0 26px #000,0 0 0 1px #6b493c38; }
.film-frame-window img { width: 100%; height: 100%; object-fit: contain; filter: saturate(.94) contrast(1.015); }
.film-edge-code { position: absolute; z-index: 1; top: 10px; right: 24px; left: 24px; display: flex; justify-content: space-between; color: #c6ad91; font-family: var(--mono); font-size: 6px; line-height: 8px; letter-spacing: .11em; text-transform: uppercase; }
.film-edge-code-bottom { top: auto; bottom: 10px; color: #b86751; }
.film-gate-edge { position: absolute; z-index: 5; top: 8%; bottom: 8%; width: 1px; background: linear-gradient(transparent,#c18a7666 12%,#c18a7644 88%,transparent); box-shadow: 0 0 17px #d47a5c47; pointer-events: none; }
.film-gate-edge-left { left: 7%; }
.film-gate-edge-right { right: 7%; }
.film-shutter { position: absolute; z-index: 6; inset: 0; background: #f5d9cc; opacity: 0; mix-blend-mode: screen; pointer-events: none; }
.film-grain { position: absolute; z-index: 7; inset: -40%; background-image: radial-gradient(#fff 0 .5px,transparent .7px),radial-gradient(#fff 0 .4px,transparent .7px); background-position: 0 0,7px 11px; background-size: 13px 15px,17px 19px; opacity: .035; pointer-events: none; animation: film-grain 1.1s steps(2,end) infinite; }
@keyframes film-grain { 0% { transform: translate3d(-1%,1%,0); } 33% { transform: translate3d(2%,-1%,0); } 66% { transform: translate3d(-2%,-2%,0); } 100% { transform: translate3d(1%,2%,0); } }
.film-transport.advance-next .film-strip { animation: film-advance-next 1.18s cubic-bezier(.22,.68,.2,1) both; }
.film-transport.advance-previous .film-strip { animation: film-advance-previous 1.18s cubic-bezier(.22,.68,.2,1) both; }
.film-transport.is-advancing .film-shutter { animation: film-shutter 1.18s ease both; }
.film-transport.is-advancing .film-frame-window img { animation: film-motion-blur 1.18s ease both; }
@keyframes film-advance-next { 0%,10% { transform: translate(-50%,-50%); } 24% { transform: translate(calc(-50% - 8px),-50%); } 72% { transform: translate(calc(-50% - var(--frame-width) - var(--film-gap) - 8px),-50%); } 88% { transform: translate(calc(-50% - var(--frame-width) - var(--film-gap) + 5px),-50%); } 100% { transform: translate(calc(-50% - var(--frame-width) - var(--film-gap)),-50%); } }
@keyframes film-advance-previous { 0%,10% { transform: translate(-50%,-50%); } 24% { transform: translate(calc(-50% + 8px),-50%); } 72% { transform: translate(calc(-50% + var(--frame-width) + var(--film-gap) + 8px),-50%); } 88% { transform: translate(calc(-50% + var(--frame-width) + var(--film-gap) - 5px),-50%); } 100% { transform: translate(calc(-50% + var(--frame-width) + var(--film-gap)),-50%); } }
@keyframes film-shutter { 0%,18%,100% { opacity: 0; } 42% { opacity: .12; } 49% { opacity: .035; } 56% { opacity: .09; } 67% { opacity: 0; } }
@keyframes film-motion-blur { 0%,14%,90%,100% { filter: none; } 38%,68% { filter: blur(2.4px) saturate(.72); } }
.film-stage figcaption { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: end; padding-top: 11px; border-top: 1px solid #44413c; }
.film-stage figcaption > span { color: #8f8b83; font-family: var(--mono); font-size: 9px; letter-spacing: .07em; }
.film-stage figcaption > span:last-child { color: #d47a5c; }
.film-stage figcaption strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.film-stage figcaption small { display: block; margin-top: 3px; color: #8f8b83; font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.film-arrow { grid-row: 2; align-self: center; color: #8f8b83; font-size: 20px; transition: color .2s ease; }
.film-arrow:hover { color: #d47a5c; }
.film-arrow-left { grid-column: 1; }
.film-arrow-right { grid-column: 3; }
.film-controls { grid-column: 1 / -1; display: grid; grid-template-columns: 58px 1fr auto; gap: 18px; align-items: center; color: #8f8b83; font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.film-controls > button { color: #d47a5c; text-align: left; }
.film-meter { height: 2px; overflow: hidden; background: #443533; }
.film-meter i { display: block; width: 0; height: 100%; background: #d47a5c; box-shadow: 0 0 9px #d47a5c88; }
.film-empty { grid-column: 1 / -1; }

/* About */
.about-page > .eyebrow { margin-bottom: clamp(36px,6vw,84px); }
.about-lead { display: grid; grid-template-columns: minmax(0,2fr) minmax(260px,1fr); gap: clamp(40px,8vw,130px); align-items: end; }
.about-lead h1 { margin: 0; font-family: var(--serif); font-size: clamp(39px,6vw,86px); font-weight: 400; line-height: 1.26; letter-spacing: -.06em; }
.about-lead > p { margin: 0 0 10px; color: var(--ink-soft); font-family: var(--serif); font-size: 16px; line-height: 2; }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: clamp(90px,14vw,190px); }
.about-grid > div { padding-top: 14px; border-top: 1px solid var(--line); }
.about-grid span { color: var(--accent); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }
.about-grid h2 { margin: 22px 0 12px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.about-grid p { margin: 0; color: var(--ink-soft); font-family: var(--serif); font-size: 14px; line-height: 1.85; }
.about-socials { display: grid; margin-top: 22px; border-top: 1px solid var(--line); }
.about-socials a { display: flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); transition: color .18s ease,padding .22s var(--ease); }
.about-socials a:hover { padding-inline: 5px; color: var(--accent); }
.about-socials span { color: var(--ink-soft); font-size: 7px; }
.about-socials strong { font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .04em; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; margin-top: 120px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 8px; letter-spacing: .07em; }
.site-footer a { justify-self: end; color: var(--accent); }

/* Shared lightbox overrides */
.lightbox { grid-template-columns: 70px minmax(0,1fr) 70px; grid-template-rows: auto minmax(0,1fr) auto; }
.lightbox-bar { grid-column: 1 / -1; }
.lightbox-actions { display: flex; align-items: center; gap: 22px; }
.lightbox > img { grid-column: 2; grid-row: 2; }
.lightbox > small { grid-column: 1 / -1; grid-row: 3; }
.lightbox-arrow { grid-row: 2; align-self: center; color: #e6a085; font-size: 22px; }
.lightbox-previous { grid-column: 1; }
.lightbox-next { grid-column: 3; }
.lightbox-exif-panel { position: absolute; z-index: 3; top: 72px; right: 92px; width: min(330px,calc(100vw - 42px)); max-height: calc(100vh - 145px); overflow: auto; padding: 18px; color: #eeeae2; border: 1px solid #57534c; background: rgba(28,27,24,.96); box-shadow: 0 16px 50px rgba(0,0,0,.28); }
.lightbox-exif-panel > p { margin: 0 0 18px; color: #e6a085; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.lightbox-exif-panel > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid #45413c; font-family: var(--mono); font-size: 9px; line-height: 1.5; }
.lightbox-exif-panel span { color: #8f8b83; }
.lightbox-exif-panel b { font-weight: 400; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .project-grid { gap: 64px 18px; }
  .project-1 { grid-column: 1 / span 8; }
  .project-2 { grid-column: 8 / span 5; }
  .project-3 { grid-column: 2 / span 8; }
  .archive-tools { grid-template-columns: repeat(3,1fr); }
  .archive-tools .search-label { grid-column: 1 / span 2; }
  .archive-tools button { grid-column: 3; }
  .about-lead { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { padding-top: 15px; }
  .header-inner { display: block; padding-bottom: 0; }
  .site-mark { min-height: 32px; }
  nav { width: 100%; justify-content: space-between; gap: 12px; overflow-x: auto; padding-top: 0; }
  nav a { min-height: 39px; }
  .page-main { padding-top: 34px; }
  .page-intro h1 { margin: 17px 0 32px; }
  .intro-line { align-items: flex-end; }
  .intro-line span:last-child { max-width: 38%; text-align: right; }
  .project-grid { display: block; }
  .project-card, .project-2 { margin: 0 0 66px; }
  .project-image img, .project-2 .project-image img { aspect-ratio: 1.28; }
  .project-meta { grid-template-columns: 28px 1fr auto; }
  .project-copy, .project-foot { margin-left: 40px; }
  .projects-end { margin-top: 10px; }
  .archive-tools { grid-template-columns: 1fr 1fr; }
  .search-label { grid-column: 1 / -1; }
  .archive-tools button { grid-column: 1 / -1; }
  .archive-grid { columns: 2 140px; column-gap: 10px; }
  .archive-item { margin-bottom: 10px; }
  .archive-item > span { display: block; padding-top: 28px; opacity: 1; transform: none; }
  .archive-item b { display: block; margin: 3px 0; }
  .archive-item small { display: none; }
  .film-stage { min-height: calc(100vh - 86px); grid-template-columns: 35px minmax(0,1fr) 35px; padding: 18px 12px; }
  .film-transport { --frame-width: min(78vw,900px); }
  .film-frame-window { height: min(50vh,500px); }
  .film-controls { grid-template-columns: 48px 1fr; }
  .film-controls > span { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; margin-top: 90px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer span:nth-child(2) { display: none; }
  .lightbox { grid-template-columns: 34px minmax(0,1fr) 34px; padding: 12px; }
  .lightbox-exif-panel { top: auto; right: 12px; bottom: 46px; left: 12px; width: auto; max-height: 52vh; }
}

@media (max-width: 430px) {
  .mark-secondary { display: inline; }
  .archive-tools { grid-template-columns: 1fr; }
  .search-label, .archive-tools button { grid-column: 1; }
  .project-meta > span { display: none; }
  .project-copy, .project-foot { margin-left: 0; }
}

/* Mobile experience: touch-first composition instead of a scaled desktop grid. */
@media (max-width: 760px) {
  body { overflow-x: hidden; }
  .site-header { position: sticky; top: 0; z-index: 40; padding: 10px 14px 0; background: rgba(245,239,238,.94); backdrop-filter: blur(14px); }
  .film-body .site-header { background: rgba(28,21,21,.94); }
  .header-inner { display: grid; min-height: 0; gap: 0; border-bottom: 0; }
  .site-mark { min-height: 43px; gap: 10px; padding: 0 0 9px; border-bottom: 1px solid var(--line); }
  .film-body .site-mark { border-color: #4b3837; }
  .brand-symbol { width: 31px; height: 27px; }
  .brand-copy { gap: 3px; }
  .brand-copy strong { font-size: 11px; letter-spacing: .045em; }
  .brand-copy small { font-size: 7px; letter-spacing: .14em; }
  nav { width: calc(100% + 28px); justify-content: flex-start; gap: 24px; margin-left: -14px; overflow-x: auto; padding: 0 14px; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-snap-type: x proximity; }
  .film-body nav { border-color: #4b3837; }
  nav::-webkit-scrollbar { display: none; }
  nav a { min-height: 39px; flex: 0 0 auto; padding: 13px 0 10px; font-size: 9px; scroll-snap-align: start; }

  .page-shell { width: calc(100% - 28px); }
  .page-main { min-height: 0; padding: 28px 0 48px; }
  .page-intro { margin-bottom: 34px; }
  .page-intro h1 { margin: 18px 0 29px; font-size: clamp(40px,13vw,58px); line-height: 1.06; }
  .eyebrow { font-size: 11px; }
  .intro-line { display: grid; grid-template-columns: 1fr; gap: 8px; padding-top: 10px; line-height: 1.45; }
  .intro-line span:last-child { max-width: none; text-align: left; }
  .projects-intro { margin-bottom: 28px; }
  .brand-halfmark { top: 4px; right: -8px; width: min(54vw,220px); opacity: .07; }

  .project-grid { display: block; }
  .project-card, .project-2, .project-3 { margin: 0 0 54px; }
  .project-image, .project-image img, .project-2 .project-image img { aspect-ratio: 4 / 3; }
  .project-meta { grid-template-columns: 27px minmax(0,1fr) auto; gap: 8px; margin-top: 13px; }
  .project-meta h2 { font-size: 22px; }
  .project-copy { margin: 16px 0 0 35px; font-size: 13px; line-height: 1.75; }
  .project-foot { margin: 17px 0 0 35px; }
  .projects-end { margin-top: 0; padding-bottom: 6px; }

  .archive-tools { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .archive-tools label { min-width: 0; padding: 7px 8px; }
  .archive-tools select, .archive-tools input { min-height: 30px; font-size: 12px; }
  .archive-tools .search-label { grid-column: 1 / -1; }
  .archive-tools > button { grid-column: 1 / -1; min-height: 42px; border: 1px solid var(--line); }
  .archive-status { grid-template-columns: 1fr auto; margin: 19px 0 12px; }
  .archive-order { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .archive-order button { flex: 1; min-height: 34px; }
  .archive-grid { columns: 2 130px; column-gap: 8px; }
  .archive-item { margin-bottom: 8px; }
  .archive-item > span { padding: 8px 2px 14px; opacity: 1; transform: none; }
  .archive-item b { display: block; margin-top: 3px; font-size: 11px; }
  .archive-item small { display: none; }
  .load-more { min-height: 48px; margin-top: 18px; }

  .explore-page { padding-top: 25px; }
  .explore-heading { margin-bottom: 21px; }
  .tabs { margin-top: 12px; }
  .tabs button { min-height: 36px; }
  .tone-stage { position: relative; display: block; min-height: 0; }
  .main-photo { display: block; width: 100%; min-height: 0; }
  .main-photo > img { width: 100%; height: min(62vh,128vw); min-height: 330px; aspect-ratio: 4 / 5; object-fit: cover; }
  .side-photo { position: absolute; z-index: 3; top: 50%; width: 42px; height: 74px; min-height: 0; padding: 7px; background: rgba(245,239,238,.86); transform: translateY(-50%); backdrop-filter: blur(8px); }
  .side-photo:first-child { left: 0; }
  .side-photo:nth-child(3) { right: 0; }
  .side-photo img { width: 100%; height: 60px; object-fit: cover; opacity: 1; }
  .photo-meta { grid-template-columns: 30px 1fr; gap: 8px; padding: 48px 12px 12px; }
  .photo-meta > span { font-size: 15px; }
  .tone-control { margin-top: 18px; }
  .tone-rail, .tone-rail input, .tone-segments { height: 34px; }
  .tone-cursor { top: -23px; height: 79px; }
  .tone-cursor::before { top: 23px; width: 13px; height: 13px; box-shadow: 0 0 0 6px rgba(163,79,67,.14); }
  .tone-labels { display: grid; min-height: 0; grid-template-columns: 1fr auto; gap: 7px 12px; margin-top: 12px; }
  .tone-labels strong { position: static; grid-column: 1 / -1; max-width: 100%; overflow: hidden; color: var(--accent); text-overflow: ellipsis; transform: none; }
  .tone-labels span { position: static; }
  .tone-labels span:last-child { text-align: right; }
  .miniatures { justify-content: flex-start; gap: 7px; margin: 18px -14px 0; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .miniatures::-webkit-scrollbar { display: none; }
  .miniatures button { flex: 0 0 72px; width: 72px; padding-bottom: 6px; scroll-snap-align: center; }
  .miniatures img { aspect-ratio: 4 / 3; }
  .echo-grid { display: flex; min-height: 0; flex-direction: column; gap: 27px; }
  .echo-grid figure > button { height: auto; }
  .echo-grid figure img { height: auto; aspect-ratio: 4 / 3; }
  .echo-footer { margin-top: 18px; }
  .echo-footer div { width: 100%; }
  .echo-footer button { min-height: 42px; }

  .film-stage { min-height: calc(100svh - 99px); grid-template-columns: 29px minmax(0,1fr) 29px; grid-template-rows: auto minmax(0,1fr) auto; gap: 8px; padding: 14px 7px 16px; }
  .film-viewer { gap: 10px; }
  .film-transport { --frame-width: calc(100vw - 100px); --film-gap: 10px; min-height: 300px; height: calc(100svh - 270px); }
  .film-frame { padding: 25px 9px 26px; }
  .film-frame-window { height: calc(100svh - 340px); min-height: 225px; }
  .film-edge-code { right: 14px; left: 14px; font-size: 5px; letter-spacing: .06em; }
  .film-gate-edge-left { left: 4%; }
  .film-gate-edge-right { right: 4%; }
  .film-arrow { min-height: 52px; font-size: 18px; }
  .film-stage figcaption { grid-template-columns: minmax(75px,auto) 1fr auto; gap: 8px; }
  .film-stage figcaption > span { font-size: 7px; }
  .film-stage figcaption strong { font-size: 16px; }
  .film-controls { position: sticky; bottom: 0; grid-template-columns: 54px 1fr; padding: 10px 0 2px; background: #1c1515; }

  .about-page > .eyebrow { margin-bottom: 42px; }
  .about-lead { display: block; }
  .about-lead h1 { font-size: clamp(36px,10.8vw,52px); line-height: 1.35; }
  .about-lead > p { margin-top: 34px; font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; gap: 42px; margin-top: 72px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; margin-top: 76px; }
  .site-footer span:nth-child(2) { display: block; }
  .site-footer a { justify-self: start; }

  .lightbox { grid-template-columns: 32px minmax(0,1fr) 32px; padding: 10px; }
  .lightbox-bar { min-height: 48px; }
  .lightbox > img { max-width: 100%; max-height: calc(100svh - 134px); }
  .lightbox-arrow { min-height: 52px; }
  .lightbox-exif-panel { right: 10px; bottom: 50px; left: 10px; max-height: 58vh; }
}

@media (prefers-reduced-motion: reduce) {
  .film-grain, .film-transport.advance-next .film-strip, .film-transport.advance-previous .film-strip,
  .film-transport.is-advancing .film-shutter, .film-transport.is-advancing .film-frame-window img { animation: none; }
}

@media (max-width: 430px) {
  .brand-copy strong { font-size: 10px; }
  nav { gap: 20px; }
  .page-shell { width: calc(100% - 24px); }
  .brand-halfmark { right: -4px; width: 180px; }
  .project-meta > span { display: none; }
  .project-copy, .project-foot { margin-left: 0; }
  .archive-tools { grid-template-columns: 1fr; }
  .archive-tools .search-label, .archive-tools > button { grid-column: 1; }
  .tone-labels { grid-template-columns: 1fr; }
  .tone-labels span:last-child { text-align: left; }
}
