/*
Theme Name: IG Corporate
Theme URI: https://ise-group.com.ua/
Author: ISE Group
Description: Корпоративная тема ISE Group без внешних конструкторов.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: ig
*/

:root {
  --ig-ink: #28312c;
  --ig-muted: #58615b;
  --ig-surface: #f4f1ea;
  --ig-accent: #b08a62;
  --ig-accent-dark: #795433;
  --ig-sage: #788274;
  --ig-line: #ded8cd;
  --ig-white: #fff;
  --ig-width: 1600px;
  --ise-content: 1600px;
  --ise-gutter: max(32px, calc((100vw - var(--ise-content)) / 2));
  --ig-radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ig-ink); background: var(--ig-white); font-family: Inter, Arial, sans-serif; font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 10000; top: 1rem; left: 1rem; width: auto; height: auto; clip: auto; padding: .7rem 1rem; background: #fff; }

.ig-container, .entry-content > :where(:not(.alignwide):not(.alignfull)) { width: min(calc(100% - 64px), var(--ig-width)); margin-inline: auto; }
.entry-content > .alignwide { width: min(calc(100% - 64px), var(--ig-width)); margin-inline: auto; }
.entry-content > .alignfull { width: 100%; }
.entry-content { overflow: hidden; }

.site-header { position: sticky; z-index: 100; top: 0; width: 100%; margin: 0; border-bottom: 1px solid rgba(40,49,44,.1); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); transition: background .25s ease, color .25s ease, border-color .25s ease; }
.home .site-header,
.ig-page-about .site-header { position: absolute; width: 100%; color: #fff; border-color: rgba(255,255,255,.22); background: linear-gradient(180deg,rgba(18,23,20,.48),transparent); backdrop-filter: none; }
.home .site-header.is-scrolled,
.ig-page-about .site-header.is-scrolled { position: fixed; color: var(--ig-ink); border-color: rgba(40,49,44,.1); background: rgba(250,249,246,.94); backdrop-filter: blur(14px); }
.site-header__inner { min-height: 88px; display: flex; align-items: center; gap: 24px; padding: 16px 0 10px; }
.site-branding { flex: 0 0 auto; margin-right: auto; }
.custom-logo { display: block; max-height: 48px; width: auto; transition: filter .25s ease, opacity .25s ease; }
.home .site-header:not(.is-scrolled) .custom-logo,
.ig-page-about .site-header:not(.is-scrolled) .custom-logo { filter: brightness(0) invert(1); opacity: 1; }
.home .site-header.is-scrolled .custom-logo,
.custom-logo { filter: none; }
.site-title { display: block; font-size: 1.12rem; font-weight: 760; text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.primary-menu { display: flex; gap: clamp(13px, 1.45vw, 24px); align-items: center; margin: 0; padding: 0; list-style: none; }
.primary-menu a { font-size: .72rem; font-weight: 750; text-decoration: none; text-transform: uppercase; letter-spacing: .055em; white-space: nowrap; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--ig-accent-dark); }
.home .site-header:not(.is-scrolled) .primary-menu a:hover,
.home .site-header:not(.is-scrolled) .primary-menu .current-menu-item > a,
.home .site-header:not(.is-scrolled) .language-switcher .current-lang a,
.ig-page-about .site-header:not(.is-scrolled) .primary-menu a:hover,
.ig-page-about .site-header:not(.is-scrolled) .primary-menu .current-menu-item > a,
.ig-page-about .site-header:not(.is-scrolled) .language-switcher .current-lang a { color: #fff; opacity: .72; }
.primary-menu .sub-menu { position:absolute; min-width:260px; margin:0; padding:14px 20px; color:var(--ig-ink); list-style:none; visibility:hidden; opacity:0; transform:translateY(8px); background:#fff; border:1px solid var(--ig-line); box-shadow:0 18px 34px rgba(24,30,26,.12); transition:.18s ease; }
.primary-menu .sub-menu a,
.home .site-header:not(.is-scrolled) .primary-menu .sub-menu a,
.ig-page-about .site-header:not(.is-scrolled) .primary-menu .sub-menu a { color:var(--ig-ink); opacity:1; }
.primary-menu .sub-menu a:hover,
.home .site-header:not(.is-scrolled) .primary-menu .sub-menu a:hover,
.ig-page-about .site-header:not(.is-scrolled) .primary-menu .sub-menu a:hover { color:var(--ig-accent-dark); }
.primary-menu > li { position: relative; }
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.primary-menu .sub-menu a { display: block; padding: .55rem 0; }
.language-switcher, .language-switcher ul { display: flex; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
.language-switcher > li, .language-switcher ul > li { margin: 0; list-style: none; }
.language-switcher a { font-size: .72rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.language-switcher .current-lang a { color: var(--ig-accent-dark); }
.menu-toggle { display:none; min-height:46px; align-items:center; gap:10px; padding:.65rem .85rem; color:var(--ig-ink); font:inherit; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border:1px solid var(--ig-line); border-radius:0; background:rgba(255,255,255,.94); box-shadow:none; cursor:pointer; -webkit-appearance:none; appearance:none; }
.menu-toggle__icon { position:relative; display:block; width:20px; height:14px; }
.menu-toggle__icon i { position:absolute; left:0; width:20px; height:2px; background:currentColor; transition:transform .2s ease,top .2s ease; }
.menu-toggle__icon i:first-child { top:3px; }
.menu-toggle__icon i:last-child { top:10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { top:6px; transform:rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { top:6px; transform:rotate(-45deg); }
.menu-toggle:focus { outline:0; }
.menu-toggle:focus-visible { outline:2px solid var(--ig-accent-dark); outline-offset:3px; }
.header-cta { padding: .65rem 1rem; color: #fff; background: var(--ig-ink); text-decoration: none; font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.home .site-header:not(.is-scrolled) .header-cta,
.ig-page-about .site-header:not(.is-scrolled) .header-cta { color: #fff; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.08); }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.7rem, 5vw, 4.9rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.entry-header { padding: clamp(70px, 10vw, 140px) 0 50px; background: var(--ig-surface); }
.entry-title { max-width: 1000px; margin-top: 0; margin-bottom: .4em; }

.ig-section { padding: clamp(58px, 6.2vw, 92px) var(--ise-gutter); }
.ig-section > :not(.ig-hero__media) { max-width: none !important; }
.ig-section--dark { color: var(--ig-ink); background: var(--ig-surface); }
.ig-section--soft { background: var(--ig-surface); }
.ig-kicker { color: var(--ig-accent-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.ig-lead { max-width: 790px; color: var(--ig-muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.ig-section--dark .ig-lead { color: var(--ig-muted); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--ig-line); border: 1px solid var(--ig-line); }
.ig-card { min-height: 250px; padding: clamp(28px, 4vw, 52px); background: #fff; }
.ig-card p { color: var(--ig-muted); }
.ig-number { margin: 0; font-size: clamp(2.6rem, 4.2vw, 4.4rem); font-weight: 760; line-height: 1; white-space: nowrap; }
.ig-button, .ise-button { display: inline-block; border: 0; border-radius: var(--ig-radius); padding: .9rem 1.25rem; color: #28312c; background: none; text-decoration: none; font-size: .82rem; font-weight: 760; text-transform: uppercase; letter-spacing: .06em; }
.ig-section--dark .ig-button { color: var(--ig-ink); background: #fff; }
.ig-section--dark .ise-button { color: #fff; background: var(--ig-ink); }

.ig-hero { position: relative; isolation: isolate; min-height: 100vh; padding-block: clamp(170px, 22vh, 250px) 90px; color: #fff; }
.ig-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(23,27,24,.70) 0%, rgba(23,27,24,.42) 48%, rgba(23,27,24,.05) 82%); }
.ig-hero > .ig-hero__media { position: absolute; z-index: -2; inset: 0; width: 100%; max-width: none !important; height: 100%; margin: 0 !important; }
.ig-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ig-optimized-picture { display: contents; }
.ig-hero h1 { max-width: 860px; margin-block: .25em; }
.ig-hero .ig-lead { max-width: 720px; }
.ig-hero .ig-lead { color: rgba(255,255,255,.88); text-shadow: 0 1px 18px rgba(0,0,0,.28); }
.ig-hero .ig-kicker { color: #e4c39d; }
.ig-hero .ise-button { color: var(--ig-ink); background: #fff; }
.home .ig-hero__media img { animation: ise-hero-image 1.8s cubic-bezier(.2,.7,.2,1) both; }
.home .ig-hero > .ig-kicker,
.home .ig-hero > h1,
.home .ig-hero > .ig-lead,
.home .ig-hero > .ise-actions { opacity: 0; animation: ise-hero-copy .72s cubic-bezier(.2,.7,.2,1) forwards; }
.home .ig-hero > .ig-kicker { animation-delay: .16s; }
.home .ig-hero > h1 { animation-delay: .28s; }
.home .ig-hero > .ig-lead { animation-delay: .4s; }
.home .ig-hero > .ise-actions { animation-delay: .52s; }
@keyframes ise-hero-image { from { transform: scale(1.035); filter: saturate(.82); } to { transform: scale(1); filter: saturate(1); } }
@keyframes ise-hero-copy { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.ig-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px,5vw,80px); align-items: center; background: #fff; }
.ig-intro__copy h2 { max-width: 820px; margin-bottom: 0; font-size: clamp(2rem,3.6vw,3.7rem); font-weight: 520; }
.ig-intro__image { margin: 0; aspect-ratio: 16/11; overflow: hidden; }
.ig-intro__image img { width: 100%; height: 100%; object-fit: cover; }
.ig-showcase { background: var(--ig-surface); }
.ig-showcase--projects { background: #fff; }
.ig-showcase--projects > .ig-kicker,
.ig-showcase--projects > h2,
.ig-showcase--projects .ig-visual-grid { width: min(1400px,100%); margin-inline: auto !important; }
.ig-showcase--projects .ig-visual-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.ig-showcase--projects .ig-visual-card,
.ig-showcase--projects .ig-visual-card:nth-child(n+2) { min-height: clamp(280px,34vh,360px); margin-top: 0; }
.ig-showcase--projects .ig-visual-grid { grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(215px,27vh)); }
.ig-showcase--projects .ig-visual-card,
.ig-showcase--projects .ig-visual-card:nth-child(n+2) { min-height: 0; height: auto; margin: 0; }
.ig-showcase--projects .ig-visual-card:nth-child(1) { grid-column: 1 / 8; grid-row: 1 / 3; }
.ig-showcase--projects .ig-visual-card:nth-child(2) { grid-column: 8 / 13; grid-row: 1; }
.ig-showcase--projects .ig-visual-card:nth-child(3) { grid-column: 8 / 11; grid-row: 2; }
.ig-showcase--projects .ig-visual-card:nth-child(4) { grid-column: 11 / 13; grid-row: 2; }
.ig-showcase--projects .ig-visual-card:nth-child(n+2) .ig-visual-card__content { padding: 22px; }
.ig-showcase--projects .ig-visual-card:nth-child(n+2) .ig-visual-card__content h3 { font-size: clamp(1.05rem,1.55vw,1.45rem); }
.ig-showcase--projects .ig-visual-card:nth-child(4) .ig-visual-card__content p { display: none; }
.ig-showcase--products .ig-visual-grid { position: static; width: 100%; max-width: none; grid-template-columns: repeat(4, minmax(0,1fr)); margin-left: 0 !important; margin-right: 0 !important; transform: none; }
.ig-showcase--products .ig-visual-card,
.ig-showcase--products .ig-visual-card:nth-child(n+2) { min-height: clamp(300px,38vh,410px); margin-top: 0; }
.ig-visual-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 14px; margin-top: 36px; }
.ig-visual-card { position: relative; min-height: clamp(350px,43vh,460px); overflow: hidden; color: #fff; background: var(--ig-ink); }
.ig-visual-card:nth-child(n+2) { min-height: clamp(320px,38vh,410px); margin-top: 42px; }
.ig-visual-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ig-visual-card:hover img { transform: scale(1.035); }
.ig-visual-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(19,24,21,.78)); }
.ig-visual-card__content { position: absolute; inset: auto 0 0; padding: 32px; }
.ig-visual-card__content h3 { margin: 0 0 8px; font-size: clamp(1.35rem,2vw,2rem); }
.ig-visual-card__content p { margin: 0; color: rgba(255,255,255,.82); font-size: .94rem; }
.ig-process { background: #e8e3da; }
.ig-process { padding-block: clamp(44px,4.5vw,68px); }
.ig-process > * { width: min(1400px,100%); margin-inline: auto !important; }
.ig-process > h2 { font-size: clamp(1.9rem,3vw,2.9rem); }
.ig-process__list { display: grid; grid-template-columns: repeat(4,1fr); margin: 38px 0 0; padding: 0; border-top: 1px solid #bbb3a7; list-style: none; }
.ig-process__list li { min-height: 120px; padding: 18px 18px 16px 0; border-right: 1px solid #bbb3a7; }
.ig-process__list li + li { padding-left: 24px; }
.ig-process__list span { display: block; margin-bottom: 22px; color: var(--ig-accent-dark); font-size: .74rem; letter-spacing: .12em; }
.ig-process__list strong { font-size: 1.05rem; font-weight: 650; }

.ise-brands { padding-block: clamp(42px,4.5vw,66px); background: #fff; }
.ise-brands > * { width: min(1400px,100%); margin-inline: auto !important; }
.ise-brands > h2 { font-size: clamp(1.9rem,3vw,2.9rem); }
.ise-brands__grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(10px,1.2vw,20px); margin-top: 24px !important; }
.ise-brand { min-height: 88px; display: grid; place-items: center; padding: 14px; border: 0; background: transparent; }
.ise-brand img { display: block; width: auto !important; height: auto !important; max-width: min(150px, 88%); max-height: 58px; object-fit: contain; object-position: center; filter: grayscale(1); opacity: .72; transition: .2s ease; }
.ise-brand:nth-child(1) img { max-height: 54px; }
.ise-brand:nth-child(2) img { max-height: 56px; }
.ise-brand:nth-child(3) img { max-width: min(138px, 82%); max-height: 43px; }
.ise-brand:nth-child(4) img { max-height: 48px; }
.ise-brand:nth-child(5) img { max-height: 52px; }
.ise-brand:nth-child(6) img { max-height: 48px; }
.ise-brand:hover img { filter: none; opacity: 1; }
.ise-brands__controls { display: none; }
.ise-contact-cta { display: block; color: #fff; background: #68746b; text-align: center; }
.ise-contact-cta .ig-kicker { color: #fff; }
.ise-contact-cta .ig-lead { margin-inline: auto; color: #fff; }
.ise-contact-cta h2 { margin-block: .3em; }
.ise-contact-cta .ise-button { margin-top: 14px; color: var(--ig-ink); background: #fff; white-space: nowrap; }

/* Directions are one editorial surface, not four independent promo cards. */
.ise-directions { background: var(--ig-surface); }
.ise-directions > .ig-kicker,
.ise-directions > h2,
.ise-directions__stage { width: min(1400px,100%); margin-inline: auto !important; }
.ise-directions > h2 { max-width: 1060px !important; }
.ise-directions__stage { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(360px,.58fr); min-height: clamp(500px,62vh,680px); margin-top: 38px !important; background: #fff; border: 1px solid var(--ig-line); }
.ise-directions__media { position: relative; min-height: 100%; overflow: hidden; background: var(--ig-ink); }
.ise-directions__image { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; }
.ise-directions__image.is-active { opacity: 1; }
.ise-directions__image::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(30,35,31,.08),transparent 65%); }
.ise-directions__image img { width: 100%; height: 100%; object-fit: cover; }
.ise-directions__nav { display: grid; grid-template-rows: repeat(4,1fr); }
.ise-direction { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 22px 24px; border-bottom: 1px solid var(--ig-line); cursor: pointer; transition: background .2s ease,color .2s ease; }
.ise-direction:last-child { border-bottom: 0; }
.ise-direction > span { color: var(--ig-accent-dark); font-size: .7rem; letter-spacing: .12em; }
.ise-direction h3 { margin: 0 0 5px; font-size: clamp(1.15rem,1.7vw,1.55rem); }
.ise-direction p { max-height: 0; margin: 0; overflow: hidden; color: var(--ig-muted); font-size: .88rem; opacity: 0; transition: max-height .25s ease,opacity .25s ease; }
.ise-direction.is-active,
.ise-direction:hover { background: #68746b; color: #fff; }
.ise-direction.is-active > span,
.ise-direction:hover > span { color: #f0d1ad; }
.ise-direction.is-active p { max-height: 80px; color: rgba(255,255,255,.72); opacity: 1; }
.ise-direction:focus-visible { outline: 3px solid var(--ig-accent); outline-offset: -3px; }

/* Projects unfold as one continuous case-study surface. */
.ise-projects { background: #fff; }
.ise-projects > .ig-kicker,
.ise-projects > h2,
.ise-projects__stage { width: min(1400px,100%); margin-inline: auto !important; }
.ise-projects > h2 { max-width: 980px !important; }
.ise-projects__stage { display: grid; width: 100%; max-width: 100%; height: clamp(500px,calc(100svh - 260px),590px); grid-template-columns: minmax(0,1.42fr) minmax(340px,.58fr); gap: 0; align-items: stretch; margin-top: 30px !important; border: 1px solid var(--ig-line); overflow: clip; }
.ise-projects__stage > * { min-width: 0; }
.ise-projects__media { position: relative; height: 100%; overflow: hidden; background: var(--ig-ink); }
.ise-projects__image { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s ease,transform .8s cubic-bezier(.2,.7,.2,1); transform: scale(1.025); }
.ise-projects__image.is-active { opacity: 1; transform: scale(1); }
.ise-projects__image::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 60%,rgba(20,25,22,.24)); }
.ise-projects__image img { width:100%; height:100%; object-fit:cover; }
.ise-projects__stories { display:grid; min-width:0; height:100%; grid-template-rows:repeat(4,minmax(0,1fr)); overflow:hidden; }
.ise-project-story { display:grid; min-width:0; min-height:0; grid-template-columns:44px minmax(0,1fr); gap:12px; padding:14px 20px; color:var(--ig-ink); text-decoration:none; border-bottom:1px solid var(--ig-line); background:#fff; opacity:1; overflow:hidden; transition:background .2s ease,color .2s ease; }
.ise-project-story:last-child { border-bottom:0; }
.ise-project-story.is-active,
.ise-project-story:hover { color:#fff; background:#68746b; }
.ise-project-story:focus-visible { z-index:1; outline:3px solid var(--ig-accent); outline-offset:-3px; }
.ise-project-story__number { color:var(--ig-accent-dark); font-size:.72rem; letter-spacing:.12em; }
.ise-project-story__facts { margin:0 0 6px; color:var(--ig-accent-dark); font-size:.66rem; font-weight:750; line-height:1.35; letter-spacing:.08em; text-transform:uppercase; }
.ise-project-story h3 { margin:0 0 5px; font-size:clamp(1.08rem,1.45vw,1.4rem); line-height:1.14; overflow-wrap:anywhere; }
.ise-project-story__summary { display:-webkit-box; margin:0; color:var(--ig-muted); font-size:.82rem; line-height:1.45; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.ise-project-story.is-active .ise-project-story__number,
.ise-project-story.is-active .ise-project-story__facts { color:#d5ad82; }
.ise-project-story.is-active .ise-project-story__summary { color:rgba(255,255,255,.72); }
.ise-project-story:hover .ise-project-story__number,
.ise-project-story:hover .ise-project-story__facts { color:#f0d1ad; }
.ise-project-story:hover .ise-project-story__summary { color:rgba(255,255,255,.82); }
.ise-projects__all { display:flex; width:min(1400px,100%); justify-content:center; margin:24px auto 0 !important; }
.ise-projects__all .ise-button { color:#fff; background:#68746b; }
.ise-placeholder { min-height:52svh; display:grid; place-items:center; padding-block:clamp(52px,7vw,96px); text-align:center; background:var(--ig-surface); }
.ise-placeholder__inner { width:min(760px,calc(100% - 40px)); }
.ise-placeholder .ig-kicker { margin-bottom:18px; }
.ise-placeholder .ig-lead { margin:18px auto 0; }
.ise-placeholder .ise-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:28px; }
.ise-placeholder .ise-button--secondary { color:var(--ig-ink); background:transparent; box-shadow:inset 0 0 0 1px var(--ig-line); }

.site-main { min-height: 60vh; margin: 0; }
.site-footer { margin: 0; padding: 32px 0 20px; color: var(--ig-ink); background: #ded8cd; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: start; }
.site-footer a { color: var(--ig-ink); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 8px 0 0; padding: 0; list-style: none; }
.site-footer p { margin: 8px 0 0; }
.site-footer__bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid #bcb4a7; color: #4f5953; font-size: .78rem; }
.home .entry-content > .ig-section--dark:not(.ig-hero) { text-align: center; }
.home .entry-content > .ig-section--dark:not(.ig-hero) .ig-lead { margin-inline: auto; }
.home .entry-content > .ig-section--dark:not(.ig-hero) .ise-actions { justify-content: center; }

/* ISE structured editor output: independent from WordPress block classes. */
.ise-shell { width: min(calc(100% - 64px), var(--ise-content)); margin-inline: auto; }
.ise-page-hero { min-height: 72vh; display: flex; align-items: end; padding-block: 150px 80px; color: #fff; background: linear-gradient(90deg,rgba(25,31,27,.72),rgba(25,31,27,.12)),var(--ise-hero-image,linear-gradient(135deg,#788274,#b08a62)); background-position:center; background-size:cover; }
.ise-page-hero h1 { max-width: 900px; margin:.2em 0; }
.ise-kicker { color:var(--ig-accent-dark); font-size:.78rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.ise-lead { max-width:760px; font-size:clamp(1.05rem,2vw,1.3rem); }
.ise-section { padding-block:clamp(58px,6.2vw,92px); }
.ise-section:nth-child(even) { background:var(--ig-surface); }
.ise-section .ise-shell { display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,6vw,90px); align-items:center; }
.ise-section__media { margin:0; aspect-ratio:4/3; overflow:hidden; }
.ise-section__media img { width:100%; height:100%; object-fit:cover; }
.ise-section__copy h2 { margin:.25em 0; }
.ise-section--text .ise-shell,.ise-section--html .ise-shell,.ise-section--cta .ise-shell { display:block; }

/* Company page: one continuous editorial story built from verified company facts. */
.ise-about-hero { position:relative; isolation:isolate; min-height:clamp(620px,78vh,820px); display:flex; align-items:flex-end; padding:clamp(150px,18vh,210px) var(--ise-gutter) clamp(70px,9vh,105px); color:#fff; overflow:hidden; }
.ise-about-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,rgba(24,30,26,.82) 0%,rgba(24,30,26,.55) 48%,rgba(24,30,26,.12) 82%); }
.ise-about-hero > .ise-about-hero__media { position:absolute; z-index:-2; inset:0; width:100%; max-width:none !important; height:100%; margin:0 !important; }
.ise-about-hero__media img { width:100%; height:100%; object-fit:cover; object-position:center; }
.ise-about-hero > .ise-about-hero__copy { width:min(820px,100%); max-width:820px !important; margin:0 !important; }
.ise-about-hero__copy h1 { margin:.22em 0; font-size:clamp(2.8rem,5.4vw,5.6rem); }
.ise-about-hero__copy .ig-kicker { color:#e4c39d; }
.ise-about-hero__copy .ig-lead { color:rgba(255,255,255,.86); }
.ise-about-hero__copy .ise-button { margin-top:18px; color:var(--ig-ink); background:#fff; }
.ig-page-about .ise-about-hero__media img { animation:ise-hero-image 1.8s cubic-bezier(.2,.7,.2,1) both; }
.ig-page-about .ise-about-hero__copy > * { opacity:0; animation:ise-hero-copy .72s cubic-bezier(.2,.7,.2,1) forwards; }
.ig-page-about .ise-about-hero__copy > .ig-kicker { animation-delay:.16s; }
.ig-page-about .ise-about-hero__copy > h1 { animation-delay:.28s; }
.ig-page-about .ise-about-hero__copy > .ig-lead { animation-delay:.4s; }
.ig-page-about .ise-about-hero__copy > .ise-button { animation-delay:.52s; }
.ise-about-manifest > *,
.ise-about-facts > *,
.ise-about-principles > *,
.ise-about-expertise > *,
.ise-about-closing > * { width:min(1400px,100%); margin-inline:auto !important; }
.ise-about-manifest { background:#fff; }
.ise-about-manifest__grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr); gap:clamp(42px,7vw,110px); align-items:end; margin-top:26px !important; }
.ise-about-manifest__grid h2 { max-width:900px; margin:0; font-size:clamp(2.2rem,4.3vw,4.5rem); font-weight:560; }
.ise-about-manifest__grid .ig-lead { margin:0; }
.ise-about-facts { padding-block:0 clamp(52px,6vw,84px); background:#fff; }
.ise-about-facts dl { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-block:0; border-top:1px solid var(--ig-line); border-bottom:1px solid var(--ig-line); }
.ise-about-facts dl > div { min-height:150px; padding:26px 28px 24px 0; border-right:1px solid var(--ig-line); }
.ise-about-facts dl > div + div { padding-left:28px; }
.ise-about-facts dl > div:last-child { border-right:0; }
.ise-about-facts dt { font-size:clamp(1.9rem,3.3vw,3.4rem); font-weight:720; line-height:1; letter-spacing:-.035em; }
.ise-about-facts dd { margin:18px 0 0; color:var(--ig-muted); font-size:.9rem; }
.ise-about-principles { background:var(--ig-surface); }
.ise-about-principles > h2,
.ise-about-expertise > h2 { max-width:1000px !important; }
.ise-about-principles__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:42px !important; border-top:1px solid #c9c1b5; }
.ise-about-principles__grid article { min-height:250px; padding:24px clamp(24px,3vw,44px) 28px 0; border-right:1px solid #c9c1b5; }
.ise-about-principles__grid article + article { padding-left:clamp(24px,3vw,44px); }
.ise-about-principles__grid article:last-child { border-right:0; }
.ise-about-principles__grid span { color:var(--ig-accent-dark); font-size:.72rem; letter-spacing:.12em; }
.ise-about-principles__grid h3 { margin:38px 0 12px; }
.ise-about-principles__grid p { margin:0; color:var(--ig-muted); }
.ise-about-expertise { background:#fff; }
.ise-about-expertise ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:42px 0 0 !important; padding:0; border-top:1px solid var(--ig-line); list-style:none; }
.ise-about-expertise li { display:grid; grid-template-columns:52px 1fr; gap:16px; align-items:center; min-height:108px; padding:18px 24px 18px 0; border-bottom:1px solid var(--ig-line); font-size:clamp(1.2rem,2vw,1.75rem); font-weight:650; }
.ise-about-expertise li:nth-child(odd) { border-right:1px solid var(--ig-line); }
.ise-about-expertise li:nth-child(even) { padding-left:28px; }
.ise-about-expertise li span { color:var(--ig-accent-dark); font-size:.7rem; font-weight:500; letter-spacing:.12em; }
.ise-about-closing { color:#fff; background:#68746b; text-align:center; }
.ise-about-closing .ig-kicker { color:#e7c9a7; }
.ise-about-closing h2 { max-width:1000px !important; margin:.35em auto; }
.ise-about-closing .ig-lead { margin-inline:auto !important; color:rgba(255,255,255,.78); }

/* Solutions index: the same editorial system, expressed as navigable expertise. */
.ise-solutions-hero::after { background:linear-gradient(90deg,rgba(24,30,26,.82) 0%,rgba(24,30,26,.48) 52%,rgba(24,30,26,.08) 84%); }
.ise-solutions-hero .ise-about-hero__media img { object-position:center 58%; }
.ise-solutions-areas > *,
.ise-solutions-criteria > * { width:min(1400px,100%); margin-inline:auto !important; }
.ise-solutions-areas { background:#fff; }
.ise-solutions-areas > h2 { max-width:1000px !important; }
.ise-solutions-areas__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; margin-top:36px !important; overflow:hidden; background:var(--ig-line); border:1px solid var(--ig-line); }
.ise-solution-card { display:grid; height:330px; min-height:0; grid-template-columns:minmax(0,1.08fr) minmax(260px,.92fr); grid-template-rows:minmax(0,1fr); color:var(--ig-ink); text-decoration:none; background:#fff; overflow:hidden; transition:color .25s ease,background .25s ease; }
.ise-solution-card figure { min-width:0; height:100%; margin:0; overflow:hidden; }
.ise-solution-card img { width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.ise-solution-card > div { display:flex; min-width:0; padding:clamp(22px,2vw,30px); flex-direction:column; align-items:flex-start; justify-content:flex-start; }
.ise-solution-card span { color:var(--ig-accent-dark); font-size:.72rem; letter-spacing:.12em; }
.ise-solution-card h3 { margin:14px 0 10px; }
.ise-solution-card p { margin:0; color:var(--ig-muted); font-size:.92rem; }
.ise-solution-card strong { margin-top:auto; padding-top:20px; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.ise-solution-card:hover { color:#fff; background:#68746b; }
.ise-solution-card:hover p { color:rgba(255,255,255,.78); }
.ise-solution-card:hover span { color:#f0d1ad; }
.ise-solution-card:hover img { transform:scale(1.035); }
.ise-solution-card:focus-visible { outline:3px solid var(--ig-accent); outline-offset:-3px; }
.ise-solutions-criteria { background:var(--ig-surface); }
.ig-page-solutions .ig-section > h2 { max-width:1000px !important; font-size:clamp(2rem,3.3vw,3.15rem); font-weight:700; line-height:1.08; letter-spacing:-.035em; }
.ig-page-solutions .ise-solution-card h3,
.ig-page-solutions .ise-about-principles__grid h3 { font-size:clamp(1.35rem,1.65vw,1.7rem); font-weight:700; line-height:1.12; letter-spacing:-.025em; }
.ig-page-solutions .ise-solution-card p,
.ig-page-solutions .ise-about-principles__grid p { color:var(--ig-muted); font-size:.92rem; line-height:1.55; font-weight:400; }
.ig-page-solutions .ise-solution-card:hover p { color:rgba(255,255,255,.8); }
.ig-page-solutions .ig-process__list strong { font-size:1rem; font-weight:700; line-height:1.35; letter-spacing:-.015em; }

@media (max-width: 900px) {
  body.ise-menu-open { overflow:hidden; }
  .home .ig-hero__media img { animation:none; transform:none; }
  .site-header__inner.ig-container { width:calc(100% - 32px); gap:8px; }
  .site-branding { min-width:0; flex:1 1 auto; }
  .site-branding .custom-logo-link { display:block; }
  .site-branding .custom-logo { width:auto; max-width:clamp(118px,34vw,150px); }
  .menu-toggle { display:flex; }
  .language-switcher,
  .language-switcher ul { flex:0 0 auto; gap:5px; }
  .language-switcher a { display:flex; min-width:28px; min-height:44px; align-items:center; justify-content:center; font-size:.66rem; }
  .header-cta { display: none; }
  .site-navigation { display:none; position:absolute; top:100%; right:0; left:0; max-height:calc(100dvh - 88px); padding:20px max(28px,var(--ise-gutter)) 30px; color:var(--ig-ink); overflow-y:auto; overscroll-behavior:contain; background:#fff; border-top:1px solid var(--ig-line); border-bottom:1px solid var(--ig-line); box-shadow:0 18px 34px rgba(24,30,26,.12); }
  .site-navigation.is-open { display:block; }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-menu > li { border-bottom:1px solid var(--ig-line); }
  .primary-menu > li:last-child { border-bottom:0; }
  .primary-menu a { display:block; padding:.9rem 0; color:var(--ig-ink) !important; opacity:1 !important; font-size:.78rem; }
  .primary-menu .sub-menu { position:static; min-width:0; margin:-.25rem 0 .65rem 18px; padding:0; visibility:visible; opacity:1; transform:none; border:0; }
  .primary-menu .sub-menu a { padding:.55rem 0; font-size:.7rem; color:var(--ig-muted) !important; white-space:normal; }
  .ig-grid, .site-footer__grid, .ig-intro, .ig-visual-grid, .ig-showcase--products .ig-visual-grid, .ig-process__list, .ise-contact-cta { grid-template-columns: 1fr; }
  .ise-brands__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ig-showcase--products .ig-visual-grid { left: 0; width: 100%; margin-left: 0; transform: none; }
  .ig-hero { min-height: 620px; padding-block: 100px; }
  .ig-hero::after { background: linear-gradient(90deg,rgba(9,17,13,.62) 0%,rgba(9,17,13,.47) 72%,rgba(9,17,13,.34) 100%); }
  .ig-visual-card, .ig-visual-card:nth-child(n+2) { min-height: 430px; margin-top: 0; }
  .ig-intro__copy { text-align: center; }
  .ig-showcase--projects .ig-visual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(230px,34vh)); gap: 8px; }
  .ig-showcase--projects .ig-visual-card:nth-child(n) { grid-column: auto; grid-row: auto; min-height: 0; }
  .ig-showcase--projects .ig-visual-card:nth-child(n) .ig-visual-card__content { padding: 16px; }
  .ig-showcase--projects .ig-visual-card:nth-child(n) .ig-visual-card__content h3 { font-size: clamp(1rem,4.8vw,1.3rem); }
  .ig-showcase--projects .ig-visual-card:nth-child(n) .ig-visual-card__content p { display: none; }
  .ig-showcase--projects .ig-visual-card:nth-child(4) .ig-visual-card__content p { display: block; }
  .ise-directions__stage { display: block; min-height: 0; border: 0; background: transparent; }
  .ise-directions__media { display: none; }
  .ise-directions__nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(2,minmax(230px,34vh)); gap: 8px; }
  .ise-direction { position: relative; isolation: isolate; display: flex; min-width: 0; padding: 16px; flex-direction: column; justify-content: flex-end; color: #fff; border: 0; overflow: hidden; background: var(--ise-direction-image-mobile,var(--ise-direction-image)) center/cover no-repeat; }
  .ise-direction::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(20,25,22,.05) 25%,rgba(20,25,22,.82)); }
  .ise-direction.is-active { background: var(--ise-direction-image-mobile,var(--ise-direction-image)) center/cover no-repeat; }
  .ise-direction > span { color: #dfbd97; }
  .ise-direction h3 { margin-top: 8px; font-size: clamp(1.05rem,5vw,1.35rem); }
  .ise-direction p,
  .ise-direction.is-active p { display: none; }
  .ise-brands__grid { gap: 8px; }
  .ise-brand { min-height: 112px; padding: 18px 12px; }
  .ise-projects__stage { display:block; width:100%; max-width:100%; height:auto; border:0; overflow:hidden; }
  .ise-projects__media { display:none; }
  .ise-projects__stories { display:grid; width:100%; max-width:100%; height:100%; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:8px; border:0; overflow:hidden; }
  .ise-project-story,
  .ise-project-story.is-active { position:relative; isolation:isolate; display:flex; min-width:0; min-height:clamp(230px,34vh,310px); padding:16px; flex-direction:column; justify-content:flex-end; color:#fff; border:0; opacity:1; overflow:hidden; background:var(--ise-project-image-mobile,var(--ise-project-image)) center/cover no-repeat; }
  .ise-project-story::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,rgba(20,25,22,.02) 28%,rgba(20,25,22,.84)); }
  .ise-project-story__number,
  .ise-project-story__facts { color:#dfbd97; }
  .ise-project-story__facts { margin:8px 0 6px; font-size:.62rem; }
  .ise-project-story h3 { margin:0; font-size:clamp(1rem,4.7vw,1.3rem); }
  .ise-project-story__summary { display:none; }
  .ise-project-story > div { min-width:0; }
  .ig-process__list li, .ig-process__list li + li { min-height: auto; padding: 22px 0; border-right: 0; border-bottom: 1px solid #bbb3a7; }
  .ig-process__list span { margin-bottom: 12px; }
  .ise-section .ise-shell { grid-template-columns:1fr; }
  .ise-shell { width:min(calc(100% - 40px),var(--ise-content)); }
  .ise-about-hero { min-height:0; align-items:flex-start; padding:clamp(175px,22vh,220px) 30px 56px; }
  .ise-about-hero::after { background:linear-gradient(90deg,rgba(20,26,22,.72),rgba(20,26,22,.45)); }
  .ise-about-hero__copy h1 { font-size:clamp(2.3rem,9.6vw,3.55rem); line-height:1.03; }
  .ise-solutions-hero .ise-about-hero__copy h1 { font-size:clamp(2.15rem,9vw,3.2rem); }
  .ise-solutions-hero .ig-lead { margin-bottom:0; }
  .ig-page-about .ig-section > h2 { font-size:clamp(1.72rem,7vw,2.45rem); line-height:1.1; }
  .ig-page-about .ig-lead { font-size:1.05rem; line-height:1.55; }
  .ise-about-manifest__grid { grid-template-columns:1fr; gap:28px; }
  .ise-about-manifest__grid h2 { font-size:clamp(1.82rem,7.4vw,2.6rem); line-height:1.08; }
  .ise-about-facts dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ise-about-facts dl > div { min-height:128px; padding:22px 18px 20px 0; border-bottom:1px solid var(--ig-line); }
  .ise-about-facts dl > div + div { padding-left:18px; }
  .ise-about-facts dl > div:nth-child(2) { border-right:0; }
  .ise-about-facts dl > div:nth-child(n+3) { border-bottom:0; }
  .ise-about-principles__grid { grid-template-columns:1fr; }
  .ise-about-principles__grid article,
  .ise-about-principles__grid article + article { min-height:0; padding:24px 0; border-right:0; border-bottom:1px solid #c9c1b5; }
  .ise-about-principles__grid article:last-child { border-bottom:0; }
  .ise-about-principles__grid h3 { margin:20px 0 8px; }
  .ise-about-expertise ul { grid-template-columns:1fr; }
  .ise-about-expertise li,
  .ise-about-expertise li:nth-child(even) { min-height:86px; padding:16px 0; border-right:0; }
  .ise-solutions-areas__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; border:0; background:transparent; }
  .ise-solution-card { position:relative; isolation:isolate; display:flex; width:100%; height:clamp(230px,34vh,310px); min-width:0; min-height:0; color:#fff; border:0; flex-direction:column; justify-content:flex-end; overflow:hidden; background:var(--ig-ink); }
  .ise-solution-card figure { position:absolute; z-index:-2; inset:0; width:100%; height:100%; }
  .ise-solution-card figure::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(20,25,22,.04) 24%,rgba(20,25,22,.84)); }
  .ise-solution-card > div { min-height:0; padding:16px; justify-content:flex-end; }
  .ise-solution-card span { color:#dfbd97; }
  .ig-page-solutions .ise-solution-card h3 { margin:8px 0 0; color:#fff; font-size:clamp(1rem,4.8vw,1.3rem); line-height:1.12; }
  .ise-solution-card p,
  .ise-solution-card strong { display:none; }
  .site-footer { padding:36px 0 18px; }
  .site-footer__grid { gap:28px; }
  .ise-footer__nav { width:100%; }
  .ise-footer__nav ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin-top:12px; border-top:1px solid #bcb4a7; }
  .ise-footer__nav li { min-width:0; border-bottom:1px solid #bcb4a7; }
  .ise-footer__nav li:nth-child(odd) { border-right:1px solid #bcb4a7; }
  .ise-footer__nav a { display:block; min-height:52px; padding:12px 12px 12px 0; line-height:1.25; text-decoration:none; overflow-wrap:anywhere; }
  .ise-footer__nav li:nth-child(even) a { padding-left:14px; }
  .site-footer__bottom { margin-top:28px; }
}

@media (max-width: 390px) {
  .site-header__inner.ig-container { width:calc(100% - 24px); gap:6px; }
  .site-branding .custom-logo { max-width:112px; }
  .menu-toggle { gap:7px; padding:.55rem .6rem; }
  .menu-toggle__icon,
  .menu-toggle__icon i { width:18px; }
  .language-switcher,
  .language-switcher ul { gap:4px; }
  .language-switcher a { font-size:.62rem; }
}

@media (min-width: 901px) and (max-width: 1300px) {
  .ig-showcase--products .ig-visual-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ise-solution-card { height:320px; min-height:0; grid-template-columns:minmax(0,1fr) minmax(220px,.9fr); }
}

/* Brand rail: keep every partner in one row on wide screens and enable touch scrolling below. */
@media (min-width: 1146px) {
  .ise-brands__grid { grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
}

@media (max-width: 1145px) {
  .ise-brands { position:relative; }
  .ise-brands__grid {
    display:flex;
    gap:12px;
    margin-inline:calc(var(--ise-gutter) * -1) !important;
    padding:0 var(--ise-gutter) 10px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-behavior:smooth;
    scroll-snap-type:inline mandatory;
    scrollbar-width:none;
  }
  .ise-brands__grid::-webkit-scrollbar { display:none; }
  .ise-brands__grid .ise-brand {
    flex:0 0 calc((100% - 36px) / 4);
    min-width:0;
    scroll-snap-align:start;
  }
  .ise-brands__controls {
    display:flex;
    width:min(1400px,100%);
    margin:10px auto 0 !important;
    justify-content:flex-end;
    gap:8px;
  }
  .ise-brands__controls[hidden] { display:none; }
  .ise-brands__arrow {
    display:grid;
    width:44px;
    height:44px;
    padding:0;
    place-items:center;
    color:var(--ig-ink);
    border:1px solid var(--ig-line);
    background:#fff;
    font:inherit;
    font-size:1.25rem;
    line-height:1;
    cursor:pointer;
  }
  .ise-brands__arrow:hover,
  .ise-brands__arrow:focus-visible { color:#fff; background:var(--ig-ink); }
  .ise-brands__arrow:disabled { opacity:.3; cursor:default; }
}

@media (max-width: 600px) {
  .ise-brands__grid .ise-brand { flex-basis:calc((100% - 12px) / 2.18); min-height:92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ise-brands__grid { scroll-behavior:auto; }
  .ig-visual-card img,
  .ise-directions__image,
  .ise-projects__image,
  .home .ig-hero__media img,
  .home .ig-hero > .ig-kicker,
  .home .ig-hero > h1,
  .home .ig-hero > .ig-lead,
  .home .ig-hero > .ise-actions,
  .ig-page-about .ise-about-hero__media img,
  .ig-page-about .ise-about-hero__copy > *,
  .site-header { transition: none; }
  .home .ig-hero__media img,
  .home .ig-hero > .ig-kicker,
  .home .ig-hero > h1,
  .home .ig-hero > .ig-lead,
  .home .ig-hero > .ise-actions,
  .ig-page-about .ise-about-hero__media img,
  .ig-page-about .ise-about-hero__copy > * { animation:none; opacity:1; transform:none; }
}
