/* Logical breakpoints: mobile <768, tablet 768–1179, desktop >=1180. */
@media (max-width: 1179px) {
	.ll-territory-grid, .ll-path-grid, .ll-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-territory-grid article:nth-child(3), .ll-path-grid article:nth-child(3), .ll-reason-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
	.ll-profile-hero__grid, .ll-lyla-hero__grid, .ll-service-hero__grid, .ll-project-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 42px; }
	.ll-profile-hero h1 { font-size: clamp(3.3rem, 6.5vw, 5rem); }
	.ll-lyla-hero h1, .ll-service-hero h1, .ll-project-hero h1 { font-size: clamp(3.7rem, 7vw, 5.6rem); }
	.ll-featured-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-service-grid, .ll-friction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-service-grid article:nth-child(3), .ll-friction-grid article:nth-child(3) { border-top: 1px solid rgb(241 235 225 / 18%); border-left: 0; }
	.ll-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-format-grid article:nth-child(3) { border-top: 1px solid rgb(241 235 225 / 18%); border-left: 0; }
	.ll-format-grid article:nth-child(4) { border-top: 1px solid rgb(241 235 225 / 18%); }
	.ll-now-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ll-now-grid > div { grid-column: 1 / -1; margin-bottom: 35px; }
	.ll-now-grid > a:first-of-type { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
	.ll-reading-progress { display: block; position: fixed; z-index: 9998; top: 0; right: 0; left: 0; height: 3px; overflow: hidden; pointer-events: none; }
	.ll-reading-progress span { display: block; width: 100%; height: 100%; background: #e79743; transform: scaleX(0); transform-origin: left center; }
	.admin-bar .ll-reading-progress { top: 46px; }
	.ll-preview-grid { grid-template-columns: minmax(0, 1fr); }
	.ll-preview-grid a, .ll-preview-grid a:nth-child(odd), .ll-preview-grid a:nth-child(even) { min-height: 88px; padding: 18px 0; border-left: 0; }
	.ll-preview-grid a { grid-template-columns: minmax(90px, .45fr) minmax(0, 1fr) auto; }
	.admin-bar .ll-preview-badge { top: 58px; }
	.ll-shell { padding-inline: 20px; }
	.ll-profile-hero, .ll-projects-hero { padding-block: 52px 60px; }
	.ll-profile-hero__grid, .ll-lyla-hero__grid, .ll-service-hero__grid, .ll-project-hero__grid, .ll-projects-hero__grid,
	.ll-method-line, .ll-between-cases, .ll-contact-process, .ll-about-notes, .ll-contact-band__grid,
	.ll-lyla-method, .ll-proposal-grid, .ll-proof-contexts .ll-shell, .ll-project-story__grid, .ll-pilotage__grid,
	.ll-limited-project, .ll-project-links .ll-shell { grid-template-columns: minmax(0, 1fr); }
	.ll-profile-hero__grid, .ll-lyla-hero__grid, .ll-service-hero__grid, .ll-project-hero__grid { gap: 48px; }
	.ll-profile-hero h1 { font-size: clamp(2.8rem, 13vw, 4.1rem); overflow-wrap: normal; }
	.ll-lyla-hero__grid, .ll-service-hero__grid, .ll-project-hero__grid { min-height: auto; padding-block: 64px 50px; }
	.ll-lyla-hero h1, .ll-service-hero h1, .ll-project-hero h1, .ll-projects-hero h1 { font-size: clamp(3.05rem, 15vw, 4.65rem); overflow-wrap: normal; }
	.ll-lyla-hero__visual { min-height: 280px; }
	.ll-service-hero__visual img, .ll-service-hero__visual .ll-mineral-art, .ll-project-hero__image img { min-height: 280px; }
	.ll-page-figure figcaption { right: 4%; bottom: -34px; }
	.ll-territory-grid, .ll-path-grid, .ll-reason-grid, .ll-featured-project-grid, .ll-project-list, .ll-service-grid, .ll-friction-grid, .ll-format-grid { grid-template-columns: minmax(0, 1fr); }
	.ll-territory-grid article, .ll-path-grid article, .ll-reason-grid article { padding: 24px 0; border-top: 1px solid var(--ll-border); border-left: 0; }
	.ll-territory-grid article:first-child, .ll-path-grid article:first-child, .ll-reason-grid article:first-child { border-top: 0; }
	.ll-service-grid, .ll-friction-grid, .ll-format-grid { border-bottom: 0; }
	.ll-service-teaser, .ll-friction-grid article, .ll-format-grid article { padding: 30px 0; border-top: 1px solid rgb(241 235 225 / 18%); border-left: 0; }
	.ll-service-teaser:first-child, .ll-friction-grid article:first-child, .ll-format-grid article:first-child { border-top: 0; }
	.ll-service-teaser p { min-height: 0; }
	.ll-featured-project-grid { gap: 50px; }
	.ll-lyla-method ol, .ll-service-principles { grid-template-columns: minmax(0, 1fr); }
	.ll-lyla-method li, .ll-lyla-method li:nth-child(odd), .ll-service-principles span { border-width: 1px 0 0; }
	.ll-now-grid { grid-template-columns: minmax(0, 1fr); }
	.ll-now-grid > a, .ll-now-grid > a:first-of-type { min-height: 88px; padding: 20px 0; border-top: 1px solid rgb(255 255 255 / 18%); border-left: 0; }
	.ll-contact-visual { min-height: 280px; }
	.ll-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-proof-strip span { padding: 15px 8px; border-top: 1px solid rgb(241 235 225 / 15%); font-size: 9px; }
	.ll-project-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ll-project-metrics > div, .ll-project-metrics > div:first-child { padding: 24px 12px; border-top: 1px solid rgb(255 255 255 / 18%); border-left: 0; }
	.ll-pilotage dl { grid-template-columns: minmax(0, 1fr); }
	.ll-contact-band .ll-action-row, .ll-project-hero .ll-action-row { align-items: stretch; }
	.ll-contact-band .ll-button { width: 100%; }
	.ll-header--lyla .ll-primary-nav .ll-back-ludo { margin: 14px 0 0; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 16%); }
}

@media (max-width: 430px) {
	.ll-action-row { align-items: stretch; }
	.ll-action-row .ll-button { width: 100%; }
	.ll-proof-strip { grid-template-columns: minmax(0, 1fr); }
	.ll-proof-strip span { border-left: 0; }
}
