/* ============================================================
   MTIs' Corner — institutional MOU page
   Legacy form hooks (#partner-mou-form, .form-input, .form-select,
   .form-consent, .form-feedback, .form-submit, #stateId,
   #partner-form-feedback, #partner-form-submit) are PRESERVED
   and only restyled.
   ============================================================ */

/* — institutional badge — */
.mt-only {
  display: inline-block;
  margin-bottom: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  font: 700 11px/1 var(--hb-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fcf7ea;
  background: linear-gradient(180deg, #8c3b32, var(--hb-burg) 58%, #5a1f1a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -2px 0 rgba(0, 0, 0, 0.28),
    0 10px 18px -9px rgba(90, 31, 26, 0.6);
}

/* — aspirant secondary CTA — */
.mt-aspline {
  margin: 16px 0 0;
  text-align: center;
}
.hb-btn.mt-aspirant {
  color: var(--hb-burg);
  background: linear-gradient(180deg, #fffdf6, #f4e9d2);
  border: 1.5px solid var(--hb-border);
  box-shadow:
    0 10px 18px -12px rgba(29, 22, 28, 0.4),
    inset 0 1px 0 #fff;
}
.hb-btn.mt-aspirant:hover {
  color: var(--hb-burg);
  border-color: #b08542;
  transform: translateY(-1px);
}
.mt-aspline--dark .hb-btn.mt-aspirant {
  color: #f3d58c;
  background: rgba(252, 247, 234, 0.08);
  border-color: rgba(226, 177, 93, 0.45);
}
.mt-aspline--dark .hb-btn.mt-aspirant:hover {
  color: #f3d58c;
}

/* — hero stat plates — */
.mt-stats {
  list-style: none;
  margin: 34px auto 0;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.mt-stats li {
  padding: 22px 16px 18px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid var(--hb-border);
  box-shadow:
    0 18px 36px -24px rgba(29, 22, 28, 0.32),
    inset 0 1px 0 #fff;
}
.mt-stats b {
  display: block;
  font: 800 clamp(24px, 2.9vw, 33px)/1 var(--hb-display);
  margin-bottom: 8px;
}
.mt-stats span {
  display: block;
  font: 700 12px/1.35 var(--hb-display);
  margin-bottom: 6px;
}
.mt-stats i {
  display: block;
  font: 500 11.6px/1.5 var(--hb-text);
  font-style: normal;
}
.mt-stats li:nth-child(1) {
  background: linear-gradient(180deg, #fffdf6, #f6eedb);
}
.mt-stats li:nth-child(1) b {
  color: var(--hb-burg);
}
.mt-stats li:nth-child(1) span {
  color: var(--hb-ink);
}
.mt-stats li:nth-child(1) i {
  color: var(--hb-muted);
}
.mt-stats li:nth-child(2) {
  background: linear-gradient(180deg, #8c3b32, #7b2d26 58%, #5a1f1a);
  border-color: rgba(226, 177, 93, 0.55);
}
.mt-stats li:nth-child(2) b {
  color: #f3d58c;
}
.mt-stats li:nth-child(2) span {
  color: #fcf7ea;
}
.mt-stats li:nth-child(2) i {
  color: rgba(252, 247, 234, 0.8);
}
.mt-stats li:nth-child(3) {
  background: linear-gradient(180deg, #fbf2da, #f1dfaf);
}
.mt-stats li:nth-child(3) b {
  color: #6e5327;
}
.mt-stats li:nth-child(3) span {
  color: #4a3714;
}
.mt-stats li:nth-child(3) i {
  color: #6e5327;
}
.mt-stats li:nth-child(4) {
  background: linear-gradient(180deg, #35815b, #2c6a47 58%, #224f38);
  border-color: rgba(226, 177, 93, 0.45);
}
.mt-stats li:nth-child(4) b {
  color: #f3d58c;
}
.mt-stats li:nth-child(4) span {
  color: #fff;
}
.mt-stats li:nth-child(4) i {
  color: rgba(255, 255, 255, 0.85);
}

/* — gain / protection cards — */
.mt-gains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}
.mt-gain {
  padding: 24px 20px 20px;
  border-radius: 18px;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f6eedb);
  box-shadow:
    0 18px 36px -24px rgba(29, 22, 28, 0.3),
    inset 0 1px 0 #fff;
}
.mt-gain .ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  margin-bottom: 12px;
  background: radial-gradient(
    circle at 35% 30%,
    #f3d58c,
    var(--hb-gold) 55%,
    #b08542
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 2px rgba(0, 0, 0, 0.2);
}
.mt-gain .ic img {
  width: 23px;
  height: 23px;
}
.mt-gain h3 {
  margin: 0 0 10px;
  font: 700 15.5px/1.32 var(--hb-display);
  color: var(--hb-ink);
}
.mt-gains--dark .mt-gain {
  border-color: rgba(226, 177, 93, 0.3);
  background: linear-gradient(
    180deg,
    rgba(252, 247, 234, 0.07),
    rgba(252, 247, 234, 0.03)
  );
}
.mt-gains--dark .mt-gain h3 {
  color: #f3d58c;
}
.mt-gains--dark .mt-gain .ab-checks li {
  color: rgba(252, 247, 234, 0.86);
}

/* — pipeline rail — */
.mt-pipe {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  position: relative;
}
.mt-pipe::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    #ecce77 0%,
    #b08542 28%,
    #6e5327 52%,
    #7b2d26 76%,
    #2c6a47 100%
  );
}
.mt-pipe > li {
  position: relative;
  padding: 0 0 26px 82px;
}
.mt-pipe > li:last-child {
  padding-bottom: 0;
}
.mt-pipe .n {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 16px/1 var(--hb-display);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.45),
    inset 0 -2px 3px rgba(0, 0, 0, 0.35),
    0 9px 16px -8px rgba(29, 22, 28, 0.5);
}
.mt-pipe > li:nth-child(-n + 3) .n {
  color: #4a3714;
  background: radial-gradient(circle at 35% 30%, #f3da9a, #ecce77 55%, #c9a44e);
}
.mt-pipe > li:nth-child(n + 4):nth-child(-n + 6) .n {
  color: #fcf7ea;
  background: radial-gradient(circle at 35% 30%, #8a6a38, #6e5327 55%, #4a3714);
}
.mt-pipe > li:nth-child(n + 7):nth-child(-n + 8) .n {
  color: #fcf7ea;
  background: radial-gradient(circle at 35% 30%, #8c3b32, #7b2d26 55%, #5a1f1a);
}
.mt-pipe > li:nth-child(n + 9) .n {
  color: #fcf7ea;
  background: radial-gradient(circle at 35% 30%, #35815b, #2c6a47 55%, #1e4732);
}
.mt-pipe h3 {
  margin: 4px 0 8px;
  font: 700 17px/1.3 var(--hb-display);
  color: var(--hb-ink);
}
.mt-pipe p {
  margin: 0;
  font: 500 14.3px/1.7 var(--hb-text);
  color: var(--hb-body);
  max-width: 64ch;
}

/* — 7-day strip — */
.mt-days {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.mt-days li {
  padding: 18px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f7efdc);
  box-shadow:
    0 14px 28px -20px rgba(29, 22, 28, 0.3),
    inset 0 1px 0 #fff;
}
.mt-days .d {
  display: block;
  margin-bottom: 10px;
  padding: 6px 0;
  border-radius: 999px;
  font: 800 12px/1 var(--hb-display);
  color: #3f2f10;
  background: linear-gradient(180deg, #f0ce83, var(--hb-gold) 58%, #c89440);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
}
.mt-days li:nth-child(7) .d {
  color: #fcf7ea;
  background: linear-gradient(180deg, #35815b, #2c6a47 58%, #224f38);
}
.mt-days p {
  margin: 0;
  font: 600 12.4px/1.5 var(--hb-text);
  color: var(--hb-body);
}

/* — comparison ledger — */
.mt-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 1000px;
  margin: 0 auto;
}
.mt-cmp {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1.5px solid #d9a64c;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 52px -30px rgba(29, 22, 28, 0.36);
}
.mt-cmp th {
  padding: 16px 18px;
  font: 700 15px/1.2 var(--hb-display);
}
.mt-cmp th:first-child {
  background: linear-gradient(180deg, #8c3b32, var(--hb-burg) 58%, #5a1f1a);
  color: #fcf7ea;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.mt-cmp th:last-child {
  background: linear-gradient(180deg, #35815b, var(--hb-green) 58%, #224f38);
  color: #fff;
}
.mt-cmp td {
  padding: 13px 18px 13px 40px;
  font: 500 14px/1.55 var(--hb-text);
  position: relative;
  border-top: 1px solid var(--hb-border);
  vertical-align: top;
}
.mt-cmp td:first-child {
  color: #5a2620;
  background: #fbf1ec;
  border-right: 1px solid var(--hb-border);
}
.mt-cmp td:last-child {
  color: #254d38;
  background: #f3f6ee;
  font-weight: 600;
}
.mt-cmp tr:nth-child(even) td:first-child {
  background: #f7e7df;
}
.mt-cmp tr:nth-child(even) td:last-child {
  background: #eaf0e4;
}
.mt-cmp td::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.05em;
  width: 12px;
  height: 12px;
}
.mt-cmp td:first-child::before {
  background:
    linear-gradient(
      45deg,
      transparent 42%,
      var(--hb-burg) 42%,
      var(--hb-burg) 58%,
      transparent 58%
    ),
    linear-gradient(
      -45deg,
      transparent 42%,
      var(--hb-burg) 42%,
      var(--hb-burg) 58%,
      transparent 58%
    );
}
.mt-cmp td:last-child::before {
  width: 12px;
  height: 7px;
  border-left: 2.4px solid var(--hb-green);
  border-bottom: 2.4px solid var(--hb-green);
  transform: rotate(-45deg);
  top: 1.15em;
}

/* — role cards — */
.mt-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}
.mt-role {
  padding: 24px 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f6eedb);
  box-shadow:
    0 18px 36px -24px rgba(29, 22, 28, 0.3),
    inset 0 1px 0 #fff;
}
.mt-role h3 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hb-border);
  font: 800 16px/1.3 var(--hb-display);
  color: var(--hb-burg);
}

/* — checklist — */
.mt-check {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.mt-check li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 14px;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f7efdc);
  font: 600 13.8px/1.5 var(--hb-text);
  color: var(--hb-body);
}
.mt-check li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 13px;
  height: 7px;
  border-left: 2.6px solid var(--hb-green);
  border-bottom: 2.6px solid var(--hb-green);
  transform: translateY(-70%) rotate(-45deg);
}

/* — FAQ — */
.mt-faqs {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.mt-faq {
  border-radius: 16px;
  border: 1px solid var(--hb-border);
  overflow: hidden;
  background: linear-gradient(180deg, #fffdf6, #f8f1e0);
  box-shadow:
    0 14px 28px -20px rgba(29, 22, 28, 0.28),
    inset 0 1px 0 #fff;
}
.mt-faq[open] {
  border-color: #b08542;
}
.mt-faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  font: 700 15.5px/1.45 var(--hb-display);
  color: var(--hb-ink);
}
.mt-faq summary::-webkit-details-marker {
  display: none;
}
.mt-faq summary:hover {
  background: rgba(226, 177, 93, 0.08);
}
.mt-faq summary:focus-visible {
  outline: 3px solid rgba(226, 177, 93, 0.75);
  outline-offset: -3px;
}
.mt-faq .q {
  flex: 1;
}
.mt-faq .ic {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(
    circle at 35% 30%,
    #f3d58c,
    var(--hb-gold) 55%,
    #b08542
  );
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.5),
    inset 0 -1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.mt-faq .ic::before,
.mt-faq .ic::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #5a1f1a;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.mt-faq .ic::before {
  width: 12px;
  height: 2.4px;
}
.mt-faq .ic::after {
  width: 2.4px;
  height: 12px;
  transition: opacity 0.2s ease;
}
.mt-faq[open] .ic {
  transform: rotate(180deg);
  background: radial-gradient(
    circle at 35% 30%,
    #8c3b32,
    var(--hb-burg) 55%,
    #5a1f1a
  );
}
.mt-faq[open] .ic::before {
  background: #f3d58c;
}
.mt-faq[open] .ic::after {
  opacity: 0;
}
.mt-faq-a {
  padding: 0 20px 20px;
  border-top: 1px solid rgba(236, 208, 147, 0.7);
}
.mt-faq-a p {
  margin: 14px 0 0;
  font: 500 14.5px/1.75 var(--hb-text);
  color: var(--hb-body);
  max-width: 70ch;
}

/* — for / not for — */
.mt-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.mt-fit > div {
  padding: 26px 24px 22px;
  border-radius: 20px;
  box-shadow:
    0 22px 44px -28px rgba(29, 22, 28, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.mt-fit h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 14px;
  font: 800 18px/1.3 var(--hb-display);
}
.mt-fit .fi {
  width: 24px;
  height: 24px;
  flex: none;
}
.mt-fit ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.mt-fit li {
  position: relative;
  padding-left: 30px;
  font: 600 14px/1.55 var(--hb-text);
}
.mt-fit-yes {
  background: #f1f6ee;
  border: 1px solid rgba(44, 106, 71, 0.32);
}
.mt-fit-yes h3 {
  color: #1e4732;
}
.mt-fit-yes li {
  color: #254d38;
}
.mt-fit-yes li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 13px;
  height: 7px;
  border-left: 2.6px solid var(--hb-green);
  border-bottom: 2.6px solid var(--hb-green);
  transform: rotate(-45deg);
}
.mt-fit-no {
  background: #fbf1ec;
  border: 1px solid rgba(123, 45, 38, 0.3);
}
.mt-fit-no h3 {
  color: var(--hb-burg);
}
.mt-fit-no li {
  color: #5a2620;
}
.mt-fit-no li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(
      45deg,
      transparent 42%,
      var(--hb-burg) 42%,
      var(--hb-burg) 58%,
      transparent 58%
    ),
    linear-gradient(
      -45deg,
      transparent 42%,
      var(--hb-burg) 42%,
      var(--hb-burg) 58%,
      transparent 58%
    );
}

/* — MOU form (legacy hooks restyled) — */
.mt-formcard {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 34px 30px;
  border-radius: 22px;
  border: 1.5px solid #d9a64c;
  background: linear-gradient(180deg, #fffdf6, var(--hb-cream) 62%, #f6eedb);
  box-shadow:
    0 34px 64px -34px rgba(29, 22, 28, 0.42),
    inset 0 1px 0 #fff;
}
.mt-formcard .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.mt-formcard .form-group {
  display: block;
  margin-bottom: 16px;
}
.mt-formcard .form-row .form-group {
  margin-bottom: 0;
}
.mt-formcard .form-label {
  display: block;
  font: 700 10.5px/1 var(--hb-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-bronze);
  margin-bottom: 7px;
}
.mt-formcard .form-input,
.mt-formcard .form-select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--hb-border);
  background: #fffefa;
  font: 500 14.5px/1.3 var(--hb-text);
  color: var(--hb-ink);
  box-shadow: inset 0 2px 4px rgba(110, 83, 39, 0.08);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.mt-formcard .form-input::placeholder {
  color: #9a8a72;
  font-weight: 500;
}
.mt-formcard .form-input:focus,
.mt-formcard .form-select:focus {
  outline: none;
  border-color: var(--hb-bronze);
  box-shadow:
    inset 0 2px 4px rgba(110, 83, 39, 0.08),
    0 0 0 3px rgba(226, 177, 93, 0.35);
}
.mt-formcard .form-select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #6e5327 50%),
    linear-gradient(135deg, #6e5327 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 1px),
    calc(100% - 13px) calc(50% + 1px);
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.mt-formcard .form-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  cursor: pointer;
  margin: 6px 0 0;
}
.mt-formcard .form-consent input[type="checkbox"] {
  width: auto;
  min-width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--hb-burg);
  cursor: pointer;
}
.mt-formcard .form-consent-text {
  font: 500 11.8px/1.65 var(--hb-text);
  color: var(--hb-muted);
}
.mt-formcard .form-consent-text a {
  color: var(--hb-burg);
  font-weight: 700;
}
.mt-formcard .form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font: 600 13px/1.6 var(--hb-text);
}
.mt-formcard .form-feedback.is-visible {
  display: block;
}
.mt-formcard .form-feedback.is-error {
  background: #fbf1ec;
  border: 1px solid rgba(123, 45, 38, 0.32);
  color: #5a2620;
}
.mt-formcard .form-feedback.is-success {
  background: #f1f6ee;
  border: 1px solid rgba(44, 106, 71, 0.34);
  color: #1e4732;
}
.mt-formcard .form-submit {
  width: 100%;
  margin-top: 18px;
  padding: 17px 22px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: 700 15.5px/1 var(--hb-text);
  color: #fcf7ea;
  background: linear-gradient(180deg, #8c3b32, var(--hb-burg) 58%, #5a1f1a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -3px 0 rgba(0, 0, 0, 0.3),
    0 14px 24px -12px rgba(90, 31, 26, 0.7);
  transition: transform 0.15s ease;
}
.mt-formcard .form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
}
.mt-formcard .form-submit:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

/* — partnership desk — */
.mt-desk {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1120px;
  margin: 0 auto 24px;
}
.mt-desk a {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f6eedb);
  box-shadow:
    0 14px 28px -20px rgba(29, 22, 28, 0.3),
    inset 0 1px 0 #fff;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.mt-desk a:hover {
  transform: translateY(-2px);
  border-color: #b08542;
}
.mt-desk .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 35% 30%,
    #f3d58c,
    var(--hb-gold) 55%,
    #b08542
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 2px rgba(0, 0, 0, 0.2);
}
.mt-desk .ic img {
  width: 20px;
  height: 20px;
}
.mt-desk a.wa .ic {
  background: radial-gradient(circle at 35% 30%, #4ade80, #25d366 55%, #128c4a);
}
.mt-desk .k {
  display: block;
  font: 700 9.6px/1.3 var(--hb-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hb-bronze);
  margin-bottom: 5px;
}
.mt-desk .v {
  display: block;
  font: 700 13px/1.35 var(--hb-display);
  color: var(--hb-ink);
  word-break: break-word;
}

/* — offices — */
.mt-offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.mt-offices article {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--hb-border);
  background: linear-gradient(180deg, #fffdf6, #f6eedb);
  box-shadow:
    0 18px 36px -24px rgba(29, 22, 28, 0.3),
    inset 0 1px 0 #fff;
}
.mt-otype {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font: 700 9.6px/1 var(--hb-text);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fcf7ea;
  background: linear-gradient(180deg, #8c3b32, var(--hb-burg) 58%, #5a1f1a);
}
.mt-offices h3 {
  margin: 0 0 8px;
  font: 800 19px/1.25 var(--hb-display);
  color: var(--hb-ink);
}
.mt-offices address {
  font: 500 14px/1.7 var(--hb-text);
  font-style: normal;
  color: var(--hb-body);
  margin-bottom: 12px;
}
.mt-tel {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 10px 17px;
  border-radius: 999px;
  text-decoration: none;
  font: 700 12.8px/1 var(--hb-text);
  color: #3f2f10;
  background: linear-gradient(180deg, #f0ce83, var(--hb-gold) 58%, #c89440);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    0 8px 14px -8px rgba(143, 106, 46, 0.6);
}
.mt-tel img {
  width: 15px;
  height: 15px;
}
.mt-tel:hover {
  transform: translateY(-1px);
}

@media (max-width: 1120px) {
  .mt-gains {
    grid-template-columns: repeat(2, 1fr);
  }
  .mt-roles {
    grid-template-columns: repeat(2, 1fr);
  }
  .mt-days {
    grid-template-columns: repeat(4, 1fr);
  }
  .mt-desk {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .mt-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mt-gains,
  .mt-roles {
    grid-template-columns: 1fr;
  }
  .mt-days {
    grid-template-columns: repeat(2, 1fr);
  }
  .mt-check {
    grid-template-columns: 1fr;
  }
  .mt-fit {
    grid-template-columns: 1fr;
  }
  .mt-offices {
    grid-template-columns: 1fr;
  }
  .mt-desk {
    grid-template-columns: 1fr;
  }
  .mt-formcard {
    padding: 24px 20px 22px;
  }
  .mt-formcard .form-row {
    grid-template-columns: 1fr;
  }
  .mt-pipe::before {
    left: 20px;
  }
  .mt-pipe > li {
    padding-left: 66px;
  }
  .mt-pipe .n {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}

/* ============================================================
   Photographic hero + section media
   Dark ground so cream text sits at ~13:1 over the overlay.
   ============================================================ */
.mt-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 88px);
  background: #1d161c;
}
.mt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.mt-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
}
.mt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    105deg,
    rgba(29, 22, 28, 0.96) 0%,
    rgba(29, 22, 28, 0.86) 46%,
    rgba(74, 35, 30, 0.9) 100%
  );
}
.mt-hero-wedge {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 60% 100%);
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(226, 177, 93, 0.1) 100%
  );
}
.mt-hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
  text-align: left;
}
.mt-hero-left {
  text-align: left;
}
.mt-hero .ab-crest-img {
  margin: 0 0 14px;
}
.mt-hero .ab-crumb {
  justify-content: flex-start;
  color: rgba(252, 247, 234, 0.72);
}
.mt-hero .ab-crumb a {
  color: var(--hb-gold-dot);
}
.mt-hero .ab-h1 {
  color: #fcf7ea;
  text-align: left;
}
.mt-hero .ab-lede,
.mt-hero p {
  color: rgba(252, 247, 234, 0.86);
  text-align: left;
  margin-inline: 0;
}
.mt-hero .ab-narrow {
  margin-inline: 0;
}
.mt-hero strong {
  color: #f3d58c;
}
.mt-hero .ab-eyebrow--crest {
  background: rgba(252, 247, 234, 0.1);
  border-color: rgba(226, 177, 93, 0.45);
  color: #f3d58c;
}
.mt-hero .ab-quote {
  background: rgba(252, 247, 234, 0.06);
  border-color: rgba(226, 177, 93, 0.34);
}
.mt-hero .ab-quote p {
  color: #f3d58c;
  text-align: center;
}
.mt-hero .ab-cta-row {
  justify-content: flex-start;
}
.mt-hero .mt-aspline {
  text-align: left;
}

/* glass stat card */
.mt-glass {
  padding: 30px 28px 24px;
  border-radius: 20px;
  background: rgba(252, 247, 234, 0.06);
  border: 1px solid rgba(226, 177, 93, 0.3);
  border-top: 3px solid var(--hb-gold);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.mt-glass-t {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 177, 93, 0.28);
  font: 800 15px/1.3 var(--hb-display);
  letter-spacing: 0.04em;
  color: #f3d58c;
  text-align: left;
}
.mt-glass .mt-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  max-width: none;
}
.mt-glass .mt-stats li {
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: left;
  box-shadow: none;
  background: none !important;
  border-bottom: 1px solid rgba(226, 177, 93, 0.16);
  padding-bottom: 14px;
}
.mt-glass .mt-stats li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.mt-glass .mt-stats b {
  font-size: clamp(30px, 3.4vw, 40px);
  color: #f3d58c !important;
  margin-bottom: 5px;
}
.mt-glass .mt-stats span {
  color: #fcf7ea !important;
  font-size: 13px;
}
.mt-glass .mt-stats i {
  color: rgba(252, 247, 234, 0.74) !important;
}

/* — media band — */
.mt-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(58px, 7vw, 92px) 0;
  background: #1d161c;
  text-align: center;
}
.mt-band-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.mt-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  display: block;
}
.mt-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(29, 22, 28, 0.9),
    rgba(74, 35, 30, 0.88)
  );
}
.mt-band-q {
  max-width: 62ch;
  margin: 0 auto 14px;
  font: italic 700 clamp(19px, 2.4vw, 27px)/1.6 var(--hb-display);
  color: #f3d58c;
}
.mt-band-s {
  max-width: 60ch;
  margin: 0 auto;
  font: 500 15px/1.8 var(--hb-text);
  color: rgba(252, 247, 234, 0.84);
}

/* — framed figure — */
.mt-figure {
  max-width: 860px;
  margin: 32px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid #d9a64c;
  background: #f0e6ce;
  box-shadow:
    0 34px 64px -34px rgba(29, 22, 28, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.mt-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 50% 28%;
}
.mt-figure figcaption {
  padding: 14px 20px;
  text-align: center;
  font: 600 13px/1.6 var(--hb-text);
  color: var(--hb-muted);
  background: linear-gradient(180deg, #fbf3e0, #f4e9d2);
  border-top: 1px solid var(--hb-border);
}

@media (max-width: 980px) {
  .mt-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mt-hero-wedge {
    display: none;
  }
  .mt-hero .ab-cta-row {
    justify-content: center;
  }
  .mt-hero-left,
  .mt-hero .ab-h1,
  .mt-hero .ab-lede,
  .mt-hero p {
    text-align: center;
  }
  .mt-hero .ab-crumb {
    justify-content: center;
  }
  .mt-hero .ab-crest-img {
    margin-inline: auto;
  }
  .mt-hero .mt-aspline {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mt-glass {
    backdrop-filter: none;
  }
}
