:root{
  --paper:#F7F5F0;
  --ink:#1F2933;
  --accent:#4D5B31;
  --line:#d7d5cc;
  --serif:Georgia,'Times New Roman',serif;
  --sans:'Helvetica Neue',Arial,sans-serif
}
*{
  box-sizing:border-box
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:85px
}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.5 var(--sans)
}
a{
  color:inherit;
  text-decoration:none
}
button,select{
  font:inherit;
  color:inherit
}
button,a,select{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button:focus-visible,a:focus-visible,select:focus-visible{
  outline:3px solid #a5b576;
  outline-offset:5px
}
.skip{
  position:fixed;
  top:-100px;
  left:20px;
  background:white;
  padding:12px;
  z-index:100
}
.skip:focus{
  top:12px
}
.masthead{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5%;
  background:var(--paper)
}
.wordmark{
  font-size:24px;
  font-weight:800;
  letter-spacing:-1.5px;
  display:inline-flex;
  gap:7px;
  align-items:baseline
}
.wordmark span{
  font:italic 26px var(--serif);
  font-weight:normal
}
.masthead nav{
  display:flex;
  align-items:center;
  gap:32px;
  font-size:13px
}
.masthead nav button{
  background:none;
  border:1px solid var(--ink);
  border-radius:0;
  padding:8px 15px
}
.masthead a:hover,footer a:hover{
  color:var(--accent)
}
.hero{
  position:relative;
  min-height:680px;
  height:calc(100svh - 86px);
  max-height:1150px;
  background:#303a30;
  color:white;
  isolation:isolate
}
.hero-photo,.hero-shade{
  position:absolute;
  inset:0;
  z-index:-2;
  overflow:hidden
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 48%
}
.hero-shade{
  z-index:-1;
  background:linear-gradient(90deg,rgba(0,0,0,.62),rgba(0,0,0,.14) 85%),linear-gradient(0deg,rgba(0,0,0,.2),transparent 70%)
}
.hero-copy{
  padding:clamp(75px,11vh,160px) 8%;
  max-width:1000px
}
.eyebrow{
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:2px;
  font-weight:600
}
.hero h1{
  font:normal clamp(80px,9.8vw,170px)/.91 var(--serif);
  letter-spacing:-5px;
  margin:38px 0 28px
}
.intro{
  font-size:16px;
  line-height:1.7;
  color:#f4f1e9
}
.hero-link{
  display:inline-flex;
  gap:55px;
  align-items:center;
  margin-top:35px;
  padding-bottom:9px;
  border-bottom:1px solid #ffffff8c;
  font-size:13px
}
.hero-link span{
  font-size:22px
}
.hero-number{
  position:absolute;
  right:5%;
  bottom:30px;
  font-size:11px;
  letter-spacing:3px
}
.index{
  padding:95px 8%;
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:70px;
  border-bottom:1px solid var(--line)
}
h2{
  font:normal clamp(40px,4vw,64px)/1.05 var(--serif);
  letter-spacing:-1.5px;
  margin:15px 0 22px
}
.index p:not(.eyebrow){
  font-size:13px;
  color:#657061
}
.days{
  display:flex;
  flex-wrap:wrap;
  align-content:center;
  gap:10px
}
.days a{
  font-size:13px;
  min-width:88px;
  padding:14px 10px;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:4px
}
.days a span{
  font-size:10px;
  color:#64705d
}
.days a:hover{
  border-color:var(--accent);
  background:#eeeee5
}
.timeline-bar{
  margin:0 8%;
  padding:35px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:12px;
  gap:16px
}
.timeline-bar p{
  font-weight:700
}
.timeline-bar p span{
  font-weight:normal;
  color:#657061;
  padding-left:12px
}
.timeline-bar label{
  display:flex;
  align-items:center;
  gap:12px
}
.timeline-bar select{
  font-size:12px;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  padding:10px 5px;
  max-width:200px
}
.chapter{
  padding:20px 8% 90px
}
.chapter-head{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:20px;
  align-items:start;
  border-top:1px solid var(--line);
  padding-top:32px;
  margin-bottom:32px
}
.chapter-number{
  color:var(--accent);
  font:italic 44px var(--serif)
}
.chapter-head h2{
  font-size:42px;
  margin:0 0 12px
}
.chapter-head p{
  font-size:12px;
  color:#657061;
  margin:0
}
.gallery{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:20px
}
.memory{
  grid-column:span 2;
  margin:0;
  min-width:0
}
.memory.lead{
  grid-column:span 6;
  margin-bottom:20px
}
.memory:nth-child(8n+5):not(.lead){
  grid-column:span 3
}
.memory:nth-child(8n+6):not(.lead){
  grid-column:span 3
}
.image-button{
  width:100%;
  display:block;
  position:relative;
  border:0;
  background:#e4e2d8;
  padding:0;
  overflow:hidden;
  text-align:left
}
.memory img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .45s
}
.memory.lead img{
  aspect-ratio:16/9;
  max-height:80vh
}
.image-button:hover img{
  transform:scale(1.025)
}
.memory figcaption{
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:10px;
  color:#657061;
  padding:10px 0;
  letter-spacing:.4px
}
.video-badge{
  position:absolute;
  bottom:15px;
  left:15px;
  background:#f7f5f0ed;
  color:var(--ink);
  padding:7px 12px;
  font-size:11px
}
.unavailable{
  padding:20px;
  border:1px solid var(--line);
  font-size:13px
}
.unavailable p{
  margin:0
}
.more{
  display:block;
  margin:25px auto 0;
  padding:14px 26px;
  background:none;
  border:1px solid var(--line);
  font-size:12px
}
.more:hover{
  background:#e8eadf
}
#empty{
  text-align:center;
  padding:60px
}
footer{
  margin:0 8%;
  border-top:1px solid var(--line);
  padding:40px 0 55px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px
}
footer p,footer>a:last-child{
  font-size:11px
}
dialog{
  border:0;
  max-width:none;
  max-height:none;
  width:100vw;
  height:100dvh;
  padding:0;
  background:#0A0A0A;
  color:#fff;
  overflow:hidden
}
dialog::backdrop{
  background:#0A0A0A
}
dialog[open]{
  display:flex;
  flex-direction:column
}
.viewer-toolbar,.viewer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 30px;
  gap:12px;
  flex-shrink:0
}
.viewer-toolbar p{
  font-size:12px
}
.viewer-toolbar>div{
  display:flex;
  gap:12px
}
dialog button{
  color:white;
  background:none;
  border:1px solid #ffffff40;
  padding:9px 14px;
  font-size:12px
}
dialog button:hover{
  background:#ffffff20
}
dialog button:disabled{
  opacity:.3;
  cursor:default
}
#viewer-media{
  flex:1;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative
}
#viewer-media img,#viewer-media video{
  width:100%;
  height:100%;
  object-fit:contain
}
#viewer-media .media-error{
  position:absolute;
  background:#181818;
  padding:25px
}
#counter{
  font-size:12px;
  color:#c7c7c7
}
.viewer-bottom{
  padding-bottom:max(18px,env(safe-area-inset-bottom))
}
@media(min-width:1900px){
  .gallery{
    gap:32px
  }
  .masthead{
    height:100px
  }
  .hero{
    height:calc(100svh - 100px)
  }
  body{
    font-size:20px
  }
  .masthead nav,.timeline-bar,.timeline-bar select{
    font-size:16px
  }
  .memory figcaption{
    font-size:14px
  }
  dialog button,.viewer-toolbar p,#counter{
    font-size:18px
  }
}
@media(max-width:900px){
  .index{
    gap:35px;
    padding:65px 6%;
    grid-template-columns:1fr
  }
  .days{
    gap:8px
  }
  .gallery{
    gap:14px
  }
  .memory{
    grid-column:span 3
  }
  .memory:nth-child(8n+5):not(.lead),.memory:nth-child(8n+6):not(.lead){
    grid-column:span 3
  }
  .chapter{
    padding-left:6%;
    padding-right:6%
  }
  .hero h1{
    font-size:112px
  }
}
@media(max-width:540px){
  .masthead{
    height:72px;
    padding:0 6%
  }
  .masthead nav{
    gap:16px;
    font-size:11px
  }
  .masthead nav a:nth-child(2){
    display:none
  }
  .masthead nav button{
    font-size:11px;
    padding:7px 9px
  }
  .wordmark{
    font-size:21px
  }
  .wordmark span{
    font-size:23px
  }
  .hero{
    min-height:620px;
    height:calc(92svh - 72px)
  }
  .hero-copy{
    padding:85px 7% 70px
  }
  .hero h1{
    font-size:84px;
    letter-spacing:-4px;
    margin-top:35px
  }
  .eyebrow{
    font-size:9px
  }
  .intro{
    font-size:14px
  }
  .hero-link{
    margin-top:25px
  }
  .hero-number{
    font-size:9px
  }
  .index{
    padding:55px 7%;
    gap:20px
  }
  .days a{
    min-width:77px;
    padding:12px 7px
  }
  .timeline-bar{
    margin:0 7%;
    align-items:start
  }
  .timeline-bar p span{
    display:block;
    padding:4px 0
  }
  .timeline-bar label{
    gap:6px;
    font-size:10px
  }
  .timeline-bar select{
    font-size:10px;
    max-width:145px
  }
  .chapter{
    padding:10px 5% 45px
  }
  .chapter-head{
    grid-template-columns:42px 1fr;
    gap:12px
  }
  .chapter-number{
    font-size:30px
  }
  .chapter-head h2{
    font-size:31px
  }
  .gallery{
    gap:12px
  }
  .memory,.memory:nth-child(8n+5):not(.lead),.memory:nth-child(8n+6):not(.lead){
    grid-column:span 3
  }
  .memory.lead{
    grid-column:span 6;
    margin-bottom:5px
  }
  .memory.lead img{
    aspect-ratio:4/3
  }
  .memory figcaption{
    font-size:9px
  }
  .video-badge{
    left:8px;
    bottom:8px;
    padding:4px 7px;
    font-size:10px
  }
  footer{
    padding:30px 0;
    flex-wrap:wrap
  }
  footer p{
    width:100%;
    order:3;
    margin:0
  }
  .viewer-toolbar,.viewer-bottom{
    padding:12px;
    gap:7px
  }
  .viewer-toolbar p{
    font-size:10px
  }
  .viewer-toolbar>div{
    gap:6px
  }
  dialog button{
    font-size:10px;
    padding:9px
  }
  .viewer-toolbar p{
    max-width:120px
  }
  .viewer-bottom{
    padding-bottom:25px
  }
}
@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto
  }
  *{
    transition:none!important;
    animation:none!important
  }
}
.hero-photo img{
  transform:scale(1.06)
}
[hidden]{
  display:none!important
}
.memory img{
  height:auto
}

/* Preferences, reversible selection, and projection controls. */
.experience-bar{display:flex;justify-content:flex-end;align-items:center;gap:24px;padding:10px 5%;border-top:1px solid var(--line);font-size:12px}
.experience-bar label,.projection-controls label{display:flex;align-items:center;gap:8px}
.experience-bar select{font:inherit;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--line);padding:7px}
.experience-bar button,.selection-actions button,.import-label,.selection-notice button{font:inherit;border:1px solid var(--line);background:transparent;color:inherit;padding:10px 14px;cursor:pointer}
.experience-bar button[aria-pressed=true]{background:var(--accent);color:white}
.selection-panel{margin:0 8% 30px;padding:24px;border:1px solid var(--line);background:#eeeee5;font-size:13px;scroll-margin-top:20px}
.selection-panel h2{font-size:30px;letter-spacing:-.5px;margin:0 0 14px}
.selection-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.import-label{position:relative;overflow:hidden;display:inline-block}
.import-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.import-label:focus-within{outline:3px solid #a5b576;outline-offset:3px}
#selection-status{min-height:1.5em}
.selection-notice{margin:0 8% 24px;display:flex;justify-content:space-between;align-items:center;gap:14px;font-size:12px}
.selection-notice button{flex-shrink:0}
.photo-choice{display:flex;align-items:center;gap:8px;font-size:12px;padding:10px 0;cursor:pointer}
.photo-choice input{width:18px;height:18px;accent-color:var(--accent)}
.memory.is-hidden .image-button{opacity:.4}
.memory.is-hidden figcaption{color:#8c3020}
.projection-frame{flex:1;min-height:0;display:flex;position:relative}
#viewer-shell{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;overflow:hidden}
#viewer-shell:fullscreen{width:100vw;height:100dvh;background:#0A0A0A}
[data-theme=vintage] #viewer-shell:fullscreen{background:radial-gradient(ellipse at 50% 45%,#5b422e,#211810 75%)}
#viewer-media{min-width:0;overflow:hidden}
.viewer-toolbar{flex-wrap:wrap;flex-shrink:0}
.viewer-toolbar p{margin:0}
.viewer-toolbar>div{flex-wrap:wrap}
.projection-controls{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;flex-shrink:0;padding:12px 24px;font-size:12px;border-top:1px solid #ffffff20}
.projection-controls select{font:inherit;background:#222;color:#fff;border:1px solid #666;padding:7px 10px}
.projection-controls select{min-height:36px}
#timing{font-size:11px;min-width:180px;text-align:center;color:#ddd;font-variant-numeric:tabular-nums}
#photo-progress{width:100px;height:5px;accent-color:#b3bf93}
.viewer-bottom{flex-shrink:0;gap:14px}
.viewer-bottom button{min-width:120px;min-height:44px}
.viewer-help{font-size:10px;text-align:center;color:#aaa;margin:0;padding:0 15px 12px;flex-shrink:0}
#lightbox:fullscreen{width:100vw;height:100dvh}

/* Soirée diapositives: a warm dark room, a white slide mount and a metal remote. */
body[data-theme=vintage]{--line:#78604b;background:repeating-linear-gradient(3deg,#ffffff02 0 2px,#00000003 2px 6px),radial-gradient(ellipse at top,#6f4830,#3B2418 65%);color:#f1e9da}
[data-theme=vintage] .masthead{background:repeating-linear-gradient(0deg,#ffffff10 0 1px,#00000005 1px 3px),linear-gradient(#d5d8dc,#B8BCC2);color:#2c241f;border-bottom:3px solid #6c5140;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 18px rgba(0,0,0,.28)}
[data-theme=vintage] .masthead nav button{border-color:#837869;background:linear-gradient(#f4f4f4,#b8bcc2);box-shadow:inset 0 1px 0 #fff,0 2px 2px #0003;border-radius:3px}
[data-theme=vintage] .experience-bar{border:0;color:#ede1ca;background:#241b16;font-family:'Courier New',monospace}
[data-theme=vintage] .experience-bar select option{background:#241b16;color:#ede1ca}
[data-theme=vintage] .experience-bar button{border-color:#ad9476;color:#ede1ca;border-radius:3px}
[data-theme=vintage] .experience-bar button[aria-pressed=true]{background:#8A5A3B}
[data-theme=vintage] .hero{width:calc(100% - 96px);max-width:1600px;height:72svh;min-height:600px;max-height:1000px;margin:40px auto 60px;border:14px solid #F4F4F4;border-bottom-width:42px;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 12px 32px #0008,0 0 70px #f7db9920;background:#111}
[data-theme=vintage] .hero::after{content:'USA 2026 / CARNET DE DIAPOSITIVES';position:absolute;bottom:-29px;left:18px;font:11px 'Courier New',monospace;letter-spacing:3px;color:#655649}
[data-theme=vintage] .hero h1{font-size:clamp(75px,8vw,128px);letter-spacing:-4px}
[data-theme=vintage] .hero-copy{padding:65px 6%}
[data-theme=vintage] .hero-number{display:none}
[data-theme=vintage] .index{background:#22191488;padding-top:65px;padding-bottom:65px}
[data-theme=vintage] .index p:not(.eyebrow),[data-theme=vintage] .days a span,[data-theme=vintage] .timeline-bar p span,[data-theme=vintage] .chapter-head p,[data-theme=vintage] .memory figcaption{color:#d4c4ac}
[data-theme=vintage] .days a:hover{background:#8A5A3B;color:#fff}
[data-theme=vintage] .chapter-number{color:#d6b681}
[data-theme=vintage] .image-button{background:#1d1510;border:7px solid #F4F4F4;box-shadow:0 4px 10px #0005}
[data-theme=vintage] .memory.lead .image-button{border-width:12px}
[data-theme=vintage] .chapter-head h2{font-style:italic}
[data-theme=vintage] .photo-choice{font-family:'Courier New',monospace}
[data-theme=vintage] .memory.is-hidden figcaption{color:#f8af8b}
[data-theme=vintage] .more:hover{background:#8A5A3B}
[data-theme=vintage] .selection-panel{background:#281e17;color:#f1e9da}
[data-theme=vintage] .timeline-bar select option{background:#3B2418;color:#f1e9da}
[data-theme=vintage] footer{font-family:'Courier New',monospace}
[data-theme=vintage] #lightbox{background:radial-gradient(ellipse at 50% 45%,#5b422e,#211810 75%);color:#eee4cf}
[data-theme=vintage] .viewer-toolbar{font-family:'Courier New',monospace;background:#201813}
[data-theme=vintage] .projection-frame{margin:12px max(20px,5vw) 18px;padding:20px 20px 36px;background:#F4F4F4;border-radius:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 18px rgba(0,0,0,.28),0 0 60px #ffe2a622}
[data-theme=vintage] .projection-frame::after{content:'USA 2026 · DIAPOSITIVES';position:absolute;bottom:11px;left:24px;color:#766554;font:11px 'Courier New',monospace;letter-spacing:2px}
[data-theme=vintage] #viewer-media{background:#0A0A0A;box-shadow:inset 0 2px 6px #0009}
[data-theme=vintage] #viewer-media img{animation:slide-arrive .2s ease-out}
[data-theme=vintage] .projection-controls{margin:0 max(20px,5vw);border:1px solid #a39e96;border-radius:6px 6px 0 0;background:repeating-linear-gradient(0deg,#ffffff10 0 1px,#00000005 1px 3px),linear-gradient(#d4d6d8,#B8BCC2);color:#3B2418;box-shadow:inset 0 1px 0 #fff,0 8px 18px #0004;font-family:'Courier New',monospace}
[data-theme=vintage] .projection-controls select{background:#F4F4F4;color:#3B2418;border-color:#8f8b82;box-shadow:inset 0 1px 3px #0003;border-radius:2px}
[data-theme=vintage] #timing{color:#3B2418}
[data-theme=vintage] #photo-progress{accent-color:#7F1D1D}
[data-theme=vintage] .projection-controls button{color:#3B2418;border-color:#928779;background:linear-gradient(#fff,#d8d8d8);box-shadow:inset 0 1px 0 #fff,0 2px 2px #0003;border-radius:3px}
[data-theme=vintage] .viewer-bottom{margin:0 max(20px,5vw) 10px;background:linear-gradient(#9b6c48,#8A5A3B);border:1px solid #b38d69;border-top:0;box-shadow:inset 0 1px 0 #b38d69,0 8px 18px #0005;border-radius:0 0 6px 6px;font-family:'Courier New',monospace}
[data-theme=vintage] .viewer-bottom button{border:1px solid #938575;border-radius:4px;color:#35291e;background:linear-gradient(#F4F4F4,#B8BCC2);box-shadow:inset 0 1px 0 #fff,0 3px 2px #0004}
[data-theme=vintage] .viewer-bottom #next{background:linear-gradient(#a34b37,#7F1D1D);border-color:#511b11;color:white}
[data-theme=vintage] .viewer-bottom button:active{box-shadow:inset 0 2px 4px #0005;transform:translateY(1px)}
[data-theme=vintage] .viewer-help{color:#d4c4ac}
@keyframes slide-arrive{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1900px){.experience-bar{font-size:16px}.projection-controls{font-size:18px;gap:24px}#timing{font-size:16px;min-width:300px}.viewer-help{font-size:14px}.photo-choice{font-size:16px}.selection-panel{font-size:18px}}
@media(max-width:900px){.projection-controls{gap:10px}.viewer-toolbar{padding:12px 20px}.selection-actions{gap:8px}}
@media(max-width:540px){
  .experience-bar{padding:8px 6%;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:10px}
  .experience-bar select{padding:5px;max-width:160px}.experience-bar button{padding:7px 9px}
  .selection-panel{margin:0 5% 20px;padding:16px;font-size:12px}.selection-panel h2{font-size:26px}
  .selection-actions button,.import-label{padding:9px;font-size:11px}.selection-notice{margin:0 5% 20px;flex-wrap:wrap}
  .photo-choice{font-size:10px}.photo-choice input{flex-shrink:0}
  .viewer-toolbar{padding:9px 12px;gap:7px}.viewer-toolbar p{max-width:none;width:100%}.viewer-toolbar>div{width:100%;justify-content:flex-end}
  .projection-controls{padding:10px 12px;gap:8px;font-size:10px}.projection-controls label{gap:5px}.projection-controls select{padding:5px;font-size:10px}
  #timing{font-size:10px;min-width:150px}#photo-progress{width:65px}.viewer-bottom{padding:10px 12px}.viewer-bottom button{min-width:100px}
  .viewer-help{font-size:9px;padding:0 10px 8px}
  [data-theme=vintage] .hero{width:calc(100% - 24px);margin:18px auto 30px;min-height:565px;height:76svh;border-width:8px;border-bottom-width:30px}
  [data-theme=vintage] .hero h1{font-size:59px;letter-spacing:-3px}[data-theme=vintage] .hero-copy{padding:65px 6%}
  [data-theme=vintage] .hero::after{font-size:8px;letter-spacing:1px;bottom:-21px;left:8px}
  [data-theme=vintage] .image-button{border-width:4px}[data-theme=vintage] .memory.lead .image-button{border-width:7px}
  [data-theme=vintage] .projection-frame{margin:8px 12px 10px;padding:10px 10px 25px}[data-theme=vintage] .projection-frame::after{font-size:8px;letter-spacing:1px;bottom:7px;left:12px}
  [data-theme=vintage] .projection-controls,[data-theme=vintage] .viewer-bottom{margin-left:12px;margin-right:12px}
}
@media(max-height:550px){.viewer-help{display:none}.viewer-toolbar p{width:auto}.viewer-toolbar>div{width:auto}.viewer-toolbar{padding:6px 12px}.projection-controls{padding:5px 12px}.viewer-bottom{padding:5px 12px}[data-theme=vintage] .projection-frame{margin:4px 20px 6px;padding:8px 8px 20px}[data-theme=vintage] .projection-frame::after{bottom:5px;font-size:8px}[data-theme=vintage] .viewer-bottom{margin-bottom:4px}}

/* Images own the viewport. Controls are temporary overlays, never layout rows. */
#viewer-shell{position:relative;width:100%;height:100%;background:#080808;display:block}
#viewer-shell .projection-frame{position:absolute;inset:0;display:block;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#080808}
#viewer-shell .projection-frame::after{display:none}
#viewer-shell #viewer-media{position:absolute;inset:0;width:100%;height:100%;background:#080808;box-shadow:none;overflow:hidden;cursor:zoom-in}
#viewer-shell #viewer-media.is-zoomed{cursor:grab}
#viewer-shell #viewer-media:has(video){cursor:default}
#viewer-shell #viewer-media img{touch-action:none;user-select:none;max-width:none;max-height:none;animation:none;will-change:transform}
.viewer-chrome{position:absolute;z-index:20;transition:opacity .25s ease}
#viewer-shell #sound-option{max-width:calc(100% - 36px)}
.rotate-buttons{display:inline-flex;gap:5px}
#rotation-status{font-size:11px;color:#fff;background:#000a;border-radius:4px;padding:5px 8px}
#rotation-status:empty{display:none}
.rotation-thumb{display:block;position:relative;overflow:hidden;width:100%;aspect-ratio:4/3}
.memory.lead .rotation-thumb{aspect-ratio:16/9;max-height:80vh}
.pile-slide .rotation-thumb{height:100%;aspect-ratio:auto}
.rotation-thumb img,.memory .rotation-thumb img,.pile-slide .rotation-thumb img{position:absolute;left:50%;top:50%;max-width:none;max-height:none;aspect-ratio:auto;object-fit:contain;transition:none}
#viewer-shell.ui-hidden .viewer-chrome{opacity:0}
#viewer-shell.ui-hidden .viewer-chrome,#viewer-shell.ui-hidden .viewer-chrome *{pointer-events:none!important}
#viewer-shell .viewer-toolbar{inset:0 0 auto;margin:0;padding:14px 18px;background:linear-gradient(#000c,#0005,transparent);border:0;font-family:var(--sans);align-items:flex-start}
#viewer-shell .viewer-toolbar p{font-size:12px;padding:12px 0;text-shadow:0 1px 3px #000}
#viewer-shell button{min-height:44px;border-radius:5px;box-shadow:none;background:#171717ae;color:#fff;border:1px solid #ffffff40;font:12px var(--sans)}
#viewer-shell button:focus-visible{outline:3px solid #e7cd94}
#viewer-shell button:disabled{opacity:.35}
#viewer-shell .projection-controls{bottom:65px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);margin:0;padding:10px 16px;border:1px solid #ffffff26;border-radius:8px;background:#161616d9;backdrop-filter:blur(10px);box-shadow:none;color:#fff;font:12px var(--sans);gap:12px}
#viewer-shell .projection-controls select{color:#fff;background:#252525;border:1px solid #777;border-radius:4px;box-shadow:none}
#viewer-shell #timing{color:#eee;font-size:11px;min-width:180px}
#viewer-shell .viewer-bottom{inset:auto 18px 10px;margin:0;padding:0;display:flex;align-items:center;background:none;border:0;box-shadow:none;font-family:var(--sans)}
#viewer-shell #counter{color:#fff;text-shadow:0 1px 4px #000;padding:8px 12px;background:#0008;border-radius:5px}
#viewer-shell .viewer-help{bottom:0;left:50%;transform:translateX(-50%);margin:0;padding:0 8px 4px;font-size:9px;white-space:nowrap;color:#ddd;text-shadow:0 1px 3px #000}
#reveal-controls{top:130px;right:18px;min-height:36px!important;padding:7px 10px;font-size:10px!important}
#sound-option{top:76px;left:18px;color:#eee;font-size:11px;display:flex;align-items:center;gap:8px;background:#0008;padding:6px 10px;border-radius:5px}
#sound-option input{width:18px;height:18px;accent-color:#d9c49c}
body #sound-option{display:flex;flex-wrap:wrap}
#sound-option label{display:flex;align-items:center;gap:6px}
.review-actions{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);z-index:25;display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;background:#111e;border:1px solid #ffffff40;border-radius:10px;color:#fff;max-width:calc(100% - 20px);width:650px;flex-wrap:wrap;font-size:12px}
#viewer-shell .review-actions #keep-photo{background:#4D5B31;min-width:125px;font-size:15px}
#viewer-shell .review-actions #discard-photo{background:#682f28;min-width:125px;font-size:15px}
#choice-state{font-size:12px;width:100%;text-align:center}
#viewer-save-status{font-size:10px;width:100%;text-align:center;min-height:12px}
#viewer-shell.is-reviewing .projection-controls{display:none}
#viewer-shell.is-reviewing .viewer-bottom{bottom:150px}
#viewer-shell.is-reviewing .viewer-help{display:none}
.collaboration-bar{padding:8px 5%;font-size:12px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}
.collaboration-bar button,#start-review{padding:10px 16px;border:1px solid var(--line);background:transparent;color:inherit;font:inherit;min-height:44px}
.photo-choice{min-height:44px;font-size:13px;padding:10px;background:#ffffff16}
.photo-choice input{width:24px;height:24px}
.memory.is-hidden .image-button{filter:grayscale(1);opacity:.4}
.pile-preview{display:none}

/* Vintage overview: a table of physical slide piles, not a wall of thumbnails. */
body[data-theme=vintage]{--line:#c5bbab;background:#e9e3d7;color:#352c23}
[data-theme=vintage] .masthead{background:#f7f5f0;color:#352c23;border:0;box-shadow:none}
[data-theme=vintage] .masthead nav button{background:transparent;border:1px solid #8b806f;box-shadow:none}
[data-theme=vintage] .experience-bar{background:#e9e3d7;color:#352c23;font-family:var(--sans);border-block:1px solid var(--line)}
[data-theme=vintage] .experience-bar select option{background:#f7f5f0;color:#352c23}
[data-theme=vintage] .experience-bar button{color:#352c23;border-color:#a09685}
[data-theme=vintage] .hero{border:0;width:100%;max-width:none;margin:0;height:calc(85svh - 120px);min-height:560px;box-shadow:none}
[data-theme=vintage] .hero::after{display:none}
[data-theme=vintage] .hero-copy{padding:75px 8%}
[data-theme=vintage] .hero h1{font-size:clamp(80px,9.8vw,170px)}
[data-theme=vintage] .index{background:transparent}
[data-theme=vintage] .index p:not(.eyebrow),[data-theme=vintage] .days a span,[data-theme=vintage] .timeline-bar p span,[data-theme=vintage] .chapter-head p,[data-theme=vintage] .memory figcaption{color:#706555}
[data-theme=vintage] .chapter-number{color:#796346}
[data-theme=vintage] .selection-panel{background:#f7f5f0;color:#352c23}
[data-theme=vintage] .timeline-bar select option{background:#f7f5f0;color:#352c23}
[data-theme=vintage] .pile-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:340px;margin:10px 0 30px;padding:20px;background:none;border:0;color:inherit;cursor:pointer}
.pile-frames{display:block;position:relative;width:min(420px,100%);height:240px;isolation:isolate}
.pile-slide{display:block;position:absolute;left:50%;top:15px;width:270px;height:205px;padding:18px 18px 30px;background:#f8f7f3;border:1px solid #ddd8ce;border-radius:3px;box-shadow:0 6px 16px #37240f3b,inset 0 1px 0 #fff;transform:translateX(calc(-50% + var(--shift))) rotate(var(--turn));transition:transform .25s}
.pile-slide img{width:100%;height:100%;object-fit:cover;display:block;background:#111}
.pile-slide.is-hidden img{filter:grayscale(1);opacity:.35}
.pile-preview:hover .pile-slide:last-child{transform:translateX(calc(-50% + var(--shift))) rotate(-3deg) translateY(-5px)}
.pile-label{font:24px var(--serif);margin-top:16px}.pile-instruction{font-size:12px;margin-top:9px;border-bottom:1px solid #a0927a;padding-bottom:4px}
[data-theme=vintage] .chapter:not(.pile-expanded) .gallery,[data-theme=vintage] .chapter:not(.pile-expanded) .more{display:none}
[data-theme=vintage] .chapter.pile-expanded .gallery{display:grid}
[data-theme=vintage] .photo-choice{color:#352c23;font-family:var(--sans)}
[data-theme=vintage] .memory.is-hidden figcaption{color:#755e4c}
[data-theme=vintage] footer{font-family:var(--sans)}
#viewer-media.projector-change{animation:projector-shift .28s ease-out}
#viewer-shell #viewer-media.is-loading img{opacity:0}
#viewer-media.is-loading::before{content:'';position:absolute;inset:0;z-index:5;background:#080808;pointer-events:none}
#viewer-media.projector-loading::before{background:linear-gradient(90deg,#080808 49.7%,#a48b5a22 50%,#080808 50.3%);animation:projector-wait .75s ease-in-out infinite alternate}
@keyframes projector-wait{from{transform:translateX(-.6%);opacity:1}to{transform:translateX(.6%);opacity:.88}}
@media(prefers-reduced-motion:reduce){#viewer-media.projector-loading::before{animation:none}}
#viewer-media.projector-change::after{content:'';position:absolute;inset:0;background:#000;z-index:4;pointer-events:none;animation:projector-shutter .25s linear forwards}
@keyframes projector-shift{0%{transform:translateX(-2%) rotate(-.4deg)}35%{transform:translateX(1.2%) rotate(.2deg)}100%{transform:none}}
@keyframes projector-shutter{0%{opacity:1}30%{opacity:1}65%{opacity:0}100%{opacity:0}}
#collaboration-dialog{width:min(440px,calc(100% - 32px));height:auto;max-height:90dvh;max-width:440px;margin:auto;padding:26px;background:#f7f5f0;color:#1f2933;border:1px solid #bbb;border-radius:10px;overflow:auto}
#collaboration-dialog[open]{display:block}
#collaboration-dialog h2{font-size:34px;letter-spacing:-1px;margin:0 0 20px}
#collaboration-dialog p{font-size:14px}
#collaboration-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px}
#collaboration-dialog input{min-height:46px;font:16px var(--sans);padding:10px;border:1px solid #999;border-radius:4px}
#collaboration-dialog form>div{display:flex;justify-content:flex-end;gap:10px}
#collaboration-dialog button{color:#1f2933;border:1px solid #999;min-height:44px;background:#eee}
@media(max-width:540px){
  #viewer-shell .viewer-toolbar{padding:8px 10px;gap:4px}#viewer-shell .viewer-toolbar p{font-size:10px;padding:2px 0}
  #viewer-shell .viewer-toolbar>div{justify-content:flex-start;gap:4px}#viewer-shell button{font-size:10px;padding:7px 9px}
  #viewer-shell .projection-controls{bottom:65px;width:calc(100% - 24px);padding:8px;gap:8px;font-size:10px}
  #viewer-shell .projection-controls select{min-height:34px;padding:4px}#viewer-shell #timing{font-size:10px;min-width:150px}
  #viewer-shell .viewer-bottom{left:10px;right:10px;bottom:12px}#viewer-shell .viewer-bottom button{min-width:90px}
  #sound-option{top:118px;left:10px;font-size:10px}#reveal-controls{top:118px;right:10px}
  #viewer-shell .viewer-help{font-size:8px;width:100%;text-align:center;white-space:normal}
  .pile-frames{height:210px}.pile-slide{width:225px;height:175px;padding:15px 15px 25px}.pile-label{font-size:22px}
  [data-theme=vintage] .pile-preview{min-height:290px}
  [data-theme=vintage] .hero h1{font-size:84px}[data-theme=vintage] .hero-copy{padding:75px 7%}
  .review-actions{padding:10px;gap:8px}#viewer-shell .review-actions button{min-height:48px;font-size:15px}
  .collaboration-bar{font-size:10px;padding:8px 6%}.photo-choice{font-size:11px}
}
@media(max-height:550px){#viewer-shell .viewer-toolbar{padding:5px 12px}#viewer-shell .viewer-toolbar p{width:auto}#viewer-shell .viewer-toolbar>div{width:auto}.projection-controls{bottom:56px!important}#sound-option{top:64px}#reveal-controls{top:64px}.review-actions{bottom:8px;width:500px;padding:6px;gap:6px}#viewer-shell.is-reviewing .viewer-bottom{bottom:115px}}

/* A handwritten travel box: typewriter captions, paper mounts and translucent tape. */
body[data-theme=vintage]{font-family:'Courier New',Courier,monospace;background:repeating-linear-gradient(0deg,#735b3803 0 1px,transparent 1px 5px),#e9e1d1}
[data-theme=vintage] .masthead,[data-theme=vintage] .experience-bar,[data-theme=vintage] .collaboration-bar,[data-theme=vintage] .days,[data-theme=vintage] .timeline-bar,[data-theme=vintage] .photo-choice,[data-theme=vintage] footer{font-family:'Courier New',Courier,monospace}
[data-theme=vintage] h1,[data-theme=vintage] h2,[data-theme=vintage] .pile-label{font-family:'Courier New',Courier,monospace;letter-spacing:-2px;font-weight:normal;font-style:normal}
[data-theme=vintage] .hero h1{font-size:clamp(65px,8.2vw,140px);line-height:1.03;letter-spacing:-5px}
[data-theme=vintage] .hero .eyebrow,[data-theme=vintage] .intro,[data-theme=vintage] .hero-link{font-family:'Courier New',Courier,monospace}
[data-theme=vintage] .chapter-head h2{font-size:clamp(27px,3.2vw,44px);letter-spacing:-1.8px;text-transform:none}
[data-theme=vintage] .pile-slide{background:#faf7ef;border-color:#ddd3c0}
[data-theme=vintage] .pile-slide:nth-child(2)::after,[data-theme=vintage] .pile-slide:last-child::after{content:'';position:absolute;top:-13px;left:50%;width:90px;height:29px;background:repeating-linear-gradient(90deg,#fff1 0 2px,transparent 2px 5px),#d0bc888f;transform:translateX(-50%) rotate(-4deg);border-inline:1px solid #bca56e44;box-shadow:0 1px 2px #63502f20;pointer-events:none}
[data-theme=vintage] .memory:nth-child(4n+1) .image-button::after{content:'';position:absolute;z-index:2;top:-7px;left:50%;height:26px;width:95px;transform:translateX(-50%) rotate(-5deg);background:#d0bc889c;box-shadow:0 1px 2px #63502f30;pointer-events:none}
[data-theme=vintage] .memory:nth-child(4n+1) .image-button{overflow:visible}
[data-theme=vintage] .memory:not(.lead):nth-child(5n+2){transform:rotate(-1.2deg)}
[data-theme=vintage] .memory:not(.lead):nth-child(5n+4){transform:rotate(1deg)}
@media(max-width:540px){[data-theme=vintage] .hero h1{font-size:clamp(44px,15vw,60px);letter-spacing:-3px}[data-theme=vintage] .pile-label{font-size:21px;letter-spacing:-1px}[data-theme=vintage] .chapter-head h2{font-size:26px}}
#viewer-shell:fullscreen .viewer-chrome{transition-duration:.12s}
#viewer-shell #viewer-media:has(img){touch-action:none}

.testimonies{margin:0 8%;padding:95px 0;border-top:1px solid var(--line);scroll-margin-top:20px}
.testimony-intro{max-width:760px;margin-bottom:65px}.testimony-intro h2{font-size:clamp(48px,6vw,90px)}
.testimony-intro>p:last-child{font-size:18px;line-height:1.8}
.testimony-story{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:start}
.testimonies h3{font:normal clamp(29px,3vw,42px)/1.15 var(--serif);letter-spacing:-1px;margin:12px 0 30px}
.testimony-copy>p:not(.eyebrow),.driver-heading>p:last-child,.driver-reflection>p{font-size:16px;line-height:1.9;max-width:70ch}
.testimonies blockquote{font:italic 25px/1.55 var(--serif);margin:35px 0;padding:4px 0 4px 24px;border-left:2px solid var(--accent)}
.testimonies cite{display:block;font:11px/1.5 var(--sans);margin-top:15px;color:#706555}
.testimony-photos{display:grid;gap:40px;padding-top:15px}
.testimony-photos figure{margin:0;position:relative;background:#fff;padding:12px 12px 22px;box-shadow:0 8px 20px #32291920;transform:rotate(-1.5deg)}
.testimony-photos figure:nth-child(2){transform:rotate(2deg)}
.testimony-photos img{display:block;width:100%;height:auto}
.testimony-photos figcaption{font-size:11px;line-height:1.6;margin-top:16px;color:#706555}
.driver-testimony,.caleb-testimony{margin-top:85px;border-top:1px solid var(--line);padding-top:60px}
.driver-heading{max-width:900px;margin-bottom:35px}
.testimonies video{display:block;width:100%;max-width:1000px;height:min(75vh,720px);object-fit:contain;background:#080808;margin:25px auto}
.driver-reflection{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;margin-top:35px}.driver-reflection blockquote{margin:0}
.transcript-note{font-size:12px;line-height:1.8;color:#706555;margin:35px 0;max-width:1000px}
.transcript{border-block:1px solid var(--line);padding:15px 0;margin-top:40px}
.transcript>summary{cursor:pointer;padding:12px 0;font-size:18px}
.transcript-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:20px 0;font-size:12px}
.transcript-actions button,.transcript-stamp{min-height:44px;padding:9px 12px;border:1px solid var(--line);color:inherit;background:transparent;font:inherit;cursor:pointer}
.transcript-actions button[aria-pressed=true]{background:var(--accent);color:#fff}
.transcript-actions a{text-decoration:underline;padding:10px}
#transcript-text{max-width:1000px}
#transcript-text p{display:grid;grid-template-columns:70px 1fr;gap:20px;align-items:start;line-height:1.75;font-size:15px;margin:15px 0}
.transcript-stamp{font-size:11px;font-variant-numeric:tabular-nums}
[data-theme=vintage] .testimonies h3,[data-theme=vintage] .testimonies blockquote,[data-theme=vintage] .testimonies cite,[data-theme=vintage] .testimony-photos figcaption{font-family:'Courier New',Courier,monospace}
[data-theme=vintage] .testimony-photos figure{background:#faf7ef}
[data-theme=vintage] .testimony-photos figure::before{content:'';position:absolute;z-index:2;top:-12px;left:35%;width:110px;height:30px;transform:rotate(-4deg);background:#d0bc889c;pointer-events:none}
@media(max-width:900px){.testimony-story{grid-template-columns:1fr;gap:30px}.testimony-photos{grid-template-columns:1fr 1fr;gap:22px}.driver-reflection{grid-template-columns:1fr;gap:20px}}
@media(max-width:540px){.testimonies{margin:0 6%;padding:55px 0}.testimony-intro{margin-bottom:40px}.testimony-intro>p:last-child{font-size:15px}.testimony-copy>p:not(.eyebrow),.driver-heading>p:last-child,.driver-reflection>p{font-size:14px}.testimony-photos{grid-template-columns:1fr;gap:30px}.testimonies blockquote{font-size:20px;padding-left:16px}.driver-testimony,.caleb-testimony{margin-top:50px;padding-top:40px}.testimonies video{height:65vh}.transcript-actions{gap:8px}.transcript>summary{font-size:16px}#transcript-text p{gap:10px;grid-template-columns:56px 1fr;font-size:13px}.transcript-stamp{padding:8px 5px}.masthead nav{gap:10px;font-size:10px}.masthead nav a:first-child{display:none}}
