/* Memoir project only. Original global/project styles remain untouched. */
.memoir-page .heroPage{height:auto;min-height:0;grid-template-rows:minmax(320px,60vh) auto}
.memoir-page .heroTop{min-height:0}
.memoir-page .heroBottom{padding:27px 0 32px}
.memoir-page .memoir-hero-meta,
.memoir-page .memoir-editorial{width:min(820px,calc(100% - 44px));margin-inline:auto}
.memoir-title-row{display:flex;align-items:baseline;gap:12px}
.memoir-page .memoir-title-row .introTitle{
  margin:0;color:#f1f0ed;
  font:400 clamp(32px,3.2vw,39px)/1.15 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.025em
}
.memoir-year{color:#aaa;font:400 11px/1.5 var(--sans)}
.memoir-medium{margin:7px 0 0;color:#bcbcbc;font:400 13px/1.5 var(--sans)}
.memoir-facts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;
  column-gap:40px;row-gap:23px;margin:20px 0 0
}
.memoir-facts>div{min-width:0}
.memoir-facts dt{margin:0 0 7px;color:#e4e4e4;font:500 11px/1.5 var(--sans)}
.memoir-facts dd{margin:0;color:#b4b4b4;font:400 12px/1.75 var(--sans)}
.memoir-page.nav-fixed main.memoir-editorial{padding:35px 0 14px}
.memoir-editorial h2{
  color:#eeeae6;font:400 clamp(26px,2.9vw,34px)/1.22 "Cormorant Garamond",Georgia,serif;
  letter-spacing:-.018em;margin:0 0 17px
}
.memoir-editorial h3{color:#e1dfdc}
.memoir-editorial p{color:#cecece;font:400 13px/1.85 var(--sans);margin:0}
.memoir-editorial p+p{margin-top:15px}
.memoir-editorial section{margin-bottom:48px}
.memoir-editorial .memoir-story{max-width:68ch}
.memoir-editorial .memoir-kicker{
  font:400 10px/1.5 var(--sans);letter-spacing:.09em;text-transform:uppercase;
  color:#969696;margin:0 0 12px
}
/* Only the three featured scenes are full-bleed; film frames follow the text column. */
.memoir-editorial .memoir-featured{
  width:100vw;
  max-width:none;
  margin-inline:0;
  position:relative;
  left:50%;
  transform:translateX(-50%)
}
/* Film-world triptych: seamless image mosaic, no card padding or borders. */
.memoir-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;width:100%}
.memoir-featured-cell{aspect-ratio:16/9;overflow:hidden;min-width:0}
.memoir-featured-grid img,
.memoir-film-frames img,
.memoir-object-grid img,
.memoir-research-grid img,
.memoir-visual-grid img,
.memoir-comparisons img{display:block;width:100%;height:auto}
.memoir-featured-grid img{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;transform:scale(1.025)}
.memoir-featured{margin-top:33px}
.memoir-featured figcaption,
.memoir-film-gallery figcaption{
  color:#8b8b8b;font:400 10px/1.6 var(--sans);margin:12px 0 0
}
/* Align the full-bleed triptych caption to the same reading column. */
.memoir-featured figcaption{width:min(820px,calc(100% - 44px));margin:12px auto 0;text-align:left}
/* Film frames align exactly with the reading column, keeping black side margins. */
.memoir-editorial .memoir-film-gallery{width:100%;margin:42px 0 0}
.memoir-film-gallery .memoir-kicker{margin-bottom:14px}
/* Film Frames: four seamless thumbnails per row, with the shared portfolio lightbox. */
.memoir-film-frames.photoGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;width:100%}
.memoir-film-frames .memoir-frame-item{display:block;width:100%;min-width:0;margin:0;overflow:hidden}
.memoir-film-frames .memoir-frame-item img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.memoir-film-frames .memoir-frame-item:focus-visible{outline:2px solid #a7dbff;outline-offset:-2px;position:relative;z-index:1}
.memoir-research-question{max-width:700px;margin:0 0 44px}
.memoir-research-question .memoir-subquestion{margin-top:14px;color:#aaa;font-size:12px}
.memoir-process-intro{max-width:68ch}
.memoir-process-steps{color:#aaa;font:400 11px/1.8 var(--sans);margin:20px 0 0}
.memoir-source-slide{margin:24px 0 0}
.memoir-source-slide img{display:block;width:100%;height:auto}
.memoir-source-slide figcaption{margin-top:10px;color:#999;font:400 10px/1.6 var(--sans)}
/* Consistent breathing room between slide evidence, subheadings, and the next images. */
.memoir-editorial .memoir-visual-subtitle{
  font:400 clamp(23px,2.5vw,29px)/1.25 "Cormorant Garamond",Georgia,serif;
  margin:clamp(32px,3.2vw,44px) 0 0
}
.memoir-visual-subtitle + .memoir-visual-grid{margin-top:22px}
.memoir-comparisons + p{margin-top:26px}
.memoir-research-question blockquote{
  font:400 clamp(22px,2.8vw,30px)/1.4 "Cormorant Garamond",Georgia,serif;
  color:#e5e2dd;margin:0
}
.memoir-research-question .memoir-method{
  font:400 11px/1.8 var(--sans);color:#999;margin:17px 0 0
}
/* Research evidence stays visual-first; the sketch retains its natural aspect ratio. */
.memoir-methodology{margin-top:24px;max-width:68ch}
.memoir-methodology .memoir-kicker{margin-bottom:7px}
/* Three original sketchbook photographs, edge-to-edge without links or cropping. */
.memoir-sketchbook{width:100%;margin:6px 0 38px}
.memoir-sketchbook h2{margin-bottom:18px}
.memoir-sketch-gallery{display:grid;grid-template-columns:1.78fr 1fr 1fr;gap:0;align-items:center}
.memoir-sketch-gallery img{display:block;width:100%;height:auto;object-fit:contain}
.memoir-sketchbook figcaption{color:#999;font:400 10px/1.6 var(--sans);margin-top:10px}
.memoir-sketchbook + h2{margin-top:34px}
.memoir-research-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}
.memoir-research-grid figure,.memoir-visual-grid figure,.memoir-comparisons figure{min-width:0;margin:0}
.memoir-research-grid img{aspect-ratio:4/3;object-fit:cover}
.memoir-research-grid figcaption,.memoir-visual-grid figcaption,.memoir-comparisons figcaption{
  margin:9px 0 0;color:#999;font:400 10px/1.5 var(--sans);letter-spacing:.035em
}
.memoir-object-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:25px}
.memoir-object-grid article{min-width:0}
/* Each keepsake sits directly above its corresponding memory world. */
.memoir-object-pair{display:grid;grid-template-columns:1fr;gap:0}
.memoir-object-pair img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.memoir-object-grid h3{font:400 21px/1.25 "Cormorant Garamond",Georgia,serif;margin:14px 0 8px}
.memoir-object-grid p{font-size:12px;line-height:1.75;color:#bcbcbc}
.memoir-visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:24px}
.memoir-visual-grid img{aspect-ratio:16/9;object-fit:cover}
.memoir-visual-grid figcaption{padding:0 3px}
.memoir-color-notes{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px
}
.memoir-color-notes strong{font:500 11px/1.5 var(--sans);color:#dbd8d4}
.memoir-color-notes p{font-size:12px;line-height:1.75;color:#a9a9a9;margin-top:4px}
.memoir-comparisons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px;margin-top:24px}
.memoir-comparisons img{aspect-ratio:16/9;object-fit:cover}
.memoir-conclusion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}
.memoir-conclusion-grid h3{font:400 21px/1.3 "Cormorant Garamond",Georgia,serif;margin:0 0 8px}
.memoir-conclusion-grid p{font-size:12px;line-height:1.8;color:#b8b8b8}
.memoir-feedback{margin:28px 0 0}
.memoir-feedback blockquote{font:400 clamp(19px,2.2vw,24px)/1.5 "Cormorant Garamond",Georgia,serif;color:#d1cbc4}
.memoir-feedback figcaption{margin-top:8px;font:400 11px/1.7 var(--sans);color:#999}
.memoir-page .memoir-editorial .memoir-thanks{margin-bottom:16px}
/* The acknowledgment reads as one left-aligned block, heading above the names. */
.memoir-thanks{text-align:left}
.memoir-thanks h2{font-size:25px;margin:0 0 16px}
.memoir-thanks p{font-size:12px;color:#aaa;line-height:1.8;margin:0}
.memoir-thanks p+p{margin-top:3px}
.memoir-archive{width:min(820px,calc(100% - 44px));margin:15px auto 25px;color:#aaa}
.memoir-archive summary{
  cursor:pointer;font:400 11px/1.6 var(--sans);letter-spacing:.055em;
  padding:13px 0;border-top:1px solid rgba(255,255,255,.16)
}
.memoir-archive .slideshowSection{padding:15px 0 0}
.memoir-archive .introTextWidth{width:100%;max-width:none}
@media(max-width:700px){
  .memoir-page .heroPage{grid-template-rows:minmax(220px,40vh) auto}
  .memoir-page .heroBottom{padding:20px 0 25px}
  .memoir-page .memoir-hero-meta,.memoir-page .memoir-editorial{width:calc(100% - 36px)}
  .memoir-page .memoir-title-row .introTitle{font-size:34px}
  .memoir-facts{column-gap:16px;row-gap:22px;margin-top:17px}
  .memoir-facts dd{font-size:11px;line-height:1.65}
  .memoir-page.nav-fixed main.memoir-editorial{padding-top:26px}
  /* Image-first rhythm: full-bleed ocean, then two complementary memory scenes. */
  .memoir-editorial section{margin-bottom:32px}
  .memoir-editorial h2{font-size:28px}
  .memoir-editorial p{font-size:12px;line-height:1.78}
  .memoir-editorial .memoir-story{margin-bottom:28px}
  .memoir-featured{margin-top:24px}
  /* Preserve the desktop triptych and its sequence on small screens. */
  .memoir-featured-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .memoir-featured-cell{grid-column:auto}
  .memoir-featured figcaption{width:calc(100% - 36px)}
  .memoir-editorial .memoir-film-gallery{margin-top:27px}
  .memoir-film-frames.photoGrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  /* Keep the same three-column research and object-story composition on mobile. */
  .memoir-object-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .memoir-object-grid h3{font-size:clamp(14px,3.5vw,19px);line-height:1.2;margin:9px 0 6px}
  .memoir-object-grid p{font-size:10px;line-height:1.55;overflow-wrap:break-word}
  .memoir-research-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .memoir-research-grid figure:last-child{grid-column:auto}
  .memoir-research-grid figure:last-child img{aspect-ratio:4/3}
  .memoir-research-grid figcaption{font-size:8px;line-height:1.4;overflow-wrap:break-word}
  .memoir-methodology{margin-top:20px}
  .memoir-source-slide{margin-top:20px}
  .memoir-editorial .memoir-visual-subtitle{margin-top:30px}
  .memoir-visual-subtitle + .memoir-visual-grid{margin-top:18px}
  .memoir-comparisons + p{margin-top:23px}
  .memoir-research-question .memoir-subquestion{font-size:11px}
  .memoir-sketchbook{margin:4px 0 30px}
  .memoir-sketch-gallery{grid-template-columns:1.78fr 1fr 1fr}
  .memoir-sketchbook + h2{margin-top:28px}
  .memoir-visual-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
  .memoir-visual-grid figcaption{font-size:8px;line-height:1.4;padding:0 2px}
  .memoir-color-notes{gap:11px}
  .memoir-color-notes p,.memoir-conclusion-grid p{font-size:11px}
  .memoir-archive{width:calc(100% - 36px)}
}
@media(max-width:380px){
  .memoir-facts{column-gap:12px}
  .memoir-facts dd{font-size:10.5px}
  .memoir-object-grid{gap:6px}
  .memoir-object-grid h3{font-size:14px}
  .memoir-object-grid p{font-size:9.5px;line-height:1.5}
  .memoir-research-grid{gap:6px}
  .memoir-color-notes{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .memoir-color-notes strong,.memoir-color-notes p{font-size:10px}
}

/* Reflection: preserve the same three-column composition on desktop and phones. */
@media(max-width:700px){
  .memoir-page .memoir-editorial .memoir-conclusion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .memoir-page .memoir-editorial .memoir-conclusion-grid > div{min-width:0}
  .memoir-page .memoir-editorial .memoir-conclusion-grid h3{font-size:clamp(17px,4.8vw,21px);line-height:1.3;margin-bottom:6px}
  .memoir-page .memoir-editorial .memoir-conclusion-grid p{font-size:10px;line-height:1.6;overflow-wrap:break-word}
}
