/* Content-driven layouts retain the approved artwork without fixed-height clipping. */
body.brand-labirent[class] { --shell: min(1304px, calc(100% - 96px)); --title: clamp(58px, 6.12vw, 88px); --section-title: clamp(38px, 4.17vw, 60px); --lead: clamp(24px, 2.5vw, 36px); }
body.brand-labirent[class] .shell > *, body.brand-labirent[class] .service-row > *, body.brand-labirent[class] .catalog-grid > * { min-width: 0; }
body.brand-labirent[class] .site-header__inner { min-height: 100px; grid-template-columns: 260px minmax(0,1fr) auto; gap: 30px; }
body.brand-labirent[class] .site-header .brand-lockup { width: 260px; }
body.brand-labirent[class] .site-nav__list { gap: 32px; }
body.brand-labirent[class] .site-nav a { font-size: 16px; }
body.brand-labirent[class] .header-contact { display: inline-flex; min-height: 52px; white-space: nowrap; }
body.brand-labirent[class] .hero, body.brand-labirent[class] .hero__grid, body.brand-labirent[class] .page-hero__grid { height: auto; min-height: 0; overflow: visible; }
body.brand-labirent[class] .hero__grid, body.brand-labirent[class] .page-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; align-items: center; }
body.brand-labirent[class] .hero__copy, body.brand-labirent[class] .page-hero__copy { height: auto; padding: 64px 0; }
body.brand-labirent[class] .hero__copy h1, body.brand-labirent[class] .page-hero__copy h1 { max-width: none; margin: 20px 0 24px; font-size: var(--title); line-height: 1.03; }
body.brand-labirent[class] .hero__lead, body.brand-labirent[class] .page-hero__copy .lead-copy { max-width: 650px; font-size: var(--lead); line-height: 1.25; }
body.brand-labirent[class] .page-hero__copy > p:last-child:not(.lead-copy):not(.hero__motto) { font-size: 20px; line-height: 1.5; }
body.brand-labirent[class] .hero__motto { position: static; width: auto; margin: 30px 0 0; font-size: 12px; line-height: 1.6; }
body.brand-labirent[class] .hero__art, body.brand-labirent[class] .page-hero__visual { position: relative; inset: auto; display: block; width: 100%; height: auto; min-height: 0; padding: 32px 0; margin: 0; }
body.brand-labirent[class] .hero__art img, body.brand-labirent[class] .page-hero__visual img { position: static; width: 100%; height: auto; object-fit: contain; }
body.brand-labirent[class] .hero__art small { position: static; display: block; text-align: right; margin-top: 10px; }
body.brand-labirent[class] .page-hero__visual::after { position: static; display: block; width: auto; margin-top: 16px; font-size: 14px; line-height: 1.5; }
body.brand-labirent[class].page-services .page-hero::after { display: none; }
body.brand-labirent[class] .hero-index-band, body.brand-labirent[class] .hero-index { height: auto; }
body.brand-labirent[class] .hero-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.brand-labirent[class] .hero-index span { height: auto; padding: 24px 12px; }
body.brand-labirent[class] .services, body.brand-labirent[class] .work-fields, body.brand-labirent[class] .inner-section, body.brand-labirent[class] .process-strip { height: auto; min-height: 0; padding: 60px 0; overflow: visible; }
body.brand-labirent[class] .services .section-heading, body.brand-labirent[class] .work-fields .section-heading { height: auto; grid-template-columns: minmax(0,2fr) minmax(0,1fr); gap: 48px; margin-bottom: 32px; }
body.brand-labirent[class] .section-heading h2, body.brand-labirent[class] .about-intro h2, body.brand-labirent[class] .contact-layout h2 { font-size: var(--section-title); line-height: 1.08; margin: 0 0 24px; }
body.brand-labirent[class] .section-heading > p { margin: 0 0 24px; font-size: 18px; line-height: 1.5; }
body.brand-labirent[class] .service-row { height: auto; min-height: 134px; grid-template-columns: 64px minmax(0,1fr) minmax(0,1fr) 44px; grid-template-rows: auto; gap: 24px; padding: 24px 0; }
body.brand-labirent[class] .service-row > * { position: static; grid-column: auto; grid-row: auto; }
body.brand-labirent[class] .service-row h3 { font-size: 28px; line-height: 1.15; }
body.brand-labirent[class] .service-row p { font-size: 18px; line-height: 1.5; }
body.brand-labirent[class] .service-row a { min-height: 44px; min-width: 44px; }
body.brand-labirent[class] .dark-band, body.brand-labirent[class] .dark-band__grid, body.brand-labirent[class] .inner-dark, body.brand-labirent[class] .inner-dark__grid { height: auto; min-height: 0; }
body.brand-labirent[class] .dark-band__grid, body.brand-labirent[class] .inner-dark__grid { display: block; padding: 52px 0; }
body.brand-labirent[class] .dark-band__grid > div { max-width: 640px; }
body.brand-labirent[class] .dark-band h2, body.brand-labirent[class] .inner-dark h2 { margin: 18px 0 24px; font-size: clamp(38px,4.45vw,64px); line-height: 1.08; }
body.brand-labirent[class] .dark-band__description, body.brand-labirent[class] .inner-dark__description { font-size: 18px; line-height: 1.5; }
body.brand-labirent[class] .dark-band__aside { display: none; }
body.brand-labirent[class] .dark-band::before, body.brand-labirent[class] .inner-dark__grid > img { pointer-events: none; }
body.brand-labirent[class] .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.brand-labirent[class] .feature-card { height: auto; }
body.brand-labirent[class] .feature-card__art { height: auto; min-height: 0; aspect-ratio: 2/1; }
body.brand-labirent[class] .feature-card__art::before, body.brand-labirent[class] .feature-card__art::after { content: none; }
body.brand-labirent[class] .feature-card__art img { object-fit: contain; }
body.brand-labirent[class] .feature-card a { height: auto; min-height: 62px; font-size: 22px; }
body.brand-labirent[class] .process-item { height: auto; min-height: 0; }
body.brand-labirent[class] .about-intro { display: block; height: auto; padding: 0; margin: 0 0 32px; }
body.brand-labirent[class] .about-intro h2 { max-width: 850px; }
body.brand-labirent[class] .about-article { height: auto; font-size: 20px; line-height: 1.6; letter-spacing: normal; }
body.brand-labirent[class] .about-article p { display: block; height: auto; margin: 0; padding: 24px 0; }
body.brand-labirent[class] .catalog-grid { height: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 80px; }
body.brand-labirent[class] .catalog-grid::after { left: 50%; top: 0; bottom: 0; height: auto; }
body.brand-labirent[class] .catalog-group + .catalog-group { padding: 0; border: 0; }
body.brand-labirent[class] .catalog-group h2 { height: auto; padding: 0 0 20px; font-size: 38px; line-height: 1.15; }
body.brand-labirent[class] .catalog-list { font-size: 18px; line-height: 1.45; }
body.brand-labirent[class] .catalog-list li { height: auto; min-height: 62px; padding: 14px 24px 14px 62px; font-size: inherit; line-height: inherit; }
body.brand-labirent[class] .catalog-group + .catalog-group .catalog-list li { min-height: 62px; padding: 14px 24px 14px 62px; }
body.brand-labirent[class] .inner-visual-band, body.brand-labirent[class] .inner-visual-band .shell { height: auto; padding: 0; }
body.brand-labirent[class] .inner-visual-band img { height: auto; width: min(100%,920px); }
body.brand-labirent[class] .inner-visual-band h2 { position: static; width: auto; max-width: none; margin: 16px 0 32px; font-size: 14px; line-height: 1.5; }
body.brand-labirent[class] .contact-layout { height: auto; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: auto; gap: 72px; }
body.brand-labirent[class] .contact-layout::after { display: none; }
body.brand-labirent[class] .contact-list li { min-height: 92px; grid-template-columns: 40px minmax(0,1fr); gap: 20px; font-size: 18px; line-height: 1.5; padding: 16px 0; }
body.brand-labirent[class] .contact-list svg { width: 36px; height: 36px; }
body.brand-labirent[class] .contact-form { display: flex; flex-direction: column; gap: 16px; padding: 0; }
body.brand-labirent[class] .contact-form h2 { margin-bottom: 0; }
body.brand-labirent[class] .draft-explanation { font-size: 16px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
body.brand-labirent[class] .form-field { display: flex; flex-direction: column; gap: 8px; }
body.brand-labirent[class] .form-field label { font-size: 18px; }
body.brand-labirent[class] .form-field input { height: 48px; min-height: 48px; padding: 10px 12px; }
body.brand-labirent[class] .form-field textarea { height: 140px; min-height: 140px; padding: 10px 12px; }
body.brand-labirent[class] .contact-form .button { align-self: flex-start; min-width: 0; min-height: 52px; }
body.brand-labirent[class] .site-footer { border-top: 1px solid var(--line); }
body.brand-labirent[class] .site-footer__inner { display: grid; grid-template-areas: none; grid-template-columns: 240px minmax(0,1fr) 180px; min-height: 134px; gap: 32px; padding: 24px 0; }
body.brand-labirent[class] .site-footer__inner > * { grid-area: auto; }
body.brand-labirent[class] .brand-lockup--footer { width: 240px; }
body.brand-labirent[class] .site-footer nav { justify-self: center; }
body.brand-labirent[class] .footer-nav { flex-wrap: wrap; gap: 20px; }
body.brand-labirent[class] .footer-nav a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; }
body.brand-labirent[class] .site-footer__tagline { max-width: 180px; margin: 0; font-size: 13px; line-height: 1.5; }
body.brand-labirent[class] .site-footer__legal { display: none; }
@media (max-width:1100px) {
 body.brand-labirent[class] { --shell: calc(100% - 44px); --title: clamp(36px,11.28vw,64px); --section-title: clamp(29px,4.3vw,42px); --lead: clamp(19px,3vw,24px); }
 body.brand-labirent[class] .site-header__inner { min-height: 72px; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
 body.brand-labirent[class] .site-header .brand-lockup { width: 178px; }
 body.brand-labirent[class] .header-contact { display: none; }
 body.brand-labirent[class] .menu-toggle { display: flex; align-items: center; min-height: 44px; padding: 8px 0 8px 8px; }
 body.brand-labirent[class] .site-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 22px; }
 body.brand-labirent[class] .site-nav[data-open] { display: block; }
 body.brand-labirent[class] .site-nav__list { flex-direction: column; gap: 0; }
 body.brand-labirent[class] .site-nav a { display: block; padding: 14px 0; }
 body.brand-labirent[class] .site-nav a::after { bottom: 4px; }
 body.brand-labirent[class] .hero__grid, body.brand-labirent[class] .page-hero__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
 body.brand-labirent[class] .hero__copy, body.brand-labirent[class] .page-hero__copy { padding: 36px 0 20px; }
 body.brand-labirent[class] .hero__copy h1, body.brand-labirent[class] .page-hero__copy h1 { margin: 14px 0 22px; }
 body.brand-labirent[class] .hero__art, body.brand-labirent[class] .page-hero__visual { max-width: 640px; justify-self: center; padding: 16px 0 28px; }
 body.brand-labirent[class] .hero__motto { position: static; display: block; margin-top: 24px; }
 body.brand-labirent[class] .hero-index { grid-template-columns: minmax(0,1fr); }
 body.brand-labirent[class] .hero-index span { padding: 16px 0; }
 body.brand-labirent[class] .services, body.brand-labirent[class] .work-fields, body.brand-labirent[class] .inner-section, body.brand-labirent[class] .process-strip { padding: 36px 0; }
 body.brand-labirent[class] .services .section-heading, body.brand-labirent[class] .work-fields .section-heading { display: block; height: auto; margin-bottom: 24px; }
 body.brand-labirent[class] .section-heading > p { display: none; }
 body.brand-labirent[class] .service-row { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px 12px; padding: 22px 0; min-height: 0; }
 body.brand-labirent[class] .service-row > span { grid-column: 1; grid-row: 1; font-size: 19px; padding: 0; }
 body.brand-labirent[class] .service-row h3 { grid-column: 1; grid-row: 2; font-size: 22px; }
 body.brand-labirent[class] .service-row p { grid-column: 1; grid-row: 3; font-size: 16px; }
 body.brand-labirent[class] .service-row a { grid-column: 2; grid-row: 1 / 4; align-self: start; }
 body.brand-labirent[class] .dark-band__grid, body.brand-labirent[class] .inner-dark__grid { padding: 36px 0; }
 body.brand-labirent[class] .dark-band h2, body.brand-labirent[class] .inner-dark h2 { font-size: clamp(30px,6vw,42px); line-height: 1.1; }
 body.brand-labirent[class] .feature-grid, body.brand-labirent[class] .process-grid { grid-template-columns: minmax(0,1fr); }
 body.brand-labirent[class] .process-item, body.brand-labirent[class] .process-item:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
 body.brand-labirent[class] .about-article { font-size: 18px; }
 body.brand-labirent[class] .catalog-grid, body.brand-labirent[class] .contact-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
 body.brand-labirent[class] .catalog-grid::after { display: none; }
 body.brand-labirent[class] .catalog-group h2 { font-size: 29px; }
 body.brand-labirent[class] .catalog-group + .catalog-group { border-top: 1px solid var(--line); padding-top: 32px; }
 body.brand-labirent[class] .catalog-list { font-size: 16px; }
 body.brand-labirent[class] .catalog-list li, body.brand-labirent[class] .catalog-group + .catalog-group .catalog-list li { min-height: 54px; padding: 12px 24px 12px 48px; }
 body.brand-labirent[class] .contact-form { border-top: 1px solid var(--line); padding-top: 32px; }
 body.brand-labirent[class] .contact-list li { font-size: 16px; }
 body.brand-labirent[class] .site-footer__inner { grid-template-columns: minmax(0,1fr); min-height: 0; gap: 12px; padding: 26px 0; }
 body.brand-labirent[class] .brand-lockup--footer { width: 178px; }
 body.brand-labirent[class] .site-footer nav, body.brand-labirent[class] .site-footer__tagline { justify-self: start; }
 body.brand-labirent[class] .footer-nav { gap: 18px; }
}

body.brand-labirent[class] .dark-band { background-image: url('../images/optimized/dark-map.webp'); }

body.brand-labirent[class] .brand-lockup img { width: 100%; height: auto; }
body.brand-labirent[class] .site-footer__inner > .brand-lockup, body.brand-labirent[class] .site-footer__inner > nav, body.brand-labirent[class] .site-footer__tagline { grid-area: auto; }
body.brand-labirent[class] .about-article p:nth-child(n) { height: auto; min-height: 0; }
body.brand-labirent[class] .form-field { align-items: stretch; text-align: left; }
body.brand-labirent[class] .inner-visual-band img { margin-inline: auto; }

/* Blend the pale artwork canvas into the shared page background. */
body.brand-labirent[class] .feature-card__art { background: var(--paper); isolation: isolate; }
body.brand-labirent[class] .feature-card__art img { mix-blend-mode: darken; }

/* Simplified shared navigation and contact information after owner removals. */
body.brand-labirent[class] .site-header__inner { grid-template-columns: 260px minmax(0,1fr); }
body.brand-labirent[class] .site-nav { justify-self: end; }
body.brand-labirent[class] .contact-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
body.brand-labirent[class] .contact-list { max-width: 760px; }
@media (max-width:1100px) {
 body.brand-labirent[class] .site-header__inner { grid-template-columns: minmax(0,1fr) auto; }
 body.brand-labirent[class] .site-nav { justify-self: stretch; }
}

/* Keep the approved raster icons below their source resolution. */
body.brand-labirent[class] .catalog-list li::before { transform: translateY(-50%) scale(.75); }
body.brand-labirent[class] .catalog-list li,
body.brand-labirent[class] .catalog-group + .catalog-group .catalog-list li { padding-left: 42px; }

/* Reduce only the Home services section type scale by twenty percent. */
body.brand-labirent[class] .services { padding-block: 40px; }
body.brand-labirent[class] .services .eyebrow { font-size: 11.2px; margin-bottom: 14px; }
body.brand-labirent[class] .services h2 { font-size: calc(var(--section-title) * .8); margin-bottom: 16px; }
body.brand-labirent[class] .services .section-heading { gap: 36px; margin-bottom: 20px; }
body.brand-labirent[class] .services .section-heading > p { font-size: 14.4px; margin-bottom: 16px; }
body.brand-labirent[class] .service-row { min-height: 100px; padding-block: 16px; gap: 18px; }
body.brand-labirent[class] .service-row > span { font-size: 35.84px; }
body.brand-labirent[class] .service-row h3 { font-size: 22.4px; }
body.brand-labirent[class] .service-row p { font-size: 14.4px; }
body.brand-labirent[class] .service-row a { font-size: 25.6px; }
@media (max-width:1100px) {
 body.brand-labirent[class] .services { padding-block: 26px; }
 body.brand-labirent[class] .services .section-heading { margin-bottom: 16px; }
 body.brand-labirent[class] .service-row { min-height: 0; padding-block: 16px; gap: 6px 10px; }
 body.brand-labirent[class] .service-row > span { font-size: 15.2px; }
 body.brand-labirent[class] .service-row h3 { font-size: 17.6px; }
 body.brand-labirent[class] .service-row p { font-size: 12.8px; }
}
@media (max-width:767px) {
 body.brand-labirent[class] .services .eyebrow { font-size: 8.8px; }
}

/* Match the measured Pehlivanoglu header logo height without distortion. */
body.brand-labirent[class] .site-header__inner { grid-template-columns: auto minmax(0,1fr); }
body.brand-labirent[class] .site-header .brand-lockup { width: auto; }
body.brand-labirent[class] .site-header .brand-lockup img { width: auto; height: 61.546875px; max-width: none; }
@media (max-width:1100px) {
 body.brand-labirent[class] .site-header__inner { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
 body.brand-labirent[class] .site-header .brand-lockup img { height: 43.640625px; }
}
/* Tighten the work-section heading and its spacing above the cards. */
body.brand-labirent[class] .work-fields { padding-block: 32px; }
body.brand-labirent[class] .work-fields .section-heading { gap: 28px; margin-bottom: 18px; }
body.brand-labirent[class] .work-fields .eyebrow { margin-bottom: 12px; }
body.brand-labirent[class] .work-fields .section-heading h2,
body.brand-labirent[class] .work-fields .section-heading > p { margin-bottom: 8px; }
@media (max-width:1100px) {
 body.brand-labirent[class] .work-fields { padding-block: 24px; }
 body.brand-labirent[class] .work-fields .section-heading { margin-bottom: 14px; }
}
