/* © 1994–2026 Dammermann. Alle Rechte vorbehalten. */
.home-page .home-story__grid {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(28px,5vw,72px); align-items:center;
}
.home-page .main > .home-story { padding-block:clamp(48px,5vw,64px) !important; }
/* A single material chapter gives the otherwise light page a clear focal point. */
.home-page .main > .home-story--material {
  color-scheme:dark;
  --surface-bg:#292d31;
  --text:#f2f1eb;
  --muted:#c4c9cd;
  --line:#626b73;
  --border:#626b73;
  --accent-text:#a9ccfa;
  background:var(--surface-bg) !important;
  color:var(--text);
}
.home-page .home-story--material :is(a,button):focus-visible { outline-color:var(--accent-text) !important; }
.home-page .home-story--material .home-story__project-link:hover { color:#d5e7ff; }
.home-story__copy,.home-story__media { min-width:0; }
.home-story__copy h2 { margin:12px 0 18px; max-width:24ch; text-wrap:balance; }
.home-story__intro > p { max-width:46ch; margin:0 0 22px; color:var(--muted); font-size:1.0625rem; line-height:1.65; }
.home-story--material .home-story__media { order:-1; }
.home-story__choices { margin-top:26px; }
.home-page .home-story__choice {
  position:relative;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  width:100%; min-height:76px; padding:16px 0; margin:0;
  border:0; border-bottom:1px solid var(--line); border-radius:0;
  background:transparent; box-shadow:none; text-align:left;
  color:var(--muted); font:inherit; cursor:pointer;
  transform:none !important;
  transition:color 240ms ease;
}
.home-story__choice::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background:var(--accent-text); pointer-events:none;
  transform:scaleX(0); transform-origin:left center;
  transition:transform 320ms cubic-bezier(.22,1,.36,1);
}
.home-page .home-story__choice[hidden] { display:none; }
.home-story__choice strong { display:block; color:inherit; font-weight:600; font-size:1.0625rem; }
.home-story__choice small { display:block; font-size:.9375rem; line-height:1.5; margin-top:4px; color:var(--muted); }
.home-story__choice svg { width:18px; height:18px; flex:0 0 18px; transform:none !important; }
.home-page .home-story__choice[aria-pressed="true"] { color:var(--accent-text); }
.home-story__choice[aria-pressed="true"]::after,.home-story__choice:focus-visible::after { transform:scaleX(1); }
.home-story__choice:focus-visible { outline:2px solid var(--accent-text); outline-offset:5px; }
.home-story__figure { margin:0; }
.home-story__figure + .home-story__figure { margin-top:24px; }
.home-page .home-story__figure img {
  display:block; width:100%; height:auto; max-width:100%;
  border:0; border-radius:0; box-shadow:none; background:transparent; filter:none;
}
.home-story__figure figcaption { margin-top:14px; font-size:.875rem; line-height:1.5; color:var(--muted); }
.has-story-selector .home-story__figure + .home-story__figure { margin-top:0; }
.has-story-selector .home-story__figure figcaption { display:none; }
.has-story-selector .home-story__figure[hidden] { display:none; }
.has-story-selector .home-story__figure:not([hidden]) { display:flex; flex-direction:column; align-items:center; justify-content:center; }
.has-story-selector .home-story__figure { min-height:500px; }
.home-page .has-story-selector .home-story__figure img { width:auto; height:auto; max-height:460px; object-fit:contain; }
.home-story__status { margin:12px 0 0; font-size:.875rem; color:var(--muted); }
.home-story__status:empty { display:none; }
.home-story__copy .home-story__project-link {
  display:inline-flex; align-items:center; gap:10px; min-height:44px; margin-top:22px;
  color:var(--accent-text); transform:none !important;
  text-decoration:underline; text-decoration-color:transparent; text-underline-offset:5px;
  transition:color 240ms ease,text-decoration-color 240ms ease;
}
.home-story__project-link:focus-visible { text-decoration-color:currentColor; }
.home-story__project-link svg { width:18px; height:18px; flex:0 0 18px; }
@media (hover:hover) and (pointer:fine) {
  .home-page .home-story__choice:hover { color:var(--accent-text); }
  .home-story__choice:hover::after { transform:scaleX(1); }
  .home-story__copy .home-story__project-link:hover { color:#073469; text-decoration-color:currentColor; }
}
@media (max-width:760px) {
  .home-page .main > .home-story { padding-block:40px !important; }
  .home-page .home-story__grid {
    grid-template-columns:minmax(0,1fr); gap:16px;
    grid-template-areas:"intro" "image" "choices" "link";
  }
  .home-story__copy { display:contents; }
  .home-story__intro { grid-area:intro; }
  .home-story__intro > p { margin-bottom:0; font-size:1rem; }
  .home-story__media { grid-area:image; order:initial; }
  .home-story__choices { grid-area:choices; margin:0; }
  .home-story__copy .home-story__project-link { grid-area:link; justify-self:start; margin:0; }
  .home-page .home-story__choice { min-height:48px; padding:10px 0; }
  .home-story__choice strong { font-size:1rem; }
  .home-story__choice small { display:none; }
  .has-story-selector .home-story__figure { min-height:0; height:clamp(240px,68vw,300px); }
  .home-page .has-story-selector .home-story__figure img { max-height:100%; }
}
@media (prefers-reduced-motion:reduce) { .home-story__choice,.home-story__choice::after,.home-story__copy .home-story__project-link { transition:none; } }
@media (forced-colors:active) { .home-story__choice[aria-pressed="true"] { color:Highlight; } }
/* Editorial project sequence: photographs stay unframed and retain their proportions. */
.home-page .main > .project-sequence{padding-block:clamp(48px,6vw,88px)!important;--accent-text:#39483f}
.project-sequence__intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:end;margin-bottom:36px}
.project-sequence__intro h2{max-width:22ch;margin:12px 0 0;text-wrap:balance}
.project-sequence__intro p{margin:0;font-size:1rem;line-height:1.7;color:var(--muted);max-width:47ch}
.project-sequence__link{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-top:12px;text-decoration:underline;text-underline-offset:5px;color:var(--text);transition:text-decoration-color 180ms ease}
.project-sequence__link svg{width:18px;height:18px;flex:0 0 18px;transform:none!important}
.project-sequence__photos{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,1fr);align-items:end;gap:clamp(16px,2.5vw,32px)}
.project-sequence__photo{margin:0;min-width:0}
.project-sequence__photo--2{padding-bottom:72px}.project-sequence__photo--3{padding-bottom:24px}
.project-sequence__photo a{display:block;position:relative;transform:none!important;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.home-page .project-sequence__photo img{display:block;width:100%;height:auto;border:0;border-radius:0;box-shadow:none;filter:none!important;transform:none!important}
.project-sequence__photo figcaption{display:flex;align-items:flex-start;gap:12px;margin-top:16px;color:var(--text)}
.project-sequence__number{font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);padding-top:3px}
.project-sequence__photo strong{display:block;font-size:1rem;font-weight:500;line-height:1.5}
.project-sequence__photo small{display:block;font-size:.8125rem;line-height:1.5;color:var(--muted);margin-top:3px}
.project-sequence__open{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:8px;padding:8px 10px;background:#252824;color:#f3f1eb;font-size:12px;pointer-events:none;opacity:0;transform:translateY(4px);transition:opacity 180ms ease,transform 220ms cubic-bezier(.22,1,.36,1)}
.project-sequence__open svg{width:18px;height:18px}
.project-sequence__photo a:focus-visible .project-sequence__open{opacity:1;transform:none}
/* Material focus has its own warm graphite palette and a stable image area. */
.home-page .main > .material-focus{--surface-bg:#292c29;--text:#f2f0e8;--muted:#c5c8c0;--line:#63695f;--accent-text:#e2ddcc}
.home-page .material-focus .home-story__grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(28px,4vw,56px)}
.material-focus .home-story__copy h2{max-width:16ch}
.home-page .material-focus .home-story__choice[aria-pressed="true"]{color:var(--text)}
.home-page .material-focus .home-story__project-link:hover{color:var(--text)}
.home-page .material-focus .home-story__figure{height:clamp(320px,34vw,500px);min-height:0;overflow:hidden;position:relative}
.material-focus__open{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border:0;border-radius:0;box-shadow:none;transform:none!important}
.home-page .material-focus .home-story__figure img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;transition:none;transform:none}
.material-focus__tools{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:44px 44px;align-items:center;gap:8px 20px;margin-top:18px}
.material-focus__tools[hidden]{display:none}
.material-focus__zoom{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:none;color:var(--text);font:inherit;font-size:.9375rem;box-shadow:none;transform:none!important;cursor:pointer}
.material-focus__zoom svg{width:20px;height:20px;flex-shrink:0}
.material-focus__zoom[aria-pressed="true"]{text-decoration:underline;text-underline-offset:5px}
.material-focus__hint{hyphens:none;font-size:.8125rem;line-height:1.5;margin:0;color:var(--muted);max-width:32ch}
.material-focus .is-detail-zoomed .material-focus__open{cursor:grab;touch-action:none}
.material-focus .is-detail-zoomed .material-focus__open:active{cursor:grabbing}
.material-focus__pan{display:flex;gap:8px;grid-column:1/-1}
.material-focus__pan[hidden]{display:flex;visibility:hidden;pointer-events:none}
.material-focus__pan button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:4px;color:var(--text);background:transparent;box-shadow:none;transform:none!important;cursor:pointer}
.material-focus__pan svg{width:18px;height:18px}
@media(hover:hover){.project-sequence__photo a:hover .project-sequence__open{opacity:1;transform:none}.material-focus__zoom:hover{color:var(--accent-text)}.material-focus__pan button:hover{background:#3b4038}}
@media(hover:none){.project-sequence__open{opacity:1;transform:none}.project-sequence__open span{display:none}}
@media(max-width:1100px){.project-sequence__photos{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.project-sequence__photo--1{grid-row:span 2}.project-sequence__photo--2,.project-sequence__photo--3{padding:0}}
@media(max-width:760px){.home-page .material-focus .home-story__grid{grid-template-columns:minmax(0,1fr)}.home-page .material-focus .home-story__figure{height:clamp(260px,70vw,400px)}.material-focus .home-story__intro p{max-width:50ch}}
@media(max-width:700px){.project-sequence__intro{grid-template-columns:minmax(0,1fr);gap:20px;margin-bottom:28px}.project-sequence__photos{grid-template-columns:minmax(0,1fr);gap:28px}.project-sequence__photo--1{grid-row:auto}.project-sequence__photo--1 img{max-height:460px;width:auto!important;max-width:100%;margin-inline:auto}.project-sequence__photo--1 a{background:transparent}.project-sequence__photo figcaption{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.project-sequence__open,.project-sequence__link{transition:none;transform:none}}

@media(max-width:760px){.material-focus__tools{grid-template-columns:minmax(0,1fr);grid-template-rows:44px 40px 44px;gap:8px}.material-focus__hint{max-width:none}}

.material-focus__pan button:disabled{opacity:.35;cursor:default}

/* Project double spread: aligned columns and two clear photographic scales. */
.home-page .main > .project-spread{padding-block:clamp(48px,6vw,80px)!important}
.project-spread__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:start}
.project-spread__grid figure{margin:0;min-width:0}
.project-spread__grid a[data-lightbox]{display:block;position:relative;overflow:hidden;transform:none!important;border:0;border-radius:0;box-shadow:none}
.home-page .project-spread__grid img{display:block;width:100%;height:auto;max-width:100%;border:0;border-radius:0;box-shadow:none;filter:none!important;transform:none!important}
.home-page .project-spread__portrait img{max-height:620px;width:auto;object-fit:contain;object-position:left top}
.project-spread__story{min-width:0}
.home-page .project-spread__story h2{font-family:Georgia,serif!important;font-size:clamp(1.75rem,2.5vw,2.5rem)!important;font-weight:400!important;letter-spacing:-.035em!important;line-height:1.18!important;margin:14px 0 20px;text-wrap:balance}
.project-spread__story > p{font-size:1rem;line-height:1.7;color:var(--muted);max-width:43ch;margin:0}
.project-spread__detail{max-width:340px;margin-top:32px!important}
.project-spread__grid figcaption{font-size:.8125rem;line-height:1.5;color:var(--muted);margin-top:12px}
.project-spread__story .project-sequence__link{margin-top:20px}
.project-spread__open{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:8px;padding:8px 10px;background:#252824;color:#f3f1eb;font-size:12px;pointer-events:none;opacity:0;transition:opacity 180ms ease}
.project-spread__open svg{width:18px;height:18px}
.project-spread__grid a:focus-visible .project-spread__open{opacity:1}
.material-focus__full{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem;text-decoration:underline;text-underline-offset:4px}
.material-focus__full svg{width:18px;height:18px}
.material-focus__tools{grid-template-columns:auto auto;grid-template-rows:44px 40px 44px}
.material-focus__hint{grid-column:1/-1;max-width:none}
.material-focus__pan{grid-row:3}
.material-focus__zoom{justify-self:end}
.material-focus .material-focus__open{touch-action:pan-y;cursor:zoom-in}
@media(hover:hover) and (pointer:fine){.project-spread__grid a:hover .project-spread__open{opacity:1}}
@media(hover:none){.project-spread__open{opacity:1}.project-spread__open span{display:none}}
@media(max-width:700px){
 .project-spread__grid{display:flex;flex-direction:column;gap:24px}
 .project-spread__story{display:contents}
 .project-spread__story header{order:0}
 .project-spread__portrait{order:1;width:100%}
 .project-spread__story > p{order:2}
 .project-spread__detail{order:3;margin-top:0!important;width:100%;max-width:340px}
 .project-spread__story .project-sequence__link{order:4;margin-top:0}
 .home-page .project-spread__portrait img{width:100%;max-height:540px;object-position:left center}
}
@media(prefers-reduced-motion:reduce){.project-spread__open{transition:none}}

/* Keep the enlargement label inside the painted portrait, not the wider grid column. */
.project-spread__portrait a[data-lightbox]{width:min(100%,399.7px)}
.home-page .project-spread__portrait img{width:100%;height:auto;max-height:none}
@media(max-width:700px){.project-spread__portrait a[data-lightbox]{width:min(100%,348.1px)}}

/* Keep only the full-image link and the gesture hint below the photograph. */
.material-focus__tools{display:flex;flex-direction:column;align-items:flex-start;gap:8px;grid-template-columns:none;grid-template-rows:none}
