:root {
  --red: #b11f2e;
  --red-bright: #cb3646;
  --red-soft: #d85663;
  --red-tint: #fff1f3;
  --ink: #16202d;
  --ink-2: #243244;
  --panel: #ffffff;
  --panel-2: #f7f9fc;
  --border: rgba(22,32,45,.10);
  --border-strong: rgba(22,32,45,.16);
  --text: #16202d;
  --muted: #556273;
  --muted-2: #6f7d8e;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 12px 32px rgba(17, 24, 39, .08);
  --shadow: 0 28px 80px rgba(17, 24, 39, .10);
  --content: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f6f8fb;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  content-visibility: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(216, 86, 99, .55);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #16202d;
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--content), 92%);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
}

.dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(177,31,46,.05), transparent 34%),
    linear-gradient(180deg, #fbfcfe 0%, #f1f4f8 100%);
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(22,32,45,.06);
  background: rgba(255,255,255,.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 28px rgba(17, 24, 39, .08);
}

.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: auto;
  height: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--red-bright);
  transition: right .2s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  right: 0;
}

.nav-links a:hover {
  color: #9B222B;
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(177,31,46,.08);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(177,31,46,.18);
}

.nav-cta:hover {
  background: linear-gradient(180deg, #d74656, #b62030);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* Background treatment */
.background-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.background-section::before,
.background-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.background-section::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: .045;
  transform: scale(1.018);
}

.background-section::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(247,249,252,.95)),
    radial-gradient(circle at 82% 18%, rgba(177,31,46,.05), transparent 25%),
    radial-gradient(circle at 16% 22%, rgba(216,86,99,.05), transparent 28%);
}

.hero-section::before { background-image: url("tm_connected_property_platform.webp"); opacity: .055; }
.credibility-section::before { background-image: url("tm_cloud_platform_showcase.webp"); }
.challenge-section::before { background-image: url("tm_connected_workflow_dashboard.webp"); }
.ecosystem-section::before { background-image: url("tm_ecosystem.webp"); opacity: .050; }
.integration-section::before { background-image: url("tm_rom_showcase.webp"); opacity: .050; }
.governance-section::before { background-image: url("tm_agreements_govern_dashboard.webp"); }
.demo-bg-section::before { background-image: url("tm_connected_property_platform.webp"); opacity: .045; }
.contact-section::before { background-image: url("tm_cloud_platform_showcase.webp"); opacity: .035; }

/* Typography */
.eyebrow {
  margin: 0 0 12px;
  color: #9B222B;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 790;
  letter-spacing: -.025em;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.2rem, 3.9vw, 3.6rem);
}
.governance-copy h2 span {
  color: #9B222B;
}


.hero h1 {
  color: #000000;
}

.hero h1 .tm-connects-red {
  color: #9B222B;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
}

p + p {
  margin-top: 14px;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 44px;
}

.section-heading > p:last-child {
  margin-top: 16px;
}

.centered {
  text-align: center;
}

/* Hero */
.hero {
  padding: clamp(68px, 7vw, 105px) 0 clamp(82px, 9vw, 126px);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(34px, 5vw, 64px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}


.hero-kicker {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 650;
}

.hero-text {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17,24,39,.12);
}

.primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff;
  box-shadow: 0 12px 28px rgba(177,31,46,.18);
}

.primary:hover {
  background: linear-gradient(180deg, #d74656, #b62030);
}

.secondary {
  border-color: rgba(22,32,45,.12);
  background: rgba(255,255,255,.9);
  color: var(--ink);
}

.secondary:hover {
  border-color: rgba(22,32,45,.20);
  background: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pill {
  padding: 9px 13px;
  border: 1px solid rgba(22,32,45,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(17,24,39,.05);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% -6% -8% 12%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(216,86,99,.10);
  filter: blur(70px);
}

.hero-visual img {
  border: 1px solid rgba(22,32,45,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

/* Media frames */
.media-frame {
  overflow: hidden;
  border: 1px solid rgba(22,32,45,.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  padding: 10px;
  object-fit: contain;
  filter: brightness(1.02);
}

/* Credibility */
.credibility-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.info-card {
  position: relative;
  padding: 24px 26px 24px 78px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
}

.card-number {
  position: absolute;
  top: 24px;
  left: 24px;
  color: #9B222B;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .10em;
}

.info-card p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Platform */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(177,31,46,.22);
  box-shadow: 0 20px 48px rgba(17,24,39,.12);
}

.logo-band {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(22,32,45,.05);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.module-logo {
  width: auto;
  max-width: 82%;
  max-height: 62px;
  object-fit: contain;
}

.rom-logo {
  max-width: 33%;
  max-height: 66px;
}

.vigilince-card-logo {
  max-width: 48%;
  max-height: 46px;
}

.brand-connector {
  color: #9B222B;
  font-size: 1.5rem;
  font-weight: 800;
}

.plain-module-title {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.015em;
}

.product-media {
  height: 244px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(216,86,99,.05), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  filter: brightness(1.02) contrast(1.01);
}

.product-copy {
  flex: 1;
  padding: 24px 24px 28px;
}

.product-copy p {
  margin-top: 10px;
  font-size: 1rem;
}

/* Ecosystem and workflow */
.ecosystem-visual,
.workflow-visual {
  max-width: 1180px;
  margin-inline: auto;
}

.workflow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.step,
.flow-bar span {
  padding: 11px 17px;
  border: 1px solid rgba(177,31,46,.08);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: #fff;
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 10px 22px rgba(177,31,46,.14);
}

/* Integration */
.integration-logo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 12px 0 26px;
}

.vigilince-logo {
  width: min(330px, 62%);
  height: auto;
}

.integration-rom-logo {
  width: auto;
  height: 74px;
}

.integration-plus {
  color: #9B222B;
  font-size: 30px;
  font-weight: 850;
}

.integration-copy h2 {
  max-width: 720px;
}

.integration-copy > p:not(.eyebrow) {
  margin-top: 18px;
}

.flow-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Governance */
.quote-box {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
}

.quote-box strong {
  color: var(--ink);
  font-size: 1.04rem;
}

/* Gallery */
.small-gallery .product-card {
  height: 100%;
}

.gallery-media {
  height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
  filter: brightness(1.02);
}

/* Demo */
.centered-trust {
  justify-content: center;
}

.cta-panel {
  margin-top: 38px;
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 85% 50%, rgba(216,86,99,.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  box-shadow: var(--shadow-sm);
}

.cta-panel p:not(.eyebrow) {
  margin-top: 8px;
}

/* Contact */
.contact-copy > p:not(.eyebrow) {
  margin-top: 18px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
}

.contact-points a,
.form-note a {
  color: #9B222B;
  text-decoration: underline;
  text-decoration-color: rgba(216,86,99,.55);
  text-underline-offset: 3px;
}

.contact-demo-button {
  margin-top: 26px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-field {
  min-width: 0;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(22,32,45,.12);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7e8b9d;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(216,86,99,.72);
  box-shadow: 0 0 0 4px rgba(216,86,99,.10);
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.full-width,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.form-note {
  font-size: 13px;
  color: var(--muted-2);
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: #9B222B;
  font-size: 13px;
  font-weight: 650;
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: .72;
  transform: none;
  box-shadow: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(22,32,45,.06);
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 100%);
}

.footer-grid {
  padding: 58px 0 42px;
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo {
  width: auto;
  height: 72px;
}

.footer-text {
  max-width: 390px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 15px;
}

.site-footer h4 {
  margin-bottom: 16px;
  color: var(--ink);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 9px 0;
  color: var(--muted-2);
  font-size: 14px;
}

.site-footer a {
  transition: color .2s ease;
}

.site-footer a:hover {
  color: #9B222B;
}

.footer-bottom {
  width: min(var(--content), 92%);
  margin-inline: auto;
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(22,32,45,.06);
  color: var(--muted-2);
  font-size: 13px;
}

/* Logo trace adjusted for light surfaces */
.logo-trace {
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.85))
    drop-shadow(0 1px 2px rgba(22,32,45,.10))
    drop-shadow(0 4px 10px rgba(22,32,45,.08));
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .18s; }

/* Standalone response pages */
.response-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 15%, rgba(216,86,99,.10), transparent 30%),
    linear-gradient(180deg, #f9fbfd 0%, #eef3f8 100%);
}

.response-shell {
  min-height: 100vh;
  width: min(760px, 92%);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.response-card {
  width: 100%;
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(22,32,45,.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
  text-align: center;
}

.response-card h1 {
  margin-inline: auto;
  font-size: clamp(2.15rem, 5vw, 3.7rem);
}

.response-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px auto 0;
}

.response-logo {
  width: auto;
  height: 86px;
  margin: 0 auto 24px;
}

.response-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 1100px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-media {
    height: 260px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 80px;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand-logo {
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 4%;
    right: 4%;
    display: none;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    max-width: 760px;
  }

  .reverse-mobile .challenge-copy {
    order: 1;
  }

  .reverse-mobile .challenge-visual,
  .reverse-mobile .governance-visual {
    order: 2;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .background-section::before {
    opacity: .03;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--content), 90%);
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }

  .product-media,
  .gallery-media {
    height: auto;
    min-height: 220px;
  }

  .product-media img,
  .gallery-media img {
    height: auto;
    max-height: 310px;
  }

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

  .form-field,
  .full-width,
  .form-actions {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .integration-logo-row {
    align-items: flex-start;
  }

  .vigilince-logo {
    width: min(300px, 100%);
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: 68px;
  }

  .hero {
    padding-top: 54px;
  }

  .logo-band {
    min-height: 82px;
  }

  .rom-brand-row {
    flex-wrap: wrap;
  }

  .rom-logo,
  .vigilince-card-logo {
    max-width: 44%;
  }

  .info-card {
    padding: 22px;
  }

  .card-number {
    position: static;
    display: block;
    margin-bottom: 8px;
  }
}

@media (hover: none) {
  .product-card:hover,
  .button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* In-place image magnifier: scales the original image from its own center */
.zoomable-image {
  position: relative;
  z-index: 1;
  cursor: zoom-in;
  transform-origin: center center;
  transition: transform .26s cubic-bezier(.2,.7,.2,1), box-shadow .26s ease, filter .18s ease;
  will-change: transform;
}

.zoomable-image:focus-visible {
  outline: 3px solid rgba(155, 34, 43, .50);
  outline-offset: 4px;
  border-radius: 12px;
}

.zoomable-image.is-magnified {
  z-index: 1500;
  cursor: zoom-out;
  transform: scale(1.75);
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 24, 39, .30);
  filter: brightness(1.01) contrast(1.015);
}

/* Temporarily let the enlarged image extend beyond its normal card/frame. */
.image-zoom-context {
  position: relative;
  z-index: 1400 !important;
  overflow: visible !important;
}

@media (hover: hover) and (pointer: fine) {
  .zoomable-image:not(.is-magnified):hover {
    filter: brightness(1.025) contrast(1.01);
  }
}

/* Larger full-width visuals need less scaling to remain comfortable on screen. */
.hero-visual .zoomable-image.is-magnified,
.ecosystem-visual .zoomable-image.is-magnified,
.workflow-visual .zoomable-image.is-magnified,
.integration-visual .zoomable-image.is-magnified,
.governance-visual .zoomable-image.is-magnified,
.founder-visual .zoomable-image.is-magnified,
.challenge-visual .zoomable-image.is-magnified {
  transform: scale(1.50);
}

@media (max-width: 900px) {
  .zoomable-image.is-magnified,
  .hero-visual .zoomable-image.is-magnified,
  .ecosystem-visual .zoomable-image.is-magnified,
  .workflow-visual .zoomable-image.is-magnified,
  .integration-visual .zoomable-image.is-magnified,
  .governance-visual .zoomable-image.is-magnified,
  .founder-visual .zoomable-image.is-magnified,
  .challenge-visual .zoomable-image.is-magnified {
    transform: scale(1.30);
  }
}

@media (max-width: 600px) {
  .zoomable-image.is-magnified,
  .hero-visual .zoomable-image.is-magnified,
  .ecosystem-visual .zoomable-image.is-magnified,
  .workflow-visual .zoomable-image.is-magnified,
  .integration-visual .zoomable-image.is-magnified,
  .governance-visual .zoomable-image.is-magnified,
  .founder-visual .zoomable-image.is-magnified,
  .challenge-visual .zoomable-image.is-magnified {
    transform: scale(1.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zoomable-image {
    transition: none;
  }
}
