/* Shared production refinements: header contact, footer legal links, contact form and cookie consent. */

.nav-wrap {
  gap: clamp(12px, 1.8vw, 24px);
}

.nav-links {
  margin-left: auto;
}

.nav-links > .nav-home {
  display: none;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header-email {
  border-bottom: 1px solid rgba(182, 130, 74, 0.42);
  padding-bottom: 2px;
}

.header-email:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.header-phone:hover,
.header-phone:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.header-phone svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.language-control {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: clamp(4px, 1vw, 14px);
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.language-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.language-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 25;
  display: none;
  min-width: 174px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(7, 17, 31, 0.14);
}

.language-menu:hover .language-panel,
.language-menu:focus-within .language-panel {
  display: grid;
}

.language-mobile-title {
  display: none;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 11px;
  border: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  background: rgba(182, 130, 74, 0.12);
  color: var(--accent-deep);
  outline: 0;
}

.language-check {
  color: var(--accent-deep);
  font-weight: 900;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.enhanced-footer {
  align-items: flex-start;
  gap: 28px;
}

.footer-brand-line {
  display: grid;
  gap: 8px;
}

.footer-brand-line a {
  color: var(--ink);
  font-weight: 700;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.footer-phone svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.footer-phone:hover,
.footer-phone:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.footer-legal-links {
  align-items: center;
  gap: 10px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.footer-pill:hover,
.footer-pill:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.footer-legal-menu {
  position: relative;
}

.footer-legal-menu summary {
  list-style: none;
}

.footer-legal-menu summary::-webkit-details-marker {
  display: none;
}

.footer-legal-menu summary::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.footer-legal-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.footer-legal-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(7, 17, 31, 0.14);
}

.footer-legal-popover a,
.footer-legal-popover button {
  display: block;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.footer-legal-popover a:hover,
.footer-legal-popover a:focus-visible,
.footer-legal-popover button:hover,
.footer-legal-popover button:focus-visible {
  background: rgba(182, 130, 74, 0.12);
  color: var(--accent-deep);
  outline: 0;
}

.contact-hero.condensed {
  padding-bottom: clamp(24px, 4vw, 46px);
}

.contact-intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.74fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: stretch;
  padding-top: clamp(20px, 4vw, 44px);
}

.contact-intake-grid .photo-frame,
.contact-intake-grid .photo-frame img {
  height: 100%;
  min-height: 560px;
}

.contact-intake-grid .photo-frame img {
  aspect-ratio: auto;
}

.contact-form-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 46px);
  background: var(--navy);
  color: var(--panel);
}

.contact-form-card h2 {
  color: var(--panel);
  font-size: clamp(32px, 3vw, 44px);
}

.contact-form-card p {
  color: rgba(216, 229, 236, 0.82);
}

.contact-form-card label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: rgba(216, 229, 236, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(216, 229, 236, 0.26);
  background: rgba(216, 229, 236, 0.09);
  color: var(--panel);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0;
  padding: 12px 13px;
}

.contact-form-card textarea {
  min-height: 124px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-form-card .button {
  margin-top: 22px;
  justify-content: center;
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}

.contact-form-card .button:hover,
.contact-form-card .button:focus-visible {
  background: var(--panel);
  border-color: var(--panel);
  color: var(--ink);
}

.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.contact-support {
  padding-top: clamp(46px, 7vw, 82px);
}

[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 1000;
  width: min(560px, calc(100vw - 32px));
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 24px 70px rgba(7, 17, 31, 0.18);
  color: var(--ink);
}

.cookie-banner-inner {
  padding: 24px;
}

.cookie-banner h2,
.cookie-modal h2 {
  font-size: 30px;
}

.cookie-banner p,
.cookie-modal p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--panel);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button.secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 17, 31, 0.62);
}

.cookie-modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(216, 229, 236, 0.26);
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.cookie-modal-inner {
  padding: clamp(24px, 4vw, 42px);
}

.cookie-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.cookie-category:first-of-type {
  margin-top: 22px;
}

.cookie-category h3 {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.cookie-category p {
  margin-top: 7px;
}

.cookie-always-on {
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cookie-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-toggle input {
  width: 22px;
  height: 22px;
  accent-color: var(--accent);
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 14px;
    font-size: 13px;
  }

  .brand img {
    width: 250px;
  }

  .header-email {
    display: none;
  }

  .language-trigger {
    padding-inline: 9px;
  }
}

@media (max-width: 980px) {
  .nav-links > .nav-home {
    display: block;
  }

  .header-contact {
    order: 2;
    margin-left: auto;
  }

  .menu-button {
    order: 4;
  }

  .header-contact {
    order: 3;
    margin-left: 0;
  }

  .language-control {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .language-trigger {
    display: none;
  }

  .language-panel {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .language-mobile-title {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .language-option {
    padding: 9px 0;
    border-bottom: 0;
    font-size: 14px;
  }

  .contact-intake-grid {
    grid-template-columns: 1fr;
  }

  .contact-intake-grid .photo-frame,
  .contact-intake-grid .photo-frame img {
    min-height: 340px;
    height: auto;
  }
}

@media (max-width: 700px) {
  .enhanced-footer,
  .footer-legal-links {
    align-items: flex-start;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }

  .footer-legal-popover {
    right: auto;
    left: 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .cookie-banner-inner {
    padding: 20px;
  }

  .cookie-actions,
  .cookie-button {
    width: 100%;
  }

  .cookie-category {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-phone {
    width: 36px;
    height: 36px;
  }

  .contact-form-card {
    padding: 24px;
  }
}

[dir="rtl"] main,
[dir="rtl"] .site-footer {
  direction: rtl;
  text-align: start;
}

[dir="rtl"] .nav-wrap {
  direction: ltr;
}

[dir="rtl"] .nav-links {
  direction: rtl;
}

[dir="rtl"] .header-contact,
[dir="rtl"] .footer-phone,
[dir="rtl"] .footer-brand-line a[href^="mailto"],
[dir="rtl"] .language-control {
  direction: ltr;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .button-row,
[dir="rtl"] .footer-legal-links,
[dir="rtl"] .cookie-actions {
  flex-direction: row;
}

[dir="rtl"] .quote {
  border-left: 0;
  border-right: 3px solid var(--accent);
  padding-left: 0;
  padding-right: 22px;
}

[dir="rtl"] .contact-form-card label,
[dir="rtl"] .contact-form-card input,
[dir="rtl"] .contact-form-card textarea {
  text-align: start;
}

[dir="rtl"] .cookie-category {
  text-align: start;
}

[dir="rtl"] .profile,
[dir="rtl"] .body-copy,
[dir="rtl"] .card,
[dir="rtl"] .contact-form-card,
[dir="rtl"] .language-panel,
[dir="rtl"] .cookie-modal,
[dir="rtl"] .cookie-banner {
  text-align: start;
}

[dir="rtl"] .language-panel {
  direction: rtl;
  right: auto;
  left: 0;
}

[dir="rtl"] .language-trigger,
[dir="rtl"] .brand,
[dir="rtl"] .profile h3,
[dir="rtl"] .profile-photo,
[dir="rtl"] .bio-portrait,
[dir="rtl"] a[href^="mailto"],
[dir="rtl"] a[href^="tel"] {
  unicode-bidi: isolate;
}

[dir="rtl"] .contact-form-card input,
[dir="rtl"] .contact-form-card textarea {
  unicode-bidi: plaintext;
}

[dir="rtl"] input[type="email"],
[dir="rtl"] input[name="Telephone"] {
  direction: ltr;
}

.command-feature .photo-frame img[src*="why-amror-tower"] {
  filter: saturate(0.5) contrast(1.04) brightness(0.9) sepia(0.04);
}

.profile,
.body-copy {
  hyphens: manual;
}

.profile-heading-balance {
  max-width: 620px;
  font-size: clamp(32px, 3.55vw, 50px);
}

.line-keep {
  white-space: nowrap;
}

@media (max-width: 620px) {
  .line-keep {
    white-space: normal;
  }
}

.intro-grid {
  padding-bottom: clamp(34px, 5vw, 60px);
}

.intro-grid + .trigger-section.compact-flow {
  padding-top: clamp(24px, 4vw, 44px);
}

.capital-value-section {
  padding-bottom: clamp(34px, 5vw, 60px);
}

.capital-value-section + .capital-assist-section {
  padding-top: clamp(30px, 4.5vw, 54px);
}

.credibility-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: clamp(10px, .82vw, 13px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.credibility-strip span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.credibility-strip span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline-end: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.section-heading {
  max-width: 760px;
}

.homepage-useful-section .triggers {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.homepage-useful-section .trigger {
  min-height: 190px;
}

.homepage-useful-section .trigger p {
  font-size: 17px;
  line-height: 1.55;
}

.homepage-output-module {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  margin-top: 14px;
}

.homepage-output-copy {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.homepage-output-copy h2 {
  margin-top: 0;
}

.homepage-output-image {
  min-height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.homepage-output-image img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.42) contrast(0.98) brightness(0.86) sepia(0.12);
}

.homepage-output-copy .service-list {
  margin-top: 22px;
}

.homepage-output-copy .deliverables-grid {
  margin-top: 22px;
}

.homepage-output-copy .service {
  padding: 18px 20px;
}

.homepage-output-copy .service strong {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.35;
}

.homepage-output-cta {
  margin-top: 38px;
}

.confidentiality-note {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.contact-next-steps .steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

html[lang="en"] .contact-intake-grid + .contact-next-steps {
  padding-top: clamp(28px, 4.5vw, 52px);
}

html[lang="en"] .contact-next-steps .steps {
  margin-top: 28px;
}

html[lang="en"] .contact-next-steps .body-copy {
  margin-bottom: 0;
}

.enquiry-card a:not(.button) {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
}

.enquiry-list {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--ice);
  line-height: 1.75;
}

.capability-cards .card {
  display: block;
  min-height: 350px;
  padding: 30px;
}

.capability-cards .card span {
  min-height: 48px;
}

.capability-cards .card h3 {
  min-height: 78px;
}

html[lang="ar"] .capability-cards .card span,
html[lang="ru"] .capability-cards .card span,
html[lang="zh-Hans"] .capability-cards .card span {
  min-height: 86px;
}

html[lang="ar"] .capability-cards .card h3,
html[lang="ru"] .capability-cards .card h3,
html[lang="zh-Hans"] .capability-cards .card h3 {
  min-height: 148px;
}

.capability-cards .card p {
  line-height: 1.6;
}

.what-we-do-compact-section {
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.what-we-do-compact-section + .what-we-do-compact-section {
  padding-top: clamp(24px, 4vw, 44px);
}

.what-we-do-compact-section .section-heading + .cards,
.capability-cards {
  margin-top: 28px;
}

.cards.three:not(.capability-cards) .card span {
  min-height: 38px;
}

html[lang="ar"] .cards.three:not(.capability-cards) .card span,
html[lang="ru"] .cards.three:not(.capability-cards) .card span,
html[lang="zh-Hans"] .cards.three:not(.capability-cards) .card span {
  min-height: 68px;
}

.what-we-do-landscape-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(540px, 1.18fr);
  gap: clamp(36px, 5.5vw, 76px);
  align-items: center;
}

.what-we-do-landscape-hero > div:first-child {
  max-width: 760px;
}

.what-we-do-landscape-hero .photo-frame {
  min-height: 0;
}

.what-we-do-landscape-hero .photo-frame img {
  display: block;
  width: 100%;
  height: clamp(430px, 42vw, 610px);
  min-height: 430px;
  max-height: 610px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.02) brightness(.94);
}

.team-model-section .cards {
  margin-top: 34px;
}

.team-principals-section .profiles,
.team-advisory-section .profiles {
  margin-top: 34px;
}

.contact-support .body-copy {
  margin-bottom: 30px;
}

.contact-support .body-copy h2 + p {
  margin-top: 20px;
  line-height: 1.72;
}

.contact-support .cards.four .card {
  display: block;
  min-height: 292px;
  padding: 30px;
}

.contact-support .cards.four .card span {
  min-height: 48px;
}

.contact-support .cards.four .card h3 {
  min-height: 72px;
}

.contact-support .cards.four .card p {
  line-height: 1.55;
}

html[lang="ar"] .contact-support .cards.four .card span,
html[lang="ru"] .contact-support .cards.four .card span,
html[lang="zh-Hans"] .contact-support .cards.four .card span {
  min-height: 74px;
}

html[lang="ar"] .contact-support .cards.four .card h3,
html[lang="ru"] .contact-support .cards.four .card h3,
html[lang="zh-Hans"] .contact-support .cards.four .card h3 {
  min-height: 136px;
}

.contact-support + .contact-grid {
  padding-top: clamp(30px, 4.5vw, 54px);
}

.capital-assist-cards .card span {
  min-height: 48px;
}

html[lang="ar"] .capital-assist-cards .card span,
html[lang="ru"] .capital-assist-cards .card span,
html[lang="zh-Hans"] .capital-assist-cards .card span {
  min-height: 74px;
}

html[lang="ar"] .capital-assist-cards .card h3,
html[lang="ru"] .capital-assist-cards .card h3,
html[lang="zh-Hans"] .capital-assist-cards .card h3 {
  min-height: 172px;
}

.team-principals-section .profiles.four .profile span {
  min-height: 48px;
}

.team-principals-section .profiles.four .profile h3 {
  min-height: 68px;
}

html[lang="ar"] .team-principals-section .profiles.four .profile span,
html[lang="ru"] .team-principals-section .profiles.four .profile span,
html[lang="zh-Hans"] .team-principals-section .profiles.four .profile span,
html[lang="ar"] .advisory-profiles .profile span,
html[lang="ru"] .advisory-profiles .profile span,
html[lang="zh-Hans"] .advisory-profiles .profile span {
  min-height: 82px;
}


.what-we-do-context-image {
  margin-top: 34px;
  max-height: 420px;
  overflow: hidden;
}

.what-we-do-context-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: saturate(.86) contrast(.98);
}

.what-we-do-image-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.what-we-do-image-strip figure {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(182, 130, 74, .22);
  background: var(--navy);
}

.what-we-do-image-strip img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  filter: saturate(.82) contrast(.98) brightness(.9);
}

.what-we-do-image-strip figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 12px;
  color: var(--panel);
  background: rgba(7, 17, 31, .74);
  border: 1px solid rgba(216, 229, 236, .24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
  margin-top: 24px;
}

.fit-grid > div {
  min-height: 150px;
  padding: 24px;
  background: var(--panel);
}

.fit-grid strong,
.deliverables-grid span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.fit-grid span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.fit-grid .amror-fit {
  background: var(--navy);
}

.fit-grid .amror-fit strong,
.fit-grid .amror-fit span {
  color: var(--panel);
}

.fit-note {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.process-graphic {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.process-step {
  position: relative;
  min-height: 190px;
  padding: 26px 22px;
  background: var(--panel);
}

.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 26px;
  right: -13px;
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.process-step b {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.process-step p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.deliverables-grid span {
  min-height: 88px;
  padding: 22px;
  background: var(--panel);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .credibility-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 18px;
    font-size: 12px;
  }

  .homepage-useful-section .triggers,
  .contact-next-steps .steps,
  .what-we-do-image-strip,
  .fit-grid,
  .process-graphic,
  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .what-we-do-context-image,
  .what-we-do-context-image img,
  .what-we-do-image-strip img {
    height: 280px;
  }

  .homepage-output-module {
    grid-template-columns: 1fr;
  }

  .homepage-output-image {
    min-height: 0;
  }

  .homepage-output-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .what-we-do-landscape-hero {
    grid-template-columns: 1fr;
  }

  .what-we-do-landscape-hero > div:first-child {
    max-width: none;
  }

  .what-we-do-landscape-hero .photo-frame img {
    max-height: 340px;
  }

  .capability-cards .card {
    min-height: 0;
  }

  .capability-cards .card span,
  .capability-cards .card h3,
  .cards.three:not(.capability-cards) .card span,
  .contact-support .cards.four .card span,
  .contact-support .cards.four .card h3,
  .capital-assist-cards .card span,
  .capital-assist-cards .card h3,
  .team-principals-section .profiles.four .profile span,
  .team-principals-section .profiles.four .profile h3,
  .advisory-profiles .profile span {
    min-height: 0;
  }

  .contact-support .cards.four .card {
    min-height: 0;
  }

  .process-step:not(:last-child)::after {
    top: auto;
    right: 22px;
    bottom: -13px;
    transform: rotate(90deg);
  }
}

h1,
h2,
h3,
.lead {
  overflow-wrap: break-word;
}

html[lang="ru"] h1 {
  font-size: clamp(40px, 4.8vw, 66px);
}

html[lang="ru"] h2 {
  font-size: clamp(32px, 3.75vw, 50px);
}

html[lang="ru"] .lead {
  font-size: clamp(17px, 1.35vw, 20px);
}

.what-we-do-landscape-hero.page-hero.visual-heavy .photo-frame {
  min-height: 0;
}

.what-we-do-landscape-hero.page-hero.visual-heavy .photo-frame img {
  height: clamp(430px, 42vw, 610px);
  min-height: 430px;
  max-height: 610px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .what-we-do-landscape-hero.page-hero.visual-heavy .photo-frame img {
    height: 340px;
    min-height: 0;
    max-height: 340px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

@media (max-width: 1120px) {
  html[lang="ru"] .page-hero.visual-heavy,
  html[lang="ru"] .split.visual-heavy,
  html[lang="ru"] .capital-conflict-panel,
  html[lang="ru"] .split.mobile-text-first {
    grid-template-columns: 1fr;
  }

  html[lang="ru"] .page-hero.visual-heavy .photo-frame,
  html[lang="ru"] .page-hero.visual-heavy .photo-frame img,
  html[lang="ru"] .split.visual-heavy img,
  html[lang="ru"] .feature-image .photo-frame,
  html[lang="ru"] .feature-image .photo-frame img {
    min-height: 360px;
  }
}
