/* Final approved brand amendments. */
.hero {
  background: #000;
  isolation: isolate;
}
.hero-saudi-visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(68vw, 1100px);
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  opacity: 0.82;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}
.hero h1,
.hero > .eyebrow,
.hero-visual-system {
  position: relative;
  z-index: 2;
}
.hero-line.outline {
  color: #fff;
  -webkit-text-stroke: 0;
  margin-left: 8vw;
}
.round-link img {
  display: block;
  width: 34px;
  height: auto;
  margin: 10px auto 0;
  filter: brightness(0) invert(1);
}
.guides {
  background: #f7f7f5;
}
.guides-environment,
.guides-thread,
.guides-values-environment,
.guides-exit,
.guides-value-marker,
.guides-values-list::before,
.guides-values-list::after {
  display: none !important;
}
.guides-beliefs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(60px, 7vw, 110px) 0;
  align-items: stretch;
}
.guides-belief,
.guides-vision,
.guides-mission {
  min-height: clamp(470px, 42vw, 640px);
  padding: clamp(34px, 4vw, 65px);
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.guides-belief .guides-index {
  position: static;
  color: var(--orange);
  font-size: clamp(92px, 10vw, 160px);
  line-height: 0.72;
}
.guides-belief h3 {
  margin-top: auto !important;
  color: #fff !important;
  font-size: clamp(38px, 4vw, 70px) !important;
  line-height: 0.85;
}
.guides-belief h3 span:first-child {
  color: #fff !important;
}
.guides-belief h3 span:last-child {
  color: var(--orange) !important;
}
.guides-belief h3 span {
  display: block;
}
.guides-belief > p {
  margin: clamp(32px, 4vw, 55px) 0 0 !important;
  color: #c7c7c7 !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.45 !important;
}
.guides-values {
  min-width: 0;
  min-height: clamp(470px, 42vw, 640px);
  margin: 0;
  padding: clamp(34px, 3vw, 52px);
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.guides-values-head {
  display: flex;
  min-height: clamp(210px, 18vw, 270px);
  padding: 0 0 clamp(24px, 2.2vw, 34px);
  flex: none;
  flex-direction: column;
  align-items: flex-start;
}
.guides-values-head > span {
  padding: 0;
  color: var(--orange);
  font-size: clamp(92px, 10vw, 160px);
  font-weight: 300;
  line-height: 0.72;
  letter-spacing: -0.07em;
}
.guides-values-head h3 {
  display: block;
  margin-top: auto;
  color: #fff;
  font-size: clamp(38px, 4vw, 70px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  white-space: normal;
}
.guides-values-head h3 span {
  display: block;
}
.guides-values-head h3 span:last-child {
  color: var(--orange);
}
.guides-values-list {
  border-color: #444;
}
.guides-value {
  min-height: 0;
  display: block;
  padding-block: clamp(15px, 1.25vw, 20px);
  border-color: #333;
}
.guides-value h4 {
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 0.95;
}
.guides-value p {
  max-width: none;
  margin-top: 12px;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.3;
}
.guides-value h4 {
  color: #777 !important;
}
.guides-value p {
  color: #888 !important;
}
.guides-value:is(.is-active, :hover, :focus-visible) h4 {
  color: #fff !important;
}
.guides-value:is(.is-active, :hover, :focus-visible) p {
  color: #c7c7c7 !important;
}
.pattern-break {
  height: 70vh;
  min-height: 560px;
  background: #fff;
}
.pattern-sticky {
  height: 100%;
  min-height: 560px;
  background: #fff;
}
.pattern-message {
  color: #000;
  mix-blend-mode: normal;
  font-size: clamp(62px, 12vw, 180px);
}
.pattern-secondary {
  margin: 22px 0 0;
  font-size: 0.42em;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.45);
}
.contact-link {
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  padding: 0;
  cursor: none;
}
.contact-identity {
  position: absolute;
  z-index: 1;
  right: var(--page-gutter);
  top: 19%;
  width: min(38vw, 580px);
  height: auto;
  opacity: 0.9;
}
.contact-link,
.contact-form,
.contact footer,
.contact > .eyebrow {
  position: relative;
  z-index: 2;
}
.contact-form {
  position: absolute;
  z-index: 5;
  top: 8vh;
  right: var(--page-gutter);
  width: min(500px, calc(100% - var(--page-gutter) * 2));
  padding: 28px;
  background: #111;
  border: 1px solid #555;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: 0.45s var(--ease);
}
.contact.is-form-open .contact-form {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.contact-form-head,
.contact-form-message,
.contact-form-status,
.contact-form-submit {
  grid-column: 1/-1;
}
.contact-form-head {
  display: flex;
  justify-content: space-between;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.contact-form-close {
  border: 0;
  background: none;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #666;
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 8px 0;
  font:
    400 16px/1.3 "Inter Tight",
    sans-serif;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
}
.contact-form-status {
  min-height: 1em;
  margin: 0;
  color: #aaa;
  font-size: 13px;
}
.contact-form-submit {
  padding: 15px 0;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #000;
  font:
    600 12px "Inter Tight",
    sans-serif;
  letter-spacing: 0.14em;
}
@media (max-width: 900px) {
  .guides-beliefs {
    grid-template-columns: 1fr 1fr;
  }
  .guides-values {
    grid-column: 1/-1;
    min-height: 560px;
  }
}
@media (max-width: 700px) {
  .hero-saudi-visual {
    width: 100%;
    opacity: 0.5;
    mask-image: linear-gradient(#0005, #000);
  }
  .guides-beliefs {
    grid-template-columns: 1fr;
  }
  .guides-belief {
    min-height: 420px;
  }
  .guides-values {
    grid-column: auto;
    min-height: 620px;
    padding: 34px 24px 16px;
  }
  .guides-values-head {
    min-height: 300px;
    padding-bottom: 48px;
  }
  .guides-values-head > span {
    font-size: 92px;
  }
  .guides-value {
    display: block;
    padding: 28px 0 34px;
  }
  .guides-value h4 {
    margin-bottom: 24px;
    color: #fff !important;
    font-size: clamp(32px, 10vw, 43px);
  }
  .guides-value p {
    max-width: none;
    margin-top: 0;
    color: #c7c7c7 !important;
    font-size: 18px;
  }
  .pattern-break {
    height: 64vh;
    min-height: 480px;
  }
  .pattern-sticky {
    min-height: 480px;
  }
  .contact-identity {
    display: none;
  }
}

/* Final CTA form: keep the poster composition intact while the form adapts to
   the available viewport instead of collapsing on smaller screens. */
.contact-form {
  box-sizing: border-box;
  max-height: calc(100% - clamp(136px, 18vh, 220px));
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(237, 96, 0, 0.72) #111;
}
.contact-form::-webkit-scrollbar {
  width: 6px;
}
.contact-form::-webkit-scrollbar-thumb {
  background: rgba(237, 96, 0, 0.72);
}
.contact-form > *,
.contact-form label {
  min-width: 0;
}
.contact-form-head {
  align-items: center;
  gap: 16px;
}
.contact-form-close {
  min-height: 38px;
  padding: 8px 0 8px 12px;
  cursor: pointer;
}
.contact-form textarea {
  min-height: 104px;
  resize: vertical;
}
.contact-form-submit {
  min-height: 48px;
  cursor: pointer;
}
.contact-form-close:focus-visible,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form-submit:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 4px;
}
.contact.is-form-open .contact-link {
  pointer-events: none;
  opacity: 0.18;
  transform: scale(0.975);
  transform-origin: left center;
  transition:
    opacity 0.35s var(--ease),
    transform 0.45s var(--ease);
}
.contact.is-form-open .contact-identity {
  opacity: 0.2;
  transition: opacity 0.45s var(--ease);
}

@media (min-width: 701px) and (max-width: 1100px) {
  .contact-form {
    top: clamp(76px, 9vh, 112px);
    width: min(520px, calc(100% - var(--page-gutter) * 2));
    max-height: calc(100% - 144px);
    padding: clamp(22px, 3vw, 28px);
  }
}

@media (max-width: 700px) {
  .contact.is-form-open {
    height: auto;
    min-height: 0;
    padding-bottom: clamp(48px, 10vw, 76px);
    grid-template-rows: auto auto auto auto;
    overflow: visible;
  }
  .contact.is-form-open .contact-link {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    min-height: 0;
    opacity: 0.28;
    transform: scale(0.96);
  }
  .contact.is-form-open .contact-form {
    grid-column: 1 / -1;
    grid-row: 3;
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-height: none;
    margin: clamp(26px, 7vw, 40px) 0 clamp(50px, 12vw, 80px);
    padding: clamp(20px, 6vw, 28px);
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    overflow: visible;
  }
  .contact.is-form-open .contact-form-head,
  .contact.is-form-open .contact-form-message,
  .contact.is-form-open .contact-form-status,
  .contact.is-form-open .contact-form-submit {
    grid-column: 1;
  }
  .contact.is-form-open .contact-form-close {
    min-height: 44px;
  }
  .contact.is-form-open .contact-form input,
  .contact.is-form-open .contact-form textarea {
    font-size: 16px;
  }
  .contact.is-form-open footer {
    grid-column: 1 / -1;
    grid-row: 4;
    align-self: end;
  }
}

/* Homepage contact footer — mirrors the contact page's editorial footer grid,
   including its intentional two-column mobile composition. */
.contact footer.about-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr auto;
  gap: clamp(26px, 4vw, 70px);
  align-items: end;
  padding-block: clamp(42px, 5vw, 76px);
  border-top: 1px solid #333;
  font-size: 12px;
}
.contact footer.about-footer > * {
  grid-column: auto;
  grid-row: auto;
  justify-self: auto;
}
.contact footer.about-footer nav,
.contact footer.about-footer .about-footer-socials {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact footer.about-footer a {
  transition: color 0.25s;
}
.contact footer.about-footer a:hover {
  color: var(--orange);
}
.contact footer.about-footer small {
  color: #777;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .contact footer.about-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 7vw, 34px);
  }
  .contact footer.about-footer > .footer-logo {
    grid-column: 1 / -1;
    margin-bottom: 32px;
  }
  .contact footer.about-footer > .about-footer-socials {
    align-items: flex-end;
    text-align: right;
  }
  .contact footer.about-footer > small {
    grid-column: 1 / -1;
    justify-self: auto;
    margin-top: 28px;
  }
}
