/* Section & Layout Patterns — 1.0.10, opt-in */
#top #teib-lab-patterns > .container {width:100%;max-width:none;padding-inline:0;}
#top .teib-scope .teib-pattern-grid {display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--teib-space-48);align-items:center;}
#top .teib-scope .teib-pattern-grid > * {min-width:0;}
#top .teib-scope .teib-pattern-equal {grid-template-columns:repeat(2,minmax(0,1fr));}
#top .teib-scope .teib-pattern-copy {display:flex;flex-direction:column;align-items:flex-start;gap:var(--teib-space-24);overflow-wrap:anywhere;}
#top .teib-scope .teib-pattern-copy > * {margin-block:0;}
#top .teib-scope .teib-pattern-hero .teib-display {font-size:clamp(5.5rem,6vw,7rem);line-height:1.05;}
#top .teib-scope .teib-pattern-media {aspect-ratio:3/4;background:var(--teib-sand);display:grid;place-items:center;overflow:hidden;color:var(--teib-forest);margin:0;}
#top .teib-scope .teib-pattern-media img {width:100%;height:100%;object-fit:cover;display:block;}
#top .teib-scope .teib-pattern-image .teib-pattern-media {aspect-ratio:4/3;}
#top .teib-scope .teib-pattern-brand {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--teib-space-48);}
#top .teib-scope .teib-pattern-brand > div {display:flex;flex-direction:column;gap:var(--teib-space-16);min-width:0;}
#top .teib-scope .teib-pattern-brand > div > * {margin:0;}
#top .teib-scope .teib-pattern-compass {width:100%;max-width:520px;display:block;margin:auto;height:auto;}
#top .teib-scope .teib-pattern .teib-button:focus-visible {outline-color:var(--teib-forest);}
#top .teib-scope .teib-pattern:is(.teib-dark,.teib-conversion) .teib-button:focus-visible {outline-color:var(--teib-lime);box-shadow:none;}
@media(max-width:1023px){#top .teib-scope .teib-pattern-grid {gap:var(--teib-space-32);} #top .teib-scope .teib-pattern-hero .teib-display {font-size:4rem;}}
@media(max-width:767px){#top .teib-scope :is(.teib-pattern-grid,.teib-pattern-brand) {grid-template-columns:minmax(0,1fr);gap:var(--teib-space-32);} #top .teib-scope .teib-pattern-hero .teib-display {font-size:clamp(3.25rem,8vw,4rem);} #top .teib-scope .teib-pattern-media {aspect-ratio:4/3;}}

/* Desktop hero: retain full grid width; crop media when height is capped. */
@media (min-width:1024px) {
 #top .teib-scope .teib-pattern-hero .teib-pattern-media {width:100%;max-height:720px;min-height:0;}
}
/* Methodology list fills its own column, not the entire section. */
#top .teib-scope #teib-pattern-method .teib-numbered-list {width:100%;max-width:100%;box-sizing:border-box;}
