:root{--ink:#0734bc;--line:#dce2ef;--pad:clamp(20px,3.3vw,54px);--header:82px;--footer:65px}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{height:100dvh;display:grid;grid-template-rows:var(--header) minmax(0,1fr) var(--footer);background:#fff;color:var(--ink);font-family:Manrope,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,main:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}button:disabled{opacity:.25;cursor:default}img{display:block;max-width:100%}h1,h2,p,figure,dl,dd{margin:0}.skip{position:fixed;top:-80px;left:20px;padding:12px;background:#fff;z-index:10}.skip:focus{top:10px}.project-header{display:flex;align-items:center;gap:30px;padding:15px var(--pad);border-bottom:1px solid var(--line);min-width:0}.logo{flex-shrink:0}.logo img{width:105px;height:42px;object-fit:contain}.project-back{display:flex;gap:14px;align-items:center;font-size:12px}.project-name{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-left:auto}#language{font-size:12px;min-height:44px;flex-shrink:0}.project-sequence{position:relative;width:100%;height:100%;min-height:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}.project-sequence::-webkit-scrollbar{display:none}.project-slide{position:relative;flex:0 0 100%;width:100%;height:100%;min-height:0;scroll-snap-align:start;scroll-snap-stop:normal;padding:28px var(--pad);display:flex;align-items:center;justify-content:center;overflow:hidden}.slide-inner{width:100%;height:100%;min-height:0;max-width:1600px;margin:auto}.cover-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:6vw;align-items:center}.cover-copy{min-width:0}.eyebrow{font-size:11px;letter-spacing:.055em;margin-bottom:28px;line-height:1.4}.cover-copy h1{font-size:clamp(42px,6.2vw,110px);font-weight:500;line-height:1.05;letter-spacing:-.065em;overflow-wrap:anywhere}.tagline{font-size:clamp(19px,2.15vw,34px);letter-spacing:-.03em;line-height:1.3;margin-top:27px}.cover-meta{font-size:12px;line-height:1.6;margin-top:36px}.cover-photo{position:relative;width:100%;height:100%;min-height:0;overflow:hidden}.cover-image{width:100%;height:100%;min-height:0;object-fit:contain}.cover-inner.has-film{grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr)}.cover-inner video{display:block;width:100%;height:100%;object-fit:contain;background:#fff}.text-inner{max-width:850px;display:flex;flex-direction:column;justify-content:center;gap:26px;min-height:0}.text-inner h2{font-weight:500;font-size:clamp(25px,3vw,47px);line-height:1.18;letter-spacing:-.045em;flex-shrink:0}.text-inner .eyebrow{margin-bottom:0}.text-body{white-space:pre-line;font-size:clamp(18px,1.9vw,27px);line-height:1.6;letter-spacing:-.025em;min-height:0;overflow:hidden}.text-page:not(.measuring) .text-inner{height:auto;max-height:100%}.text-page.measuring .text-inner{height:100%;justify-content:flex-start}.text-page.measuring .text-body{flex:1}.media-inner{display:flex;flex-direction:column;gap:15px;min-height:0}.media-frame{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;width:100%;padding:0;overflow:hidden;background:#fff}.media-frame img,.media-frame video{height:100%;width:100%;object-fit:contain;display:block}.media-caption{font-size:12px;line-height:1.5;display:flex;gap:22px;flex-shrink:0}.media-caption>span:first-child{opacity:.5}.video-panel video{background:#fff}.facts-inner{max-width:950px;display:flex;flex-direction:column;gap:25px;min-height:0}.facts-inner h2{font-size:clamp(28px,3vw,46px);font-weight:500;letter-spacing:-.04em}.facts-list{font-size:14px;line-height:1.55;min-height:0;overflow:hidden}.fact{display:grid;grid-template-columns:180px 1fr;gap:28px;border-top:1px solid var(--line);padding:13px 0;break-inside:avoid}.fact dt{opacity:.6}.fact dd{white-space:pre-line;overflow-wrap:anywhere}.facts-page:not(.measuring) .facts-inner{height:auto;max-height:100%}.facts-page.measuring .facts-list{flex:1}.end-inner{max-width:1000px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:45px}.end-inner h2{font-size:clamp(38px,6vw,90px);font-weight:500;letter-spacing:-.055em;line-height:1.08}.end-inner p{max-width:650px;line-height:1.65;font-size:14px}.end-links{display:flex;gap:35px;flex-wrap:wrap;font-size:14px}.project-controls{display:flex;position:relative;align-items:center;gap:26px;min-width:0;padding:10px var(--pad);border-top:1px solid var(--line);font-size:11px}.project-number{font-size:14px}#autoplay-toggle{font-size:11px;min-height:42px}.scroll-hint{opacity:.65;margin-left:auto}#slide-counter{font-variant-numeric:tabular-nums;min-width:60px;text-align:right;margin-left:auto}.arrows{display:flex;flex-shrink:0;border:1px solid var(--line)}.arrows button{display:flex;align-items:center;justify-content:center;width:48px;height:40px}.arrows button+button{border-left:1px solid var(--line)}.arrows svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3}.sequence-progress{position:absolute;bottom:0;left:0;width:100%;height:2px;background:#eef1f8;overflow:hidden}.sequence-progress span{display:block;height:100%;background:var(--ink);width:100%;transform-origin:left;transform:scaleX(0)}dialog{padding:16px 24px;border:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:#fff;color:var(--ink)}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#fff}#large-image{min-height:0;flex:1;width:100%;object-fit:contain}.lightbox-top,.lightbox-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;flex-shrink:0}.lightbox-top{padding-bottom:12px}.lightbox-bottom{padding-top:12px}.lightbox-top button,.lightbox-bottom button{min-width:44px;min-height:44px}.lightbox-bottom button{font-size:27px}.lightbox-bottom p{text-align:center}.measuring{position:absolute;visibility:hidden;pointer-events:none;inset:0;width:100%;height:100%}
@media(max-width:760px){:root{--header:68px;--footer:63px}.project-header{gap:20px;padding-top:10px;padding-bottom:10px}.logo img{width:84px;height:36px}.project-name{display:none}.project-back{margin-left:auto;font-size:11px;gap:8px}#language{font-size:11px}.project-slide{padding:22px var(--pad)}.cover-inner,.cover-inner.has-film{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:22px}.cover-copy h1{font-size:clamp(27px,8vw,55px);line-height:1.05;overflow-wrap:normal}.cover-copy .eyebrow{font-size:10px;margin-bottom:13px}.tagline{font-size:17px;margin-top:12px}.cover-meta{font-size:10px;margin-top:13px}.text-inner{gap:20px}.text-inner h2{font-size:27px}.text-inner .eyebrow{font-size:10px}.text-body{white-space:pre-line;font-size:18px;line-height:1.55}.media-caption{font-size:11px;gap:14px}.media-inner{gap:12px}.facts-inner{gap:20px}.facts-inner h2{font-size:30px}.fact{grid-template-columns:86px 1fr;gap:16px;padding:12px 0;font-size:12px}.end-inner{gap:28px}.end-inner h2{font-size:40px}.end-inner p{font-size:13px}.end-links{gap:20px;font-size:13px}.scroll-hint{display:none}.project-controls{gap:12px;padding-left:18px;padding-right:18px}.project-number{display:none}#autoplay-toggle{max-width:140px;text-align:left;font-size:10px}#slide-counter{font-size:10px;min-width:48px}.arrows button{width:42px;height:40px}dialog{padding:12px}.lightbox-bottom{gap:8px;font-size:11px}}
@media(max-height:540px){:root{--header:56px;--footer:52px}.project-header{padding-top:5px;padding-bottom:5px}.logo img{height:30px}.project-slide{padding-top:14px;padding-bottom:14px}.cover-inner,.cover-inner.has-film{grid-template-columns:1fr 1fr;grid-template-rows:1fr;gap:28px}.cover-copy h1{font-size:clamp(28px,4vw,48px)}.cover-copy .eyebrow{margin-bottom:12px}.tagline{font-size:16px;margin-top:15px}.cover-meta{margin-top:15px;font-size:10px}.text-inner{gap:12px}.text-inner h2{font-size:24px}.text-body{white-space:pre-line;font-size:17px;line-height:1.5}.text-inner .eyebrow{font-size:10px}.facts-inner{gap:12px}.facts-inner h2{font-size:23px}.fact{padding:8px 0;font-size:12px}.media-caption{font-size:10px}.arrows button{height:34px}}
@media(prefers-reduced-motion:reduce){.hora-natural{opacity:1!important;transition:none!important}.project-sequence{scroll-behavior:auto}}

/* One horizontal reading sequence on every project, with native touch swiping. */
.project-sequence{touch-action:pan-x pan-y pinch-zoom;overscroll-behavior:contain}
.cover-inner.has-film video{max-height:100%;min-height:0;object-fit:contain}

.logo svg{display:block;width:105px;height:60px}.logo-still{display:none}@media(max-width:760px){.logo svg{width:84px;height:48px}}@media(max-height:540px){.logo svg{height:42px}}@media(prefers-reduced-motion:reduce){.logo-motion{display:none}.logo-still{display:block}}

/* Photo layers keep identical geometry; technical media and the viewer stay original. */
.media-frame.hora-colour>img,.cover-photo.hora-colour>img{object-fit:contain}
.drawing-panel img,.video-panel video,#large-image{filter:none;mix-blend-mode:normal}

/* Continuous narrative: one content height, source-proportional media widths. */
:root{--rail-pad:24px;--rail-gap:24px;--caption-height:36px;--frame-height:calc(100dvh - var(--header) - var(--footer) - var(--rail-pad)*2 - var(--caption-height));--text-width:clamp(340px,35vw,520px)}
.project-sequence{padding:var(--rail-pad) var(--pad);gap:var(--rail-gap);scroll-padding-inline:var(--pad);scroll-snap-type:x proximity;align-items:flex-start}
.project-slide{flex:0 0 auto;width:var(--text-width);height:calc(var(--frame-height) + var(--caption-height));padding:0;align-items:flex-start;justify-content:flex-start;overflow:visible}
.slide-inner{width:100%;height:var(--frame-height);max-width:none;margin:0}
.cover-page{width:clamp(380px,43vw,640px)}
.cover-inner{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding-right:24px}
.cover-inner .eyebrow{margin-bottom:clamp(24px,4vh,48px)}
.cover-inner h1{font-size:clamp(38px,4.9vw,76px);line-height:1.07;font-weight:500;letter-spacing:-.06em;overflow-wrap:break-word}
.cover-inner .tagline{font-size:clamp(22px,2.35vw,35px);line-height:1.32;margin-top:28px;letter-spacing:-.035em}
.cover-inner .cover-meta{margin-top:auto;padding-top:20px}
.text-inner,.text-page:not(.measuring) .text-inner,.facts-inner,.facts-page:not(.measuring) .facts-inner{height:var(--frame-height);max-height:none;justify-content:flex-start;gap:22px}
.text-inner h2,.facts-inner h2{font-size:clamp(25px,2.3vw,36px);line-height:1.17}
.text-inner .eyebrow{margin:0;font-size:10px}
.text-body{flex:1;font-size:clamp(18px,1.6vw,23px);line-height:1.55;letter-spacing:-.02em;min-height:0}
.photo-panel,.diagram-panel,.video-panel,.drawing-panel{width:calc(var(--frame-height)*var(--media-ratio));min-width:0}
.media-inner{height:calc(var(--frame-height) + var(--caption-height));display:grid;grid-template-rows:var(--frame-height) var(--caption-height);gap:0}
.media-frame{width:100%;height:var(--frame-height);min-height:0;flex:none;align-self:start}
.media-frame img,.media-frame video{width:100%;height:100%;max-width:none;object-fit:contain}
.media-caption{height:var(--caption-height);min-width:0;gap:16px;align-items:center;font-size:11px;line-height:1.35;overflow:hidden}
.media-caption>span:first-child{flex-shrink:0}.media-caption>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.facts-list{flex:1}.fact{grid-template-columns:100px 1fr;gap:20px;padding:12px 0;font-size:12px}
.end-page{width:clamp(320px,40vw,600px)}.end-inner{height:var(--frame-height);gap:30px}.end-inner h2{font-size:clamp(34px,4vw,58px)}
.project-slide.measuring{position:absolute;left:var(--pad);top:var(--rail-pad);bottom:auto;right:auto;width:var(--text-width);height:var(--frame-height)}
.diagram-panel img{filter:none;mix-blend-mode:normal}
#drawings-jump{min-height:42px;font-size:11px;text-decoration:underline;text-underline-offset:4px}
.drawing-caption{overflow:visible;justify-content:space-between;gap:12px}.drawing-choice{position:relative;display:block;height:32px;min-width:0;max-width:560px;flex:1}.drawing-choice>span{position:absolute;left:10px;top:9px;font-size:10px;pointer-events:none}.drawing-choice select{display:block;width:100%;height:32px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:11px;padding:0 30px 0 115px;cursor:pointer;text-overflow:ellipsis}.drawing-choice select:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.drawing-count{flex-shrink:0;font-variant-numeric:tabular-nums}
@media(max-width:760px){:root{--rail-pad:18px;--rail-gap:16px;--caption-height:40px;--text-width:calc(100vw - 40px)}.project-sequence{padding-inline:20px;scroll-padding-inline:20px}.project-slide{padding:0}.cover-page,.end-page{width:calc(100vw - 40px)}.cover-inner{padding:0;gap:0}.cover-inner h1{font-size:clamp(36px,10vw,64px)}.cover-inner .tagline{font-size:23px;margin-top:25px}.cover-inner .eyebrow{margin-bottom:30px}.cover-inner .cover-meta{font-size:11px}.text-inner,.text-page:not(.measuring) .text-inner,.facts-inner,.facts-page:not(.measuring) .facts-inner{gap:18px}.text-body{font-size:18px;line-height:1.55}.text-inner h2{font-size:26px}.media-caption{font-size:10px;gap:12px}.project-controls{gap:10px}#autoplay-toggle{max-width:92px;font-size:9px}#drawings-jump{font-size:10px}.drawing-choice select{font-size:11px}.project-slide.measuring{left:20px}.arrows button{width:36px}.end-inner h2{font-size:36px}}
@media(max-height:540px){:root{--rail-pad:12px;--caption-height:32px;--text-width:clamp(300px,42vw,540px)}.cover-page{width:clamp(360px,50vw,620px)}.cover-inner .eyebrow{margin-bottom:12px}.cover-inner h1{font-size:clamp(28px,4vw,44px)}.cover-inner .tagline{font-size:20px;margin-top:14px}.cover-inner .cover-meta{font-size:10px;padding-top:8px}.text-inner,.text-page:not(.measuring) .text-inner,.facts-inner,.facts-page:not(.measuring) .facts-inner{gap:10px}.text-body{font-size:17px;line-height:1.45}.text-inner h2,.facts-inner h2{font-size:23px}.fact{padding:8px 0}.end-inner{gap:16px}.end-inner h2{font-size:32px}.media-caption{font-size:10px}}

.drawing-choice{max-width:min(560px,calc(100vw - 60px))}

/* Related plans and animations sit directly beneath their narrative text. */
.image-stack-panel{width:calc((var(--frame-height) - 16px)*var(--stack-ratio))}
.image-stack-frame{display:flex;flex-direction:column;gap:16px;height:var(--frame-height);min-height:0}
.image-stack-frame .media-frame{height:auto;min-height:0}
.text-media-panel{width:clamp(460px,44vw,680px)}
.stacked-inner{display:flex;flex-direction:column;gap:20px;height:calc(var(--frame-height) + var(--caption-height));min-height:0}
.stacked-copy{flex:none;font-size:clamp(18px,1.6vw,23px);line-height:1.55;letter-spacing:-.02em}
.stacked-media{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}
.stacked-media .media-frame{height:auto;flex:1;min-height:0}
.stacked-media img,.stacked-media video{object-fit:contain;filter:none;mix-blend-mode:normal}
.stacked-caption{flex:none;font-size:11px;line-height:1.4}
@media(max-width:760px){
  .text-media-panel{width:calc(100vw - 40px)}
  .stacked-inner{gap:16px}
  .stacked-copy{font-size:17px;line-height:1.45}
  .stacked-caption{font-size:10px}
}
@media(max-height:600px){
  .stacked-copy{font-size:16px;line-height:1.4}
  .stacked-inner{gap:12px}
}

/* Authored narratives: quiet text, prominent plans and one facts table. */
.editorial-project{--caption-height:64px;--frame-height:calc(100dvh - var(--header) - var(--footer) - var(--rail-pad)*2 - var(--caption-height))}
.editorial-project .project-sequence{touch-action:pan-x pan-y pinch-zoom}
.editorial-project .cover-page{width:clamp(560px,62vw,980px)}
.editorial-project .cover-inner h1{font-size:clamp(56px,7vw,108px);line-height:1.02}
.editorial-project .cover-inner .tagline{font-size:clamp(30px,3.5vw,54px);line-height:1.2;margin-top:34px;max-width:900px}
.editorial-project .media-caption>.media-credit{opacity:1;font-weight:600;white-space:nowrap}
.editorial-project .single-facts-page{width:clamp(400px,40vw,620px)}
.editorial-project .single-facts-page .facts-inner{display:flex;flex-direction:column;height:var(--frame-height);gap:26px}
.editorial-project .single-facts-page .facts-inner h2{flex:none}
.editorial-project .single-facts-page .facts-list{display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:thin;padding-right:10px}
.editorial-project .single-facts-page .fact{grid-template-columns:120px minmax(0,1fr);gap:20px;padding:14px 0;font-size:14px}
.editorial-project .single-facts-page .facts-list:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.editorial-project #drawings-jump{background:var(--ink);color:#fff;padding:0 18px;font-weight:700;text-decoration:none;min-height:42px}
.editorial-project .drawing-caption{justify-content:flex-start;gap:16px;align-items:center}
.editorial-project .drawing-choice{height:56px;flex:none;width:min(590px,calc(100vw - 94px));max-width:none;background:var(--ink);color:#fff}
.editorial-project .drawing-choice>span{top:7px;left:16px;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.editorial-project .drawing-choice::after{content:'';position:absolute;right:18px;top:23px;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);pointer-events:none}
.editorial-project .drawing-choice select{appearance:none;height:56px;padding:23px 44px 7px 16px;background:var(--ink);border:2px solid var(--ink);color:#fff;font-size:14px;font-weight:600;line-height:1.25}
.editorial-project .drawing-choice select:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.editorial-project .drawing-choice select option{background:#fff;color:var(--ink)}
.editorial-project .drawing-count{font-size:13px;font-weight:600}
@media(max-width:760px){
  .editorial-project .cover-page,.editorial-project .single-facts-page{width:calc(100vw - 40px)}
  .editorial-project .cover-inner h1{font-size:clamp(48px,13vw,76px)}
  .editorial-project .cover-inner .tagline{font-size:clamp(28px,7.5vw,36px);margin-top:28px}
  .editorial-project .single-facts-page .fact{grid-template-columns:85px minmax(0,1fr);gap:14px;font-size:13px;padding:12px 0}
  .editorial-project #drawings-jump{font-size:10px;padding:0 12px}
  .editorial-project .drawing-choice select{font-size:12px}
  .editorial-project .drawing-choice>span{font-size:9px}
}
@media(max-height:540px){
  .editorial-project .cover-page{width:clamp(480px,65vw,850px)}
  .editorial-project .cover-inner h1{font-size:clamp(40px,10vh,64px)}
  .editorial-project .cover-inner .tagline{font-size:clamp(23px,6.4vh,34px);margin-top:18px}
  .editorial-project .single-facts-page .facts-inner{gap:16px}
}
@media(max-width:360px){
  .editorial-project .project-controls{gap:8px;padding-inline:12px}
  .editorial-project #autoplay-toggle{width:64px;max-width:64px;min-width:0;font-size:9px}
  .editorial-project #drawings-jump{font-size:9px;padding-inline:8px}
  .editorial-project #slide-counter{min-width:44px;font-size:9px;margin-left:auto}
  .editorial-project .arrows button{width:28px}
}

/* Shared top edge for the story; opening question and closing invitation below. */
.editorial-project .cover-inner h1{flex:none;margin:0}
.editorial-project .cover-inner .eyebrow{flex:none;margin:22px 0 0}
.editorial-project .cover-inner .cover-meta{flex:none;margin:12px 0 0;padding:0}
.editorial-project .cover-inner .tagline{flex:none;margin-top:auto;padding-top:24px}
.editorial-project .text-inner,.editorial-project .stacked-inner{justify-content:flex-start;text-align:left}
.editorial-project .drawing-panel .media-inner{grid-template-rows:var(--caption-height) var(--frame-height)}
.editorial-project .drawing-caption{align-items:flex-start}
.editorial-project .drawing-count{padding-top:18px}
.editorial-project .end-inner{justify-content:flex-end;gap:22px;text-align:left}
.editorial-project .end-inner .eyebrow{margin:0}
@media(max-width:760px){
  .project-toplocentralata .cover-inner h1{font-size:clamp(32px,10vw,76px);max-width:100%}
}
@media(max-width:360px){
  .project-toplocentralata .stacked-copy{font-size:16px}
}
@media(max-height:540px){
  .editorial-project .cover-inner .eyebrow{margin-top:12px}
  .editorial-project .cover-inner .cover-meta{margin-top:8px}
  .editorial-project .cover-inner .tagline{padding-top:14px}
  .editorial-project .end-inner{gap:14px}
}

/* Slightly more space between the updated narrative columns. */
.project-vertical-winery,.project-alpha-center,.project-scm-hali,.project-mogilanska,.project-treasures,.project-magura,.project-venice{--rail-gap:40px}
@media(max-width:760px){.project-vertical-winery,.project-alpha-center,.project-scm-hali,.project-mogilanska,.project-treasures,.project-magura,.project-venice{--rail-gap:24px}}

/* Keep the full Kaufland title readable on narrow screens. */
@media(max-width:760px){.project-kaufland .cover-inner h1{font-size:clamp(30px,9.5vw,68px)}}

/* AC 6: show the photograph between source rows 433 and 2167. */
.project-alpha-center .photo-panel:has(img[src="/projects/alpha-center/assets/waiting.webp"]){width:calc(var(--frame-height) * 2600 / 1734)}
.project-alpha-center .media-frame img[src="/projects/alpha-center/assets/waiting.webp"]{object-fit:cover;object-position:center}
.project-alpha-center #large-image[src="/projects/alpha-center/assets/waiting.webp"]{flex:none;width:min(100%,calc((100dvh - 144px) * 2600 / 1734));height:auto;aspect-ratio:2600 / 1734;object-fit:cover;object-position:center;margin:auto}

/* Central Market Hall: keep the two-word title within narrow portrait frames. */
@media(max-width:760px){.project-scm-hali .cover-inner h1{font-size:clamp(36px,10.5vw,70px)}}

/* Keep each authored text section in one readable column at every viewport. */
.single-column-project .text-page{width:clamp(420px,42vw,640px)}
.single-column-project .text-body,.single-column-project .stacked-copy{overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:thin;padding-right:8px}
.single-column-project .stacked-copy{flex:0 1 auto;min-height:0;max-height:55%}
.single-column-project .text-body:focus-visible,.single-column-project .stacked-copy:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
@media(max-width:760px){.single-column-project .text-page{width:calc(100vw - 40px)}}

/* Let short phone swipes stop naturally, including between wide images.
   Both axes remain available over nested text; the browser chooses the gesture. */
@media(max-width:760px),(pointer:coarse){
  .project-sequence{scroll-snap-type:none;-webkit-overflow-scrolling:touch}
}

/* Fit the park title and opening question on narrow screens. */
@media(max-width:760px){.project-mogilanska .cover-inner h1{font-size:clamp(32px,9.5vw,68px)}}

/* The hall title includes the museum and city. */
.project-treasures .cover-inner h1{font-size:clamp(40px,4.8vw,72px)}
@media(max-width:760px){.project-treasures .cover-inner h1{font-size:clamp(27px,7.6vw,46px)}}
@media(max-height:540px){.project-treasures .cover-inner h1{font-size:clamp(26px,6.5vh,40px)}}
@media(max-width:360px){.project-treasures .cover-inner .tagline{font-size:24px}.project-treasures .stacked-copy{max-height:60%}}

/* Magurata: readable opening title and explanatory diagram captions. */
.project-magura .cover-inner h1{font-size:clamp(48px,5.6vw,88px)}
.project-magura .image-stack-panel .media-caption>span:first-child{display:none}
@media(max-width:760px){.project-magura .cover-inner h1{font-size:clamp(32px,9.5vw,68px)}}
@media(max-height:540px){.project-magura .cover-inner h1{font-size:clamp(28px,7vh,44px)}}
.project-magura .stacked-copy{white-space:pre-line}

/* TH House, Stara Zagora and Wolfram follow the current editorial spacing. */
.refreshed-editorial{--rail-gap:40px}
@media(max-width:760px){
  .refreshed-editorial{--rail-gap:24px}
  .project-puppet-theater-stara-zagora .cover-inner h1{font-size:clamp(32px,9.5vw,68px)}
  .project-wolfram-lighting-showroom .cover-inner h1{font-size:clamp(36px,10.5vw,70px)}
}
@media(max-height:540px){
  .project-puppet-theater-stara-zagora .cover-inner h1,.project-wolfram-lighting-showroom .cover-inner h1{font-size:clamp(26px,7vh,40px)}
}

/* Visual galleries retain only media, drawing controls and the project name. */
.media-only-project .media-caption:not(.drawing-caption){display:none}
@media(max-width:760px){
  .media-only-project .project-header{gap:12px}
  .media-only-project .project-back{margin-left:0}
  .media-only-project .project-back [data-i="projects"]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .media-only-project .project-name{display:block;flex:1;min-width:0;margin-left:0;white-space:normal;font-size:11px;line-height:1.2}
}

/* Ephemera: the complete two-part hook remains readable in one column. */
.project-venice .cover-inner h1{font-size:clamp(48px,5.6vw,88px)}
.project-venice .cover-inner .tagline{font-size:clamp(25px,2.6vw,40px)}
.project-venice .cover-inner{overflow-y:auto;overscroll-behavior-y:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none}
.project-venice .cover-inner::-webkit-scrollbar{display:none}
@media(max-width:760px){.project-venice .cover-inner h1{font-size:clamp(32px,9.5vw,68px)}.project-venice .cover-inner .tagline{font-size:clamp(20px,5.8vw,26px);line-height:1.25}}
@media(max-height:540px){.project-venice .cover-inner h1{font-size:clamp(28px,7vh,44px)}.project-venice .cover-inner .tagline{font-size:20px}}
