/* Interior pages: the same quiet material language as the homepage. */
.page-main { overflow: visible; }
.page-hero, .page-hero--compact { position: relative; min-height: min(760px, 54vw); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; color: #fff; }
.page-hero__image, .page-cta__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after, .page-cta::after, .page-footer::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,9,8,.66) 0%, rgba(10,9,8,.25) 57%, rgba(10,9,8,.08) 100%); }
.page-hero__content { width: min(925px, calc(100% - 140px)); margin: 0 70px 86px; }
.page-kicker, .page-section__label { margin: 0 0 24px; color: rgba(255,255,255,.66); font: 400 18px/1.3 var(--inter); }
.page-kicker.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: inherit;
}
.page-kicker.pill-row > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.82);
  font: 400 14px/1 var(--inter);
  white-space: nowrap;
}
.page-hero h1 { max-width: 900px; font-size: clamp(54px, 5.35vw, 88px); line-height: 1.03; letter-spacing: -.05em; }
.page-hero__content > p { max-width: 520px; margin-top: 22px; color: rgba(255,255,255,.76); font: 400 20px/1.35 var(--inter); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; }

.page-section { padding: 130px 70px; background: var(--page); }

/* The first content sheet crosses the hero while the hero itself stays pinned.
   Every following sibling must sit above the sticky hero (z-index: 1), or later
   sections disappear underneath it — that broke about/production/solutions. */
@media (min-width: 901px) {
  .page-main > .page-hero { position: sticky; top: 0; z-index: 1; }
  .page-main > .page-hero ~ * {
    position: relative;
    z-index: 2;
  }
  .page-main > .page-hero + .page-section {
    margin-top: -85px;
    clip-path: polygon(0 0, 100% 85px, 100% 100%, 0 100%);
  }
}
.page-section--white { background: #fff; }
.page-section--soft { background: #eee; }
.page-section__head { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.page-section__head > div { max-width: 910px; }
.page-section__label { color: rgba(0,0,0,.5); }
.page-section h2 { max-width: 1010px; font-size: clamp(42px, 4.15vw, 64px); line-height: 1.05; letter-spacing: -.025em; }
.page-section__lead { max-width: 510px; margin: 20px 0 0; color: var(--muted); font: 400 20px/1.35 var(--inter); }
.page-section__sidecopy { max-width: 420px; margin: 0 0 8px; color: var(--muted); font: 400 20px/1.35 var(--inter); }

/* Works page: 4 category case cards → gallery lightbox. */
.case-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: 60px;
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: block;
  margin: 0;
  padding: 0;
  background: rgba(8, 7, 5, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}
.work-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.work-lightbox__image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.98);
  max-width: min(1100px, calc(100vw - 96px));
  max-height: min(82vh, calc(100vh - 120px));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  transition: transform .25s ease;
}
.work-lightbox.is-open .work-lightbox__image {
  transform: translate(-50%, -50%) scale(1);
}
.work-lightbox__close,
.work-lightbox__prev,
.work-lightbox__next {
  position: absolute;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  cursor: pointer;
}
.work-lightbox__close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font: 400 28px/1 var(--inter);
}
.work-lightbox__prev,
.work-lightbox__next {
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  font: 400 28px/1 var(--inter);
}
.work-lightbox__prev { left: 18px; }
.work-lightbox__next { right: 18px; }
.work-lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .78);
  font: 400 15px/1 var(--inter);
  white-space: nowrap;
}
.work-lightbox__close:hover,
.work-lightbox__close:focus-visible,
.work-lightbox__prev:hover,
.work-lightbox__prev:focus-visible,
.work-lightbox__next:hover,
.work-lightbox__next:focus-visible {
  background: rgba(255, 255, 255, .22);
  outline: none;
}
body.work-lightbox-open { overflow: hidden; }

.page-band { position: relative; min-height: 505px; display: grid; align-items: end; padding: 70px; overflow: hidden; color: #fff; isolation: isolate; }
.page-band__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,5,4,.72), rgba(5,5,4,.12)); }
.page-band__copy { max-width: 600px; }
.page-band h2 { font-size: clamp(43px, 4.1vw, 62px); line-height: 1.05; letter-spacing: -.025em; }
.page-band p { max-width: 460px; margin-top: 17px; color: rgba(255,255,255,.75); font: 400 20px/1.35 var(--inter); }

.case-hero__info { display: grid; grid-template-columns: 1.25fr .75fr; gap: 25px; margin-top: 45px; }
.case-hero__info div { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.35); color: rgba(255,255,255,.7); font: 400 18px/1.35 var(--inter); }
.case-hero__info strong { display: block; margin-bottom: 7px; color: #fff; font: 400 20px/1.1 var(--involve); }
.case-story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 25px; align-items: start; }
.case-story__copy { padding: 15px 0; }
.case-story__copy p { max-width: 600px; margin-top: 22px; color: var(--muted); font: 400 20px/1.38 var(--inter); }
.case-facts { display: grid; gap: 0; margin: 0; padding: 0; border-radius: 25px; overflow: hidden; list-style: none; background: #fff; }
.case-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 22px 25px; border-bottom: 1px solid rgba(0,0,0,.1); color: var(--muted); font: 400 18px/1.3 var(--inter); }
.case-facts li:last-child { border-bottom: 0; }
.case-facts strong { color: #000; font: 400 18px/1.3 var(--involve); }
.case-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 350px 350px; gap: 25px; }
.case-gallery img { width: 100%; height: 100%; border-radius: 25px; object-fit: cover; }
.case-gallery img:first-child { grid-row: span 2; }

.case-gallery--full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  grid-template-rows: none;
  gap: 25px;
}

.case-gallery--full img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.case-gallery--full img:first-child { grid-row: auto; }

.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; margin-top: 60px; }
.solution-card { position: relative; min-height: 540px; display: flex; align-items: end; overflow: hidden; border-radius: 25px; isolation: isolate; color: #fff; }
.solution-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,6,5,.7), rgba(6,6,5,.02) 65%); }
.solution-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.solution-card:hover img { transform: scale(1.05); }
.solution-card__body { padding: 32px; }
/* Shared circular outlined number badges (01 / 02 / 03 / 04 / 20+). */
.pill-tag,
.process-card > span,
.process-step > span,
.solution-card__number,
.solution-card > div > span,
.production-feature__copy > span,
.trust-card__body > span,
.about-values span,
.about-story__copy > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  color: rgba(0, 0, 0, 0.68);
  font: 400 14px/1 var(--inter);
  white-space: nowrap;
}

/* Keep circular badges compact (flex column would stretch width:auto). */
.production-feature__copy > span,
.about-story__copy > span {
  flex: 0 0 36px;
  align-self: flex-start;
  width: 36px;
  max-width: 36px;
  padding: 0;
  border-radius: 50%;
}
.solution-card h3 { margin-top: 16px; font-size: clamp(32px, 3vw, 46px); line-height: 1.02; letter-spacing: -.05em; }
.solution-card p { max-width: 440px; margin-top: 16px; color: rgba(255,255,255,.76); font: 400 18px/1.35 var(--inter); }
.solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-bottom: 0;
  text-decoration: none;
  font: 400 17px/1 var(--involve);
}
.solution-card a::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.2 11.2 8 6 12.8' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.2 11.2 8 6 12.8' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.solution-card a:hover::after { transform: translateX(4px); }
.solution-card a b { display: none; }

.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 55px; }
.process-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-step { min-height: 290px; padding: 25px; border-radius: 25px; background: #fff; }
.process-step h3 { margin-top: 60px; font-size: 30px; letter-spacing: -.045em; }
.process-step p { margin-top: 13px; color: var(--muted); font: 400 18px/1.3 var(--inter); }
.production-wide { width: 100%; min-height: 580px; border-radius: 25px; object-fit: cover; }
.trust-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 25px; margin-top: 60px; }
.trust-panel { min-height: 430px; padding: 40px; border-radius: 25px; background: #fff; }
.trust-panel h3 { max-width: 530px; font-size: 38px; line-height: 1.08; letter-spacing: -.05em; }
.trust-panel p { max-width: 500px; margin-top: 20px; color: var(--muted); font: 400 20px/1.35 var(--inter); }
.trust-panel--image { position: relative; padding: 0; overflow: hidden; }
.trust-panel--image img { width: 100%; height: 100%; object-fit: cover; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.trust-list div {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 100px;
  color: rgba(0, 0, 0, 0.68);
  font: 400 16px/1 var(--inter);
}
.trust-list div::before { content: none; }

.about-portrait { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 60px; }
.about-portrait img { width: 100%; height: 570px; border-radius: 25px; object-fit: cover; }
.about-values { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px; margin-top: 25px; }
.about-values article { min-height: 235px; padding: 28px 25px; border-radius: 25px; background: #fff; }
.about-values h3 { margin-top: 55px; font-size: 29px; letter-spacing: -.045em; }
.about-values p { margin-top: 12px; color: var(--muted); font: 400 18px/1.32 var(--inter); }

.contacts-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 25px; align-items: stretch; margin-top: 55px; }
.contact-details { display: flex; min-height: 600px; flex-direction: column; justify-content: space-between; padding: 35px; border-radius: 25px; background: #fff; }
.contact-details__line { padding: 18px 0; border-top: 1px solid rgba(0,0,0,.12); }
.contact-details__line:first-child { padding-top: 0; border-top: 0; }
.contact-details__line strong { display: block; margin-bottom: 8px; font: 400 25px/1.1 var(--involve); }
.contact-details__line p, .contact-details__line a { color: var(--muted); font: 400 19px/1.35 var(--inter); }
.contact-socials { display: flex; gap: 12px; padding-top: 10px; }
.contact-socials img { width: 48px; height: 48px; object-fit: contain; }
.contact-form { display: flex; min-height: 600px; flex-direction: column; padding: 25px; border-radius: 25px; background: #eee; }
.contact-form__title { display: grid; min-height: 76px; place-items: center; border-radius: 15px; background: #fff; font: 400 25px/1 var(--involve); }
.contact-form label:not(.form__consent):not(.contact-form__consent) { display: flex; flex-direction: column; gap: 10px; margin-top: 25px; font: 400 19px/1.2 var(--inter); }
.contact-form input:not([type=checkbox]) { width: 100%; height: 72px; border: 0; border-radius: 15px; background: #fff; padding: 0 18px; font: 400 19px/1 var(--inter); }
.contact-form .form__consent { display: flex; width: 100%; gap: 14px; margin-top: 23px; font: 400 18px/1.15 var(--involve); }
.contact-form .form__consent input { flex: 0 0 25px; width: 25px; height: 25px; margin: 0; appearance: none; border: 1px solid #000; background: #fff; }
.contact-form .form__consent input:checked { background: #000; box-shadow: inset 0 0 0 5px #fff; }
.contact-form .button { width: 100%; min-width: 0; margin-top: 25px; }
.contact-form .button:disabled { cursor: not-allowed; opacity: .3; }
.map-frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  min-height: 0;
  margin-top: 25px;
  overflow: hidden;
  border-radius: 25px;
  background: #e6dfd8;
}
.map-frame > img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 0;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  align-self: stretch;
  filter: saturate(.7) contrast(.9);
}

.page-cta { position: relative; min-height: 530px; display: grid; align-items: center; padding: 70px; overflow: hidden; color: #fff; isolation: isolate; }
.page-cta__copy { max-width: 720px; }
.page-cta h2 { font-size: clamp(43px, 4.1vw, 62px); line-height: 1.04; letter-spacing: -.025em; }
.page-cta p { max-width: 500px; margin-top: 20px; color: rgba(255,255,255,.74); font: 400 20px/1.35 var(--inter); }
.page-cta .button { margin-top: 30px; }

/* Footer block: bottom inset via --footer-nav-clearance (shared with homepage). */
.page-footer { position: relative; display: block; min-height: 0; padding: 0; overflow: hidden; color: #fff; isolation: isolate; }
.page-footer__background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-footer::after { background: linear-gradient(180deg, rgba(118,118,118,.22) 0%, rgba(31,31,31,.35) 51%, rgba(10,10,10,.64) 100%); }
.page-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: clamp(50px, 3.55vw, 70px); padding: 150px 70px var(--footer-nav-clearance, 140px); position: relative; z-index: 1; }
.page-footer__grid > div { display: flex; min-width: 0; flex-direction: column; align-items: start; gap: 15px; }
.page-footer h3 { margin: 0 0 10px; color: rgba(255,255,255,.67); font: 400 25px/1.1 var(--involve); }
.page-footer a, .page-footer p { margin: 0; color: #fff; font: 400 20px/1.35 var(--inter); }
.page-footer__brand { display: none; }
.page-footer__social { display: flex; align-items: center; gap: 15px; margin-top: 0; }
.page-footer__social .social { display: grid; width: 40px; height: 40px; place-items: center; flex: 0 0 40px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; }
.page-footer__social .social img { width: auto; height: auto; max-width: 26px; max-height: 27px; object-fit: contain; }
.page-footer__social .social--telegram img { width: 23.48px; height: 18.4px; }
.page-footer__social > a:not(.social) :is(.social--vk, .social--max) { width: 40px; height: 40px; object-fit: contain; }
.page-footer__social .social--mail img { width: 25.33px; height: 18.67px; }
.page-footer__social .social--phone img { width: 9.37px; height: 26.89px; transform: rotate(-45deg); }

/* CTA may use its own background; the footer always keeps the shared site treatment. */
.page-outro { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #1a1918; }
.page-outro__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-outro::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(118, 118, 118, .22) 0%, rgba(31, 31, 31, .35) 51%, rgba(10, 10, 10, .64) 100%); pointer-events: none; }
.page-outro .page-cta, .page-outro .page-footer { position: relative; background: transparent; }
.page-outro .page-cta::after { content: none; }
.page-outro .page-cta {
  min-height: 530px;
  margin-bottom: 0;
  align-items: start;
  padding: 150px 70px 70px;
}
.page-outro .page-footer__background { display: none; }
.page-outro .page-footer::after { content: none; }
/* CTA→footer join: 65px top; bottom matches homepage --footer-nav-clearance. */
.page-outro .page-footer { min-height: 0; }
.page-outro .page-footer__grid { padding: 65px 70px var(--footer-nav-clearance, 140px); }
.page-cta { margin-bottom: 25px; }

/* About: CTA and the shared footer form one continuous composition. */
.page-outro--about .page-cta { min-height: 530px; align-items: start; margin-bottom: 0; }
.page-outro--about .page-footer { min-height: 0; }
.page-outro--about .page-footer__background { display: none; }
.page-outro--about .page-footer::after { content: none; }
.page-outro--about .page-footer__grid { padding: 65px 70px var(--footer-nav-clearance, 140px); }
/* Legal pages put page-outro--about on the footer itself (no CTA wrap). */
.page-footer.page-outro--about .page-footer__grid { padding: 65px 70px var(--footer-nav-clearance, 140px); }

.reveal { will-change: transform, opacity, filter; }

/* The content modules below intentionally reuse the homepage's quiet cards. */
.solution-card > div { padding: 32px; }
.process-card { min-height: 290px; padding: 25px; border-radius: 25px; background: #fff; }
.process-card h3 { margin-top: 60px; font-size: 30px; letter-spacing: -.045em; }
.process-card p { margin-top: 13px; color: var(--muted); font: 400 18px/1.3 var(--inter); }
.production-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 60px; }
.production-feature__image { width: 100%; min-height: 570px; border-radius: 25px; object-fit: cover; }
.production-feature__copy { display: flex; min-height: 570px; flex-direction: column; justify-content: end; padding: 45px; border-radius: 25px; background: #fff; }
.production-feature__copy h3 { max-width: 600px; margin-top: 36px; font-size: 42px; line-height: 1.06; letter-spacing: -.05em; }
.production-feature__copy p { max-width: 530px; margin-top: 16px; color: var(--muted); font: 400 20px/1.35 var(--inter); }
.trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-card { overflow: hidden; border-radius: 25px; background: #fff; }
.trust-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.trust-card h3 { padding: 25px 25px 0; font-size: 31px; letter-spacing: -.045em; }
.trust-card p { min-height: 116px; margin: 12px 0 0; padding: 0 25px 25px; color: var(--muted); font: 400 18px/1.32 var(--inter); }
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-top: 60px; }
.about-story__image { width: 100%; min-height: 600px; border-radius: 25px; object-fit: cover; }
.about-story__copy { display: flex; min-height: 600px; flex-direction: column; justify-content: end; padding: 45px; border-radius: 25px; background: #fff; }
.about-story__copy h3 { max-width: 620px; margin-top: 28px; font-size: 41px; line-height: 1.08; letter-spacing: -.05em; }
.about-story__copy p { max-width: 580px; margin-top: 16px; color: var(--muted); font: 400 20px/1.36 var(--inter); }
.contact-detail { display: block; padding: 18px 0; border-top: 1px solid rgba(0,0,0,.12); color: inherit; }
.contact-detail:first-child { padding-top: 0; border-top: 0; }
.contact-detail > span { display: block; margin-bottom: 10px; color: rgba(0,0,0,.48); font: 400 18px/1 var(--inter); }
.contact-detail strong { display: block; max-width: 480px; font: 400 27px/1.12 var(--involve); }
.contact-detail small { display: block; margin-top: 10px; color: var(--muted); font: 400 18px/1.3 var(--inter); }
.contact-messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-messengers a { min-height: 40px; display: inline-grid; place-items: center; padding: 0 15px; border: 1px solid rgba(0,0,0,.16); border-radius: 100px; color: #000; font: 400 16px/1 var(--inter); transition: background .25s ease, color .25s ease; }
.contact-messengers a:hover { background: #000; color: #fff; }
.contact-form__message textarea { width: 100%; min-height: 94px; resize: vertical; border: 0; border-radius: 15px; background: #fff; padding: 17px 18px; color: #000; font: 400 18px/1.3 var(--inter); }
.contact-form > .contact-form__consent { display: flex; flex-direction: row; align-self: stretch; width: 100%; align-items: center; justify-content: flex-start; gap: 14px; margin-top: 25px; cursor: pointer; text-align: left; font: 400 18px/1.15 var(--involve); }
.contact-form > .contact-form__consent span { min-width: 0; flex: 0 1 auto; text-align: left; }
.contact-form > .contact-form__consent input { flex: 0 0 25px; width: 25px; height: 25px; margin: 0; appearance: none; border: 1px solid #000; background: #fff; }
.contact-form__consent input:checked { background: #000; box-shadow: inset 0 0 0 5px #fff; }
.map-frame > div {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 45px 48px;
  background: #fff;
}
.map-frame .page-kicker { color: rgba(0,0,0,.5); }
.map-frame h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 2.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.map-frame p:not(.page-kicker) { max-width: 480px; margin: 18px 0 0; color: var(--muted); font: 400 19px/1.35 var(--inter); }
.map-frame .button { align-self: start; min-width: 0; margin-top: 30px; }

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .page-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); gap: 35px; }
}

@media (max-width: 900px) {
  .page-hero, .page-hero--compact { min-height: 690px; }
  .page-hero__content { width: calc(100% - 50px); margin: 0 25px 70px; }
  .page-hero h1 { font-size: clamp(47px, 10vw, 64px); }
  .page-hero__content > p { font-size: 18px; }
  .page-section { padding: 80px 25px; }
  .page-section__head { display: block; }
  .page-section__sidecopy { margin-top: 22px; }
  .page-section h2 { font-size: 42px; }
  .case-grid, .solution-grid, .trust-grid, .about-portrait, .about-story, .contacts-layout, .production-feature, .map-frame { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: 1fr; grid-template-rows: 340px 240px 240px; }
  .case-gallery img:first-child { grid-row: auto; }
  .solution-card { min-height: 470px; }
  .page-band, .page-cta { min-height: 470px; padding: 50px 25px; }
  .page-outro .page-cta { padding: 100px 25px 50px; }
  .page-footer { min-height: 0; padding: 0; }
  .page-footer__grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; padding: 80px 25px; }
  .production-feature__image, .production-feature__copy, .about-story__image, .about-story__copy { min-height: 450px; }
  .map-frame > img {
    grid-column: auto;
    grid-row: auto;
    height: 340px;
    min-height: 0;
    align-self: stretch;
  }
  .map-frame > div { grid-column: auto; grid-row: auto; }
}

@media (max-width: 560px) {
  .page-hero, .page-hero--compact { min-height: 640px; }
  .page-hero__content { margin-bottom: 50px; }
  .page-hero__actions { gap: 10px; margin-top: 26px; }
  .page-section h2 { font-size: 37px; }
  .page-section__lead, .page-section__sidecopy { font-size: 18px; }
  .process-grid, .about-values { grid-template-columns: 1fr; }
  .case-story__copy p { font-size: 18px; }
  .case-facts li { grid-template-columns: 1fr; gap: 6px; }
  .process-step { min-height: 230px; }
  .process-step h3 { margin-top: 35px; }
  .process-card { min-height: 230px; }
  .process-card h3 { margin-top: 35px; }
  .trust-panel { min-height: 0; padding: 28px 25px; }
  .trust-panel--image { min-height: 340px; padding: 0; }
  .about-portrait img { height: 370px; }
  .contacts-layout { margin-top: 38px; }
  .contact-details, .contact-form { min-height: 0; }
  .production-feature__copy, .about-story__copy { min-height: 0; padding: 30px 25px; }
  .production-feature__copy h3, .about-story__copy h3 { font-size: 34px; }
  .production-feature__copy p, .about-story__copy p { font-size: 18px; }
  .map-frame > div { padding: 32px 25px; }
  .map-frame h2 { font-size: 34px; }
  .page-footer__grid { grid-template-columns: 1fr; }
}

/* Editorial photo modules: the image carries the weight, the copy stays quiet. */
.page-hero { min-height: calc(min(760px, 54vw) + 150px); }
.page-hero--compact { min-height: calc(min(650px, 48vw) + 150px); }

/* Internal pages repeat the homepage opening frame; only their copy changes. */
@media (min-width: 901px) {
  .page-hero,
  .page-hero--compact {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 1452 / 859;
    box-sizing: border-box;
  }

  .page-hero__content {
    position: absolute;
    top: clamp(120px, 14vw, 184px);
    left: var(--pad, 70px);
    width: min(900px, calc(100% - 2 * var(--pad, 70px)));
    margin: 0;
    max-width: 100%;
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 4.2vw + 12px, 64px);
    line-height: 1.2;
  }
}

.case-grid,
.solution-grid,
.trust-grid {
  display: grid;
  margin-top: 60px;
}

.case-grid,
.solution-grid,
.trust-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.case-card,
.solution-card,
.trust-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 70px;
  min-height: 0;
  padding: 35px 0;
  overflow: visible;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-radius: 0;
  background: transparent;
  color: #000;
  box-shadow: none;
  isolation: auto;
}

button.case-card,
a.case-card {
  width: 100%;
  margin: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
  appearance: none;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
}

a.case-card:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
}

.case-card:hover,
.solution-card:hover { transform: none; box-shadow: none; }

.case-card__image,
.solution-card > img,
.trust-card > img {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  transform: none !important;
  transition: filter .35s ease;
}

/* Home cover: keep door base / threshold in the 5:3 crop (portrait source). */
.case-card[data-case="home"] .case-card__image {
  object-position: center 71%;
}

.solution-card::after { display: none; }
.case-card:hover .case-card__image,
.solution-card:hover img { filter: saturate(1.03); }

.case-card:nth-child(even) .case-card__image,
.solution-card:nth-child(even) > img,
.trust-card:nth-child(even) > img { order: 2; }

.case-card__body,
.solution-card > div,
.trust-card__body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 42px 0;
  background: transparent;
}

.case-card__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: inherit;
  font: inherit;
}

.case-card__meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 100px;
  color: rgba(0, 0, 0, 0.68);
  font: 400 14px/1 var(--inter);
  white-space: nowrap;
}

.solution-card > div > span,
.trust-card__body > span,
.production-feature__copy > span {
  margin: 0;
}

.case-card h3,
.solution-card h3,
.trust-card h3 {
  max-width: 610px;
  margin: 26px 0 0;
  padding: 0;
  font: 400 clamp(32px, 3.1vw, 52px)/1.03 var(--involve);
  letter-spacing: -.055em;
}

.case-card p,
.solution-card p,
.trust-card p {
  max-width: 530px;
  min-height: 0;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font: 400 20px/1.34 var(--inter);
}

.case-card__link,
.solution-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
  margin-top: 32px;
  padding: 0;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  color: #000;
  background: transparent;
  text-decoration: none;
  font: 400 17px/1 var(--involve);
  transition: color .25s ease;
}

.case-card__link::after,
.solution-card a::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.2 11.2 8 6 12.8' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M6 3.2 11.2 8 6 12.8' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}

.case-card:hover .case-card__link::after,
.case-card__link:hover::after,
.solution-card a:hover::after { transform: translateX(4px); }

.solution-card a:hover,
.case-card:hover .case-card__link,
.case-card:focus-visible .case-card__link {
  background: transparent;
  color: var(--sand);
}

.case-card:focus-visible {
  outline: 2px solid #000;
  outline-offset: 6px;
}

.production-feature,
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 70px;
  margin-top: 60px;
  padding-top: 35px;
  border-top: 1px solid rgba(0, 0, 0, .12);
}

/* Image spans badge top → last paragraph bottom. */
.production-feature__image,
.about-story__image {
  height: 0;
  min-height: 100%;
  aspect-ratio: auto;
  align-self: stretch;
  border-radius: 25px;
  object-fit: cover;
}

.production-feature__copy,
.about-story__copy {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
}

.production-feature__copy h3,
.about-story__copy h3 {
  max-width: 610px;
  margin-top: 26px;
  font: 400 clamp(34px, 3.1vw, 52px)/1.03 var(--involve);
  letter-spacing: -.055em;
}

.production-feature__copy p,
.about-story__copy p {
  max-width: 530px;
  margin-top: 18px;
  font: 400 20px/1.34 var(--inter);
}

@media (max-width: 900px) {
  .page-hero,
  .page-hero--compact { min-height: clamp(560px, 120vw, 840px); }

  .case-card,
  .solution-card,
  .trust-card,
  .life-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .production-feature,
  .about-story { grid-template-columns: 1fr; gap: 25px; }

  .case-card:nth-child(even) .case-card__image,
  .solution-card:nth-child(even) > img,
  .trust-card:nth-child(even) > img { order: 0; }

  .case-card__body,
  .solution-card > div,
  .trust-card__body,
  .production-feature__copy,
  .about-story__copy { padding: 8px 0 18px; }

  .production-feature__image,
  .about-story__image {
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 3;
  }
}

@media (max-width: 560px) {
  .page-hero,
  .page-hero--compact { min-height: clamp(520px, 130vw, 790px); }

  .case-grid,
  .solution-grid,
  .trust-grid,
  .production-feature,
  .about-story { margin-top: 38px; }

  .case-card,
  .solution-card,
  .trust-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .case-card h3,
  .solution-card h3,
  .trust-card h3 { font-size: clamp(26px, 7vw, 34px); }

  .production-feature__copy h3,
  .about-story__copy h3 { font-size: clamp(28px, 7vw, 34px); }

  .case-card p,
  .solution-card p,
  .trust-card p { font-size: 16px; }

  .production-feature__copy p,
  .about-story__copy p { font-size: 17px; }
}

/* Global type reset: both installed typefaces use their native spacing. */
body :is(h1, h2, h3, h4, h5, h6, p, a, span, li, label, button, input, textarea, select, strong, em) {
  letter-spacing: 0 !important;
  line-height: normal !important;
}

/* --- legal documents --- */
.legal-doc { max-width: 860px; margin: 0 auto; padding-top: 100px; padding-bottom: 100px; }
.legal-doc h1 { margin: 0 0 16px; font-size: clamp(36px, 4vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.legal-doc h2 { margin: 36px 0 14px; font-size: 22px; line-height: 1.25; }
.legal-doc p, .legal-doc li { color: rgba(0,0,0,.72); font: 400 17px/1.55 var(--inter); }
.legal-doc ul { padding-left: 1.2em; margin: 0 0 12px; }
.legal-doc a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal-doc__meta { margin: 0 0 36px; color: rgba(0,0,0,.45); font: 400 15px/1.4 var(--inter); }
.legal-doc__note { margin-top: 40px; padding: 16px 18px; background: #f3f1ee; border-radius: 14px; color: rgba(0,0,0,.55); font-size: 15px; }
@media (max-width: 900px) {
  .legal-doc { padding-top: 72px; padding-bottom: 72px; }
}

.form__consent a,
.contact-form__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
