/* Extend the inspected Figma type system to every inner-page template.
   32/32 Regular headings, 24/24 subheadings, 16/20.8 copy, tracking -3%.
   The accepted home, header, callback and photographic assets stay shared. */
body:not(.home) .layout__main,
.site-main,.modal,.pum-container {
  font-family:var(--isto-font);font-weight:400;color:var(--isto-ink);
}
body:not(.home) .layout__main :is(h1,h2,h3,h4,h5,h6,p,li,a,summary),
.site-main :is(h1,h2,h3,h4,h5,h6,p,li,a),
.modal :is(label,input,textarea,button),.pum-container :is(label,input,textarea,button) {
  font-family:var(--isto-font);
}
:root {--isto-copy-inset:0px;}
.contacts .isto-editorial {padding-bottom:0;}
.isto-seo-intro>p,.isto-about-intro p,.isto-service-card__description {
  margin-left:0;font-size:16px;font-weight:400;line-height:1.3;
  letter-spacing:-.03em;color:var(--isto-muted);
}
.isto-eyebrow,.isto-service-links__heading>p,.isto-service-number {
  font-size:12px;font-weight:400;line-height:1;letter-spacing:-.03em;
  color:var(--isto-muted);text-transform:none;
}
.isto-breadcrumbs {font:400 13px/1.3 var(--isto-font);letter-spacing:-.03em;}
.isto-related__grid h3,.isto-process h3,.isto-service-evidence h3 {
  font-size:24px;font-weight:400;line-height:1;letter-spacing:-.03em;
}
.isto-process li p,.isto-service-evidence p,.isto-related__grid p {
  font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;
  color:var(--isto-muted);
}
.isto-service-evidence li>a>span:first-child {font-size:24px;font-weight:400;line-height:1;letter-spacing:-.03em;}
.isto-service-evidence li>a>span:not(:first-child) {font-size:14px;font-weight:400;line-height:1.3;letter-spacing:-.03em;color:var(--isto-muted);}
.isto-service-evidence li>a {transition:color .3s ease-in-out;}
.isto-service-evidence li>a:is(:hover,:focus-visible) {color:var(--isto-muted);}
.isto-service-evidence li>a:is(:hover,:focus-visible) .isto-arrow {transform:translate(3px,-3px);}
.isto-text-link,.isto-service-links__heading a,.isto-editorial__row>a,
.isto-award-source,.hero_link {
  font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;
  text-transform:none;transition:color .3s ease-in-out;
}
.isto-text-link:is(:hover,:focus-visible),.isto-service-links__heading a:is(:hover,:focus-visible),
.isto-editorial__row>a:is(:hover,:focus-visible),.isto-award-source:is(:hover,:focus-visible),
.isto-service-card__title:is(:hover,:focus-visible),.isto-related__grid>a:is(:hover,:focus-visible) {
  color:var(--isto-muted);
}
.isto-arrow {width:24px;height:24px;transition:transform .3s var(--isto-ease);}
.isto-award-source {display:inline-flex;align-items:center;gap:12px;align-self:flex-start;color:var(--isto-ink);text-decoration:none;}
.isto-award-source:is(:hover,:focus-visible) .isto-arrow {transform:translate(3px,-3px);}
.isto-service-card__title,.isto-related__grid>a {transition:color .3s ease-in-out;}
.isto-related__grid h3 {color:inherit;}
.isto-service-card__title {transition:color .3s ease-in-out;}

/* Catalogue and individual project text; image sources and galleries unchanged. */
.projects .projects__nav .nav__link {
  font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;
  text-transform:none;transition:color .3s ease-in-out;
}
.projects .projects_description,.projects .projects_item_description,
.projects .projects_item_description :is(.item_title,.item_value) {
  font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;text-transform:none;
}
.projects .projects_content_title {font-size:32px;font-weight:400;line-height:1;letter-spacing:-.03em;text-transform:none;}
.projects .projects_content_list .projects_item_content {box-shadow:none;background:rgb(0 0 0 / 40%);}
.hero_meredian :is(.hero_meredian_title,.hero_meredian_value) {
  font-family:var(--isto-font);font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;text-transform:none;
}
.hero_meredian {left:clamp(24px,5vw,96px);right:clamp(24px,5vw,96px);z-index:2;}
.hero_meredian .slider_title {padding-left:0;}
.hero_meredian_items {padding:30px 0;gap:24px;flex-wrap:wrap;}
.hero_meredian_item {min-width:0;max-width:22%;}
.hero_link {align-items:center;z-index:2;}
.hero_link:is(:hover,:focus-visible) .isto-arrow {transform:translateX(-3px);}
.hero_link .isto-arrow {flex:0 0 24px;}
body:not(.home) .content_block :is(.section_title,.section_title h2) {
  font-family:var(--isto-font);font-size:32px;font-weight:400;line-height:1;
  letter-spacing:-.03em;text-transform:none;
}
body:not(.home) .content_block .content_block_description {
  font-family:var(--isto-font);font-size:16px;font-weight:400;line-height:1.3;
  letter-spacing:-.03em;color:var(--isto-muted);margin-left:0;
}

/* Awards and media keep their current cards, logos and photographs. */
.awards .section_title,.media .section_title,
.about .about_title,.vacancy .vacancy_title {
  font-size:32px;font-weight:400;line-height:1;letter-spacing:-.03em;
  text-transform:none;color:var(--isto-ink);
}
.awards .awards_item_right h2,.awards .awards_item_title,
.media_item .media_item_title,.about .about_end_title,.vacancy_right .vacancy_cat_title {
  font-size:24px;font-weight:400;line-height:1;letter-spacing:-.03em;
  text-transform:none;color:var(--isto-ink);
}
.awards .awards_description,.media .media_description,
.about :is(.about_left_description,.about_desc,.about_end_text,.about_description),
.vacancy :is(.vacancy_subtitle,.vacancy_item_content,.title_city) {
  font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;
  text-transform:none;color:var(--isto-muted);
}
.awards .awards_item_nagoroda,.media_item .media_item_date {
  font-size:14px;font-weight:400;line-height:1.3;letter-spacing:-.03em;text-transform:none;color:var(--isto-muted);
}
.awards .awards_item_nagoroda strong {font-weight:500;color:var(--isto-ink);}
.awards .awards_item_right,.awards .awards_item_cards {min-width:0;}
.awards .awards_item_right .awards_item_cards {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;
}
.awards .awards_item_right .awards_item_cards .awards_item_card {
  box-sizing:border-box;width:100%;min-width:0;text-align:left;
  border-color:#c6c6c5;transition:border-color .3s ease-in-out;
}
.awards .awards_item_right .awards_item_cards .awards_item_card:hover {border-color:var(--isto-muted);}
.awards .isto-award-project {transition:color .3s ease-in-out;}
.media_item {box-sizing:border-box;width:calc((100% - 60px)/3);border-color:#c6c6c5;transition:border-color .3s ease-in-out,color .3s ease-in-out;}
.media_item:is(:hover,:focus-visible) {color:var(--isto-muted);border-color:var(--isto-muted);}
.media_item .media_item_title {color:inherit;}
.about .about_desc {margin-left:0;}
/* Recording 16 October, 00:27–01:39: top alignment, equal icon columns,
   and a measured white pause before the shared enquiry section. */
.about .about_second {align-items:flex-start;}
.about .about_second .about_title {margin-top:0;}
.about .about_desc p:first-child {margin-top:0;}
.about .about_end_items {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3.34vw,48px);}
.about .about_end_item {box-sizing:border-box;width:auto;max-width:none;min-width:0;}
.about .team {padding-bottom:clamp(40px,5.56vw,80px);}
@media(max-width:960px) {
 .about .about_end_items {grid-template-columns:minmax(0,1fr);gap:40px;}
}
.team .team_slider_name {font-size:18px;font-weight:500;line-height:1.3;letter-spacing:-.03em;text-transform:none;}
.team .team_slider_position {font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;text-transform:none;}
.team .team_nav button {
  display:grid;place-items:center;width:50px;height:50px;border:.8px solid #c6c6c5;
  border-radius:0;background:transparent;color:var(--isto-ink);transform:none;
  transition:background-color .3s ease-in-out;
}
.team .team_nav button:last-child {transform:none;}
.team .team_nav button svg {width:24px;height:24px;}
.team .team_nav button:is(:hover,:focus-visible) {background:rgb(217 216 216 / 65%);}

/* Careers, modal forms and the fallback content template use the same type scale. */
.vacancy_right .title_text {font-size:18px;font-weight:500;line-height:1.3;letter-spacing:-.03em;text-transform:none;}
.vacancy_right .vacancy_item_content .item_title,.vacancy_item_content p strong {font-size:16px;font-weight:500;line-height:1.3;letter-spacing:-.03em;}
.vacancy_more_btn {font-size:16px;font-weight:400;line-height:1.3;letter-spacing:-.03em;transition:color .3s ease-in-out;}
.vacancy_more_btn:hover,.vacancy_cat_title:hover {color:var(--isto-muted);}
.vacancy_right .vacancy_cat_title {appearance:none;box-sizing:border-box;width:100%;min-height:44px;padding:8px 60px 8px 0;border:0;background:transparent;color:inherit;font-family:var(--isto-font);text-align:left;}
.vacancy_more_btn {appearance:none;min-height:44px;padding:8px 20px 8px 0;border:0;background:transparent;font-family:var(--isto-font);text-align:left;}
.vacancy_right .vacancy_cat.active .vacancy_cat_title::after,.vacancy_item.open .vacancy_more_btn::after {content:"\2212";transform:translateY(-50%);}
.vacancy_cat_title:focus-visible,.vacancy_more_btn:focus-visible {outline:2px solid currentColor;outline-offset:4px;}
.modal .modal_title,.pum-container .contact-title,.site-main .entry-title {
  font-size:32px;font-weight:400;line-height:1;letter-spacing:-.03em;text-transform:none;
}
.modal :is(.modal_desc,.desc-wrapper,.check_input,label),.pum-container .desc-wrapper,
.modal input:not([type=submit]):not([type=checkbox]),.modal textarea,
.pum-container input:not([type=submit]):not([type=checkbox]),.pum-container textarea {
  font:400 16px/1.3 var(--isto-font);letter-spacing:-.03em;text-transform:none;
}
.modal .modal_content {box-sizing:border-box;max-height:calc(100dvh - 80px);overflow:auto;top:40px;}
.modal .wpcf7-form-control-wrap {display:block;min-width:0;margin-bottom:20px;}
.modal :is(input[type=text],input[type=email],input[type=tel],textarea) {
  box-sizing:border-box;width:100%;min-height:44px;padding:8px 0;
  border:0;border-bottom:1px solid #c6c6c5;border-radius:0;background:transparent;
}
.modal textarea {min-height:80px;}
.modal .wpcf7-form>br {display:none;}
.modal label[for=file] {display:block;margin-top:24px;min-height:24px;}
.modal label[for=file] .title {display:inline-block;padding-left:36px;font:400 16px/1.3 var(--isto-font);letter-spacing:-.03em;}
.modal label[for=file] .wpcf7-form-control-wrap {display:inline;margin:0;}
.modal .modal_desc {text-align:left;}
.modal .button {margin-left:0;margin-right:0;}
.modal .check_input .wpcf7-form-control-wrap {margin:0;}
.modal.join .check_input {font:400 16px/1.3 var(--isto-font);letter-spacing:-.03em;}
.modal.join .modal_title {text-align:left;}
.modal .select__input .your-list {top:44px;border:.8px solid #c6c6c5;box-shadow:none;}
.modal .select__input .your-list-item {font:400 16px/1.3 var(--isto-font);letter-spacing:-.03em;text-transform:none;transition:background-color .3s ease-in-out;}
.modal .select__input .your-list-item:hover {background:rgb(217 216 216 / 65%);}
.modal .select__input::after {
  content:"";height:44px;top:0;border:0;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23202428' stroke-width='1.25'/%3E%3C/svg%3E") center/12px 8px no-repeat;
  transition:transform .3s ease-in-out;
}
.modal .select__input.active::after {content:"";transform:rotate(180deg);}
.site-main {padding:160px clamp(24px,5vw,96px) 72px;}
.site-main .entry-title {margin-bottom:32px;}
.site-main .entry-content {max-width:65ch;font-size:16px;line-height:1.3;letter-spacing:-.03em;color:var(--isto-muted);}
.site-main .entry-content :is(h2,h3) {font-size:24px;line-height:1;font-weight:400;letter-spacing:-.03em;color:var(--isto-ink);margin:32px 0 20px;}
.site-main .entry-content p+p {margin-top:20px;}
@media(max-width:960px) {
  .projects .projects_content_list .projects_item_content {background:transparent;}
  .hero_meredian_items {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 0;gap:24px;}
  .hero_meredian_item {max-width:none;}
  .hero_meredian_title {margin-bottom:8px;}
  .hero_link {left:24px;right:24px;width:auto;}
}
@media(max-width:1024px) {
  .awards .awards_item_right .awards_item_cards {grid-template-columns:repeat(2,minmax(0,1fr));}
  .media_item {width:calc((100% - 30px)/2);}
}
@media(max-width:768px) {
  .awards .awards_item_right .awards_item_cards {grid-template-columns:minmax(0,1fr);}
  .awards .awards_item_right h2 {text-align:left;}
  .awards .awards_item_right .awards_item_cards .awards_item_card {padding:20px;}
  .vacancy_right .vacancy_item_row {flex-wrap:wrap;gap:20px;}
  .media_item {width:100%;}
  .site-main {padding-top:112px;}
  .modal.join .flex {flex-direction:column;}
}
@media(prefers-reduced-motion:reduce) {
  .isto-arrow,.isto-award-source,.isto-text-link,.media_item,
  .team .team_nav button,.isto-service-card__title,.isto-related__grid>a {transition:none;}
}

/* Designer recording 02:08–02:44: exactly 80px after the contact copy;
   page heading and shared enquiry heading use the same left guide. */
.contacts .isto-seo-intro {padding-bottom:80px;}
.contacts .callback_wrap {margin-left:clamp(24px,5vw,96px);margin-right:clamp(24px,5vw,96px);}
@media(max-width:760px) {.contacts .callback_wrap {margin-left:0;margin-right:0;}}

/* Give the last media card room before the following form. */
.media {padding-bottom:64px;}
/* Contact content must not stretch to fill the old viewport shell. */
.contacts .layout {min-height:0;}
.contacts .layout__main {flex:0 0 auto;}

/* Separate the team navigation from the heading and explanatory text. */
.team .team_top {display:grid;grid-template-columns:minmax(0,1fr) max-content;gap:48px;align-items:start;}
.team .team_top_left {min-width:0;}
.team .team_nav {display:flex;gap:24px;align-self:start;position:static;width:auto;}
.team>.team_content {padding-bottom:0;}
.team_slider_item {vertical-align:top;}
.team_slider_item_card img {display:block;}
@media(max-width:760px) {
 .team .team_top {grid-template-columns:minmax(0,1fr);gap:24px;}
 .team .team_nav {justify-self:end;}
}
/* The number previously spanned both columns, leaving the heading in 20px.
   Stack number, heading and paragraph so translations can wrap independently. */
.isto-process li {grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;}
.isto-process li :is(.isto-service-number,h3,p) {grid-column:1;min-width:0;margin:0;}
.isto-process li p {max-width:45ch;}
/* Center the final service invitation and its existing 216px action. */
.isto-editorial__cta--centered {margin-left:auto;margin-right:auto;text-align:center;}
.isto-editorial__cta--centered h2 {margin-left:auto;margin-right:auto;}
.isto-editorial__cta--centered p {margin-left:auto;margin-right:auto;}
.isto-editorial__cta--centered .button {margin-left:0;}

/* Recording 20261005_190002: reclaim the old empty career viewport. */
.page-template-page-career .layout {min-height:0;}
.page-template-page-career .layout__main {flex:0 0 auto;}
.page-template-page-career .vacancy_content {padding-top:160px;}
.page-template-page-career .for-reviews {margin-top:64px;margin-bottom:32px;}


/* Recording 16 October, 03:08–06:28: all services sections follow the
   existing enquiry section's left/right guides, including their photos. */
.isto-editorial:is(.isto-editorial--hub,.isto-editorial--service) {
 padding-left:calc(79 * var(--isto-unit));padding-right:calc(84 * var(--isto-unit));
}
.isto-editorial > :is(.isto-editorial__hero,.isto-editorial__body,.isto-editorial__portfolio,.isto-editorial__cta,.isto-service-links,.isto-process,.isto-service-evidence) {
 max-width:none;
}
.isto-editorial__body > section > p,.isto-process li p {max-width:none;}
/* Four equal navigation cells on wide screens; two/one when space is smaller.
   Visible labels are short; each link retains its full service name. */
.isto-service-links--compact .isto-service-links__grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;}
@media(min-width:1280px) {
 .isto-service-links--compact .isto-service-links__grid {grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:960px) {
 .isto-editorial:is(.isto-editorial--hub,.isto-editorial--service) {padding-left:16px;padding-right:16px;}
}
@media(max-width:700px) {
 .isto-service-links--compact .isto-service-links__grid {grid-template-columns:minmax(0,1fr);}
}

/* 28 October recordings: preserve complete project images instead of forcing
   every row into 830/1300px. Ratio-weighted columns share a natural height. */
body.single-project .gallery .gallery-row {height:auto;align-items:flex-start;}
body.single-project .gallery-row>.isto-gallery-link {flex:var(--isto-image-ratio,1) 1 0%;width:auto;min-width:0;}
body.single-project .gallery-row>.isto-gallery-link img {display:block;width:100%;height:auto;max-height:none;object-fit:contain;}
/* Intrinsic image height must also size its parent before the gallery starts. */
body.single-project .content_block {height:auto;}
body.single-project .content_block_picture {height:auto;object-fit:contain;align-self:flex-start;}
@media(max-width:960px) {
 body.single-project .gallery .gallery-row {flex-direction:column;}
 body.single-project .gallery-row>.isto-gallery-link {flex:none;width:100%;}
}

/* Each department owns its heading, member row and navigation. */
.about .isto-team-directory__intro {margin:0 auto 64px;padding-bottom:0;}
.about .isto-team-directory__intro .about_description {max-width:740px;margin-top:24px;}
.about .isto-team-group .team_top {margin-bottom:32px;}
.about .isto-team-group .team_nav[hidden] {display:none;}
.about .isto-team-group .team_slider:not(.slick-initialized) {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;}
.about .isto-team-group .team_slider:not(.slick-initialized) .team_slider_item {width:auto;min-width:0;margin:0;}
.about .isto-team-group .team_slider_item_card img {display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:top;}
@media(max-width:960px) {.about .isto-team-group .team_slider:not(.slick-initialized) {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:767px) {.about .isto-team-group .team_slider:not(.slick-initialized) {grid-template-columns:minmax(0,1fr);}}
