/* Contact group: contact, book-a-call, thank-you, legal pages, 404 and 401. */

/* ---------- Photographic band (contact, thank-you, book-a-call, 404, 401) ---------- */
.tp-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 72px 88px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(23, 72, 199, .5), transparent 60%),
    var(--tm-ink);
}
.tp-contact-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  animation: tp-contact-settle 2.4s cubic-bezier(.16, 1, .3, 1) both;
}
.tp-contact::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 18, 24, .86) 0, rgba(16, 18, 24, .62) 48%, rgba(16, 18, 24, .35) 100%),
    linear-gradient(0deg, rgba(16, 18, 24, .7) 0, rgba(16, 18, 24, 0) 45%);
}
.tp-contact .tm-eyebrow {
  color: #fff;
}
.tp-contact .tm-eyebrow:before {
  background: #8fa9ff;
}
.tp-contact-title {
  margin: 0;
  color: #fff;
  font: 500 clamp(2.5rem, 1.6rem + 3vw, 4.4rem)/1 Gellix, Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: none;
  text-wrap: balance;
}
.tp-contact .tp-contact-lead {
  max-width: 34rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  text-align: left;
  font-size: 1.06rem;
  line-height: 1.6;
}
.tp-contact a {
  color: #fff;
}
.tp-contact a:focus-visible,
.tp-contact-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Contact layout: intro and details on the left, the form card on the right. */
.tp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
  grid-template-areas: "intro form" "aside form";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 88px);
  row-gap: 40px;
  align-items: start;
}
.tp-contact-intro { grid-area: intro; padding-top: 24px; }
.tp-contact-form { grid-area: form; min-width: 0; }
.tp-contact-aside { grid-area: aside; }
.tp-contact-intro,
.tp-contact-aside {
  animation: tp-contact-rise 1s .15s cubic-bezier(.16, 1, .3, 1) both;
}

.tp-contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 34rem;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.tp-contact-facts dt {
  color: #afc3ff;
  font: 500 .66rem/1.6 var(--tm-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tp-contact-facts dd {
  margin: 6px 0 0;
  font: 500 1.15rem/1.3 Gellix, Arial, sans-serif;
}
.tp-contact-note {
  max-width: 34rem;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
  line-height: 1.6;
}
.tp-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 14px;
}
.tp-contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .92rem;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .4);
  text-underline-offset: 5px;
}
.tp-contact-links a:hover {
  text-decoration-color: #fff;
}
.tp-contact-creds {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .7);
  font: .68rem/1.8 var(--tm-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* The multi-step form card. Only colour, type and surface change here:
   the slider mechanics stay with Webflow and site-ui.js. */
.tp-contact-form .slider-appraisal-form-block {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: var(--tm-ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.tp-contact-form .slider {
  border-radius: 14px;
}
.tp-contact-form .progress-wrapper {
  gap: 6px;
  margin-bottom: 28px;
}
.tp-contact-form .progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--tm-blue);
}
.tp-contact-form .progress-bar.inactive {
  background: var(--tm-line);
}
.tp-contact-form .heading-style-h3.is-form,
.tp-contact-form .heading-2._32px {
  color: var(--tm-ink);
  font: 500 clamp(1.45rem, 1.2rem + .8vw, 1.85rem)/1.15 Gellix, Arial, sans-serif;
  letter-spacing: -.02em;
}
.tp-contact-form .form_p {
  color: var(--tm-text);
  font-size: .95rem;
  line-height: 1.55;
}
.tp-contact-form .field-label {
  color: var(--tm-ink);
  font-size: .86rem;
}
.tp-contact-form .w-input,
.tp-contact-form .w-select {
  border: 1px solid var(--tm-line);
  border-radius: 6px;
  background: #fff;
  color: var(--tm-ink);
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.tp-contact-form .w-input:hover,
.tp-contact-form .w-select:hover {
  border-color: #b7c0d3;
}
.tp-contact-form .w-input:focus,
.tp-contact-form .w-select:focus {
  border-color: var(--tm-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 72, 199, .18);
}
.tp-contact-form .w-checkbox-input--inputType-custom.w--redirected-checked,
.tp-contact-form .w-checkbox-input.w--redirected-checked {
  border-color: var(--tm-blue);
  background-color: var(--tm-blue);
}
.tp-contact-form .right-arrow-2,
.tp-contact-form .appraisal-submit {
  border-radius: 6px;
  background: var(--tm-blue);
  color: #fff;
  font-family: Gellix, Arial, sans-serif;
  transition: background .2s;
}
.tp-contact-form .right-arrow-2:hover,
.tp-contact-form .appraisal-submit:hover {
  background: #123aa6;
}
.tp-contact-form .right-arrow-2 .paragraph-2 {
  color: #fff;
}
.tp-contact-form .form-privacy-notice {
  color: var(--tm-text);
  font-size: .82rem;
  line-height: 1.55;
}
.tp-contact-form .form-privacy-notice a {
  color: var(--tm-blue);
}

/* ---------- Light sections ---------- */
.tp-contact-section {
  padding-block: 100px;
  background: #fff;
}
.tp-contact-section.is-soft {
  background: var(--tm-soft);
}
.tp-contact-h2 {
  max-width: 22ch;
  margin: 0;
  color: var(--tm-ink);
  font: 500 clamp(2rem, 1.4rem + 2vw, 3rem)/1.08 Gellix, Arial, sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
}
.tp-contact-intro-p {
  max-width: 38rem;
  margin: 18px 0 0;
  color: var(--tm-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Numbered steps (contact). Text-only list items: review-enquiry.js rewrites them. */
.tp-contact-next {
  padding-block: 100px 110px;
  background: #fff;
}
.tp-contact-steps {
  counter-reset: tp-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}
.tp-contact-steps li {
  counter-increment: tp-step;
  padding: 26px 32px 6px 0;
  border-top: 1px solid var(--tm-ink);
  color: var(--tm-ink);
  font: 500 1.15rem/1.45 Gellix, Arial, sans-serif;
  letter-spacing: -.01em;
}
.tp-contact-steps li + li {
  padding-left: 32px;
  border-left: 1px solid var(--tm-line);
}
.tp-contact-steps li::before {
  content: counter(tp-step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--tm-blue);
  font: 500 .72rem/1 var(--tm-mono);
  letter-spacing: .14em;
}
.tp-contact-coda {
  max-width: 40rem;
  margin: 44px 0 0;
  color: var(--tm-text);
  font-size: 1rem;
  line-height: 1.6;
}

/* Thank-you timeline. Cell order is fixed: review-enquiry.js writes pairs. */
.tp-contact-section .week-table {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  max-width: 900px;
  margin-top: 44px;
  border-top: 1px solid var(--tm-ink);
}
.tp-contact-section .week-table_cell {
  padding: 26px 24px 26px 0;
  border-bottom: 1px solid var(--tm-line);
  color: var(--tm-text);
  font-size: 1rem;
  line-height: 1.65;
}
.tp-contact-section .week-table_cell.is-week {
  color: var(--tm-ink);
  font: 500 1.15rem/1.4 Gellix, Arial, sans-serif;
}
.tp-contact-section .week-table + .spacer-medium {
  height: 28px;
}
.tp-contact-small {
  max-width: 40rem;
  margin: 0;
  color: var(--tm-text);
  font-size: .98rem;
  line-height: 1.6;
}
.tp-contact-small a,
.tp-contact-section .tp-contact-small a {
  color: var(--tm-blue);
}

/* Photo cards with a scrim (thank-you "while you wait"). */
.tp-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.tp-contact-card {
  position: relative;
  isolation: isolate;
  display: flex;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: var(--tm-ink);
  color: #fff;
  text-decoration: none;
}
.tp-contact-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(16, 18, 24, .9) 0, rgba(16, 18, 24, .45) 45%, rgba(16, 18, 24, .1) 100%);
}
.tp-contact-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.tp-contact-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  padding: 30px;
}
.tp-contact-card-eyebrow {
  color: #afc3ff;
  font: 500 .66rem/1.6 var(--tm-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tp-contact-card-title {
  margin-top: 8px;
  font: 500 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 Gellix, Arial, sans-serif;
  letter-spacing: -.015em;
}
.tp-contact-card-more {
  display: inline-flex;
  gap: 12px;
  margin-top: 14px;
  font-size: .9rem;
  font-weight: 500;
}
.tp-contact-card-more span {
  transition: transform .3s;
}
.tp-contact-card:hover,
.tp-contact-card:focus-visible {
  color: #fff;
}
.tp-contact-card:hover img,
.tp-contact-card:focus-visible img {
  transform: scale(1.04);
}
.tp-contact-card:hover .tp-contact-card-more span,
.tp-contact-card:focus-visible .tp-contact-card-more span {
  transform: translateX(6px);
}
.tp-contact-card:focus-visible {
  outline: 3px solid var(--tm-blue);
  outline-offset: 4px;
}

/* Buttons on the photo band. */
.tp-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.tp-contact-btn-ghost.tm-btn {
  background: rgba(16, 18, 24, .2);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.tp-contact-btn-ghost.tm-btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--tm-ink);
}

/* ---------- Book a call ---------- */
.tp-contact-lp-header {
  position: relative;
  z-index: 2;
  padding: 22px 0;
  background: #fff;
  border-bottom: 1px solid var(--tm-line);
}
.tp-contact-lp-header .tm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tp-contact-lp-note {
  color: var(--tm-text);
  font: .68rem/1.6 var(--tm-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tp-contact-band-copy {
  max-width: 780px;
  animation: tp-contact-rise 1s .15s cubic-bezier(.16, 1, .3, 1) both;
}
.tp-contact.is-tall {
  display: flex;
  align-items: flex-end;
  min-height: max(520px, min(64svh, 680px));
  padding-block: 120px 40px;
}
.tp-contact.is-tall > .tm-wrap {
  width: min(1240px, calc(100% - 80px));
}
.tp-contact-risk {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
}
.tp-contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 56px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .72);
  font: .68rem/1.6 var(--tm-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tp-contact-agenda {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.tp-contact-agenda-list {
  counter-reset: tp-step;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tm-ink);
}
.tp-contact-agenda-list li {
  counter-increment: tp-step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--tm-line);
  color: var(--tm-ink);
  font-size: 1.02rem;
  line-height: 1.55;
}
.tp-contact-agenda-list li::before {
  content: counter(tp-step, decimal-leading-zero);
  padding-top: 4px;
  color: var(--tm-blue);
  font: 500 .72rem/1.6 var(--tm-mono);
  letter-spacing: .14em;
}
.tp-contact-agenda-foot {
  margin: 22px 0 0;
  color: var(--tm-ink);
  font: 500 1.15rem/1.45 Gellix, Arial, sans-serif;
}

.tp-contact-problems {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--tm-ink);
}
.tp-contact-problems li {
  padding: 26px 26px 10px 0;
}
.tp-contact-problems li + li {
  padding-left: 26px;
  border-left: 1px solid var(--tm-line);
}
.tp-contact-problems .lp-faq_q {
  color: var(--tm-ink);
  font: 500 1.3rem/1.25 Gellix, Arial, sans-serif;
  letter-spacing: -.015em;
}
.tp-contact-problems p {
  margin: 14px 0 0;
  color: var(--tm-text);
  font-size: .95rem;
  line-height: 1.6;
}

/* Ink proof band. */
.tp-contact-ink {
  padding-block: 110px;
  color: #fff;
  background: radial-gradient(120% 140% at 85% 0%, #1d2f6b 0%, var(--tm-ink) 60%);
}
.tp-contact-ink .tm-eyebrow {
  color: #afc3ff;
}
.tp-contact-ink .tp-contact-h2 {
  color: #fff;
}
.tp-contact-ink-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.tp-contact-ink p {
  max-width: 38rem;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
  line-height: 1.65;
}
.tp-contact-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
}
.tp-contact-stats div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .28);
}
.tp-contact-stats dt {
  order: 2;
  margin-top: 8px;
  color: rgba(255, 255, 255, .7);
  font: .66rem/1.6 var(--tm-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tp-contact-stats dd {
  margin: 0;
  color: #fff;
  font: 500 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 Gellix, Arial, sans-serif;
  letter-spacing: -.04em;
}
.tp-contact-stats div {
  display: flex;
  flex-direction: column-reverse;
}

/* Booking widget panel. */
.tp-contact-book {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.tp-contact-book-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 60px -40px rgba(16, 18, 24, .35);
}
.tp-contact-book .meetings-iframe-container {
  min-height: 720px;
}
.tp-contact-book .meetings-iframe-container iframe {
  max-width: 100%;
  border: 0;
}
.tp-contact-book .lp-fallback {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--tm-line);
}

/* FAQ (class names feed the FAQ schema check). */
.tp-contact-faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 5vw, 80px);
}
.tp-contact-faq .lp-faq_item {
  padding: 26px 0;
  border-bottom: 1px solid var(--tm-line);
}
.tp-contact-faq .lp-faq_item:first-child {
  border-top: 1px solid var(--tm-ink);
}
.tp-contact-faq .lp-faq_q {
  color: var(--tm-ink);
  font: 500 1.2rem/1.35 Gellix, Arial, sans-serif;
}
.tp-contact-faq .lp-faq_a {
  margin: 10px 0 0;
  color: var(--tm-text);
  font-size: 1rem;
  line-height: 1.65;
}

/* Closing CTA panel. */
.tp-contact-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(120% 140% at 85% 0%, #1d2f6b 0%, var(--tm-ink) 60%);
  color: #fff;
}
.tp-contact-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 18, 24, .88) 0, rgba(16, 18, 24, .6) 45%, rgba(16, 18, 24, .1) 100%);
}
.tp-contact-panel img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-contact-panel-body {
  max-width: 560px;
  padding: 56px clamp(28px, 5vw, 72px);
}
.tp-contact-panel .tp-contact-h2 {
  color: #fff;
}
.tp-contact-panel p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}

/* ---------- Legal reading layout ---------- */
.tp-contact-legal-band {
  padding-block: 88px 56px;
  background: var(--tm-soft);
  border-bottom: 1px solid var(--tm-line);
}
.tp-contact-legal-band h1 {
  margin: 0;
  color: var(--tm-ink);
  font: 500 clamp(2.6rem, 1.8rem + 3vw, 4.6rem)/1 Gellix, Arial, sans-serif;
  letter-spacing: -.04em;
  text-transform: none;
}
.tp-contact-legal-band .legal-updated {
  margin-top: 20px;
  color: var(--tm-text);
  font: .72rem/1.6 var(--tm-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.tp-contact-legal {
  display: grid;
  grid-template-columns: 240px minmax(0, 68ch);
  gap: clamp(40px, 6vw, 110px);
  padding-block: 64px 120px;
}
.tp-contact-toc {
  position: sticky;
  top: 110px;
  align-self: start;
}
.tp-contact-toc p {
  margin: 0 0 14px;
  color: var(--tm-blue);
  font: 500 .66rem/1.6 var(--tm-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.tp-contact-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--tm-line);
}
.tp-contact-toc a {
  display: block;
  padding: 6px 0 6px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--tm-text);
  font-size: .86rem;
  line-height: 1.4;
  text-decoration: none;
}
.tp-contact-toc a:hover,
.tp-contact-toc a:focus-visible {
  border-left-color: var(--tm-blue);
  color: var(--tm-ink);
}
.tp-contact-legal .legal-body {
  min-width: 0;
  color: var(--tm-ink);
}
.tp-contact-legal .legal-body > .spacer-large,
.tp-contact-legal .legal-body > .spacer-small {
  display: none;
}
.tp-contact-legal .legal-body h2 {
  margin: 56px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--tm-line);
  color: var(--tm-ink);
  font: 500 1.6rem/1.2 Gellix, Arial, sans-serif;
  letter-spacing: -.02em;
  scroll-margin-top: 110px;
}
.tp-contact-legal .legal-body p,
.tp-contact-legal .legal-body li {
  color: #2e3440;
  font-size: 1.04rem;
  line-height: 1.75;
}
.tp-contact-legal .legal-body p {
  margin: 0 0 16px;
}
.tp-contact-legal .legal-body > p:first-child {
  color: var(--tm-ink);
  font-size: 1.2rem;
  line-height: 1.6;
}
.tp-contact-legal .legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.tp-contact-legal .legal-body li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.tp-contact-legal .legal-body li::marker {
  color: var(--tm-blue);
}
.tp-contact-legal .legal-body a {
  color: var(--tm-blue);
  text-underline-offset: 3px;
}
.tp-contact-legal .privacy-preferences {
  padding: 0;
  border: 0;
  background: none;
  color: var(--tm-blue);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- 404 / 401 ---------- */
.tp-contact-utility {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-block: 32px 40px;
}
.tp-contact-utility-body {
  margin-block: auto;
  padding-block: 64px;
}
.tp-contact-utility-logo img {
  display: block;
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
}
.tp-contact-code {
  margin: 0 0 18px;
  color: #afc3ff;
  font: 500 .72rem/1.6 var(--tm-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Motion ---------- */
@keyframes tp-contact-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes tp-contact-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-contact-photo,
  .tp-contact-intro,
  .tp-contact-aside,
  .tp-contact-band-copy {
    animation: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .tp-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "form" "aside";
    grid-template-rows: auto;
    row-gap: 32px;
  }
  .tp-contact-intro { padding-top: 0; }
  .tp-contact-problems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-contact-problems li:nth-child(3) { padding-left: 0; border-left: 0; }
  .tp-contact-agenda,
  .tp-contact-ink-grid,
  .tp-contact-book,
  .tp-contact-faq { grid-template-columns: minmax(0, 1fr); }
  .tp-contact-legal { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tp-contact-toc {
    position: static;
    margin-bottom: 8px;
    padding: 20px 22px;
    border-radius: 12px;
    background: var(--tm-soft);
  }
}
@media (max-width: 800px) {
  .tp-contact { padding-block: 44px 56px; }
  .tp-contact.is-tall { padding-block: 72px 24px; min-height: 0; }
  .tp-contact.is-tall > .tm-wrap { width: calc(100% - 40px); }
  .tp-contact::after {
    background:
      linear-gradient(180deg, rgba(16, 18, 24, .7) 0, rgba(16, 18, 24, .85) 40%, rgba(16, 18, 24, .95) 100%);
  }
  .tp-contact-meta { margin-top: 40px; }
  .tp-contact-section,
  .tp-contact-next,
  .tp-contact-ink { padding-block: 64px; }
  .tp-contact-steps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .tp-contact-steps li,
  .tp-contact-steps li + li { padding: 20px 0; border-left: 0; }
  .tp-contact-steps li + li { border-top: 1px solid var(--tm-line); }
  .tp-contact-section .week-table { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .tp-contact-section .week-table_cell.is-week { padding-bottom: 0; border-bottom: 0; }
  .tp-contact-section .week-table_cell { padding-right: 0; }
  .tp-contact-cards { grid-template-columns: minmax(0, 1fr); }
  .tp-contact-card { aspect-ratio: 4 / 3; }
  .tp-contact-actions { flex-direction: column; align-items: stretch; }
  .tp-contact-panel { min-height: 0; }
  .tp-contact-panel::after { background: linear-gradient(0deg, rgba(16, 18, 24, .9) 0, rgba(16, 18, 24, .7) 100%); }
  .tp-contact-panel-body { padding: 40px 24px; }
  .tp-contact-legal-band { padding-block: 56px 36px; }
  .tp-contact-legal { padding-block: 32px 80px; }
  .tp-contact-lp-note { display: none; }
}
@media (max-width: 560px) {
  .tp-contact-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tp-contact-problems { grid-template-columns: minmax(0, 1fr); }
  .tp-contact-problems li,
  .tp-contact-problems li + li { padding: 22px 0; border-left: 0; }
  .tp-contact-problems li + li { border-top: 1px solid var(--tm-line); }
  .tp-contact-stats { grid-template-columns: minmax(0, 1fr); }
  .tp-contact-book-panel { padding: 12px; }
  .tp-contact-book .meetings-iframe-container { min-height: 900px; }
}
.tp-contact-cards + .tp-contact-small {
  margin-top: 32px;
}
.tp-contact-panel .tm-eyebrow {
  color: #afc3ff;
}
.tp-contact-problems h3 {
  margin: 0;
}
.tp-contact-card-more {
  align-items: center;
}
.tp-contact-utility .tp-contact-creds {
  margin: 0;
}
@media (max-width: 991px) {
  .tp-contact-toc { margin-bottom: 32px; }
}
