/* Travel Minds - site styles (DDKit theme). Brand: navy #1F254A, magenta #E02B8A, sky #88C7EE (from the logo). */

:root {
  --tm-navy: var(--ddk-ink, #1F254A);
  --tm-navy-deep: #151A37;
  --tm-navy-2: #2A3163;
  --tm-magenta: var(--ddk-accent, #E02B8A);
  --tm-magenta-btn: #C41F76;
  --tm-magenta-soft: #F37AB8;
  --tm-sky: var(--ddk-accent2, #88C7EE);
  --tm-ice: #EEFEFD;
  --tm-paper: var(--ddk-bg, #F5F8FC);
  --tm-soft: var(--ddk-soft, #E7F1FA);
  --tm-muted: #5B6285;
  --tm-muted-light: #AAB2D6;
  --tm-line: rgba(31, 37, 74, .12);
  --tm-line-light: rgba(238, 254, 253, .16);
  --tm-f-head: var(--ddk-f-head, 'Unbounded'), 'Arial Black', system-ui, sans-serif;
  --tm-f-body: var(--ddk-f-body, 'Manrope'), 'Helvetica Neue', system-ui, sans-serif;
  --tm-ease: cubic-bezier(.22, .61, .36, 1);
  --tm-ease-out: cubic-bezier(.16, 1, .3, 1);
  --tm-gutter: clamp(16px, 4.5vw, 64px);
  --tm-max: 1360px;
  --tm-header-h: 76px;
  --tm-r: 22px;
  --tm-r-lg: 34px;
  --z-header: 50;
  --z-menu: 60;
  --z-mbar: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: calc(var(--tm-header-h) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--tm-paper);
  color: var(--tm-navy);
  font-family: var(--tm-f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
@media (max-width: 600px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
h1, h2, h3, h4 { margin: 0; font-family: var(--tm-f-head); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
em { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--tm-magenta); color: #fff; }
:focus-visible { outline: 3px solid var(--tm-sky); outline-offset: 3px; border-radius: 6px; }
.tm-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--tm-navy); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.ddk-main, main { display: block; }
.wp-site-blocks > * { margin-block: 0 !important; }

.tm-wrap { width: 100%; max-width: var(--tm-max); margin-inline: auto; padding-inline: var(--tm-gutter); }
.ui-ico { width: 1.15em; height: 1.15em; flex: none; }

/* ─────────────────────────── type ─────────────────────────── */

.tm-eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  margin: 0 0 1.4rem;
  font-family: var(--tm-f-body); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tm-magenta-btn);
}
.tm-eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.tm-eyebrow .ui-ico { width: 1.2em; height: 1.2em; }
.tm-eyebrow--sky { color: var(--tm-sky); }
.tm-h2 {
  font-size: clamp(2rem, 1.1rem + 4.2vw, 5.4rem);
  font-weight: 800; line-height: 1; letter-spacing: -.035em;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}
.tm-h2 em, .tm-phero__title em, .tm-hero__title em, .tm-case-d__title em { color: var(--tm-magenta); }
.tm-h2--light { color: #fff; }
.tm-tech .tm-h2, .tm-zero .tm-h2, .tm-demo .tm-h2, .tm-partners .tm-h2, .tm-split .tm-h2, .tm-company .tm-h2 { font-size: clamp(2rem, 1rem + 3vw, 4rem); }
[data-split] .w { display: inline-block; white-space: nowrap; }
[data-split] .c { display: inline-block; will-change: transform; }
[data-split] .ln { display: inline-block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: bottom; }

/* ─────────────────────────── buttons & links ─────────────────────────── */

.tm-btn {
  --bg: var(--tm-navy); --fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.5em;
  border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--tm-f-body); font-weight: 800; font-size: 1rem; line-height: 1.1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--tm-ease-out), box-shadow .35s var(--tm-ease-out), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.tm-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at var(--mx, 50%) var(--my, 120%), rgba(255, 255, 255, .28), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.tm-btn:hover::before { opacity: 1; }
.tm-btn .ui-ico { transition: transform .35s var(--tm-ease-out); }
.tm-btn:hover .ui-ico:last-child { transform: translateX(4px); }
.tm-btn--magenta { --bg: var(--tm-magenta-btn); box-shadow: 0 14px 34px -16px rgba(224, 43, 138, .85); }
.tm-btn--magenta:hover { box-shadow: 0 18px 44px -14px rgba(224, 43, 138, .95); }
.tm-btn--sky { --bg: var(--tm-sky); --fg: var(--tm-navy); }
.tm-btn--line-light { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.tm-btn--line-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.tm-btn--xl { min-height: 58px; padding: 1em 1.8em; font-size: 1.05rem; }
.tm-link {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 800; text-decoration: none; color: var(--tm-navy);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--tm-ease-out);
}
.tm-link:hover { background-size: 100% 2px; }
.tm-link .ui-ico { color: var(--tm-magenta-btn); transition: transform .35s var(--tm-ease-out); }
.tm-link:hover .ui-ico { transform: translateX(5px); }
.tm-link--light { color: #fff; }
.tm-link--light .ui-ico { color: var(--tm-sky); }

/* ─────────────────────────── header ─────────────────────────── */

.tm-header { position: fixed; inset: 0 0 auto; z-index: var(--z-header); pointer-events: none; }
.tm-header__bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 24px;
  height: var(--tm-header-h); padding-inline: var(--tm-gutter);
  transition: background-color .4s, backdrop-filter .4s, height .4s var(--tm-ease), transform .45s var(--tm-ease), box-shadow .4s;
}
.is-scrolled .tm-header__bar { background: rgba(21, 26, 55, .78); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--tm-line-light); --tm-header-h: 64px; }
.is-hidden-header .tm-header__bar { transform: translateY(-100%); }
.is-menu-open .tm-header__bar { background: transparent; box-shadow: none; backdrop-filter: none; transform: none; }
.tm-header__brand { display: block; flex: none; width: clamp(138px, 13vw, 176px); }
.tm-logo { width: 100%; height: auto; }
.tm-logo--ink { display: none; }
.tm-header__nav { display: none; margin-inline: auto; gap: 4px; }
.tm-header__nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: color .25s, background-color .25s;
}
.tm-header__nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tm-header__nav a[aria-current="page"] { color: #fff; }
.tm-header__nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 2px; background: var(--tm-magenta); }
.tm-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.tm-header__tel { display: none; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.tm-header__tel .ui-ico { color: var(--tm-sky); }
.tm-header__cta { display: none; min-height: 44px; padding: .6em 1.2em; font-size: .92rem; }
.tm-burger {
  display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); cursor: pointer;
  transition: background-color .3s, transform .3s var(--tm-ease-out);
}
.tm-burger:hover { background: var(--tm-magenta-btn); }
.tm-burger__lines { position: relative; width: 20px; height: 12px; }
.tm-burger__lines i { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .45s var(--tm-ease-out), top .45s var(--tm-ease-out), width .3s; }
.tm-burger__lines i:first-child { top: 0; }
.tm-burger__lines i:last-child { top: 9.5px; width: 65%; }
.is-menu-open .tm-burger { background: var(--tm-magenta-btn); }
.is-menu-open .tm-burger__lines i:first-child { top: 5px; transform: rotate(45deg); }
.is-menu-open .tm-burger__lines i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }
@media (min-width: 720px) { .tm-header__cta { display: inline-flex; } }
@media (min-width: 1180px) {
  .tm-header__nav { display: flex; }
  .tm-burger { display: none; }
}
@media (min-width: 1380px) { .tm-header__tel { display: inline-flex; } }

/* ─────────────────────────── overlay menu ─────────────────────────── */

.tm-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--tm-navy-deep);
  clip-path: circle(0 at calc(100% - var(--tm-gutter) - 25px) calc(var(--tm-header-h) / 2));
  visibility: hidden;
  transition: clip-path .8s var(--tm-ease-out), visibility 0s .8s;
  overflow-y: auto; overscroll-behavior: contain;
}
.tm-menu::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 10%, rgba(224, 43, 138, .28), transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(136, 199, 238, .18), transparent 70%); pointer-events: none; }
.is-menu-open .tm-menu { clip-path: circle(150% at calc(100% - var(--tm-gutter) - 25px) calc(var(--tm-header-h) / 2)); visibility: visible; transition: clip-path .9s var(--tm-ease-out); }
.tm-menu__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--tm-header-h) + 24px) var(--tm-gutter) 32px; }
.tm-menu__nav ol { list-style: none; margin: 0; padding: 0; }
.tm-menu__nav li { border-bottom: 1px solid var(--tm-line-light); overflow: clip; }
.tm-menu__nav a {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 16px;
  padding: 12px 0; color: #fff; text-decoration: none;
  transform: translateY(110%); transition: transform .8s var(--tm-ease-out), color .25s;
  transition-delay: calc(.12s + var(--i) * .05s);
}
.is-menu-open .tm-menu__nav a { transform: none; }
.tm-menu__num { font-family: var(--tm-f-body); font-weight: 800; font-size: .8rem; color: var(--tm-sky); letter-spacing: .1em; }
.tm-menu__label { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(1.7rem, 1rem + 4.5vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; transition: color .25s, font-weight .25s; }
.tm-menu__hint { grid-column: 2; font-size: .9rem; color: var(--tm-muted-light); }
.tm-menu__nav a:hover .tm-menu__label, .tm-menu__nav a[aria-current="page"] .tm-menu__label { color: var(--tm-magenta); }
.tm-menu__foot { display: flex; flex-wrap: wrap; gap: 24px 56px; color: #fff; font-size: .95rem; }
.tm-menu__foot p { margin: 0; }
.tm-menu__foot a { color: #fff; }
.tm-menu__k { font-size: .75rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tm-sky); margin-bottom: 4px !important; }
.tm-menu__social { display: flex; gap: 10px; }
.tm-menu__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
@media (min-width: 900px) { .tm-menu__nav a { grid-template-columns: 60px auto 1fr; } .tm-menu__hint { grid-column: 3; text-align: right; } }

/* ─────────────────────────── home hero ─────────────────────────── */

.tm-hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--tm-header-h) + 32px) 0 96px;
  background: radial-gradient(80% 70% at 85% 20%, #3A2A6B 0%, transparent 60%), radial-gradient(70% 60% at 0% 100%, #22427A 0%, transparent 60%), var(--tm-navy-deep);
  color: #fff;
}
.tm-hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0; transition: opacity 1.6s var(--tm-ease); }
.tm-hero__gl.is-on { opacity: 1; }
.tm-hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.tm-hero__grid { position: relative; display: grid; gap: 24px; align-items: center; }
.tm-hero__text { position: relative; z-index: 2; }
.tm-hero__title {
  font-size: clamp(2.8rem, .9rem + 6.2vw, 8.2rem);
  font-weight: 800; line-height: .94; letter-spacing: -.045em;
  margin: 0 0 clamp(1.4rem, 3vw, 2.4rem);
}
.tm-hero__title em { display: block; }
.tm-hero__lead { max-width: 34rem; font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .86); margin-bottom: 2.2rem; }
.tm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tm-hero__mark { position: relative; z-index: 1; width: min(72vw, 340px); margin: 40px auto 0; perspective: 1200px; pointer-events: none; }
.tm-hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 20px; }
.tm-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: tm-scroll 1.8s var(--tm-ease) infinite; }
@keyframes tm-scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 1000px) {
  .tm-hero__mark { position: absolute; margin: 0; right: var(--tm-gutter); bottom: -9%; width: min(31vw, 460px); pointer-events: auto; }
  .tm-hero__lead, .tm-hero__actions { max-width: 46%; }
}

/* the monogram */
.tm-mark { width: 100%; height: auto; overflow: visible; }
.tm-mark__bar, .tm-mark__stem { fill: var(--tm-ice); }
.tm-mark__m { stroke: var(--tm-sky); }
.tm-mark__dot, .tm-mark__foot { fill: var(--tm-magenta); }
.tm-mark3d { position: relative; transform-style: preserve-3d; will-change: transform; }
.tm-mark3d .tm-mark { position: relative; }
.tm-mark3d .tm-mark--layer { position: absolute; inset: 0; }
.tm-mark--layer .tm-mark__bar, .tm-mark--layer .tm-mark__stem { fill: #C9DCE6; }
.tm-mark--layer .tm-mark__m { stroke: #4E86B5; }
.tm-mark--layer .tm-mark__dot, .tm-mark--layer .tm-mark__foot { fill: #8E1957; }
.tm-mark--ghost .tm-mark__bar, .tm-mark--ghost .tm-mark__stem { fill: rgba(238, 254, 253, .07); }
.tm-mark--ghost .tm-mark__m { stroke: rgba(136, 199, 238, .14); }
.tm-mark--ghost .tm-mark__dot, .tm-mark--ghost .tm-mark__foot { fill: rgba(224, 43, 138, .35); }

/* ─────────────────────────── marquee ─────────────────────────── */

.tm-marquee { position: relative; z-index: 3; overflow: clip; margin-block: -28px; padding-block: 28px; }
.tm-marquee__band { background: var(--tm-magenta-btn); color: #fff; padding: clamp(16px, 2.2vw, 28px) 0; transform: rotate(-1.6deg) scale(1.05); }
.tm-marquee__track { display: flex; width: max-content; will-change: transform; }
.tm-marquee__row { background: var(--tm-magenta-btn); display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding-right: clamp(18px, 2.4vw, 36px); white-space: nowrap; font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(1.5rem, 1rem + 2.6vw, 3.6rem); letter-spacing: -.03em; line-height: 1; }
.tm-marquee__row span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px #fff; }
.tm-marquee__row i { font-style: normal; color: var(--tm-navy); font-size: .6em; }

/* ─────────────────────────── manifesto & pillars ─────────────────────────── */

.tm-manifesto { padding: clamp(96px, 13vw, 190px) 0 clamp(72px, 10vw, 140px); }
.tm-manifesto__text { font-size: clamp(1.6rem, .9rem + 3.2vw, 4.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; max-width: 21ch; margin-bottom: clamp(56px, 8vw, 110px); }
[data-words] .w { opacity: .14; transition: opacity .2s; }
.no-motion [data-words] .w, [data-words].is-static .w { opacity: 1; }
.tm-pillars { display: grid; gap: 16px; }
.tm-pillar {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 300px;
  padding: 28px; border-radius: var(--tm-r-lg); background: #fff; color: var(--tm-navy); text-decoration: none;
  box-shadow: 0 1px 0 var(--tm-line), 0 30px 60px -40px rgba(31, 37, 74, .4);
  transform-style: preserve-3d; transition: background-color .45s var(--tm-ease), color .45s, box-shadow .45s;
  overflow: hidden;
}
.tm-pillar::after { content: ""; position: absolute; right: -40%; bottom: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224, 43, 138, .55), transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.tm-pillar:hover { background: var(--tm-navy); color: #fff; }
.tm-pillar:hover::after { opacity: 1; }
.tm-pillar__num { font-family: var(--tm-f-head); font-weight: 800; font-size: .9rem; color: var(--tm-magenta-btn); }
.tm-pillar:hover .tm-pillar__num { color: var(--tm-sky); }
.tm-pillar__ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--tm-soft); color: var(--tm-navy); font-size: 1.6rem; transition: background-color .4s, color .4s, transform .5s var(--tm-ease-out); }
.tm-pillar:hover .tm-pillar__ico { background: var(--tm-magenta-btn); color: #fff; transform: rotate(-8deg) scale(1.06); }
.tm-pillar__title { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.6rem); line-height: 1.12; margin-top: auto; }
.tm-pillar__text { margin: 0; font-size: .98rem; color: var(--tm-muted); transition: color .4s; }
.tm-pillar:hover .tm-pillar__text { color: var(--tm-muted-light); }
.tm-pillar__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--tm-line); font-size: 1.1rem; transition: transform .45s var(--tm-ease-out), background-color .3s, border-color .3s; }
.tm-pillar:hover .tm-pillar__go { background: #fff; color: var(--tm-navy); border-color: #fff; transform: rotate(45deg); }
@media (min-width: 700px) { .tm-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tm-pillars { grid-template-columns: repeat(4, 1fr); } .tm-pillar { min-height: 380px; } }

/* ─────────────────────────── zero cost ─────────────────────────── */

.tm-zero { position: relative; overflow: clip; background: var(--tm-navy); color: #fff; padding: clamp(96px, 12vw, 170px) 0; }
.tm-zero__grid { display: grid; gap: 24px; align-items: center; }
.tm-zero__big { display: flex; align-items: flex-start; justify-content: center; font-family: var(--tm-f-head); font-weight: 900; line-height: .8; letter-spacing: -.08em; user-select: none; }
.tm-zero__num { font-size: clamp(12rem, 52vw, 34rem); background: linear-gradient(160deg, #fff 10%, var(--tm-sky) 55%, var(--tm-magenta) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tm-zero__cur { font-size: clamp(4rem, 15vw, 10rem); color: var(--tm-magenta); margin-top: .25em; }
.tm-zero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 36rem; }
.tm-steps-mini { list-style: none; margin: 2rem 0 2.4rem; padding: 0; display: grid; gap: 10px; }
.tm-steps-mini li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--tm-line-light); }
.tm-steps-mini span { font-family: var(--tm-f-head); font-weight: 800; color: var(--tm-sky); font-size: .9rem; }
.tm-steps-mini strong { font-weight: 800; font-size: 1.05rem; }
@media (min-width: 1000px) { .tm-zero__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ─────────────────────────── cases (home, horizontal) ─────────────────────────── */

.tm-cases { padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 9vw, 120px); background: var(--tm-paper); overflow: clip; }
.tm-cases__head { margin-bottom: 8px; }
.tm-cases__track {
  display: flex; gap: 16px; padding: 8px var(--tm-gutter) 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.tm-cases__track::-webkit-scrollbar { display: none; }
.tm-case {
  --c: var(--tm-navy);
  flex: none; width: min(86vw, 520px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 6px; min-height: 480px;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--tm-r-lg);
  background: var(--c); color: #fff; text-decoration: none;
  transition: transform .5s var(--tm-ease-out);
}
.tm-case:hover { transform: translateY(-6px); }
.tm-case--magenta { --c: var(--tm-magenta-btn); }
.tm-case--sky { --c: var(--tm-sky); color: var(--tm-navy); }
.tm-case__tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 700; font-size: .88rem; margin-bottom: auto; }
.tm-case--sky .tm-case__tag { background: rgba(31, 37, 74, .1); }
.tm-case__big { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1; letter-spacing: -.045em; margin-top: 40px; white-space: nowrap; }
.tm-case__label { font-weight: 700; margin-bottom: 20px; }
.tm-case__row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; }
.tm-case--sky .tm-case__row { border-color: rgba(31, 37, 74, .2); }
.tm-case__row strong { font-family: var(--tm-f-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.tm-case__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; }
.tm-case--end { background: transparent; color: var(--tm-navy); border: 2px dashed var(--tm-line); justify-content: space-between; }
.tm-case__endtitle { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.tm-case__endgo { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--tm-magenta-btn); color: #fff; font-size: 2rem; transition: transform .5s var(--tm-ease-out); }
.tm-case--end:hover .tm-case__endgo { transform: rotate(45deg) scale(1.08); }
.is-hscroll .tm-cases__track { overflow: visible; scroll-snap-type: none; width: max-content; padding-left: max(var(--tm-gutter), calc((100vw - var(--tm-max)) / 2 + var(--tm-gutter))); }
.is-hscroll .tm-case { width: clamp(420px, 34vw, 540px); min-height: 560px; }

/* ─────────────────────────── tech (home) ─────────────────────────── */

.tm-tech { position: relative; overflow: clip; background: var(--tm-navy-deep); color: #fff; padding: clamp(96px, 12vw, 170px) 0; }
.tm-tech::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 50%, rgba(136, 199, 238, .16), transparent 70%); pointer-events: none; }
.tm-tech__grid { position: relative; display: grid; gap: 56px; align-items: center; }
.tm-tech__lead { color: rgba(255, 255, 255, .85); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); max-width: 34rem; margin-bottom: 2rem; }
.tm-orbit { container-type: inline-size; position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.tm-orbit__ring { position: absolute; inset: 9%; border-radius: 50%; border: 1.5px dashed rgba(136, 199, 238, .35); animation: tm-spin 60s linear infinite; }
.tm-orbit__ring--2 { inset: 27%; border-style: solid; border-color: rgba(224, 43, 138, .3); animation-duration: 40s; animation-direction: reverse; }
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-orbit__core { position: absolute; inset: 34%; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 50%; background: var(--tm-navy); box-shadow: 0 0 0 10px rgba(255, 255, 255, .04), 0 30px 80px -10px rgba(224, 43, 138, .5); }
.tm-orbit__core .tm-mark { width: 62%; }
.tm-orbit__core span { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--tm-sky); }
.tm-orbit__nodes { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.tm-orbit__nodes li { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(41cqw) rotate(calc(-1 * var(--a))); }
.tm-orbit__nodes span { display: block; translate: -50% -50%; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--tm-navy); font-weight: 800; font-size: clamp(.78rem, .7rem + .3vw, .95rem); white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); }
.tm-orbit__nodes li:nth-child(2) span { background: var(--tm-sky); }
.tm-orbit__nodes li:nth-child(3) span { background: var(--tm-magenta-btn); color: #fff; }
@media (min-width: 1000px) { .tm-tech__grid { grid-template-columns: 1fr 1fr; } }

/* ─────────────────────────── demo form ─────────────────────────── */

.tm-demo { position: relative; overflow: clip; background: var(--tm-navy); color: #fff; padding: clamp(96px, 11vw, 160px) 0; }
.tm-demo::before { content: ""; position: absolute; left: -20%; bottom: -40%; width: 80%; aspect-ratio: 1; background: radial-gradient(circle, rgba(224, 43, 138, .35), transparent 60%); pointer-events: none; }
.tm-demo__grid { position: relative; display: grid; gap: 48px; }
.tm-demo__lead { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 30rem; }
.tm-demo__points { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: 12px; }
.tm-demo__points li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.tm-demo__points .ui-ico { display: grid; place-items: center; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--tm-magenta-btn); color: #fff; }
.tm-demo__tel { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--tm-f-head); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); letter-spacing: -.02em; }
.tm-demo__tel .ui-ico { color: var(--tm-sky); }
.tm-form { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3.4vw, 44px); border-radius: var(--tm-r-lg); background: #fff; color: var(--tm-navy); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.tm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tm-field { position: relative; margin: 0; }
.tm-field > input, .tm-field > textarea {
  width: 100%; min-height: 60px; padding: 26px 18px 10px; border: 2px solid var(--tm-line); border-radius: 16px;
  background: var(--tm-paper); color: var(--tm-navy); font: inherit; font-weight: 600;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.tm-field > textarea { resize: vertical; min-height: 110px; }
.tm-field > label { position: absolute; left: 20px; top: 19px; color: var(--tm-muted); font-weight: 600; pointer-events: none; transform-origin: 0 0; transition: transform .25s var(--tm-ease-out), color .25s; }
.tm-field > input:focus, .tm-field > textarea:focus { outline: none; border-color: var(--tm-navy); background: #fff; box-shadow: 0 0 0 4px rgba(136, 199, 238, .45); }
.tm-field > input:focus + label, .tm-field > input:not(:placeholder-shown) + label,
.tm-field > textarea:focus + label, .tm-field > textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.78); color: var(--tm-magenta-btn); }
.tm-field.is-invalid > input, .tm-field.is-invalid > textarea { border-color: var(--tm-magenta-btn); }
.tm-chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chips legend { width: 100%; margin-bottom: 8px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tm-muted); }
.tm-chips > .tm-chip { position: relative; left: auto; top: auto; transform: none; color: inherit; pointer-events: auto; cursor: pointer; }
.tm-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tm-chip span { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; border: 2px solid var(--tm-line); font-weight: 700; font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.tm-chip input:checked + span { background: var(--tm-navy); color: #fff; border-color: var(--tm-navy); }
.tm-chip input:focus-visible + span { outline: 3px solid var(--tm-sky); outline-offset: 2px; }
.tm-check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--tm-muted); cursor: pointer; }
.tm-check input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--tm-magenta-btn); }
.tm-check a { color: var(--tm-navy); font-weight: 700; }
.tm-check.is-invalid span { color: var(--tm-magenta-btn); }
.tm-form__error { margin: 0; padding: 12px 16px; border-radius: 12px; background: #FDE7F2; color: #9B1660; font-weight: 700; }
.tm-form .tm-btn { width: 100%; margin-top: 6px; }
@media (min-width: 640px) { .tm-form { grid-template-columns: 1fr 1fr; } .tm-field--full { grid-column: 1 / -1; } }
@media (min-width: 1050px) { .tm-demo__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; } .tm-demo__intro { position: sticky; top: 120px; } }

/* ─────────────────────────── page hero ─────────────────────────── */

.tm-phero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: min(88svh, 900px); display: flex; align-items: flex-end;
  padding: calc(var(--tm-header-h) + 72px) 0 clamp(64px, 8vw, 110px);
  background: radial-gradient(70% 70% at 90% 10%, #3A2A6B 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #213F76 0%, transparent 65%), var(--tm-navy-deep);
  color: #fff;
}
.tm-phero--short { min-height: min(72svh, 720px); }
.tm-phero__bg { position: absolute; z-index: -1; right: -12%; top: 8%; width: min(110vw, 1100px); pointer-events: none; }
.tm-phero__inner { position: relative; }
.tm-phero__title {
  font-size: clamp(2.15rem, .9rem + 6.6vw, 8.2rem);
  font-weight: 800; line-height: .96; letter-spacing: -.045em; margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 14ch;
}
.tm-phero__title em { display: block; }
.tm-phero__lead { max-width: 40rem; font-size: clamp(1.05rem, .98rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .86); margin: 0; }
.tm-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.tm-jump a { padding: 10px 18px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-weight: 700; transition: background-color .25s, border-color .25s; }
.tm-jump a:hover { background: var(--tm-magenta-btn); border-color: var(--tm-magenta-btn); }

/* ─────────────────────────── steps (modello) ─────────────────────────── */

.tm-steps { padding: clamp(96px, 12vw, 170px) 0; }
.tm-steps__head { margin-bottom: clamp(32px, 5vw, 64px); }
.tm-steps__list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 16px; }
.tm-steps__list::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 3px; border-radius: 3px; background: var(--tm-line); }
.tm-steps__list::after { content: ""; position: absolute; left: 31px; top: 30px; width: 3px; height: calc((100% - 60px) * var(--p, 0)); border-radius: 3px; background: linear-gradient(var(--tm-sky), var(--tm-magenta)); }
.tm-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; padding: 8px 0 28px; }
.tm-step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tm-navy); color: #fff; font-family: var(--tm-f-head); font-weight: 800; }
.tm-step__title { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 3.4rem); font-weight: 800; letter-spacing: -.035em; margin: 10px 0 12px; }
.tm-step__body p { color: var(--tm-muted); font-size: clamp(1rem, .96rem + .25vw, 1.15rem); max-width: 38rem; margin: 0; }
.tm-step__ico { display: none; }
@media (min-width: 900px) {
  .tm-step { grid-template-columns: 64px 1fr 120px; gap: 40px; padding-bottom: 56px; }
  .tm-step__ico { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 32px; background: var(--tm-soft); font-size: 2.8rem; color: var(--tm-magenta-btn); transform: rotate(-6deg); }
}

/* ─────────────────────────── equation ─────────────────────────── */

.tm-equation { background: var(--tm-magenta-btn); color: #fff; padding: clamp(64px, 9vw, 130px) 0; overflow: clip; }
.tm-equation__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .1em; font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(1.7rem, .5rem + 6.4vw, 7.8rem); line-height: 1; letter-spacing: -.05em; }
.tm-equation__list li { display: flex; align-items: baseline; gap: .3em; }
.tm-equation__op { display: inline-block; width: .8em; color: var(--tm-navy); }
.tm-equation__list .is-minus span:last-child { color: transparent; -webkit-text-stroke: 2px #fff; }
.tm-equation__list .is-total { color: var(--tm-navy); margin-top: .15em; }
.tm-equation__list .is-total .tm-equation__op { color: #fff; }

/* ─────────────────────────── split / compare / about ─────────────────────────── */

.tm-split { padding: clamp(96px, 12vw, 170px) 0; }
.tm-split__grid { display: grid; gap: 24px; }
.tm-split__text p { font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: var(--tm-muted); }
.tm-split__text p:first-child { color: var(--tm-navy); font-weight: 700; }
@media (min-width: 960px) { .tm-split__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: end; } }

.tm-compare { padding: 0 0 clamp(96px, 12vw, 170px); }
.tm-compare__grid { display: grid; gap: 16px; }
.tm-compare__col { padding: clamp(24px, 3.2vw, 44px); border-radius: var(--tm-r-lg); }
.tm-compare__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tm-compare__col li { display: flex; gap: 14px; align-items: center; font-weight: 700; font-size: 1.05rem; }
.tm-compare__col li .ui-ico { display: grid; place-items: center; width: 34px; height: 34px; padding: 8px; border-radius: 50%; }
.tm-compare__title { font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); margin-bottom: 22px; }
.tm-compare__col--old { background: var(--tm-soft); color: var(--tm-muted); }
.tm-compare__col--old li .ui-ico { background: rgba(31, 37, 74, .1); color: var(--tm-muted); }
.tm-compare__col--tm { background: var(--tm-navy); color: #fff; box-shadow: 0 40px 80px -40px rgba(31, 37, 74, .7); }
.tm-compare__col--tm li .ui-ico { background: var(--tm-magenta-btn); color: #fff; }
@media (min-width: 860px) { .tm-compare__grid { grid-template-columns: 1fr 1fr; } .tm-compare__col--tm { transform: translateY(-24px); } }

.tm-about { padding: clamp(96px, 12vw, 170px) 0; }
.tm-about__grid { display: grid; gap: 40px; }
.tm-about__big { font-size: clamp(1.6rem, .9rem + 3vw, 3.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; }
.tm-about__text p { font-size: clamp(1.02rem, .98rem + .25vw, 1.2rem); color: var(--tm-muted); }
@media (min-width: 1000px) { .tm-about__grid { grid-template-columns: 1.3fr .9fr; gap: 80px; align-items: end; } }

/* ─────────────────────────── services ─────────────────────────── */

.tm-svc { padding: clamp(72px, 10vw, 140px) 0; }
.tm-svc__item {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px;
  padding: clamp(32px, 4vw, 56px) 0; border-top: 2px solid var(--tm-line);
}
.tm-svc__item:last-child { border-bottom: 2px solid var(--tm-line); }
.tm-svc__num { position: absolute; right: 0; top: clamp(20px, 3vw, 40px); font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(3rem, 2rem + 4vw, 7rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--tm-line); letter-spacing: -.05em; transition: -webkit-text-stroke-color .4s, color .4s; pointer-events: none; }
.tm-svc__item:hover .tm-svc__num { color: var(--tm-magenta); -webkit-text-stroke-color: var(--tm-magenta); }
.tm-svc__head { display: flex; align-items: center; gap: 18px; padding-right: 90px; }
.tm-svc__ico { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; background: var(--tm-navy); color: #fff; font-size: 1.6rem; transition: background-color .4s, transform .5s var(--tm-ease-out); }
.tm-svc__item:hover .tm-svc__ico { background: var(--tm-magenta-btn); transform: rotate(-8deg); }
.tm-svc__title { font-size: clamp(1.4rem, 1rem + 2.4vw, 3.6rem); min-width: 0; font-weight: 800; letter-spacing: -.04em; }
.tm-svc__body p { font-size: clamp(1.02rem, .98rem + .25vw, 1.2rem); color: var(--tm-muted); max-width: 44rem; }
.tm-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tm-tags li { padding: 7px 14px; border-radius: 999px; background: var(--tm-soft); font-weight: 700; font-size: .88rem; }
@media (min-width: 1000px) { .tm-svc__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; } .tm-svc__head { padding-right: 0; } .tm-svc__body { padding-right: 140px; } }

.tm-who { background: var(--tm-navy); color: #fff; padding: clamp(96px, 12vw, 160px) 0; }
.tm-who__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-who__list li { display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 36px); border-radius: var(--tm-r); background: rgba(255, 255, 255, .06); border: 1px solid var(--tm-line-light); font-family: var(--tm-f-head); font-weight: 700; font-size: clamp(1.05rem, .9rem + .8vw, 1.6rem); letter-spacing: -.02em; transition: background-color .35s, transform .45s var(--tm-ease-out); }
.tm-who__list li:hover { background: var(--tm-magenta-btn); transform: translateY(-4px); }
.tm-who__list .ui-ico { width: 40px; height: 40px; color: var(--tm-sky); }
.tm-who__list li:hover .ui-ico { color: #fff; }
@media (min-width: 900px) { .tm-who__list { grid-template-columns: repeat(4, 1fr); } }

/* ─────────────────────────── tech page ─────────────────────────── */

.tm-quote { padding: clamp(96px, 12vw, 170px) 0; }
.tm-quote__grid { display: grid; gap: 40px; }
.tm-quote__big { font-size: clamp(1.7rem, .9rem + 3.4vw, 4.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.04em; }
.tm-quote__text p { font-size: clamp(1.02rem, .98rem + .3vw, 1.22rem); color: var(--tm-muted); }
.tm-quote__text p:first-child { color: var(--tm-navy); font-weight: 700; }
@media (min-width: 1000px) { .tm-quote__grid { grid-template-columns: 1.3fr .9fr; gap: 80px; align-items: end; } }

.tm-flow { padding: 0 0 clamp(96px, 12vw, 160px); }
.tm-flow__line { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; position: relative; counter-reset: f; }
.tm-flow__line li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; padding: 0 0 26px; }
.tm-flow__line li::before { content: ""; position: absolute; left: 19px; top: 30px; bottom: 0; width: 2px; background: linear-gradient(var(--tm-sky), var(--tm-magenta)); transform-origin: top; transform: scaleY(var(--s, 1)); }
.tm-flow__line li:last-child::before { display: none; }
.tm-flow__dot { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--tm-navy); box-shadow: inset 0 0 0 10px var(--tm-navy), inset 0 0 0 20px var(--tm-sky); }
.tm-flow__line li:last-child .tm-flow__dot { box-shadow: inset 0 0 0 10px var(--tm-navy), inset 0 0 0 20px var(--tm-magenta); }
.tm-flow__line strong { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem); letter-spacing: -.03em; line-height: 1.2; padding-top: 4px; }
.tm-flow__line span:last-child { color: var(--tm-muted); font-size: .98rem; }
@media (min-width: 1200px) {
  .tm-flow__line { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tm-flow__line li { grid-template-columns: 1fr; row-gap: 14px; padding: 0; }
  .tm-flow__line li::before { left: 40px; right: -16px; top: 19px; bottom: auto; width: auto; height: 2px; transform-origin: left; transform: scaleX(var(--s, 1)); background: linear-gradient(90deg, var(--tm-sky), var(--tm-magenta)); }
  .tm-flow__dot { grid-row: auto; }
}

.tm-modules { padding: 0 0 clamp(96px, 12vw, 160px); }
.tm-modules__stack { display: grid; gap: 16px; }
.tm-module {
  --bg: var(--tm-navy); --fg: #fff;
  position: relative; overflow: hidden; display: grid; gap: 16px; align-content: start;
  min-height: 340px; padding: clamp(28px, 4vw, 60px); border-radius: var(--tm-r-lg);
  background: var(--bg); color: var(--fg); box-shadow: 0 -20px 50px -30px rgba(31, 37, 74, .45);
}
.tm-module--sky { --bg: var(--tm-sky); --fg: var(--tm-navy); }
.tm-module--magenta { --bg: var(--tm-magenta-btn); }
.tm-module--ice { --bg: #fff; --fg: var(--tm-navy); }
.tm-module__num { position: absolute; right: clamp(20px, 3vw, 48px); bottom: -.12em; font-family: var(--tm-f-head); font-weight: 900; font-size: clamp(7rem, 5rem + 10vw, 16rem); line-height: 1; letter-spacing: -.06em; opacity: .12; pointer-events: none; }
.tm-module__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .14); font-size: 1.8rem; }
.tm-module--ice .tm-module__ico, .tm-module--sky .tm-module__ico { background: rgba(31, 37, 74, .08); }
.tm-module__title { font-size: clamp(2rem, 1.2rem + 3.6vw, 5rem); font-weight: 800; letter-spacing: -.045em; }
.tm-module__text { max-width: 40rem; font-size: clamp(1.02rem, .98rem + .35vw, 1.3rem); line-height: 1.55; margin: 0; opacity: .92; }
@media (min-width: 900px) { .tm-module { position: sticky; top: calc(96px + var(--k, 0) * 22px); min-height: 440px; } }

/* ─────────────────────────── case detail ─────────────────────────── */

.tm-case-d { padding: clamp(80px, 10vw, 150px) 0; scroll-margin-top: 40px; }
.tm-case-d--dark { background: var(--tm-navy); color: #fff; }
.tm-case-d__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
.tm-case-d__idx { font-family: var(--tm-f-head); font-weight: 900; font-size: clamp(4rem, 2.6rem + 6vw, 10rem); line-height: .8; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 2px var(--tm-magenta); }
.tm-case-d__title { min-width: 0; font-size: clamp(1.6rem, .9rem + 4.2vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; }
.tm-case-d__title em { display: block; }
.tm-case-d__head .tm-eyebrow { margin-bottom: 1rem; }
.tm-stats { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tm-stat { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 170px; padding: clamp(18px, 2.6vw, 32px); border-radius: var(--tm-r); background: #fff; box-shadow: 0 1px 0 var(--tm-line), 0 24px 50px -40px rgba(31, 37, 74, .5); }
.tm-stat dt { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.tm-stat dd { margin: 0; color: var(--tm-muted); font-weight: 600; font-size: .95rem; }
.tm-stat--wide { grid-column: 1 / -1; background: var(--tm-navy); color: #fff; }
.tm-stat--wide dt { font-size: clamp(2rem, .9rem + 3.6vw, 4.4rem); }
.tm-stat--wide dd { color: var(--tm-muted-light); font-size: 1.05rem; }
.tm-stat--magenta { background: var(--tm-magenta-btn); color: #fff; }
.tm-stat--magenta dd { color: rgba(255, 255, 255, .85); }
.tm-stat--sky { background: var(--tm-sky); }
.tm-stat--sky dd { color: var(--tm-navy); }
.tm-case-d--dark .tm-stat { background: rgba(255, 255, 255, .06); border: 1px solid var(--tm-line-light); box-shadow: none; }
.tm-case-d--dark .tm-stat dd { color: var(--tm-muted-light); }
.tm-case-d--dark .tm-stat--wide { background: var(--tm-magenta-btn); border: 0; }
.tm-case-d--dark .tm-stat--wide dd { color: rgba(255, 255, 255, .88); }
.tm-case-d__grid { display: grid; gap: 24px; }
.tm-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-actions li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--tm-r); background: rgba(255, 255, 255, .06); border: 1px solid var(--tm-line-light); font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.tm-actions span { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--tm-sky); color: var(--tm-navy); font-family: var(--tm-f-head); font-weight: 800; }
.tm-stats--col { grid-template-columns: 1fr 1fr; align-content: start; }
.tm-case-d__note { margin-top: 20px; color: var(--tm-muted); font-weight: 700; }
@media (min-width: 900px) {
  .tm-stats { grid-template-columns: repeat(4, 1fr); }
  .tm-stat--wide { grid-column: span 2; grid-row: span 2; }
  .tm-stats--col { grid-template-columns: 1fr 1fr; }
  .tm-case-d__grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
}
@media (max-width: 420px) { .tm-stat dt { font-size: 1.55rem; } }

/* ─────────────────────────── team & partners & company ─────────────────────────── */

.tm-team { padding: 0 0 clamp(96px, 12vw, 160px); }
.tm-team__head { margin-bottom: clamp(32px, 4vw, 56px); }
.tm-team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px) 16px; }
.tm-person { margin: 0; }
.tm-person__pic { position: relative; margin: 0 0 14px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tm-soft); transition: border-radius .6s var(--tm-ease-out); }
.tm-person__pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(136, 199, 238, .0), rgba(224, 43, 138, .35)); opacity: 0; transition: opacity .45s; }
.tm-person__pic img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.04); transition: filter .6s, transform .8s var(--tm-ease-out); }
.tm-person:hover .tm-person__pic { border-radius: 32px; }
.tm-person:hover .tm-person__pic::after { opacity: 1; }
.tm-person:hover .tm-person__pic img { filter: none; transform: scale(1.1); }
.tm-person__pic--initials { display: grid; place-items: center; background: var(--tm-navy); }
.tm-person__pic--silhouette { display: grid; place-items: end center; background: var(--tm-navy); }
.tm-person__pic--silhouette .ui-ico { width: 78%; height: 78%; color: var(--tm-sky); transform: translateY(8%); }
.tm-person__pic--silhouette::after { display: none; }
.tm-person__pic--initials span { font-family: var(--tm-f-head); font-weight: 800; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--tm-sky); }
.tm-person__name { font-size: clamp(1rem, .92rem + .4vw, 1.25rem); font-weight: 700; letter-spacing: -.02em; hyphens: manual; -webkit-hyphens: manual; }
.tm-person__role { margin: 4px 0 0; color: var(--tm-muted); font-size: .92rem; font-weight: 600; }
@media (min-width: 640px) { .tm-team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tm-team__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1300px) { .tm-team__grid { grid-template-columns: repeat(6, 1fr); } }

.tm-partners { background: var(--tm-navy); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.tm-partners__grid { display: grid; gap: 32px; align-items: center; }
.tm-partners__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-partners__list a { display: grid; place-items: center; height: 120px; padding: 24px 32px; border-radius: var(--tm-r); background: rgba(255, 255, 255, .05); border: 1px solid var(--tm-line-light); transition: background-color .35s, transform .45s var(--tm-ease-out); }
.tm-partners__list a:hover { background: rgba(255, 255, 255, .12); transform: translateY(-4px); }
.tm-partners__list img { max-height: 46px; width: auto; }
@media (min-width: 900px) { .tm-partners__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } .tm-partners__list { grid-template-columns: repeat(3, 1fr); } }

.tm-company { padding: clamp(80px, 10vw, 140px) 0; }
.tm-company__grid { display: grid; gap: 24px; }
.tm-company__data { margin: 0; display: grid; gap: 0; }
.tm-company__data div { display: grid; gap: 4px; padding: 18px 0; border-top: 2px solid var(--tm-line); }
.tm-company__data dt { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tm-magenta-btn); }
.tm-company__data dd { margin: 0; font-family: var(--tm-f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.6rem); letter-spacing: -.02em; }
.tm-company__data a { text-decoration: none; }
@media (min-width: 900px) { .tm-company__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } .tm-company__data div { grid-template-columns: 200px 1fr; align-items: baseline; } }

/* ─────────────────────────── contacts ─────────────────────────── */

.tm-reach { padding: clamp(56px, 7vw, 96px) 0; }
.tm-reach__grid { display: grid; gap: 12px; }
.tm-reach__card { display: grid; gap: 6px; padding: clamp(22px, 3vw, 36px); border-radius: var(--tm-r-lg); background: #fff; text-decoration: none; color: var(--tm-navy); box-shadow: 0 1px 0 var(--tm-line), 0 24px 50px -40px rgba(31, 37, 74, .5); transition: transform .45s var(--tm-ease-out), background-color .35s, color .35s; }
.tm-reach__card .ui-ico { width: 34px; height: 34px; color: var(--tm-magenta-btn); margin-bottom: 14px; }
.tm-reach__card:hover { transform: translateY(-5px); background: var(--tm-navy); color: #fff; }
.tm-reach__card:hover .ui-ico { color: var(--tm-sky); }
.tm-reach__k { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.tm-reach__v { font-family: var(--tm-f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; line-height: 1.25; }
@media (min-width: 900px) { .tm-reach__grid { grid-template-columns: repeat(3, 1fr); } }

/* ─────────────────────────── CTA band ─────────────────────────── */

.tm-cta { position: relative; overflow: clip; isolation: isolate; background: var(--tm-navy-deep); color: #fff; padding: clamp(110px, 14vw, 200px) 0; text-align: center; }
.tm-cta__glow { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(140vw, 1300px); aspect-ratio: 1.6; translate: -50% -50%; background: radial-gradient(closest-side, rgba(224, 43, 138, .55), rgba(136, 199, 238, .18) 55%, transparent 75%); filter: blur(10px); animation: tm-breathe 9s var(--tm-ease) infinite alternate; }
@keyframes tm-breathe { from { transform: scale(.9) rotate(-4deg); } to { transform: scale(1.08) rotate(4deg); } }
.tm-cta__inner { display: grid; justify-items: center; }
.tm-cta__inner .tm-eyebrow::before { display: none; }
.tm-cta__title { font-size: clamp(2.3rem, 10.2vw, 13rem); font-weight: 900; line-height: .9; letter-spacing: -.06em; margin-bottom: clamp(1.2rem, 3vw, 2.2rem); }
.tm-cta__lead { max-width: 36rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); color: rgba(255, 255, 255, .86); margin-bottom: 2.2rem; }
.tm-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ─────────────────────────── thanks / 404 ─────────────────────────── */

.tm-thanks { min-height: 100svh; display: grid; place-items: center; padding: calc(var(--tm-header-h) + 40px) 0 80px; background: radial-gradient(70% 70% at 80% 10%, #3A2A6B 0%, transparent 60%), var(--tm-navy-deep); color: #fff; }
.tm-thanks__inner { display: grid; justify-items: start; gap: 8px; }
.tm-thanks .tm-mark { width: 140px; margin-bottom: 24px; }
.tm-thanks .tm-phero__lead { margin-bottom: 2rem; }

/* ─────────────────────────── footer ─────────────────────────── */

.tm-footer { position: relative; overflow: clip; background: var(--tm-navy-deep); color: rgba(255, 255, 255, .78); padding: 0 0 32px; font-size: .96rem; }
.tm-footer__mega { display: flex; white-space: nowrap; padding-top: clamp(56px, 8vw, 110px); font-family: var(--tm-f-head); font-weight: 900; font-size: min(10.4vw, 15rem); line-height: .85; letter-spacing: -.06em; color: #fff; user-select: none; }
.tm-footer__mega span:last-child { color: transparent; -webkit-text-stroke: 2px var(--tm-magenta); }
.tm-footer__grid { display: grid; gap: 40px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 40px; border-bottom: 1px solid var(--tm-line-light); }
.tm-footer__logo { display: none; }
.tm-footer__brand p { max-width: 26rem; margin-bottom: 22px; }
.tm-footer__title { font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-sky); margin-bottom: 16px; }
.tm-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tm-footer__list li { display: flex; gap: 12px; align-items: flex-start; }
.tm-footer__list .ui-ico { margin-top: 4px; color: var(--tm-magenta); }
.tm-footer a { color: #fff; text-decoration: none; }
.tm-footer a:hover { color: var(--tm-sky); }
.tm-footer__nav { display: grid; gap: 10px; }
.tm-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.tm-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.tm-footer__partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tm-footer__partners img { height: 30px; width: auto; opacity: .8; transition: opacity .3s; }
.tm-footer__partners a:hover img { opacity: 1; }
.tm-footer__legal { padding-top: 24px; font-size: .82rem; color: var(--tm-muted-light); }
.tm-footer__legal a { text-decoration: underline; text-underline-offset: 3px; }
.tm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 12px; font-size: .85rem; color: var(--tm-muted-light); }
.tm-footer__bottom nav { display: flex; gap: 20px; }
@media (min-width: 760px) { .tm-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tm-footer__grid { grid-template-columns: 1.5fr 1fr .8fr .8fr; gap: 56px; } }

/* ─────────────────────────── mobile action bar ─────────────────────────── */

.tm-mbar { position: fixed; z-index: var(--z-mbar); left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(21, 26, 55, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); transform: translateY(150%); transition: transform .5s var(--tm-ease-out); }
.is-mbar .tm-mbar { transform: none; }
.is-menu-open .tm-mbar { transform: translateY(150%); }
.tm-mbar__item { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 800; font-size: .95rem; background: rgba(255, 255, 255, .08); }
.tm-mbar__item--main { background: var(--tm-magenta-btn); }
@media (min-width: 1024px) { .tm-mbar { display: none; } }
@media (max-width: 1023px) { .tm-footer { padding-bottom: 104px; } }

.tm-case__big, .tm-case__row strong, .tm-stat dt, .tm-zero__big, [data-countup] { font-variant-numeric: tabular-nums; }
[data-countup] { display: inline-block; white-space: nowrap; }
[data-countup].is-counting { text-align: right; }

/* ─────────────────────────── reveals ─────────────────────────── */

.tm-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--tm-ease-out), transform 1.1s var(--tm-ease-out); }
.tm-js [data-reveal].is-in { opacity: 1; transform: none; }
.tm-js [data-hero-line] { opacity: 0; transform: translateY(24px); }
.tm-js .is-ready [data-hero-line], .tm-js.no-motion [data-hero-line] { opacity: 1; transform: none; transition: opacity 1s var(--tm-ease-out), transform 1.1s var(--tm-ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tm-js [data-reveal], .tm-js [data-hero-line] { opacity: 1 !important; transform: none !important; }
  [data-words] .w { opacity: 1 !important; }
  .tm-hero__gl { display: none; }
}

/* ─────────────────────────── cookie consent (assets/consent.js) ─────────────────────────── */

.tmc { --tmc-ink: var(--tm-navy); font-family: var(--tm-f-body); color: var(--tmc-ink); }
.tmc a { color: var(--tm-magenta-btn); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.tmc-banner {
  position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  max-width: 560px; padding: 22px 22px 20px; border-radius: var(--tm-r);
  background: #fff; box-shadow: 0 30px 70px -24px rgba(21, 26, 55, .55), 0 0 0 1px var(--tm-line);
  opacity: 0; transform: translateY(16px); transition: opacity .35s var(--tm-ease-out), transform .45s var(--tm-ease-out);
}
.tmc-banner.is-in { opacity: 1; transform: none; }
.tmc-banner::before { content: ""; position: absolute; left: 22px; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--tm-sky), var(--tm-magenta)); }
@media (min-width: 720px) { .tmc-banner { left: 24px; right: auto; bottom: 24px; padding: 26px 28px 24px; } }
.tmc-title { margin: 0 36px .5rem 0; font-family: var(--tm-f-head); font-weight: 800; font-size: 1.12rem; line-height: 1.2; letter-spacing: -.02em; }
.tmc-txt { margin: 0 0 1rem; font-size: .92rem; line-height: 1.55; color: var(--tm-muted); }
.tmc-actions, .tmc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tmc-actions .tmc-btn--ghost { grid-column: 1 / -1; }
@media (min-width: 420px) { .tmc-actions { grid-template-columns: 1fr 1fr 1fr; } .tmc-actions .tmc-btn--ghost { grid-column: auto; } }
.tmc-btn {
  min-height: 46px; padding: .6em 1em; border-radius: 999px; border: 2px solid var(--tm-navy);
  font-family: var(--tm-f-body); font-weight: 800; font-size: .95rem; line-height: 1.1; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--tm-ease-out);
}
.tmc-btn--solid { background: var(--tm-navy); color: #fff; }
.tmc-btn--solid:hover { background: var(--tm-magenta-btn); border-color: var(--tm-magenta-btn); }
.tmc-btn--ghost { background: transparent; color: var(--tm-navy); }
.tmc-btn--ghost:hover { background: var(--tm-soft); }
.tmc-btn:active { transform: scale(.98); }
.tmc :focus-visible { outline: 3px solid var(--tm-magenta-btn); outline-offset: 2px; }
.tmc-x {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--tm-soft); color: var(--tm-navy); cursor: pointer; transition: background-color .25s;
}
.tmc-x:hover { background: #D5E6F5; }
.tmc-overlay {
  position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 12px; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(21, 26, 55, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.tmc-overlay.is-in { opacity: 1; }
.tmc-modal { position: relative; width: 100%; max-width: 680px; padding: 28px 22px 22px; border-radius: var(--tm-r); background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
@media (min-width: 720px) { .tmc-modal { padding: 36px 36px 30px; } }
.tmc-kicker { margin: 0 0 .6rem; font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-magenta-btn); }
.tmc-ptitle { margin: 0 40px 1rem 0; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tmc-cats { display: grid; gap: 10px; margin: 1.2rem 0; }
.tmc-cat { padding: 16px 18px; border-radius: 16px; background: var(--tm-paper); border: 1px solid var(--tm-line); }
.tmc-cat--off { opacity: .8; }
.tmc-cat__head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.tmc-cat__title { margin: 0 0 .25rem; font-weight: 800; }
.tmc-cat__desc { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--tm-muted); }
.tmc-always { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--tm-soft); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.tmc-switch { position: relative; flex: none; width: 52px; height: 30px; }
.tmc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.tmc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #B9C0DC; transition: background-color .25s; }
.tmc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .25s var(--tm-ease-out); }
.tmc-switch input:checked + span { background: var(--tm-magenta-btn); }
.tmc-switch input:checked + span::after { transform: translateX(22px); }
.tmc-switch input:focus-visible + span { outline: 3px solid var(--tm-magenta-btn); outline-offset: 2px; }
.tmc-details { margin-top: 10px; font-size: .86rem; }
.tmc-details summary { cursor: pointer; font-weight: 700; color: var(--tm-navy); }
.tmc-table, .tm-legal table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .86rem; }
.tmc-table th, .tmc-table td, .tm-legal th, .tm-legal td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--tm-line); }
.tmc-table th, .tm-legal th { font-weight: 800; background: rgba(31, 37, 74, .04); }
.tmc-table code, .tm-legal code { font-size: .92em; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .tmc-table thead, .tm-legal thead { display: none; }
  .tmc-table tr, .tm-legal tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--tm-line); }
  .tmc-table td, .tm-legal td { display: block; padding: 3px 0; border: 0; }
  .tmc-table td::before, .tm-legal td::before { content: attr(data-l) ": "; font-weight: 800; }
}
.tmc-last { margin: 0 0 1rem; font-size: .8rem; color: var(--tm-muted); }
.tmc-foot { grid-template-columns: 1fr; }
@media (min-width: 520px) { .tmc-foot { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
html.tmc-lock, html.tmc-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .tmc-banner, .tmc-overlay, .tmc-btn, .tmc-switch span, .tmc-switch span::after { transition: none; } }
.tm-footer__bottom nav button { padding: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; }
.tm-footer__bottom nav button:hover { color: var(--tm-sky); }
.tm-footer__bottom nav { flex-wrap: wrap; }

/* ─────────────────────────── legal pages (inc/legal.php) ─────────────────────────── */

.tm-legal-hero { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--tm-header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); background: radial-gradient(70% 70% at 90% 10%, #3A2A6B 0%, transparent 60%), radial-gradient(60% 60% at 0% 100%, #213F76 0%, transparent 65%), var(--tm-navy-deep); color: #fff; }
.tm-legal-hero h1 { font-size: clamp(2.1rem, 1.2rem + 4.4vw, 5.2rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 1.2rem; }
.tm-legal-hero p { margin: 0; color: rgba(255, 255, 255, .8); max-width: 44rem; }
.tm-legal { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 130px); }
.tm-legal__body { max-width: 48rem; }
.tm-legal h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 2.6rem 0 .9rem; }
.tm-legal h2:first-child { margin-top: 0; }
.tm-legal h3 { font-family: var(--tm-f-body); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; margin: 1.6rem 0 .5rem; }
.tm-legal p, .tm-legal li { color: #3A4066; }
.tm-legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.tm-legal li { margin-bottom: .4em; }
.tm-legal a { color: var(--tm-magenta-btn); font-weight: 700; text-underline-offset: 3px; }
.tm-legal__box { padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--tm-line); margin: 0 0 1.2em; }
.tm-legal__box p:last-child { margin-bottom: 0; }
.tm-legal__btn { margin-top: .4rem; }
.tm-legal__date { font-size: .9rem; color: var(--tm-muted); }
.tm-footer__credits { color: var(--tm-muted-light); }
.tm-footer__credits a { color: var(--tm-muted-light); text-decoration: underline; text-underline-offset: 3px; }
.tm-footer__credits a:hover { color: var(--tm-sky); }
.tmc-overlay { overflow-x: hidden; }
@media (max-width: 520px) {
  .tmc-banner { padding: 18px 16px 16px; }
  .tmc-title { font-size: 1rem; margin-bottom: .4rem; }
  .tmc-txt { font-size: .85rem; line-height: 1.5; margin-bottom: .8rem; }
  .tmc-btn { min-height: 44px; font-size: .9rem; }
  .tmc-x { top: 10px; right: 10px; width: 36px; height: 36px; }
  .tmc-cat { padding: 14px; }
  .tmc-cat__head { flex-direction: column-reverse; gap: 8px; }
  .tmc-cat__head .tmc-switch { align-self: flex-start; }
}
body:has(#tmc-banner) .tm-mbar { transform: translateY(150%); }
