/* Photo-led portfolio. Mobile layout is the default; content is visible without JS. */
.completed-scope{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 24px}
.completed-scope li{padding:7px 10px;background:#edf1e8;border-radius:6px;font-size:13px;line-height:1.5}
.completed-gallery-group{margin-top:36px;scroll-margin-top:100px}
.completed-gallery-group>h3{font-size:clamp(24px,3vw,34px);margin-bottom:20px}
.completed-section{padding-block:clamp(36px,6vw,80px);scroll-margin-top:100px}
.completed-section__head{max-width:740px;margin-bottom:28px}
.completed-kicker{font:700 12px/1.5 var(--ilx-sans,system-ui);letter-spacing:.09em;text-transform:uppercase;color:#52664c;margin:0 0 10px}
.completed-section h2,.completed-index h1,.completed-case h1{font-family:var(--ilx-serif,Georgia,serif);font-weight:500;letter-spacing:-.035em;line-height:1.1;color:#142d23}
.completed-section h2{font-size:clamp(28px,3.6vw,46px);margin:0 0 16px}
.completed-index h1,.completed-case h1{font-size:clamp(34px,5vw,64px);margin:0 0 20px}
.completed-section p,.completed-hero__copy>p,.completed-index>header>p{line-height:1.7}
.completed-project-grid,.completed-comparison,.completed-gallery{display:grid;gap:28px}
.completed-card{min-width:0}
.completed-card__image,.completed-photo{display:block;position:relative;overflow:hidden;border-radius:12px;background:#e7ece2}
.completed-card__image picture,.completed-photo picture,.completed-hero__image picture,.completed-step__image picture{display:block}
.completed-card__image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .3s}
.completed-card__body{padding:20px 0 0}
.completed-card h3{font-size:clamp(23px,2.7vw,32px);line-height:1.2;margin:0 0 12px}
.completed-card h3 a{color:inherit;text-decoration:none}
.completed-card__body>p:not(.completed-kicker){margin:0 0 18px;max-width:60ch}
.completed-text-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-weight:700;color:#34532b;text-underline-offset:4px}
.completed-index-link{margin-top:28px}
.completed-index>header{padding-top:32px;max-width:1200px}
.completed-index>header>p{max-width:680px}
.completed-index .completed-section:first-of-type{padding-top:24px}
.completed-hero{display:grid;gap:28px;padding-top:24px}
.completed-hero__copy>p{margin-bottom:24px;max-width:62ch}
.completed-hero__image{border-radius:12px;overflow:hidden;background:#e7ece2}
.completed-hero__image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.completed-jump{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:24px;padding-block:14px;border-bottom:1px solid #d7dfd1}
.completed-jump a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-underline-offset:4px;color:#34532b}
.completed-case figure{margin:0;min-width:0}
.completed-comparison img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.completed-case figcaption{padding:12px 0 0;line-height:1.5}
.completed-case figcaption strong,.completed-case figcaption span{display:block}
.completed-case figcaption strong{font-size:16px;margin-bottom:4px}
.completed-case figcaption span{font-size:14px;color:#52604c}
.completed-process{background:#edf1e8}
.completed-steps{list-style:none;display:grid;gap:28px;margin:0;padding:0}
.completed-steps li{display:grid;gap:18px;min-width:0}
.completed-step__image{border-radius:10px;overflow:hidden}
.completed-step__image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.completed-steps h3{font-size:22px;line-height:1.25;margin:0 0 10px}
.completed-steps p{margin:0}
.completed-steps .completed-kicker{margin-bottom:8px}
.completed-gallery img{display:block;width:100%;height:auto}
.completed-photo__zoom{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;background:#fff;color:#193127;border-radius:50%;pointer-events:none}
.completed-end{background:#edf1e8}
.completed-end h2{max-width:800px}
.completed-end .completed-text-link{margin:14px 0 0;display:flex;width:max-content}
.completed-studies{display:flex;flex-wrap:wrap;gap:12px 28px;padding:0;list-style:none}
.completed-dialog{width:min(1100px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px;border:0;border-radius:12px;background:#10231b;color:#fff;overflow:auto}
.completed-dialog::backdrop{background:#07130ee6}
.completed-dialog__tools{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.completed-dialog button{min-width:44px;min-height:44px;border:1px solid #b6c4b5;border-radius:6px;background:transparent;color:#fff;font:inherit;cursor:pointer;padding:8px 12px}
.completed-dialog button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.completed-dialog__image{display:block;width:100%;height:auto;max-height:65dvh;object-fit:contain}
.completed-dialog__caption{font:16px/1.5 system-ui;margin:14px 0 0}
.completed-dialog__buttons{display:flex;gap:8px}
@media(min-width:760px){
  .completed-project-grid,.completed-comparison,.completed-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px}
  .completed-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .completed-steps li{display:block}.completed-step__image{margin-bottom:20px}
}
@media(min-width:900px){.completed-hero{grid-template-columns:1fr 1.2fr;align-items:center;gap:40px}.completed-hero__image img{aspect-ratio:4/3}.completed-jump{margin-top:32px}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.completed-card__image:hover img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.completed-card__image img{transition:none}}
/* Desktop contact sheets: equal preview frames; the viewer preserves the full image. */
@media(min-width:760px){
  .completed-gallery{gap:24px;align-items:start}
  .completed-gallery img{aspect-ratio:4/3;object-fit:cover}
  .completed-gallery-group{padding-top:24px;border-top:1px solid var(--ilx-line)}
}
@media(min-width:1024px){.completed-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){
  .home .hero--photo{background:var(--ilx-forest-deep)}
  .home .hero__bg{bottom:auto;height:min(100%,900px)}
  .home .hero__bg img{animation:none;object-position:50% 50%}
  .home .hero--photo .hero__scrim{background:linear-gradient(to bottom,rgba(7,20,13,.72),rgba(7,20,13,.55) 65%,var(--ilx-forest-deep))}
}
