/* ==========================================================================
   TMN — Main homepage
   Saudi Minimal Luxury · Architectural Intelligence
   ========================================================================== *//* ---------- 1. Tokens ---------- */



:root {
  /* Brand */
  --violet: #57068C;
  --violet-ultra: #8900E1;
  --violet-deep: #330662;
  --violet-dark: #220337;
  --teal: #009B8A;
  --teal-ultra: #50C0B9;
  /* Secondary palette — used sparingly (product tints, small signals) */
  --olive: #A9B240;
  --blue: #59B2D1;
  --orange: #DD7127;

  /* Interface neutrals */
  --paper: #FFFCF2;
  --stone: #F4F0E6;
  --sand: #E9E3D5;
  --ink: #1A1222;
  --ink-soft: #2E2536;
  --night: #120A19;     /* violet-tinted black: dark chapters stay on-brand */
  --muted: #6E6973;
  --muted-on-dark: rgba(255, 252, 242, .62);
  --line: rgba(20, 18, 22, .1);
  --line-on-dark: rgba(255, 252, 242, .14);

  /* Type */
  /* Brand type: Almarai (Arabic) + IBM Plex Sans (Latin). Plex is listed first
     so Latin words and numerals use it; Arabic glyphs fall through to Almarai. */
  --font-display: "IBM Plex Sans", "Almarai", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Almarai", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 56px);
  --container: 1360px;
  --radius-lg: clamp(20px, 2.2vw, 32px);
  --radius-md: 18px;
  --nav-h: 64px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}/* ---------- 2. Base ---------- */



.tmn-home *, .tmn-home *::before, .tmn-home *::after { box-sizing: border-box; }
.tmn-home * { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

html, .tmn-home { overflow-x: clip; }/* class-based so it still applies when a page builder wraps each section */


.tmn-home .hero, .tmn-home .section, .tmn-home .scenes, .tmn-home .cta, .tmn-home .footer { overflow-x: clip; }/* Inside WordPress (theme content area or Elementor widgets) the wrapper may be
   boxed or carry negative "full width" margins; break every section out to the
   exact screen width so the layout never depends on the theme. */


.tmn-home :where(.entry-content, .wp-block-post-content, .elementor-widget-container, .e-con-inner, .e-con)
  > :is(.hero, .section, .scenes, .cta, .footer) {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.tmn-home {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

.tmn-home img, .tmn-home svg { display: block; max-width: 100%; }
.tmn-home img { height: auto; }
.tmn-home a { color: inherit; text-decoration: none; }
.tmn-home button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.tmn-home ul, .tmn-home ol { list-style: none; }

.tmn-home :focus-visible {
  outline: 2px solid var(--violet-ultra);
  outline-offset: 3px;
  border-radius: 6px;
}

.tmn-home ::selection { background: var(--violet); color: var(--paper); }

.tmn-home .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tmn-home .skip-link {
  position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; border-radius: 999px;
  transition: top .3s var(--ease);
}
.tmn-home .skip-link:focus { top: 16px; }

.tmn-home .container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.tmn-home .section { padding-block: clamp(88px, 12vw, 176px); position: relative; }/* ---------- 3. Typography ---------- */



.tmn-home .display, .tmn-home h1, .tmn-home h2, .tmn-home h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
}

.tmn-home .h-section {
  font-size: clamp(2.125rem, 5vw, 4.25rem);
  line-height: 1.18;
  font-weight: 300;
}

.tmn-home .lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.9;
  color: var(--muted);
  max-width: 34em;
}

.tmn-home .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 22px;
}
.tmn-home .eyebrow::before {
  /* Najdi-inspired diamond — a quiet Saudi signature */
  content: "";
  width: 7px; height: 7px;
  background: var(--violet);
  transform: rotate(45deg);
  flex: none;
}
.tmn-home .eyebrow.on-dark { color: var(--muted-on-dark); }
.tmn-home .eyebrow.on-dark::before { background: var(--violet-ultra); }

.tmn-home .latin { font-family: var(--font-display); letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }/* ---------- 4. Buttons ---------- */



.tmn-home .btn {
  --btn-bg: var(--violet-deep);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
}
.tmn-home .btn::after {
  /* violet light sweep */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: radial-gradient(120% 140% at 100% 50%, rgba(137, 0, 225, .55), transparent 60%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.tmn-home .btn:hover::after { opacity: 1; }
.tmn-home .btn:active { transform: scale(.98); }

.tmn-home .btn .arrow {
  width: 18px; height: 18px;
  transition: transform .5s var(--ease-out);
}
.tmn-home .btn:hover .arrow { transform: translateX(-4px); }

.tmn-home .btn--light { --btn-bg: var(--paper); --btn-fg: var(--ink); }
.tmn-home .btn--light::after { background: radial-gradient(120% 140% at 100% 50%, rgba(137, 0, 225, .16), transparent 60%); }

.tmn-home .btn--ghost {
  --btn-bg: rgba(255, 252, 242, .08);
  --btn-fg: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tmn-home .btn--ghost:hover { --btn-bg: rgba(255, 252, 242, .16); }

.tmn-home .btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tmn-home .btn--outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }

.tmn-home .btn--violet { --btn-bg: var(--violet); }
.tmn-home .btn--violet::after { background: radial-gradient(120% 140% at 100% 50%, rgba(80, 192, 185, .45), transparent 60%); }

.tmn-home .btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }

.tmn-home .link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  position: relative;
  padding-block: 4px;
}
.tmn-home .link-arrow::after {
  content: "";
  position: absolute; inset-inline: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(.0); transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.tmn-home .link-arrow:hover::after { transform: scaleX(1); }
.tmn-home .link-arrow .arrow { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.tmn-home .link-arrow:hover .arrow { transform: translateX(-4px); }/* ---------- 5. Logo ---------- */



.tmn-home .logo {
  display: inline-flex; align-items: center; gap: 9px;
  color: currentColor;
  line-height: 1;
}
.tmn-home .logo__mark { width: 32px; height: 32px; flex: none; }
.tmn-home .logo__word {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: .02em;
}/* On light surfaces the mark takes the brand gradient and the wordmark Deep Violet */


.tmn-home .site-header.is-solid .logo, .tmn-home .site-header.is-mega-open .logo, .tmn-home .site-header.is-sheet-open .logo { --mark: url(#tmn-grad); }
.tmn-home .site-header.is-solid .logo__word, .tmn-home .site-header.is-mega-open .logo__word, .tmn-home .site-header.is-sheet-open .logo__word { color: var(--violet-deep); }/* ==========================================================================
   6. Header & navigation
   utility bar · floating bar (main | logo | actions) · mega panels · drawer
   ========================================================================== */



.tmn-home .site-header {
  position: fixed;
  inset-inline: 0; top: 0;
  z-index: 100;
  pointer-events: none;
  transition: transform .6s var(--ease-out);
}
.tmn-home .site-header.is-hidden { transform: translateY(-130%); }
.tmn-home .site-header a, .tmn-home .site-header button { pointer-events: auto; }/* ---------- Utility bar ---------- */



.tmn-home .utility {
  height: 34px;
  overflow: hidden;
  color: rgba(255, 252, 242, .72);
  font-size: .8125rem;
  transition: height .5s var(--ease-out), opacity .4s var(--ease), color .4s var(--ease);
}
.tmn-home .utility__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 6px; }
.tmn-home .utility__tag { opacity: .9; }
.tmn-home .utility__links { display: flex; gap: 22px; }
.tmn-home .utility__links a { transition: color .3s var(--ease); }
.tmn-home .utility__links a:hover { color: var(--paper); }
.tmn-home .site-header.is-compact .utility { height: 0; opacity: 0; }
.tmn-home .site-header.is-solid .utility { color: var(--muted); }
.tmn-home .site-header.is-solid .utility__links a:hover { color: var(--ink); }/* ---------- Floating bar ---------- */



.tmn-home .nav-wrap { position: relative; transition: width .7s var(--ease-out); }
.tmn-home .site-header.is-compact .nav-wrap { width: min(1240px, 100% - var(--gutter) * 2); }
.tmn-home .nav {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
  padding-inline: 10px;
  margin-top: 6px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(20, 18, 22, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), height .6s var(--ease-out), margin .6s var(--ease-out), border-radius .4s var(--ease);
}
.tmn-home .site-header.is-compact .nav { height: 58px; margin-top: 12px; }
.tmn-home .site-header.is-top:not(.is-mega-open) .nav {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, 0);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tmn-home .site-header.is-solid .nav, .tmn-home .site-header.is-mega-open .nav {
  color: var(--ink);
  background: rgba(255, 252, 242, .86);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 40px -18px rgba(20, 18, 22, .25);
}
.tmn-home .site-header.is-mega-open .nav { border-radius: 28px; background: var(--paper); }

.tmn-home .nav__main { position: relative; display: flex; align-items: center; gap: 2px; justify-self: start; }
.tmn-home .nav__item {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px;
  padding-inline: 14px;
  border-radius: 999px;
  font-size: .9375rem;
  white-space: nowrap;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.tmn-home .nav__item .chev { width: 12px; height: 12px; opacity: .7; transition: transform .45s var(--ease-out); }
.tmn-home .nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.tmn-home .nav__main:hover .nav__item { opacity: .62; }
.tmn-home .nav__main .nav__item:hover, .tmn-home .nav__main .nav__trigger[aria-expanded="true"] { opacity: 1; }
.tmn-home .site-header.is-mega-open .nav__trigger[aria-expanded="true"] { color: var(--violet); }/* sliding highlight behind the open trigger */



.tmn-home .nav__hilite {
  position: absolute; z-index: 0;
  top: 50%; left: 0;
  height: 42px; width: var(--w, 0);
  border-radius: 999px;
  background: rgba(87, 6, 140, .08);
  transform: translate(var(--x, 0), -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s var(--ease);
}
.tmn-home .nav__hilite.is-on { opacity: 1; }

.tmn-home .nav__logo { justify-self: center; }
.tmn-home .nav__end { display: flex; align-items: center; gap: 6px; justify-self: end; }
.tmn-home .nav__icon, .tmn-home .nav__store {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; min-width: 42px;
  border-radius: 999px;
  font-size: .9375rem;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tmn-home .nav__store { padding-inline: 12px; }
.tmn-home .nav__icon svg, .tmn-home .nav__store svg { width: 20px; height: 20px; }
.tmn-home .nav__icon:hover, .tmn-home .nav__store:hover { background: rgba(255, 252, 242, .12); }
.tmn-home .site-header.is-solid .nav__icon:hover, .tmn-home .site-header.is-solid .nav__store:hover, .tmn-home .site-header.is-mega-open .nav__icon:hover, .tmn-home .site-header.is-mega-open .nav__store:hover { background: rgba(26, 18, 34, .06); }
.tmn-home .nav__icon[aria-expanded="true"] { background: rgba(87, 6, 140, .08); color: var(--violet); }
.tmn-home .nav .btn--cta { --btn-bg: var(--paper); --btn-fg: var(--ink); margin-inline-start: 4px; }
.tmn-home .site-header.is-solid .nav .btn--cta, .tmn-home .site-header.is-mega-open .nav .btn--cta { --btn-bg: var(--violet-deep); --btn-fg: var(--paper); }

.tmn-home .nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.tmn-home .nav__toggle span { position: relative; display: block; width: 18px; height: 1.5px; background: currentColor; transition: background-color .2s; }
.tmn-home .nav__toggle span::before, .tmn-home .nav__toggle span::after {
  content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out);
}
.tmn-home .nav__toggle span::before { transform: translateY(-6px); }
.tmn-home .nav__toggle span::after { transform: translateY(6px); }/* ---------- Mega panels ---------- */



.tmn-home .mega {
  pointer-events: auto;
  position: absolute;
  top: calc(100% + 10px);
  inset-inline: 0;
  height: 0;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(18, 10, 25, .45);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .5s var(--ease-out), height .5s var(--ease-out), visibility 0s linear .3s;
}
.tmn-home .site-header.is-mega-open .mega {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .5s var(--ease-out), height .5s var(--ease-out), visibility 0s;
}
.tmn-home .mega__panels { position: relative; }
.tmn-home .mm-panel {
  position: absolute; inset-inline: 0; top: 0;
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(var(--from, 0));
  transition: opacity .25s var(--ease), transform .5s var(--ease-out), visibility 0s linear .25s;
}
.tmn-home .mm-panel.is-active {
  position: relative;
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .4s var(--ease) .08s, transform .6s var(--ease-out), visibility 0s;
}

.tmn-home .mm-grid { display: grid; grid-template-columns: 1fr 1fr 1.05fr 1.15fr; gap: 10px 28px; align-items: start; }
.tmn-home .mm-panel--products .mm-grid { grid-template-columns: 1fr 1.6fr 1.15fr; }
.tmn-home .mm-col { display: grid; gap: 22px; align-content: start; }
.tmn-home .mm-col + .mm-col:not(.mm-col--promo) { border-inline-start: 1px solid var(--line); padding-inline-start: 28px; }
.tmn-home .mm-col--promo { align-self: stretch; }

.tmn-home .mm-title {
  display: flex; align-items: center; gap: 10px;
  font-size: .75rem; color: var(--muted);
  margin-bottom: 8px;
}
.tmn-home .mm-list { display: grid; gap: 2px; }
.tmn-home .mm-link {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: 14px;
  transition: background-color .25s var(--ease);
}
.tmn-home .mm-ico {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--stone);
  color: var(--ink-soft);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease-out);
}
.tmn-home .mm-ico > svg { width: 19px; height: 19px; }
.tmn-home .mm-txt { display: grid; gap: 1px; min-width: 0; }
.tmn-home .mm-t { font-size: .9375rem; line-height: 1.45; }
.tmn-home .mm-d { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.tmn-home .mm-badge {
  font-style: normal; font-size: .6875rem;
  padding: 2px 8px; margin-inline-start: 4px; border-radius: 999px;
  color: var(--teal); background: rgba(0, 155, 138, .1);
  vertical-align: 2px;
}
.tmn-home .mm-link:hover { background: var(--stone); }
.tmn-home .mm-link:hover .mm-ico { background: var(--violet); color: var(--paper); transform: scale(1.04); }
.tmn-home .mm-logo { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; }
.tmn-home .mm-logo img, .tmn-home .mm-logo svg { width: 20px; height: 20px; }
.tmn-home .mm-logo--matter, .tmn-home .mm-logo--tmn { background: var(--violet-deep); }
.tmn-home .mm-logo--zigbee { background: #fff; }/* technology tiles */



.tmn-home .mm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tmn-home .mm-tile {
  display: grid; justify-items: center; gap: 8px;
  padding: 14px 8px 12px;
  border-radius: 16px;
  background: var(--stone);
  font-size: .8125rem;
  transition: background-color .3s var(--ease), transform .4s var(--ease-out), box-shadow .3s var(--ease);
}
.tmn-home .mm-tile .mm-ico { background: var(--paper); }
.tmn-home .mm-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(18, 10, 25, .35); }/* compact room list */


.tmn-home .mm-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.tmn-home .mm-compact a { padding: 6px 0; font-size: .9375rem; color: var(--ink-soft); transition: color .25s var(--ease); }
.tmn-home .mm-compact a:hover { color: var(--violet); }/* featured column */



.tmn-home .mm-featured { gap: 4px; }
.tmn-home .mm-feat {
  display: flex; align-items: center; gap: 14px;
  padding: 8px; margin-inline: -8px;
  border-radius: 16px;
  transition: background-color .25s var(--ease);
}
.tmn-home .mm-feat:hover { background: var(--stone); }
.tmn-home .mm-thumb { width: 60px; height: 60px; flex: none; border-radius: 14px; overflow: hidden; background: var(--stone); display: grid; place-items: center; }
.tmn-home .mm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tmn-home .mm-feat:hover .mm-thumb img { transform: scale(1.08); }
.tmn-home .mm-thumb--logo img, .tmn-home .mm-thumb--logo svg { width: 28px; height: 28px; object-fit: contain; }
.tmn-home .mm-thumb--matter, .tmn-home .mm-thumb--tmn { background: linear-gradient(160deg, var(--violet), var(--violet-dark)); }
.tmn-home .mm-thumb--zigbee { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.tmn-home .mm-feat:hover .mm-thumb--logo img { transform: none; }/* promo card */



.tmn-home .mm-promo {
  position: relative;
  display: flex; align-items: flex-end;
  height: 100%; min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--night);
}
.tmn-home .mm-promo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tmn-home .mm-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18, 10, 25, .86), rgba(18, 10, 25, .1) 60%); }
.tmn-home .mm-promo:hover .mm-promo__img { transform: scale(1.05); }
.tmn-home .mm-promo__body { display: grid; gap: 6px; padding: 22px; }
.tmn-home .mm-promo__title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 300; line-height: 1.35; }
.tmn-home .mm-promo__text { font-size: .875rem; color: rgba(255, 252, 242, .78); line-height: 1.7; }
.tmn-home .mm-promo__cta {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 8px; height: 40px; padding-inline: 16px;
  border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: .875rem; font-weight: 700;
}
.tmn-home .mm-arrow { width: 15px; height: 15px; transition: transform .45s var(--ease-out); }
.tmn-home .mm-promo:hover .mm-arrow, .tmn-home .mm-quick__card:hover .mm-arrow { transform: translateX(-3px); }
.tmn-home .mm-promo--product { background: #F6F2E9; color: var(--ink); align-items: stretch; flex-direction: column; justify-content: flex-end; }
.tmn-home .mm-promo--product::after { display: none; }
.tmn-home .mm-promo--product .mm-promo__product { flex: 1; display: grid; place-items: center; min-height: 160px; overflow: hidden; }
.tmn-home .mm-promo--product .mm-promo__product img {
  width: 82%; aspect-ratio: 1; object-fit: cover;
  transform: scale(1.45); transform-origin: 50% 56%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, transparent 100%);
  transition: transform 1s var(--ease-out);
}
.tmn-home .mm-promo--product:hover .mm-promo__product img { transform: scale(1.52); }
.tmn-home .mm-promo--product .mm-promo__text { color: var(--muted); }
.tmn-home .mm-promo--product .mm-promo__cta { background: var(--violet-deep); color: var(--paper); }/* quick cards (products) */



.tmn-home .mm-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.tmn-home .mm-quick__card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--stone);
  transition: background-color .3s var(--ease), transform .4s var(--ease-out);
}
.tmn-home .mm-quick__card .mm-ico { background: var(--paper); }
.tmn-home .mm-quick__card:hover { transform: translateY(-2px); }
.tmn-home .mm-quick__card:hover .mm-ico { background: var(--violet); color: var(--paper); }
.tmn-home .mm-quick__go { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); }/* search panel */



.tmn-home .mm-panel--search { padding: 28px 32px 30px; }
.tmn-home .mm-search {
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding-inline: 20px 8px;
  border-radius: 999px;
  background: var(--stone);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease);
}
.tmn-home .mm-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(87, 6, 140, .08); }
.tmn-home .mm-search > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.tmn-home .mm-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: inherit; outline: none; }
.tmn-home .mm-search button { height: 44px; padding-inline: 20px; border-radius: 999px; background: var(--violet-deep); color: var(--paper); font-weight: 700; font-size: .9375rem; }
.tmn-home .mm-popular { margin-top: 22px; }
.tmn-home .mm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tmn-home .mm-chips a { padding: 8px 16px; border-radius: 999px; background: var(--stone); font-size: .875rem; transition: background-color .3s, color .3s; }
.tmn-home .mm-chips a:hover { background: var(--violet); color: var(--paper); }

.tmn-home .mega-scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(18, 10, 25, .3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.tmn-home .mega-scrim.is-visible { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }/* ---------- Mobile drawer (drill-down) ---------- */



.tmn-home .drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s var(--ease-in-out), visibility 0s linear .6s;
}
.tmn-home .drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease-in-out), visibility 0s; }
.tmn-home .drawer__levels { position: absolute; inset: 0; overflow: hidden; }/* keeps scrolled content from sliding under the logo bar */


.tmn-home .drawer::before { content: ""; position: absolute; z-index: 2; inset-inline: 0; top: 0; height: calc(var(--nav-h) + 30px); background: linear-gradient(to bottom, var(--paper) 72%, rgba(255, 252, 242, 0)); pointer-events: none; }
.tmn-home .drawer__level {
  position: absolute; inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--nav-h) + 40px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  display: grid; align-content: start; gap: 22px;
  transform: translateX(-100%);           /* RTL: sub-levels wait off to the left */
  transition: transform .55s var(--ease-out), opacity .4s var(--ease);
}
.tmn-home .drawer__level[data-level="root"] { transform: none; }
.tmn-home .drawer__level.is-current { transform: none; }
.tmn-home .drawer__level.is-behind { transform: translateX(30%); opacity: 0; }
.tmn-home .drawer__list > li { border-bottom: 1px solid var(--line); }
.tmn-home .drawer__link {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
  font-family: var(--font-display);
  font-size: 1.625rem; font-weight: 300;
  text-align: start;
}
.tmn-home .drawer__chev { width: 20px; height: 20px; opacity: .5; }
.tmn-home .drawer__ext { width: 15px; height: 15px; opacity: .45; }
.tmn-home .drawer.is-open .drawer__list > li { animation: drawer-in .6s var(--ease-out) both; }
.tmn-home .drawer.is-open .drawer__list > li:nth-child(2) { animation-delay: .05s; }
.tmn-home .drawer.is-open .drawer__list > li:nth-child(3) { animation-delay: .1s; }
.tmn-home .drawer.is-open .drawer__list > li:nth-child(4) { animation-delay: .15s; }
.tmn-home .drawer.is-open .drawer__list > li:nth-child(5) { animation-delay: .2s; }
.tmn-home .drawer.is-open .drawer__list > li:nth-child(6) { animation-delay: .25s; }
@keyframes drawer-in { from { opacity: 0; transform: translateY(14px); } }
.tmn-home .drawer__foot { display: grid; gap: 14px; margin-top: 6px; }
.tmn-home .drawer__foot .btn { width: 100%; }
.tmn-home .drawer__foot .mm-search { height: 54px; }
.tmn-home .drawer__foot .mm-search button { height: 40px; }
.tmn-home .drawer__utility { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .875rem; color: var(--muted); margin-top: 4px; }
.tmn-home .drawer__back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; height: 40px; padding-inline: 4px 14px; font-size: .9375rem; color: var(--muted); }
.tmn-home .drawer__back svg { width: 18px; height: 18px; }
.tmn-home .drawer__heading { font-family: var(--font-display); font-size: 2rem; font-weight: 300; line-height: 1.2; margin-top: -6px; }
.tmn-home .drawer__level .mm-quick { grid-template-columns: 1fr; margin: 0; }
.tmn-home .drawer__level .mm-tiles { grid-template-columns: repeat(2, 1fr); }
.tmn-home .drawer__level .mm-promo { min-height: 240px; }
.tmn-home .drawer__level .mm-link { padding-block: 9px; }

body.no-scroll { overflow: hidden; }/* ---------- Header breakpoints ---------- */



@media (max-width: 1360px) {
  .tmn-home .nav__item { padding-inline: 11px; }
  .tmn-home .utility__tag { display: none; }
  .tmn-home .utility__inner { justify-content: flex-end; }
}
@media (max-width: 1199px) {
  .tmn-home .utility { display: none; }
  .tmn-home .nav { grid-template-columns: auto 1fr; padding-inline: 16px 6px; margin-top: 12px; }
  .tmn-home .nav__main, .tmn-home .nav__icon, .tmn-home .nav__end .btn--cta, .tmn-home .nav__store span { display: none; }
  .tmn-home .nav__logo { justify-self: start; }
  .tmn-home .nav__toggle { display: inline-flex; }
  .tmn-home .mega, .tmn-home .mega-scrim { display: none; }
  .tmn-home .site-header.is-sheet-open .nav { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tmn-home .site-header.is-sheet-open .nav__toggle span { background: transparent; }
  .tmn-home .site-header.is-sheet-open .nav__toggle span::before { transform: rotate(45deg); }
  .tmn-home .site-header.is-sheet-open .nav__toggle span::after { transform: rotate(-45deg); }
}/* ==========================================================================
   7. Hero
   ========================================================================== */



.tmn-home .hero {
  position: relative;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  height: var(--hero-h, 100svh);  /* the visible height at load, fixed (main.js), so it never resizes mid-scroll */
  min-height: 540px;   /* the content below is sized to fit even this */
  color: var(--paper);
  background: var(--night);
  overflow: hidden;
  isolation: isolate;
}

.tmn-home .hero__media {
  position: absolute; inset: 0; z-index: -2;
  transform: scale(calc(1 + var(--hero-p, 0) * .06));
  filter: brightness(calc(1 - var(--hero-p, 0) * .35));
  will-change: transform;
}
.tmn-home .hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.tmn-home .hero__slide.is-active { opacity: 1; }
.tmn-home .hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 9s linear;
}
.tmn-home .hero__slide.is-active img { transform: scale(1.02); }
.tmn-home .hero__slide--home img { object-position: 50% 55%; }
.tmn-home .hero__slide--work img { object-position: 50% 50%; }
.tmn-home .hero__slide--store img { object-position: 50% 50%; filter: brightness(.72); }/* the photo has its own words: keep them behind ours */
  

.tmn-home .hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 10, 13, .92) 0%, rgba(11, 10, 13, .35) 38%, rgba(11, 10, 13, 0) 62%),
    linear-gradient(to left, rgba(11, 10, 13, .78) 0%, rgba(11, 10, 13, .45) 38%, rgba(11, 10, 13, 0) 70%),
    linear-gradient(to bottom, rgba(11, 10, 13, .45) 0%, rgba(11, 10, 13, 0) 22%);
}

.tmn-home .hero__inner {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: clamp(28px, 4vw, 48px);
}
.tmn-home .hero__content { align-self: end; max-width: 880px; padding-bottom: clamp(36px, 6vh, 72px); display: grid; }/* the three copies share one cell, bottom-aligned, so switching never moves the layout */


.tmn-home .hero__copy { grid-area: 1 / 1; align-self: end; transition: opacity .6s var(--ease), visibility 0s linear 0s; }
.tmn-home .hero__copy:not(.is-active) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s var(--ease), visibility 0s linear .5s; }

.tmn-home .hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .875rem;
  color: rgba(255, 252, 242, .78);
  margin-bottom: 26px;
}
.tmn-home .hero__eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--violet-ultra); transform: rotate(45deg); box-shadow: 0 0 16px 2px rgba(137, 0, 225, .8); }

.tmn-home .hero__title {
  /* follows the screen's height too, so short laptop screens keep the whole hero in view */
  font-size: clamp(2.875rem, min(8.2vw, 14vh), 7.25rem);
  font-weight: 300;
  line-height: 1.12;
}
.tmn-home .hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.tmn-home .hero__title .line > span { display: inline-block; }
.tmn-home .hero__title em { font-style: normal; font-weight: 500; }

.tmn-home .hero__text {
  margin-top: 26px;
  font-size: clamp(1.0625rem, 1.5vw, 1.3125rem);
  color: rgba(255, 252, 242, .8);
  max-width: 30em;
}
.tmn-home .hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.tmn-home .hero__bar {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 252, 242, .16);
}
.tmn-home .hero__scenes { display: flex; gap: 28px; }
.tmn-home .hero__scene {
  display: grid; gap: 10px;
  min-width: 150px;
  text-align: start;
  color: rgba(255, 252, 242, .55);
  font-size: .875rem;
  transition: color .4s var(--ease);
}
.tmn-home .hero__scene .n { font-family: var(--font-display); font-size: .75rem; direction: ltr; text-align: end; }
.tmn-home .hero__scene-head { display: flex; justify-content: space-between; gap: 14px; }
.tmn-home .hero__scene.is-active { color: var(--paper); }
.tmn-home .hero__progress { position: relative; height: 2px; background: rgba(255, 252, 242, .2); border-radius: 2px; overflow: hidden; }
.tmn-home .hero__progress i {
  position: absolute; inset: 0;
  background: var(--paper);
  transform: scaleX(0); transform-origin: right;
}
.tmn-home .hero__scene.is-active .hero__progress i { animation: scene-progress var(--scene-ms, 7000ms) linear forwards; }
.tmn-home .hero.is-paused .hero__scene.is-active .hero__progress i { animation-play-state: paused; }
@keyframes scene-progress { to { transform: scaleX(1); } }

.tmn-home .hero__meta { display: flex; align-items: center; gap: 22px; font-size: .8125rem; color: rgba(255, 252, 242, .6); }
.tmn-home .hero__scroll {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255, 252, 242, .75);
}
.tmn-home .hero__scroll-line { position: relative; width: 1px; height: 40px; background: rgba(255, 252, 242, .2); overflow: hidden; }/* Scroll cue: bottom centre of the hero, a slim capsule with a glowing dot gliding down */



.tmn-home .hero__cue {
  position: absolute; z-index: 3;
  inset-inline: 0; bottom: clamp(18px, 3.5vh, 36px);
  width: max-content; margin-inline: auto;
  display: block; padding: 8px 16px;
}
.tmn-home .hero__cue-line {
  position: relative; display: block;
  width: 24px; height: 40px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 252, 242, .55);
  transition: box-shadow .4s var(--ease);
}
.tmn-home .hero__cue-line::before {
  content: ""; position: absolute; top: 8px; left: 50%;
  width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: #FFFCF2;
  box-shadow: 0 0 8px 1px rgba(199, 155, 255, .85);
  animation: cue-wheel 1.9s var(--ease-in-out) infinite;
}
@keyframes cue-wheel {
  0% { transform: translateY(0); opacity: 0; }
  18% { opacity: 1; }
  70% { transform: translateY(14px); opacity: 1; }
  100% { transform: translateY(17px); opacity: 0; }
}
.tmn-home .hero__cue:hover .hero__cue-line { box-shadow: inset 0 0 0 1.5px #FFFCF2; }/* fades in with the rest of the hero */


:where(html).js .tmn-home .hero .hero__cue { opacity: 0; transition: opacity 1s var(--ease) 1.5s; }
.tmn-home .hero.is-ready .hero__cue { opacity: 1; }/* short, wide screens (laptops): tighter spacing so the title, buttons, bar and cue all fit */


@media (min-width: 768px) and (max-height: 720px) {
  .tmn-home .hero__inner { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 22px; }
  .tmn-home .hero__content { padding-bottom: 26px; }
  .tmn-home .hero__text { margin-top: 16px; }
  .tmn-home .hero__ctas { margin-top: 26px; }
  .tmn-home .hero__bar { padding-top: 16px; }
  .tmn-home .hero__cue { bottom: 14px; }
}/* phones and tablets: the scene tabs span the full width, so the cue sits under them */


@media (max-width: 1023px) {
  .tmn-home .hero__inner { padding-bottom: 78px; }
  .tmn-home .hero__cue { bottom: 10px; padding-block: 6px; }
  .tmn-home .hero__cue-line { width: 22px; height: 36px; }
}
.tmn-home .hero__scroll-line::after {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 40%;
  background: var(--paper);
  animation: scroll-cue 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }/* Hero entrance */



:where(html).js .tmn-home .hero [data-enter] { opacity: 0; transform: translateY(24px); }
:where(html).js .tmn-home .hero .hero__title .line > span { opacity: 1; transform: translateY(105%); }
.tmn-home .hero.is-ready [data-enter] {
  opacity: 1; transform: none;
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.tmn-home .hero.is-ready .hero__title .line > span {
  transform: none;
  transition: transform 1.4s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}/* a copy that leaves fades as a whole, then its pieces reset (unseen) to rise again next time */


.tmn-home .hero.is-ready .hero__copy:not(.is-active) [data-enter] { opacity: 0; transform: translateY(24px); transition: opacity 0s .5s, transform 0s .5s; }
.tmn-home .hero.is-ready .hero__copy:not(.is-active) .hero__title .line > span { transform: translateY(105%); transition: transform 0s .5s; }/* after the first change the pieces follow each other faster than on the page's first load */


.tmn-home .hero.is-cycled .hero__copy [data-enter], .tmn-home .hero.is-cycled .hero__copy .hero__title .line > span { transition-delay: calc(var(--d, 0) * .5ms + 250ms); }
.tmn-home .hero.is-cycled .hero__copy:not(.is-active) [data-enter], .tmn-home .hero.is-cycled .hero__copy:not(.is-active) .hero__title .line > span { transition-delay: .5s; }/* ==========================================================================
   8. About statement
   ========================================================================== */



.tmn-home .statement { background: var(--paper); padding-top: clamp(40px, 6vw, 96px); }
.tmn-home .spaces { position: relative; z-index: 2; background: var(--paper); }
:where(html).motion-live .tmn-home .spaces {
  border-radius: 36px 36px 0 0;
  margin-top: -36px;
  box-shadow: 0 -30px 60px -30px rgba(11, 10, 13, .45);
}
.tmn-home .hero__veil { position: absolute; inset: 0; z-index: -1; background: var(--night); opacity: 0; pointer-events: none; }
.tmn-home .statement__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 3.9vw, 3.375rem);
  line-height: 1.55;
  max-width: 21em;
}
.tmn-home .statement__text .w { color: rgba(20, 18, 22, .16); transition: color .4s var(--ease); }
.tmn-home .statement__text .w.is-lit { color: var(--ink); }
.tmn-home .statement__text .w.accent.is-lit { color: var(--violet); }
:where(html).no-js .tmn-home .statement__text .w, :where(html).reduce-motion .tmn-home .statement__text .w { color: var(--ink); }

.tmn-home .pillars {
  margin-top: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.tmn-home .pillar {
  padding: 28px 0 0;
  padding-inline-end: 32px;
  display: grid; gap: 10px;
}
.tmn-home .pillar + .pillar { padding-inline-start: 32px; border-inline-start: 1px solid var(--line); }
.tmn-home .pillar__brand { font-family: var(--font-display); font-size: .875rem; color: var(--violet); direction: ltr; text-align: end; justify-self: start; }
.tmn-home .pillar__title { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; }
.tmn-home .pillar__text { color: var(--muted); font-size: .9375rem; line-height: 1.8; }
.tmn-home .pillar .link-arrow { justify-self: start; font-size: .9375rem; margin-top: 6px; }/* ==========================================================================
   9. Spaces (Home / Business)
   ========================================================================== */



.tmn-home .section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.tmn-home .section-head .lead { max-width: 26em; }

.tmn-home .spaces__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.4vw, 20px);
}

.tmn-home .space-card {
  position: relative;
  display: block;
  height: clamp(560px, 84vh, 880px);
  height: clamp(520px, min(84vh, calc(100vh - var(--nav-h) - 56px)), 880px);  /* always fits under the menu */
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
  background: var(--ink);
  min-width: 0;
  transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}
.tmn-home .space-card__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease-out), scale 1.6s var(--ease-out);
}
.tmn-home .space-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11, 10, 13, .86) 0%, rgba(11, 10, 13, .25) 45%, rgba(11, 10, 13, 0) 70%),
    linear-gradient(to bottom, rgba(11, 10, 13, .35), rgba(11, 10, 13, 0) 28%);
  transition: opacity .8s var(--ease);
}
.tmn-home .space-card::after {
  /* violet light line */
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 3px;
  background: linear-gradient(to left, transparent, var(--violet-ultra), transparent);
  transform: scaleX(0);
  transition: transform 1s var(--ease-out);
}
.tmn-home .space-card:hover .space-card__img { scale: 1.05; }
.tmn-home .space-card.is-gsap { transition: opacity .6s var(--ease); }
.tmn-home .space-card.is-gsap .space-card__img { transition: scale 1.6s var(--ease-out); }
.tmn-home .space-card:hover::after { transform: scaleX(1); }
@media (hover: hover) {
  .tmn-home .spaces__grid:hover .space-card:not(:hover) { opacity: .82; }
}

.tmn-home .space-card__top {
  position: absolute; top: 24px; inset-inline: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.tmn-home .chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding-inline: 14px;
  border-radius: 999px;
  font-size: .8125rem; font-weight: 500;
  background: rgba(255, 252, 242, .12);
  background: rgba(11, 10, 13, .38);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .22);
}
.tmn-home .chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-ultra); box-shadow: 0 0 10px var(--teal-ultra); }/* «قريباً»: TMN Business is on its way; reads on dark photos and on the light pages alike */


.tmn-home .soon {
  display: inline-flex; align-items: center;
  height: 20px; padding-inline: 9px;
  border-radius: 999px;
  font-size: .6875rem; font-weight: 600; line-height: 1; letter-spacing: 0;
  color: #FFFCF2;
  background: linear-gradient(100deg, #57068C 0%, #8900E1 100%);
  box-shadow: 0 0 0 1px rgba(255, 252, 242, .14), 0 4px 14px -6px rgba(137, 0, 225, .7);
  white-space: nowrap; vertical-align: middle;
}
.tmn-home .soon--sm { height: 16px; padding-inline: 6px; font-size: .625rem; margin-inline-start: 4px; }
.tmn-home .chip .soon { margin-inline-start: 2px; margin-inline-end: -6px; }
@media (max-width: 767px) {/* the hero tabs are narrow on phones: a smaller badge, kept on the word's line */

  
  .tmn-home .hero__scene-head { gap: 6px; }
  .tmn-home .hero__scene-head > span:first-child { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; min-width: 0; }
  .tmn-home .hero__scene .soon { height: 15px; padding-inline: 5px; font-size: .5625rem; margin: 0; }
}
.tmn-home .space-card__num { font-family: var(--font-display); font-size: .8125rem; opacity: .7; direction: ltr; }

.tmn-home .space-card__body {
  position: absolute; inset-inline: clamp(24px, 3vw, 44px); bottom: clamp(24px, 3vw, 44px);
}
.tmn-home .space-card__title {
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
}
.tmn-home .space-card__text {
  margin-top: 14px;
  max-width: 26em;
  color: rgba(255, 252, 242, .78);
}
.tmn-home .space-card__cta {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500;
}
.tmn-home .space-card__cta .circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  transition: transform .6s var(--ease-out), background-color .4s var(--ease), color .4s var(--ease);
}
.tmn-home .space-card__cta .circle svg { width: 20px; height: 20px; transition: transform .6s var(--ease-out); }
.tmn-home .space-card:hover .space-card__cta .circle { background: var(--violet); color: var(--paper); transform: scale(1.06); }
.tmn-home .space-card:hover .space-card__cta .circle svg { transform: translateX(-3px); }/* ==========================================================================
   10. Solutions — editorial index
   ========================================================================== */



.tmn-home .solutions { background: var(--stone); }
.tmn-home .solutions__layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.tmn-home .solutions__index { counter-reset: sol; }
.tmn-home .sol {
  border-top: 1px solid var(--line);
}
.tmn-home .sol:last-child { border-bottom: 1px solid var(--line); }
.tmn-home .sol__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 26px 0;
  text-align: start;
}
.tmn-home .sol__num { font-family: var(--font-display); font-size: .8125rem; color: var(--muted); direction: ltr; text-align: end; justify-self: start; transition: color .4s; }
.tmn-home .sol__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 300;
  line-height: 1.3;
  color: rgba(20, 18, 22, .42);
  transition: color .5s var(--ease);
}
.tmn-home .sol__plus { width: 20px; height: 20px; color: var(--muted); transition: transform .5s var(--ease-out), color .4s; }
.tmn-home .sol.is-active .sol__title, .tmn-home .sol__btn:hover .sol__title { color: var(--ink); }
.tmn-home .sol.is-active .sol__num { color: var(--violet); }
.tmn-home .sol.is-active .sol__plus { transform: rotate(45deg); color: var(--violet); }

.tmn-home .sol__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.tmn-home .sol.is-active .sol__panel { grid-template-rows: 1fr; }
.tmn-home .sol__panel > div { overflow: hidden; }
.tmn-home .sol__body {
  padding: 0 0 30px;
  padding-inline-start: 64px;
  display: grid; gap: 18px;
}
.tmn-home .sol__desc { color: var(--muted); max-width: 30em; }
.tmn-home .sol__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tmn-home .sol__tags span {
  font-size: .8125rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 18, 22, .05);
}
.tmn-home .sol__body .link-arrow { justify-self: start; color: var(--violet); }/* under each solution: its products in the store, and the consultation form */


.tmn-home .sol__links { justify-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.tmn-home .sol__body .link-arrow--soft { color: var(--muted); }
.tmn-home .sol__body .link-arrow--soft:hover { color: var(--violet); }
.tmn-home .sol__media { display: none; }

.tmn-home .solutions__stage {
  position: sticky; top: 104px;
  height: min(78vh, 760px);
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
}
.tmn-home .stage__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  clip-path: inset(0 0 0 100%);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease-out), clip-path 1.1s var(--ease-in-out);
}
.tmn-home .stage__img.is-active { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); z-index: 1; }
.tmn-home .stage__img.was-active { opacity: 1; z-index: 0; clip-path: inset(0 0 0 0); }
.tmn-home .solutions__stage::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(11, 10, 13, .6), transparent 45%);
  pointer-events: none;
}
.tmn-home .stage__note {
  position: absolute; z-index: 3;
  inset-inline-start: 24px; bottom: 24px;
  max-width: 300px;
  padding: 18px 20px;
  border-radius: 18px;
  color: var(--paper);
  background: rgba(20, 18, 22, .38);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.tmn-home .stage__note-label { font-size: .75rem; opacity: .7; display: flex; align-items: center; gap: 8px; }
.tmn-home .stage__note-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-ultra); box-shadow: 0 0 10px var(--teal-ultra); }
.tmn-home .stage__note-text { font-family: var(--font-display); font-weight: 300; font-size: 1.25rem; line-height: 1.5; margin-top: 4px; }
.tmn-home .stage__count {
  position: absolute; z-index: 3; top: 22px; inset-inline-end: 24px;
  font-family: var(--font-display); font-size: .8125rem;
  color: rgba(255, 252, 242, .8); direction: ltr;
}/* ==========================================================================
   11. Experience — product storytelling
   ========================================================================== */



.tmn-home .experience { background: var(--paper); overflow: hidden; overflow: clip; }/* clip keeps the phone sticky pin working */
  
.tmn-home .experience__head { text-align: center; margin-inline: auto; max-width: 900px; }
.tmn-home .experience__head .eyebrow { justify-content: center; }
.tmn-home .experience__head .lead { margin: 22px auto 0; }

.tmn-home .xp-tabs {
  margin: clamp(40px, 5vw, 64px) auto 28px;
  display: flex; justify-content: center;
}
.tmn-home .xp-tabs__list {
  display: inline-flex; gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--stone);
  box-shadow: inset 0 0 0 1px var(--line);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.tmn-home .xp-tabs__list::-webkit-scrollbar { display: none; }
.tmn-home .xp-tab {
  position: relative;
  height: 44px;
  padding-inline: 20px;
  border-radius: 999px;
  font-size: .9375rem; font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  transition: color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s;
}
.tmn-home .xp-tab[aria-selected="true"] { color: var(--ink); background: var(--paper); box-shadow: 0 4px 16px -6px rgba(20, 18, 22, .2), inset 0 0 0 1px var(--line); }
.tmn-home .xp-tab__bar { position: absolute; inset-inline: 20px; bottom: 6px; height: 2px; border-radius: 2px; background: rgba(87, 6, 140, .12); opacity: 0; overflow: hidden; }
.tmn-home .xp-tab__bar i { position: absolute; inset: 0; background: var(--violet); transform: scaleX(0); transform-origin: right; }
.tmn-home .xp-tab[aria-selected="true"] .xp-tab__bar { opacity: 1; }
.tmn-home .xp.is-auto .xp-tab[aria-selected="true"] .xp-tab__bar i { animation: scene-progress var(--xp-ms, 6500ms) linear forwards; }
.tmn-home .xp.is-paused .xp-tab[aria-selected="true"] .xp-tab__bar i { animation-play-state: paused; }

.tmn-home .xp-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  min-height: clamp(520px, 62vw, 720px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 90% at 30% 55%, #FFFFFF 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #F7F3EA, #EFEADF);
  overflow: hidden;
  isolation: isolate;
}
.tmn-home .xp-stage::before {
  /* soft violet rim light */
  content: ""; position: absolute; z-index: -1;
  width: 50%; aspect-ratio: 1;
  inset-inline-end: 8%; top: 50%;
  translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(137, 0, 225, .14), transparent);
  filter: blur(10px);
}
.tmn-home .xp-panel {
  grid-column: 1 / -1; grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  visibility: hidden;
}
.tmn-home .xp-panel.is-active { visibility: visible; }
.tmn-home .xp-copy {
  padding: clamp(32px, 5vw, 80px);
  padding-inline-end: 0;
  display: grid; gap: 18px; align-content: center;
}
.tmn-home .xp-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .9s var(--ease-out); }
.tmn-home .xp-panel.is-active .xp-copy > * { opacity: 1; transform: none; }
.tmn-home .xp-panel.is-active .xp-copy > *:nth-child(2) { transition-delay: .08s; }
.tmn-home .xp-panel.is-active .xp-copy > *:nth-child(3) { transition-delay: .16s; }
.tmn-home .xp-panel.is-active .xp-copy > *:nth-child(4) { transition-delay: .24s; }
.tmn-home .xp-panel.is-active .xp-copy > *:nth-child(5) { transition-delay: .32s; }
.tmn-home .xp-pillar { font-size: .8125rem; font-weight: 500; color: var(--violet); display: flex; align-items: center; gap: 10px; }
.tmn-home .xp-pillar::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.tmn-home .xp-title { font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 300; line-height: 1.22; }
.tmn-home .xp-text { color: var(--muted); max-width: 26em; }
.tmn-home .xp-product { font-size: .875rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.tmn-home .xp-product::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--teal); }
.tmn-home .xp-copy .link-arrow { justify-self: start; }

.tmn-home .xp-visual {
  position: relative;
  height: 100%;
  min-height: 420px;
  display: grid; place-items: center;
}
.tmn-home .xp-visual__frame {
  position: relative;
  width: min(92%, 560px);
  aspect-ratio: 1;
  /* crop store artwork to the product and dissolve its edges into the stage */
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 96%);
  mask-image: radial-gradient(closest-side, #000 58%, transparent 96%);
  opacity: 0;
  transform: scale(.94) translateY(20px);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease-out);
}
.tmn-home .xp-panel.is-active .xp-visual__frame { opacity: 1; transform: none; }
.tmn-home .xp-visual__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  transform-origin: 50% 57%;
  mix-blend-mode: multiply;
}
.tmn-home .xp-shadow {
  position: absolute; bottom: 12%; left: 50%;
  width: 46%; height: 26px; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(20, 18, 22, .16), transparent);
  filter: blur(6px);
  z-index: -1;
}

.tmn-home .xp-values {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.tmn-home .xp-value { padding: 6px 24px; border-inline-start: 1px solid var(--line); }
.tmn-home .xp-value:first-child { border-inline-start: 0; padding-inline-start: 0; }
.tmn-home .xp-value__k { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; }
.tmn-home .xp-value__v { color: var(--muted); font-size: .9375rem; line-height: 1.75; margin-top: 4px; }/* ==========================================================================
   12. Projects
   ========================================================================== */



.tmn-home .projects { background: var(--night); color: var(--paper); overflow: hidden; }
.tmn-home .projects .lead { color: var(--muted-on-dark); }
.tmn-home .projects__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 36px; }
.tmn-home .projects__tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.tmn-home .filters { display: flex; gap: 6px; flex-wrap: wrap; }
.tmn-home .filter {
  height: 40px; padding-inline: 18px;
  border-radius: 999px;
  font-size: .875rem;
  color: var(--muted-on-dark);
  box-shadow: inset 0 0 0 1px var(--line-on-dark);
  transition: all .35s var(--ease);
}
.tmn-home .filter:hover { color: var(--paper); }
.tmn-home .filter[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: none; }
.tmn-home .rail-nav { display: flex; gap: 8px; }
.tmn-home .rail-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-on-dark);
  transition: all .35s var(--ease);
}
.tmn-home .rail-btn svg { width: 18px; height: 18px; }
.tmn-home .rail-btn:hover:not(:disabled) { background: var(--paper); color: var(--ink); }
.tmn-home .rail-btn:disabled { opacity: .3; cursor: default; }

.tmn-home .demo-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: var(--muted-on-dark);
}
.tmn-home .demo-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E8B04A; }

.tmn-home .rail {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--rail-pad);
  padding-inline: var(--rail-pad);
  margin-inline: calc(var(--rail-pad) * -1);
  padding-bottom: 8px;
  scrollbar-width: none;
  --rail-pad: max(var(--gutter), (100vw - var(--container)) / 2);
}
.tmn-home .rail::-webkit-scrollbar { display: none; }
.tmn-home .rail-wrap { margin-inline: calc((100vw - 100%) / -2); }
.tmn-home .rail-wrap .rail { margin-inline: 0; }

.tmn-home .project {
  flex: none;
  width: clamp(300px, 34vw, 500px);
  scroll-snap-align: start;
  display: grid; gap: 18px;
  transition: opacity .5s var(--ease);
}
.tmn-home .project--wide { width: clamp(320px, 52vw, 780px); }
.tmn-home .project[hidden] { display: none; }
.tmn-home .project__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink-soft);
}
.tmn-home .project--wide .project__media { aspect-ratio: auto; height: 100%; min-height: 0; }
.tmn-home .project--wide { grid-template-rows: 1fr auto; }
.tmn-home .project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease-out); }
.tmn-home .project:hover .project__media img { scale: 1.05; }
.tmn-home .project__badge {
  position: absolute; top: 16px; inset-inline-start: 16px;
  font-size: .75rem; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 10, 13, .5);
  color: var(--paper);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .2);
}
.tmn-home .project__meta { display: flex; justify-content: space-between; gap: 16px; font-size: .8125rem; color: var(--muted-on-dark); }
.tmn-home .project__cat { display: inline-flex; align-items: center; gap: 8px; }
.tmn-home .project__cat::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--violet-ultra); }
.tmn-home .project[data-cat="business"] .project__cat::before { background: var(--teal-ultra); }
.tmn-home .project__name { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.35; }
.tmn-home .project__desc { color: var(--muted-on-dark); font-size: .9375rem; line-height: 1.8; max-width: 34em; }
.tmn-home .project .link-arrow { justify-self: start; font-size: .9375rem; }

.tmn-home .rail-progress { margin-top: 36px; height: 1px; background: var(--line-on-dark); position: relative; }
.tmn-home .rail-progress i { position: absolute; inset-block: 0; right: 0; width: 20%; background: var(--paper); transition: width .3s var(--ease), transform .3s var(--ease); }

.tmn-home .projects__foot { margin-top: 48px; display: flex; justify-content: center; }/* ==========================================================================
   13. Store
   ========================================================================== */



.tmn-home .store { background: var(--paper); }
.tmn-home .store__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.tmn-home .store__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.tmn-home .product {
  display: grid; gap: 16px;
}
.tmn-home .product__media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F6F2E9;
  isolation: isolate;
}
.tmn-home .product__media::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: inherit;
  pointer-events: none;
}
.tmn-home .product__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.5);
  transform-origin: 50% 56%;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  transition: transform 1.2s var(--ease-out);
}
.tmn-home .product:hover .product__media img { transform: scale(1.6); }
.tmn-home .product__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tmn-home .product__name { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; line-height: 1.5; }
.tmn-home .product__type { font-size: .875rem; color: var(--muted); }
.tmn-home .product__go {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: all .4s var(--ease);
}
.tmn-home .product__go svg { width: 16px; height: 16px; }
.tmn-home .product:hover .product__go { background: var(--violet-deep); color: var(--paper); box-shadow: none; }

.tmn-home .store__band {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 22px 28px;
  border-radius: 999px;
  background: var(--stone);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.tmn-home .store__band p { font-size: .9375rem; color: var(--muted); }
.tmn-home .store__band strong { color: var(--ink); font-weight: 500; }
.tmn-home .store__url { font-family: var(--font-display); direction: ltr; }/* ==========================================================================
   14. Final CTA
   ========================================================================== */



.tmn-home .cta {
  position: relative;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 45%, var(--violet-dark) 100%);
  color: var(--paper);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(120px, 16vw, 220px);
}
.tmn-home .cta__light {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(48% 60% at 50% 0%, rgba(137, 0, 225, .45), rgba(87, 6, 140, .14) 50%, transparent 75%),
    radial-gradient(30% 40% at 85% 100%, rgba(0, 155, 138, .14), transparent 70%);
}
.tmn-home .cta__fins {
  /* vertical architectural fins — mashrabiya rhythm */
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 252, 242, .045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent 75%);
  mask-image: radial-gradient(60% 70% at 50% 20%, #000, transparent 75%);
}
.tmn-home .cta__title { font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 300; line-height: 1.18; }
.tmn-home .cta__text { margin: 26px auto 0; color: var(--muted-on-dark); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 30em; }
.tmn-home .cta__btns { margin-top: 44px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }/* ==========================================================================
   15. Footer
   ========================================================================== */



.tmn-home .footer {
  background: var(--violet-dark);
  color: var(--paper);
  padding-top: 0;
  overflow: hidden;
}
.tmn-home .footer__top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding-block: 72px 56px;
  border-top: 1px solid var(--line-on-dark);
}
.tmn-home .footer__brand .footer__tagline { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.6; color: var(--paper); margin-top: 24px; max-width: none; }
.tmn-home .footer__brand p { margin-top: 20px; color: var(--muted-on-dark); font-size: .9375rem; max-width: 22em; line-height: 1.9; }
.tmn-home .footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tmn-home .footer__h { font-size: .75rem; color: var(--muted-on-dark); margin-bottom: 16px; }
.tmn-home .footer__links { display: grid; gap: 10px; }
.tmn-home .footer__links a { font-size: .9375rem; color: rgba(255, 252, 242, .86); transition: color .3s; display: inline-flex; align-items: center; gap: 6px; }
.tmn-home .footer__links a:hover { color: var(--paper); }
.tmn-home .footer__links .ext { width: 11px; height: 11px; opacity: .5; }

.tmn-home .social { display: flex; gap: 8px; flex-wrap: wrap; }
.tmn-home .social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-on-dark);
  transition: all .35s var(--ease);
}
.tmn-home .social a:hover { background: var(--paper); color: var(--ink); box-shadow: none; }
.tmn-home .social svg { width: 17px; height: 17px; }

.tmn-home .footer__giant {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: clamp(7rem, 30vw, 26rem);
  line-height: .8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 252, 242, .14);
  user-select: none;
  margin-bottom: -.12em;
  direction: ltr;
  background: linear-gradient(180deg, rgba(137, 0, 225, .25), transparent 70%);
  -webkit-background-clip: text;
  background-clip: text;
}
.tmn-home .footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line-on-dark);
  font-size: .8125rem;
  color: var(--muted-on-dark);
}/* ==========================================================================
   16. Consultation dialog
   ========================================================================== */



.tmn-home .dialog {
  margin: auto;
  width: min(560px, 100% - 32px);
  max-height: min(92vh, 760px);
  border: 0;
  border-radius: 28px;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(11, 10, 13, .5);
}
.tmn-home .dialog::backdrop { background: rgba(11, 10, 13, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tmn-home .dialog[open] { animation: dialog-in .6s var(--ease-out); }
.tmn-home .dialog[open]::backdrop { animation: fade-in .4s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } }
.tmn-home .dialog__inner { padding: clamp(28px, 4vw, 44px); display: grid; gap: 22px; }
.tmn-home .dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tmn-home .dialog__title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 300; }
.tmn-home .dialog__close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.tmn-home .dialog__close svg { width: 16px; height: 16px; }
.tmn-home .dialog__close:hover { background: var(--stone); }
.tmn-home .field { display: grid; gap: 8px; }
.tmn-home .field label, .tmn-home .field legend { font-size: .875rem; font-weight: 500; }
.tmn-home .field input {
  height: 54px; padding-inline: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.tmn-home .field input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(87, 6, 140, .1); }
.tmn-home .field .req { color: var(--violet-ultra); font-weight: 700; }/* city: a native select dressed like the inputs (best on phones), "other" reveals a text box */


.tmn-home .select { position: relative; }
.tmn-home .select::after {
  content: ""; position: absolute; inset-inline-end: 18px; top: 50%;
  width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: .55; pointer-events: none;
}
.tmn-home .field select, .tmn-home .field textarea {
  width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font: inherit; color: inherit;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tmn-home .field select { height: 54px; padding-inline: 18px 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tmn-home .field select:invalid, .tmn-home .field select.is-empty { color: var(--muted); }
.tmn-home .field textarea { min-height: 96px; padding: 14px 18px; resize: vertical; line-height: 1.7; }
.tmn-home .field select:focus, .tmn-home .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(87, 6, 140, .1); }
.tmn-home .field__other { margin-top: 8px; animation: field-in .45s var(--ease-out); }
.tmn-home .field__other[hidden] { display: none; }
@keyframes field-in { from { opacity: 0; transform: translateY(-6px); } }/* solutions: icon tiles, several can be picked */


.tmn-home .picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.tmn-home .pick {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 86px; padding: 12px 8px; text-align: center;
  border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tmn-home .pick input { position: absolute; opacity: 0; pointer-events: none; }
.tmn-home .pick svg { width: 22px; height: 22px; flex: none; color: var(--violet); transition: transform .4s var(--ease-out), color .3s var(--ease); }
.tmn-home .pick span { font-size: .8125rem; line-height: 1.35; }
.tmn-home .pick:hover { border-color: rgba(87, 6, 140, .35); }
.tmn-home .pick.is-on, .tmn-home .pick:has(input:checked) { border-color: var(--violet); background: rgba(87, 6, 140, .06); box-shadow: inset 0 0 0 1px var(--violet); }
.tmn-home .pick.is-on svg, .tmn-home .pick:has(input:checked) svg { transform: scale(1.12); color: var(--violet-ultra); }
.tmn-home .pick:has(input:focus-visible) { outline: 2px solid var(--violet-ultra); outline-offset: 2px; }
.tmn-home .pick.is-on::after, .tmn-home .pick:has(input:checked)::after {   /* small tick in the corner */
  content: ""; position: absolute; top: 8px; inset-inline-start: 8px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--violet);
  box-shadow: inset 0 0 0 3.5px #fff;
}
@media (max-width: 480px) { .tmn-home .picks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tmn-home fieldset.field { border: 0; }
.tmn-home .seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tmn-home .seg input { position: absolute; opacity: 0; pointer-events: none; }
.tmn-home .seg label {
  height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: #fff;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tmn-home .seg input:checked + label { border-color: var(--violet); background: rgba(87, 6, 140, .05); color: var(--violet); }
.tmn-home .seg input:focus-visible + label { outline: 2px solid var(--violet-ultra); outline-offset: 2px; }
.tmn-home .dialog__note { font-size: .8125rem; color: var(--muted); }
.tmn-home .dialog__trap { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; inset-inline-start: -9999px; }
.tmn-home .dialog__error { font-size: .875rem; color: #B42318; background: #FEF3F2; border-radius: 12px; padding: 10px 14px; }
.tmn-home .dialog__error[hidden] { display: none; }
.tmn-home #consultForm.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.tmn-home .dialog__success { display: none; text-align: center; padding-block: 24px; }
.tmn-home .dialog.is-sent form { display: none; }
.tmn-home .dialog.is-sent .dialog__success { display: grid; gap: 14px; justify-items: center; }
.tmn-home .dialog__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(0, 155, 138, .1); color: var(--teal); display: grid; place-items: center; }
.tmn-home .dialog__check svg { width: 28px; height: 28px; }/* ==========================================================================
   17. Reveal animations
   ========================================================================== */



:where(html).js .tmn-home [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
:where(html).js .tmn-home [data-reveal].is-in { opacity: 1; transform: none; }

:where(html).js .tmn-home [data-reveal="image"] {
  opacity: 1; transform: none;
  clip-path: inset(12% 6% 0 6% round var(--radius-lg));
  transition: clip-path 1.6s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
:where(html).js .tmn-home [data-reveal="image"] .space-card__img, :where(html).js .tmn-home [data-reveal="image"] > img { transform: scale(1.18); transition: transform 2s var(--ease-out); }
:where(html).js .tmn-home [data-reveal="image"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
:where(html).js .tmn-home [data-reveal="image"].is-in .space-card__img, :where(html).js .tmn-home [data-reveal="image"].is-in > img { transform: scale(1.02); }/* ==========================================================================
   18. Responsive
   ========================================================================== */




@media (max-width: 1180px) {
}

@media (max-width: 1023px) {
  :root { --nav-h: 60px; }
  .tmn-home .solutions__layout { grid-template-columns: 1fr; }
  .tmn-home .solutions__stage { display: none; }
  .tmn-home .sol__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 4px;
  }
  .tmn-home .sol__media img { width: 100%; height: 100%; object-fit: cover; }
  .tmn-home .sol__body { padding-inline-start: 0; }

  .tmn-home .xp-stage, .tmn-home .xp-panel { grid-template-columns: 1fr; }
  .tmn-home .xp-panel { grid-template-rows: auto auto; align-content: start; }
  .tmn-home .xp-visual { order: -1; min-height: 0; padding-top: 12px; }
  .tmn-home .xp-visual__frame { width: min(86%, 460px); }
  .tmn-home .xp-copy { padding: 0 28px 36px; text-align: center; justify-items: center; }
  .tmn-home .xp-copy .link-arrow { justify-self: center; }
  .tmn-home .xp-pillar::before { display: none; }
  .tmn-home .xp-values { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .tmn-home .xp-value:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }

  .tmn-home .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .tmn-home { font-size: 1rem; }
  .tmn-home .section { padding-block: 88px; }/* Hero — mobile composition: text anchored low, image cropped to the lit facade */



  
  .tmn-home .hero { min-height: 600px; }/* which part of each photo phones show; set per page from Elementor («الصور في الجوال») */

  
  .tmn-home .hero__slide--home img { object-position: var(--hero-x-m1, 78%) 50%; }
  .tmn-home .hero__slide--work img { object-position: var(--hero-x-m2, 35%) 50%; }
  .tmn-home .hero__slide--store img { object-position: var(--hero-x-m3, 50%) 50%; filter: brightness(.5); }
  .tmn-home .hero__shade {
    background:
      linear-gradient(to top, rgba(11, 10, 13, .95) 0%, rgba(11, 10, 13, .55) 42%, rgba(11, 10, 13, .05) 70%),
      linear-gradient(to bottom, rgba(11, 10, 13, .5) 0%, rgba(11, 10, 13, 0) 24%);
  }
  .tmn-home .hero__content { padding-bottom: 28px; }
  .tmn-home .hero__eyebrow { margin-bottom: 18px; font-size: .8125rem; }
  .tmn-home .hero__text { margin-top: 18px; }
  .tmn-home .hero__ctas { margin-top: 30px; display: grid; grid-template-columns: 1fr; }
  .tmn-home .hero__ctas .btn { width: 100%; }
  .tmn-home .hero__bar { padding-top: 18px; }
  .tmn-home .hero__scenes { gap: 16px; flex: 1; }
  .tmn-home .hero__scene { min-width: 0; flex: 1; }
  .tmn-home .hero__meta { display: none; }

  .tmn-home .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }

  .tmn-home .pillars { grid-template-columns: 1fr; border-top: 0; }
  .tmn-home .pillar, .tmn-home .pillar + .pillar { padding: 24px 0; border-inline-start: 0; border-top: 1px solid var(--line); }

  .tmn-home .spaces__grid { grid-template-columns: 1fr; gap: 14px; }
  .tmn-home .space-card { height: clamp(480px, 130vw, 640px); }
  .tmn-home .space-card__top { top: 18px; inset-inline: 18px; }
  .tmn-home .space-card__body { inset-inline: 22px; bottom: 24px; }
  .tmn-home .space-card__cta { margin-top: 20px; }
  .tmn-home .space-card__cta .circle { width: 46px; height: 46px; }

  .tmn-home .sol__btn { grid-template-columns: 40px 1fr auto; padding: 22px 0; }

  .tmn-home .xp-tabs { margin-inline: calc(var(--gutter) * -1); justify-content: flex-start; }
  .tmn-home .xp-tabs__list { margin-inline: var(--gutter); }
  .tmn-home .xp-tab { padding-inline: 16px; font-size: .875rem; }
  .tmn-home .xp-stage { min-height: 600px; }
  .tmn-home .xp-copy { padding: 0 22px 32px; }
  .tmn-home .xp-values { grid-template-columns: 1fr; display: none; }/* phones: hidden, the products say it */
  
  .tmn-home .xp-value, .tmn-home .xp-value:nth-child(3) { border-inline-start: 0; padding: 18px 0 0; border-top: 1px solid var(--line); }

  .tmn-home .projects__head, .tmn-home .store__head { grid-template-columns: 1fr; }
  .tmn-home .rail-nav { display: none; }
  .tmn-home .project { width: 82vw; }
  .tmn-home .project--wide { width: 82vw; }
  .tmn-home .project--wide .project__media { aspect-ratio: 4 / 5; height: auto; }

  .tmn-home .store__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tmn-home .store__grid::-webkit-scrollbar { display: none; }
  .tmn-home .product { scroll-snap-align: start; }
  .tmn-home .store__band { border-radius: 24px; flex-direction: column; align-items: flex-start; padding: 22px; }

  .tmn-home .cta__btns { display: grid; }
  .tmn-home .cta__btns .btn { width: 100%; }

  .tmn-home .footer__cols { grid-template-columns: 1fr 1fr; }
  .tmn-home .footer__bottom { flex-direction: column; align-items: flex-start; }
}/* ---------- Reduced motion ---------- */



@media (prefers-reduced-motion: reduce) {
  .tmn-home .hero__cue-line::before { animation: none; transform: translateY(8px); }
  html { scroll-behavior: auto; }
  .tmn-home *, .tmn-home *::before, .tmn-home *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .tmn-home .hero__media { transform: none !important; filter: none !important; }
  .tmn-home .hero__slide img { transform: none !important; }
  .tmn-home .hero__scroll-line::after { display: none; }
}/* ==========================================================================
   19. Motion layer (GSAP ScrollTrigger) — states used when .motion-live
   ========================================================================== */




.tmn-home .spaces__grid { position: relative; }
.tmn-home .spaces__seam {
  position: absolute; z-index: 3;
  top: 6%; bottom: 6%; left: 50%;
  width: 1px; translate: -50% 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 252, 242, .9), transparent);
  box-shadow: 0 0 24px 2px rgba(137, 0, 225, .7);
  opacity: 0;
  pointer-events: none;
}/* Split heading words */



.tmn-home .wr { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.tmn-home .wi { display: inline-block; }/* ---------- Experience: scroll-driven mode ---------- */




.tmn-home .xp-tint {
  position: absolute; inset: 0; z-index: -2;
  background-color: #F3EEE4;
  background-image: radial-gradient(70% 90% at 30% 55%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 60%);
}
.tmn-home .xp--scroll .xp-pin { padding-top: 8px; }
.tmn-home .xp--scroll .xp-tabs { margin-top: 0; margin-bottom: 18px; }
.tmn-home .xp--scroll .xp-stage { min-height: 0; height: calc(100svh - var(--nav-h) - 150px); max-height: 760px; }
.tmn-home .xp--scroll .xp-panel { visibility: visible; }
.tmn-home .xp--scroll .xp-copy > *, .tmn-home .xp--scroll .xp-visual__frame { transition: none; }
.tmn-home .xp--scroll .xp-tab__bar { opacity: 1; }
.tmn-home .xp--scroll .xp-tab__bar i { animation: none !important; transform: scaleX(var(--fill, 0)); }/* ---------- Lighting scenes ---------- */




.tmn-home .scenes { position: relative; background: var(--night); color: var(--paper); }
.tmn-home .scenes__pin {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  isolation: isolate;
}
.tmn-home .scenes__media { position: absolute; inset: 0; z-index: -2; background: #1a140f; will-change: transform; }/* All frames share one geometry: never transform an individual image, only
   the container, or the room will ghost during the dissolve. */


.tmn-home .scenes__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out);
}
.tmn-home .scenes__img:first-child { opacity: 1; }/* day stays underneath as the base */
 
.tmn-home .scenes__img.is-active { opacity: 1; }
:where(html).motion-live .tmn-home .scenes__img { transition: none; }
.tmn-home .scenes__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(11, 10, 13, .72) 0%, rgba(11, 10, 13, .3) 38%, rgba(11, 10, 13, 0) 62%),
    linear-gradient(to top, rgba(11, 10, 13, .72) 0%, rgba(11, 10, 13, 0) 42%);
}
.tmn-home .scenes__ui {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: clamp(32px, 5vw, 64px);
}
.tmn-home .scenes__copy { max-width: 520px; }
.tmn-home .scenes__title { font-size: clamp(2.5rem, 5.4vw, 4.75rem); font-weight: 300; line-height: 1.15; }
.tmn-home .scenes__states { display: grid; margin-top: 18px; }
.tmn-home .scenes__state {
  grid-area: 1 / 1;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: rgba(255, 252, 242, .8);
  max-width: 28em;
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}
.tmn-home .scenes__state strong { color: var(--paper); font-weight: 500; }
.tmn-home .scenes__state.is-active { opacity: 1; transform: none; }/* Scene keypad — echoes the three-gang TMN switch */



.tmn-home .scenes__control {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 112px;
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: rgba(14, 12, 18, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .14), 0 30px 60px -30px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.tmn-home .scene-key {
  position: relative;
  display: grid; justify-items: center; gap: 4px;
  height: 128px;
  padding: 18px 10px 14px;
  border-radius: 16px;
  color: rgba(255, 252, 242, .62);
  background: rgba(255, 252, 242, .04);
  overflow: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.tmn-home .scene-key:hover { color: var(--paper); background: rgba(255, 252, 242, .08); }
.tmn-home .scene-key[aria-selected="true"] { color: var(--paper); background: rgba(255, 252, 242, .12); }/* each key's icon in its own colour: a yellow sun, a white sun-and-cloud, a moonlit crescent */


.tmn-home .scene-key[data-scene="0"] { --key-c: #FFC83D; }
.tmn-home .scene-key[data-scene="1"] { --key-c: #FFFCF2; }
.tmn-home .scene-key[data-scene="2"] { --key-c: #D9C2FF; }
.tmn-home .scene-key__ico {
  width: 22px; height: 22px; flex: none;
  margin-bottom: auto;
  color: var(--key-c, currentColor);
  opacity: .5;
  transition: opacity .4s var(--ease), transform .5s var(--ease-out), filter .4s var(--ease);
}
.tmn-home .scene-key:hover .scene-key__ico { opacity: .8; }
.tmn-home .scene-key[aria-selected="true"] .scene-key__ico { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 8px var(--key-c)); }
.tmn-home .scene-key__name { font-size: 1rem; font-weight: 500; }
.tmn-home .scene-key__time { font-size: .75rem; opacity: .6; }
.tmn-home .scene-key__bar { position: absolute; inset-inline: 14px; bottom: 8px; height: 2px; border-radius: 2px; background: rgba(255, 252, 242, .12); overflow: hidden; }
.tmn-home .scene-key__bar i { position: absolute; inset: 0; background: var(--paper); transform: scaleX(var(--fill, 0)); transform-origin: right; }

@media (max-width: 1023px) {
  .tmn-home .scenes__pin { height: auto; min-height: 0; aspect-ratio: auto; }
  .tmn-home .scenes__ui {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 28px;
    min-height: min(100svh, 760px);
    padding-top: 120px;
    padding-bottom: 28px;
  }
  .tmn-home .scenes__shade { background: linear-gradient(to top, rgba(11, 10, 13, .9) 0%, rgba(11, 10, 13, .55) 45%, rgba(11, 10, 13, .1) 75%); }
  .tmn-home .scenes__control { grid-auto-columns: 1fr; width: 100%; }
  .tmn-home .scene-key { height: 104px; padding-top: 14px; }
  .tmn-home .scene-key__ico { width: 20px; height: 20px; }/* which part of the photo phones show; set per page from Elementor («الصورة في الجوال») */

  
  .tmn-home .scenes__img { object-position: var(--scenes-x-m, 46%) 50%; }
}
.tmn-home .scenes.is-auto .scene-key[aria-selected="true"] .scene-key__bar i { animation: scene-progress 5500ms linear forwards; }/* Phones and tablets: the scenes hold on screen while the scroll moves through them.
   Held with position: fixed (main.js toggles is-held / is-past), not sticky: iPhone Safari
   re-places a sticky layer a frame late while scrolling, and the photo shook by 1–2px. */



.tmn-home .scenes.is-mscroll { padding-top: 100vh; padding-top: 100svh; }
.tmn-home .scenes.is-mscroll .scenes__pin { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; }
.tmn-home .scenes.is-mscroll.is-held .scenes__pin { position: fixed; }
.tmn-home .scenes.is-mscroll.is-past .scenes__pin { top: auto; bottom: 0; }
.tmn-home .scenes.is-mscroll .scenes__ui { min-height: 100svh; }
.tmn-home .scenes__runway { height: calc((var(--scenes-n, 3) - 1) * 85svh); }
.tmn-home .scenes.is-mscroll .scene-key__bar i { animation: none !important; }/* Phones and tablets: «تجربة تمن» holds under the menu while the scroll moves through the products */



.tmn-home .xp--mscroll .xp-pin { position: sticky; top: calc(var(--nav-h) + 14px); z-index: 1; }
.tmn-home .xp-runway { height: calc((var(--xp-n, 4) - 1) * 75svh); }
.tmn-home .xp--mscroll .xp-tabs { margin-bottom: 14px; }
.tmn-home .xp--mscroll .xp-tab__bar { opacity: 1; }
.tmn-home .xp--mscroll .xp-tab__bar i { animation: none !important; transform: scaleX(var(--fill, 0)); }
.tmn-home .xp--mscroll .xp-stage { min-height: 0; height: calc(100svh - var(--nav-h) - 104px); max-height: 720px; }
.tmn-home .xp--mscroll .xp-visual__frame { width: min(86%, 460px, 36svh); }
.tmn-home .xp--mscroll .xp-copy { padding-bottom: 20px; gap: 12px; }/* ---------- Lighting scenes: signature line ---------- */



.tmn-home .scenes__sign {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .875rem;
  color: rgba(255, 252, 242, .7);
}
.tmn-home .scenes__sign::before { content: ""; width: 22px; height: 1px; background: var(--violet-ultra); box-shadow: 0 0 10px var(--violet-ultra); }/* ---------- Solutions on phones: an unfolding list ---------- */



.tmn-home .solutions__index.is-flow .sol { border: 0; padding-bottom: 36px; position: relative; }
.tmn-home .solutions__index.is-flow .sol:last-child { border-bottom: 0; }
.tmn-home .solutions__index.is-flow .sol__btn { cursor: default; grid-template-columns: var(--node) 1fr; }
.tmn-home .solutions__index.is-flow .sol__plus { display: none; }
.tmn-home .solutions__index.is-flow .sol__panel { grid-template-rows: 1fr; }
.tmn-home .solutions__index.is-flow .sol__title { color: var(--ink); }/* folded state (before it reaches the reader) */



.tmn-home .solutions__index.is-flow .sol__title { opacity: .25; transform: translateY(14px); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.tmn-home .solutions__index.is-flow .sol__media { clip-path: inset(50% 0 50% 0 round 18px); transition: clip-path 1.25s var(--ease-in-out) .1s; }
.tmn-home .solutions__index.is-flow .sol__media img { transform: scale(1.2); transition: transform 1.8s var(--ease-out) .1s; }
.tmn-home .solutions__index.is-flow .sol__desc, .tmn-home .solutions__index.is-flow .sol__tags, .tmn-home .solutions__index.is-flow .sol__body .link-arrow { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }/* unfolded */



.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__title { opacity: 1; transform: none; }
.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__media { clip-path: inset(0 0 0 0 round 18px); }
.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__media img { transform: scale(1); }
.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__desc { opacity: 1; transform: none; transition-delay: .45s; }
.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__tags { opacity: 1; transform: none; transition-delay: .55s; }
.tmn-home .solutions__index.is-flow .sol.is-unfolded .sol__body .link-arrow { opacity: 1; transform: none; transition-delay: .65s; }/* ---------- Standards: Matter & Zigbee ---------- */



.tmn-home .standards { background: var(--stone); }
.tmn-home .standards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.tmn-home .std {
  --glow: rgba(137, 0, 225, .5);
  --accent: #C79BFF;
  position: relative;
  display: grid; align-content: start; gap: 22px;
  padding: clamp(26px, 3.2vw, 48px);
  border-radius: var(--radius-lg);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 70% at 100% 0%, var(--glow), transparent 60%),
    linear-gradient(165deg, #1E0E2E 0%, var(--night) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .08), 0 40px 80px -50px rgba(18, 10, 25, .7);
}
.tmn-home .std--zigbee {
  --glow: rgba(0, 155, 138, .48);
  --accent: var(--teal-ultra);
  background:
    radial-gradient(90% 70% at 100% 0%, var(--glow), transparent 60%),
    linear-gradient(165deg, #0B2422 0%, #0A1416 70%);
}
.tmn-home .std__head { display: flex; align-items: center; gap: 14px; }
.tmn-home .std__logo {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(255, 252, 242, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .16);
}
.tmn-home .std__logo img { width: 30px; height: auto; }
.tmn-home .std__name { font-family: "IBM Plex Sans", sans-serif; font-weight: 600; font-size: clamp(2.125rem, 3.6vw, 3rem); letter-spacing: -.01em; line-height: 1; }
.tmn-home .std__tag {
  margin-inline-start: auto;
  font-size: .8125rem; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 252, 242, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .18);
  white-space: nowrap;
}
.tmn-home .std__text { color: rgba(255, 252, 242, .8); max-width: 32em; }
.tmn-home .std__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tmn-home .std__chips li {
  font-size: .875rem;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 252, 242, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 252, 242, .12);
}
.tmn-home .std .btn { justify-self: start; }/* network diagrams */



.tmn-home .std__net { width: 100%; height: auto; margin-block: 4px; overflow: visible; color: var(--paper); --mark: var(--paper); }
.tmn-home .net-line { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; opacity: .75; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-in-out); }
.tmn-home .net-line--soft { opacity: .28; }
.tmn-home .net-line--ghost { opacity: 0; transition: none; }
.tmn-home .net-pill rect { fill: rgba(255, 252, 242, .07); stroke: rgba(255, 252, 242, .2); }
.tmn-home .net-pill text { fill: var(--paper); font-family: "IBM Plex Sans", sans-serif; font-size: 12px; font-weight: 500; text-anchor: middle; direction: ltr; }
.tmn-home .net-hub circle { fill: rgba(255, 252, 242, .08); stroke: var(--accent); stroke-width: 1.4; }
.tmn-home .net-node circle { fill: var(--night); stroke: var(--accent); stroke-width: 1.6; }
.tmn-home .net-pill, .tmn-home .net-node, .tmn-home .net-hub { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.tmn-home .net-pulse { fill: var(--accent); opacity: 0; filter: drop-shadow(0 0 4px var(--accent)); transition: opacity .6s var(--ease) 1.6s; }/* Zigbee: the hub is solid, so the mesh lines (drawn under it) stop at its edge, and the
   travelling light is Zigbee red */


.tmn-home .std--zigbee .net-hub circle { fill: #1A2E2C; }
.tmn-home .std--zigbee .net-pulse { fill: #EB0443; filter: drop-shadow(0 0 5px #EB0443); }/* drawn in when the card is revealed */



.tmn-home .std.is-in .net-line { stroke-dashoffset: 0; }
.tmn-home .std.is-in .net-line:nth-of-type(2) { transition-delay: .15s; }
.tmn-home .std.is-in .net-line:nth-of-type(3) { transition-delay: .3s; }
.tmn-home .std.is-in .net-line:nth-of-type(4) { transition-delay: .45s; }
.tmn-home .std.is-in .net-line:nth-of-type(5) { transition-delay: .6s; }
.tmn-home .std.is-in .net-line:nth-of-type(6) { transition-delay: .75s; }
.tmn-home .std.is-in .net-pill, .tmn-home .std.is-in .net-node, .tmn-home .std.is-in .net-hub { opacity: 1; transform: none; }
.tmn-home .std.is-in .net-hub { transition-delay: 0s; }
.tmn-home .std.is-in .net-pill, .tmn-home .std.is-in .net-node { transition-delay: .7s; }
.tmn-home .std.is-in .net-pulse { opacity: 1; }
:where(html).no-js .tmn-home .net-line, :where(html).reduce-motion .tmn-home .net-line { stroke-dashoffset: 0; }
:where(html).no-js .tmn-home .net-pill, :where(html).no-js .tmn-home .net-node, :where(html).no-js .tmn-home .net-hub, :where(html).reduce-motion .tmn-home .net-pill, :where(html).reduce-motion .tmn-home .net-node, :where(html).reduce-motion .tmn-home .net-hub { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .tmn-home .net-pulse { display: none; } }/* ---------- Projects: slide counter ---------- */



.tmn-home .rail-count { display: none; font-size: .8125rem; color: var(--muted-on-dark); letter-spacing: .04em; }

@media (max-width: 767px) {
  .tmn-home .standards__grid { grid-template-columns: 1fr; }
  .tmn-home .std { min-height: 0; }
  .tmn-home .std .btn { width: 100%; }/* Projects as a native-feeling card carousel: text sits on the image */


  
  .tmn-home .projects__tools { flex-wrap: nowrap; margin-bottom: 18px; }
  .tmn-home .demo-note { display: none; }
  .tmn-home .rail-count { display: inline-block; flex: none; }
  .tmn-home .filter { height: 36px; padding-inline: 14px; }
  .tmn-home .project, .tmn-home .project--wide {
    width: 78vw;
    position: relative;
    gap: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .tmn-home .project__media, .tmn-home .project--wide .project__media { aspect-ratio: 4 / 5; height: auto; border-radius: 0; }
  .tmn-home .project__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(18, 10, 25, .92) 0%, rgba(18, 10, 25, .35) 45%, rgba(18, 10, 25, 0) 70%);
  }
  .tmn-home .project__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 20px; display: grid; gap: 4px; }
  .tmn-home .project__desc { display: none; }
  .tmn-home .project__name { font-size: 1.5rem; }
  .tmn-home .project__meta { color: rgba(255, 252, 242, .72); }
  .tmn-home .project .link-arrow { margin-top: 8px; }
  .tmn-home .rail-progress { margin-top: 22px; }
  .tmn-home .projects__foot { margin-top: 32px; }
  .tmn-home .projects__foot .btn { width: 100%; }
}

.tmn-home .std__text bdi { white-space: nowrap; font-family: "IBM Plex Sans", sans-serif; }/* ---------- Solutions timeline rail ---------- */



.tmn-home .solutions__index { position: relative; --node: 36px; --node-gap: 18px; }
.tmn-home .solutions__index .sol, .tmn-home .solutions__index .sol:last-child { border: 0; }
.tmn-home .solutions__index .sol__btn { grid-template-columns: var(--node) 1fr auto; gap: var(--node-gap); padding: 22px 0; }
.tmn-home .solutions__index .sol__body { padding-inline-start: calc(var(--node) + var(--node-gap)); }

.tmn-home .sol-rail {
  position: absolute; z-index: 0;
  inset-inline-start: calc(var(--node) / 2 - 1px);
  top: var(--rail-top, 0); height: var(--rail-h, 0);
  width: 2px; border-radius: 2px;
  background: var(--line);
  pointer-events: none;
}
.tmn-home .sol-rail__fill {
  position: absolute; inset-inline: 0; top: 0; height: 100%;
  border-radius: inherit;
  background: linear-gradient(to bottom, var(--violet), var(--violet-ultra));
  transform-origin: top; transform: scaleY(var(--fill-r, 0));
  will-change: transform;
}
.tmn-home .sol-rail__dot {
  position: absolute; top: 0; inset-inline-start: 50%;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--violet-ultra);
  box-shadow: 0 0 0 6px rgba(137, 0, 225, .14), 0 0 18px 2px rgba(137, 0, 225, .7);
  transform: translate(50%, calc(var(--fill, 0px) - 50%));
  opacity: 0;
  transition: opacity .4s var(--ease);
  will-change: transform;
}
.tmn-home .solutions__index.rail-on .sol-rail__dot { opacity: 1; }/* desktop: the dot glides to the chosen solution */


.tmn-home .solutions__index:not(.is-flow) .sol-rail__fill { transition: transform .7s var(--ease-out); }
.tmn-home .solutions__index:not(.is-flow) .sol-rail__dot { transition: transform .7s var(--ease-out), opacity .4s var(--ease); }/* numbers become nodes on the rail */



.tmn-home .solutions__index .sol__num {
  position: relative; z-index: 1;
  width: var(--node); height: var(--node);
  display: grid; place-items: center;
  justify-self: center; text-align: center;
  border-radius: 50%;
  font-size: .75rem;
  color: var(--muted);
  background: var(--stone);
  box-shadow: inset 0 0 0 1px rgba(26, 18, 34, .14);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease-out);
}
.tmn-home .solutions__index .sol.is-lit .sol__num {
  color: var(--paper);
  background: var(--violet);
  box-shadow: inset 0 0 0 1px var(--violet), 0 0 0 6px rgba(87, 6, 140, .1), 0 8px 24px -6px rgba(87, 6, 140, .55);
  transform: scale(1.06);
}
.tmn-home .solutions__index .sol.is-active .sol__num { color: var(--paper); }

@media (max-width: 767px) {
  .tmn-home .solutions__index { --node: 32px; --node-gap: 14px; }
  .tmn-home .solutions__index.is-flow .sol { padding-bottom: 28px; }
}

.tmn-home .std__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; }
.tmn-home .std__more { color: rgba(255, 252, 242, .85); font-size: .9375rem; }
.tmn-home .std__actions .btn { justify-self: auto; }
@media (max-width: 767px) { .tmn-home .std__actions { flex-direction: column; align-items: stretch; } .tmn-home .std__more { justify-content: center; } }/* ---------- WordPress: keep the theme's element styles out of the homepage ---------- */



.tmn-home p, .tmn-home li, .tmn-home h1, .tmn-home h2, .tmn-home h3, .tmn-home h4, .tmn-home h5, .tmn-home h6, .tmn-home blockquote, .tmn-home figure, .tmn-home label { color: inherit; font-family: inherit; letter-spacing: inherit; }
.tmn-home p, .tmn-home li { font-size: inherit; line-height: inherit; font-weight: inherit; }

/* ---------- WordPress: the wrapper around each TMN section ---------- */
.tmn-home { display: block; }
/* break out of a boxed theme / builder column to the full screen width */
:where(.entry-content, .wp-block-post-content, .elementor-widget-container, .elementor-widget, .e-con-inner, .e-con) > .tmn-home {
  width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw);
}
/* Bootstrap-based themes (StratusX) define .container too: a fixed 1170px max-width with
   !important, and clearfix ::before/::after that become extra cells in grid layouts.
   Inside the sections, .container is ours. */
.tmn-home .container { max-width: none !important; }
.tmn-home .container::before, .tmn-home .container::after { content: none; display: none; }
/* StratusX sets body { overflow-x: hidden }. With html's overflow not visible, that makes
   <body> its own (never scrolling) scroll box, and position: sticky inside it stops working:
   the phone «عن قرب» and «تجربة تمن» sections scrolled away instead of holding on screen.
   clip cuts the sideways overflow without creating a scroll box. */
/* «المنازل والأعمال» slides over the hero with rounded top corners; its wrapper takes the
   page colour (the body rule above), which would fill those corners with cream */
.tmn-home:has(> .spaces) { background: transparent; }
html body { overflow-x: visible; }
@supports (overflow: clip) { html body { overflow-x: clip; } }
/* inside the Elementor editor the consultation popup is shown in place, to edit its texts */
body.elementor-editor-active .tmn-home > dialog.dialog:not([open]) {
  display: block; position: relative; inset: auto; margin: 48px auto;
  box-shadow: 0 0 0 1px rgba(20, 18, 22, .12), 0 30px 60px -30px rgba(20, 18, 22, .35);
}
