/* 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{box-sizing:border-box;width:min(1200px,calc(100vw - 32px));height:min(900px,calc(100dvh - 32px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #506157;border-radius:12px;background:#10231b;color:#fff;overflow:hidden;overscroll-behavior:contain}
.completed-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.completed-dialog::backdrop{background:#07130ef2}
.completed-dialog__tools{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px;margin:0}
.completed-dialog button{min-width:48px;min-height:48px;border:1px solid #99afa2;border-radius:8px;background:#10231b;color:#fff;font:inherit;cursor:pointer;padding:8px 12px}
.completed-dialog button:hover{background:#304a3c}
.completed-dialog button:focus-visible,.completed-dialog a:focus-visible{outline:3px solid #ffd38b;outline-offset:3px}
.completed-dialog__stage{position:relative;min-height:0;display:flex;align-items:center;justify-content:center;padding:0 64px;touch-action:pan-y pinch-zoom;user-select:none}
.completed-dialog__image{display:block;width:100%;height:100%;min-height:0;object-fit:contain;opacity:1}
.completed-dialog__image.is-loading{opacity:0}
.completed-dialog__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;font:36px/1 system-ui!important;padding:0!important}
.completed-dialog__arrow--prev{left:8px}.completed-dialog__arrow--next{right:8px}
.completed-dialog [hidden]{display:none!important}
.completed-dialog__feedback{position:absolute;left:64px;right:64px;top:50%;transform:translateY(-50%);text-align:center;pointer-events:none;font:15px/1.5 system-ui}
.completed-dialog__feedback a{display:block;color:#ffd38b;pointer-events:auto;margin-top:12px}
.completed-dialog__footer{padding:12px 20px 16px;max-height:24dvh;overflow-y:auto;overscroll-behavior:contain}
.completed-dialog__caption{font:16px/1.45 system-ui;margin:0}
.completed-dialog__hint{font:13px/1.4 system-ui;color:#bdcec4;margin:8px 0 0}
@media(max-width:700px){
 .completed-dialog{width:100%;height:100dvh;border:0;border-radius:0}
 .completed-dialog__tools{padding:calc(8px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) 8px max(12px,env(safe-area-inset-left,0px))}
 .completed-dialog__stage{padding:0 12px}
 .completed-dialog__arrow{background:#10231bed!important;box-shadow:0 2px 12px #0005}
 .completed-dialog__arrow--prev{left:max(8px,env(safe-area-inset-left,0px))}.completed-dialog__arrow--next{right:max(8px,env(safe-area-inset-right,0px))}
 .completed-dialog__footer{padding:12px max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))}
 .completed-dialog__caption{font-size:14px}
}
@media(max-height:500px){.completed-dialog__tools{padding-block:4px}.completed-dialog__footer{padding-block:6px}.completed-dialog__hint{display:none}}
@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))}
}
