/* =====================================================================
   contact-new.css — additive styles for the redesigned contact page.
   The page runs on style_expertise_sub.css (the proven bundle from the
   expertise pages); this file only adds the contact-specific pieces:
   the form components and the dark Global Offices band.
   No :has(), no will-change, transitions on interactive states only.
   ===================================================================== */

/* ---------- hero: title left, globe right ---------- */
.cf2-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 40px 90px;
  align-items: stretch;
}
.cf2-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(460px, 64vh, 740px);
}
/* landing-style hero: two-line masked statement title */
.cf2-hero .hero-2-content .title {
  font-size: clamp(44px, 5.8vw, 95px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cf2-hero .hero-2-content .title .cf2-line {
  display: block;
  overflow: hidden;
}
.cf2-hero .hero-2-content .title .cf2-line > span {
  display: inline-block;
  transform: translateY(110%);
}
.cf2-hero .sub-title.cf2-kicker {
  font-family: var(--font_light);
  font-size: 18px;
  letter-spacing: normal;
  color: #9c9c99;
}
.cf2-hero-sub {
  font-family: var(--font_light);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.6;
  color: var(--secondary);
  max-width: 30em;
  margin-top: clamp(24px, 4vh, 44px);
}
.cf2-hero-mail {
  display: inline-block;
  align-self: flex-start;
  margin-top: clamp(20px, 3.4vh, 36px);
  padding-bottom: 6px;
  font-family: var(--font_regular);
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--primary);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.cf2-hero-mail:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}
/* entrance: hidden until the timeline reveals (or fallback shows all) */
.cf2-fx,
.cf2-hero .cf2-globe {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .cf2-fx,
  .cf2-hero .cf2-globe {
    opacity: 1;
  }
  .cf2-hero .hero-2-content .title .cf2-line > span {
    transform: none;
  }
}
@media only screen and (max-width: 991px) {
  /* stacked layout: no globe beside the title, so let it wrap naturally */
  .cf2-hero .hero-2-content .title {
    white-space: normal;
  }
}

/* The bundle puts the hero's top offset (340px ladder) INSIDE
   .hero-2__inner - left column only - which made the globe start
   340px higher than "Get in Touch". Move that offset to the grid
   so both columns begin on the same line. */
.cf2-hero .cf2-hero__grid {
  padding-top: 340px;
}
@media only screen and (max-width: 1919px) {
  .cf2-hero .cf2-hero__grid { padding-top: 300px; }
}
@media only screen and (max-width: 1399px) {
  .cf2-hero .cf2-hero__grid { padding-top: 240px; }
}
@media only screen and (max-width: 1199px) {
  .cf2-hero .cf2-hero__grid { padding-top: 200px; }
}
@media only screen and (max-width: 991px) {
  .cf2-hero .cf2-hero__grid { padding-top: 160px; }
}
@media only screen and (max-width: 767px) {
  .cf2-hero .cf2-hero__grid { padding-top: 140px; }
}
@media (max-width: 575px) {
  .cf2-hero .cf2-hero__grid { padding-top: 100px; }
}
.cf2-hero .hero-2__inner {
  padding-top: 0;
  /* the bundle sets overflow:hidden here (for title reveal effects),
     which clipped the no-wrap statement line at the column edge -
     the mockup has the line extending toward the globe */
  overflow: visible;
}

/* globe: fills the right column, floating on the page white */
.cf2-globe {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: transparent;
  overflow: hidden;
}
.cf2-globe canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.cf2-globe__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cf2-globe--live .cf2-globe__fallback {
  display: none;
}
@media only screen and (min-width: 992px) {
  /* the sphere overhangs the text column slightly (per mockup):
     the canvas extends 45px above and below the column so the
     larger globe renders fully without clipping.
     TUNE HERE: 45px pair + calc = overhang amount. */
  .cf2-globe {
    margin-top: -90px;
    margin-bottom: -0px;
    height: calc(100% + 90px);
  }
}

/* caption: lives in the left column now (static flow).
   The left column is flex space-between, so the caption sits pinned
   to the column's bottom edge - margin-bottom lifts it upward.
   TUNE HERE: bigger value = caption sits higher. */
.cf2-globe__caption {
  margin-top: 40px;
}
@media only screen and (min-width: 992px) {
  .cf2-globe__caption {
    margin-bottom: 0;
  }
}
.cf2-globe__caption-label {
  display: block;
  font-family: var(--font_regular);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 8px;
}
.cf2-globe__caption-text {
  display: block;
  font-family: var(--font_light);
  font-size: clamp(17px, 1.6vw, 24px);
  color: #000000;
}

/* hover label chip for office markers */
.cf2-globe__label {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -150%);
  background: #000000;
  color: #ffffff;
  border: 0px solid rgba(17, 17, 17, 0.12);
  font-family: var(--font_medium);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.cf2-globe__label.is-visible {
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .cf2-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cf2-hero__left {
    min-height: 0;
  }
  .cf2-globe__caption {
    margin-top: 26px;
  }
  .cf2-globe {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    max-height: 480px;
    margin: 0 auto;
    max-width: 480px;
  }
}
@media only screen and (max-width: 767px) {
  .cf2-globe {
    max-height: 380px;
    max-width: 380px;
  }
}

/* ---------- intro + form section ---------- */
.cf2-main {
  padding-top: 20px;
}
/* mockup: tighter gap between the hero caption and the statement */
.cf2-main.section-spacing-130 {
  padding-top: 88px;
}
.cf2-main__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 60px 120px;
  align-items: start;
  margin-top: 80px;
}
.cf2-lead {
  font-family: var(--font_light);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.55;
  color: var(--primary);
  max-width: 22em;
  margin: 0;
}
.cf2-connect {
  margin-top: 52px;
}
.cf2-connect__label {
  display: block;
  font-family: var(--font_medium);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.cf2-connect__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cf2-connect__list li {
  margin-bottom: 6px;
}
.cf2-connect__list a {
  font-family: var(--font_light);
  font-size: 17px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
.cf2-connect__list a:hover {
  color: var(--primary);
}

/* ---------- form fields (floating labels) ---------- */
.cf2-field {
  position: relative;
  margin-bottom: 44px;
}
.cf2-field__input {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
  font-family: var(--font_light);
  font-size: 19px;
  line-height: 1.4;
  color: var(--primary);
  outline: none;
  transition: border-color 0.2s ease;
  appearance: none;
  resize: none;
}
.cf2-field__input:focus {
  border-bottom-color: var(--primary);
}
.cf2-field__label {
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--font_light);
  font-size: 19px;
  color: var(--secondary);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.2s ease, color 0.2s ease;
}
.cf2-field__input:focus ~ .cf2-field__label,
.cf2-field__input:not(:placeholder-shown) ~ .cf2-field__label {
  transform: translateY(-24px) scale(0.74);
}
.cf2-field__input:focus ~ .cf2-field__label {
  color: var(--primary);
}
.cf2-field.has-error .cf2-field__input {
  border-bottom-color: #e61e28;
}
.cf2-field.has-error .cf2-field__label {
  color: #e61e28;
}

/* ---------- custom select ---------- */
.cf2-field--select {
  z-index: 5;
}
.cf2-field--select.menu-open {
  z-index: 60;
}
.cf2-select {
  position: relative;
}
.cf2-select__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.25);
  background: transparent;
  padding: 10px 0 12px;
  font-family: var(--font_light);
  font-size: 19px;
  color: var(--secondary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.cf2-select__trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.cf2-select.has-value .cf2-select__trigger {
  color: var(--primary);
}
.cf2-select.is-open .cf2-select__trigger {
  border-bottom-color: var(--primary);
}
.cf2-select__icon {
  font-size: 13px;
  transition: transform 0.25s ease;
}
.cf2-select.is-open .cf2-select__icon {
  transform: rotate(180deg);
}
.cf2-select__menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  z-index: 70;
}
.cf2-select__menu[hidden] {
  display: none;
}
.cf2-select__option {
  padding: 11px 18px;
  font-family: var(--font_light);
  font-size: 17px;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.cf2-select__option:hover,
.cf2-select__option.is-active {
  color: var(--primary);
  background: rgba(17, 17, 17, 0.05);
}

/* ---------- honeypot ---------- */
.cf2-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- submit ---------- */
.cf2-form__bottom {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 8px;
}
.cf2-submit {
  appearance: none;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font_regular);
  font-size: 16px;
  letter-spacing: 0.02em;
  padding: 16px 46px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.cf2-submit:hover {
  background: transparent;
  color: var(--primary);
}
.cf2-submit[disabled] {
  opacity: 0.55;
  cursor: default;
}
.cf2-feedback {
  font-family: var(--font_light);
  font-size: 16px;
  margin: 0;
  color: var(--primary);
}
.cf2-feedback.is-error {
  color: #e61e28;
}

/* ---------- Global Offices: dark band ---------- */
.cf2-offices {
  background: #000;
}
.cf2-offices__head {
  margin-bottom: 26px;
}
.cf2-offices__title {
  font-family: var(--font_regular);
  font-size: clamp(30px, 3.4vw, 48px);
  color: #ffffff;
  margin: 0;
}
.cf2-region {
  border-top: 0px solid rgba(255, 255, 255, 0.16);
  padding: 52px 0 60px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 40px 60px;
}
.cf2-region:last-child {
  padding-bottom: 10px;
}
.cf2-region__name {
  font-family: var(--font_regular);
  font-size: 15px;
  color: #e61e28;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cf2-region__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 60px;
}
.cf2-office__city {
  font-family: var(--font_regular);
  font-size: 23px;
  color: #ffffff;
  margin: 0 0 16px;
}
.cf2-office__addr {
  font-family: var(--font_light);
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 14px;
}
.cf2-office__tel {
  display: block;
  font-family: var(--font_light);
  font-size: 15.5px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
}
.cf2-office__tel:hover {
  color: rgba(255, 255, 255, 0.7);
}
.cf2-office__mail {
  display: inline-block;
  font-family: var(--font_light);
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 0px solid rgba(255, 255, 255, 0.85);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cf2-office__mail:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.45);
}

/* ---------- responsive ---------- */
@media (max-width: 1399px) {
  .cf2-main__inner {
    gap: 56px 90px;
  }
}
@media (max-width: 1199px) {
  .cf2-main__inner {
    gap: 52px 64px;
  }
  .cf2-region__grid {
    gap: 44px 44px;
  }
}
@media (max-width: 991px) {
  .cf2-main__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    margin-top: 44px;
  }
  .cf2-lead {
    max-width: 32em;
  }
  .cf2-connect {
    margin-top: 34px;
  }
  .cf2-region {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0 50px;
  }
  .cf2-region__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .cf2-field {
    margin-bottom: 38px;
  }
  .cf2-region__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cf2-form__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cf2-submit {
    width: 100%;
  }
}


/* ---------- Careers CTA (about-3, extracted from style_home.css) ----------
   The section markup comes from the home page; these are its styles so
   it renders identically here. Reveal is driven by the shared fade-anim
   engine in common.js instead of the home page's dwn-reveal system. */
.rr-pos-rel {
  position: relative;
}
.rr-underline {
  gap: 10px;
  font-size: 14px;
  font-weight: normal;
  line-height: 14px;
  position: relative;
  align-items: center;
  padding-bottom: 8px;
  display: inline-flex;
  color: var(--primary);
}
.rr-underline i {
  rotate: -45deg;
  transition: all 0.3s;
}
.rr-underline::before {
  left: 0;
  bottom: 0;
  width: 100%;
  content: "";
  height: 2px;
  position: absolute;
  transition: all 0.3s;
  background: var(--primary);
}
.rr-underline:hover i {
  rotate: 0deg;
  transition: all 0.3s;
}
.rr-underline:hover::before {
  width: 0;
}
.about-3 {
  background: #fff;
  padding: 118px 0 116px;
}
.about-3__inner .about-3__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 58.5%) minmax(0, 41.5%);
  column-gap: 82px;
  align-items: start;
}
.about-3__inner .about-3__media, .about-3__inner .about-3__content, .about-3__inner .about-3__content-bottom, .about-3__inner .about-3__content-bottom .text {
  min-width: 0;
}
.about-3__inner .about-3__media .thumb {
  padding: 0;
}
.about-3__inner .about-3__media .thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.about-3__inner .about-3__content {
  padding-top: 6px;
  padding-right: 0;
  border-right: 0;
}
.about-3__inner .about-3__content .sub-title {
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  display: block;
  color: var(--primary);
  font-family: var(--font_medium);
  margin-bottom: 34px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.about-3__inner .about-3__content > .title {
  font-size: 57px;
  font-weight: normal;
  max-width: 560px;
  line-height: 0.98;
  margin-bottom: 56px;
  letter-spacing: -1.8px;
  color: var(--primary);
  font-family: var(--font_regular);
}
.about-3__inner .about-3__content .rr-underline {
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 108px;
}
.about-3__inner .about-3__content .rr-underline span {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.1;
  display: inline-block;
  color: var(--primary);
  font-family: var(--font_medium);
  letter-spacing: 0;
}
.about-3__inner .about-3__content .rr-underline::before {
  height: 1px;
}
.about-3__inner .about-3__content-bottom {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  column-gap: 88px;
  align-items: start;
  margin-top: 0;
  justify-content: start;
}
.about-3__inner .about-3__content-bottom .year span {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.2;
  color: var(--primary);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font_regular);
  letter-spacing: 0;
}
.about-3__inner .about-3__content-bottom .year .title {
  font-size: 90px;
  font-weight: normal;
  line-height: 0.9;
  letter-spacing: -4px;
  font-family: var(--font_regular);
  color: var(--primary);
  margin: 0;
}
.about-3__inner .about-3__content-bottom .text {
  padding-top: 6px;
}
.about-3__inner .about-3__content-bottom .text .desc {
  color: #000;
  font-size: 18px;
  max-width: 345px;
  font-weight: normal;
  line-height: 1.42;
  font-family: var(--font_light);
  letter-spacing: 0;
}
@media only screen and (max-width: 1599px) {
.about-3__inner .about-3__wrapper {
    column-gap: 64px;
  }
.about-3__inner .about-3__content > .title {
    font-size: 52px;
    max-width: 510px;
  }
.about-3__inner .about-3__content-bottom {
    column-gap: 60px;
  }
.about-3__inner .about-3__content-bottom .year .title {
    font-size: 90px;
  }
}
@media only screen and (max-width: 1199px) {
.about-3 {
    padding: 90px 0;
  }
.about-3__inner .about-3__wrapper {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }
.about-3__inner .about-3__media .thumb img {
    height: 430px;
  }
.about-3__inner .about-3__content > .title {
    max-width: 100%;
    font-size: 44px;
    margin-bottom: 36px;
  }
.about-3__inner .about-3__content .rr-underline {
    margin-bottom: 56px;
  }
.about-3__inner .about-3__content-bottom {
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 36px;
  }
.about-3__inner .about-3__content-bottom .text .desc {
    max-width: 100%;
  }
}
@media only screen and (max-width: 767px) {
.about-3 {
    padding: 64px 0;
  }
.about-3__inner .about-3__media .thumb img {
    height: 300px;
  }
.about-3__inner .about-3__content .sub-title {
    margin-bottom: 18px;
  }
.about-3__inner .about-3__content > .title {
    font-size: 32px;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 24px;
  }
.about-3__inner .about-3__content .rr-underline {
    margin-bottom: 34px;
  }
.about-3__inner .about-3__content-bottom {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
.about-3__inner .about-3__content-bottom .year .title {
    font-size: 64px;
    letter-spacing: -2px;
  }
.about-3__inner .about-3__content-bottom .text .desc {
    font-size: 16px;
    max-width: 100%;
  }
}
