/* ==========================================================================
   TGMM Middle East 2026 — Home (Figma "Home — Dark v4", desktop 1440)
   Built on Bootstrap 5.3. 1px in Figma = 1px at 1440; fluid below.
   ========================================================================== */
:root {
  --tg-bg: #0b0b0b;
  --tg-panel: #141414;
  --tg-panel-2: #111;
  --tg-gold: #c6a15b;
  --tg-text: #f2eee5;
  --tg-muted: #b8b3a7;
  --tg-border: #2a2925;
  --tg-ghost: rgba(242, 238, 229, 0.45);
  --tg-gutter: clamp(1.25rem, 8.34vw, 7.5rem);
  --tg-sec-y: clamp(4rem, 8.9vw, 8rem);
  --tg-serif: "Playfair Display", Georgia, serif;
  --bs-body-bg: var(--tg-bg);
  --bs-body-color: var(--tg-text);
  --bs-body-font-family: "Jost", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
html {
  scroll-behavior: smooth;
  background: var(--tg-bg);
  scroll-padding-top: 6rem;
}
body.tgmm {
  background: var(--tg-bg);
  color: var(--tg-text);
  font-family: var(--bs-body-font-family);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.tgmm a {
  color: inherit;
  text-decoration: none;
}
body.tgmm img {
  max-width: 100%;
}
.tgmm-gutter {
  padding-left: var(--tg-gutter);
  padding-right: var(--tg-gutter);
}
.tg-container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--tg-gutter));
  margin: 0 auto;
  padding-left: var(--tg-gutter);
  padding-right: var(--tg-gutter);
}
.tg-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tg-gold);
  margin: 0;
  line-height: normal;
}
.tg-eyebrow.is-muted {
  color: var(--tg-muted);
}
section,
.tg-footer {
  position: relative;
}

/* ---------- UAE flag band (6px: red 64px + green / white / black 2px stripes) ---------- */
.tgmm-flag {
  display: flex;
  width: 100%;
  height: 6px;
  overflow: hidden;
}
.tgmm-flag .r {
  flex: 0 0 64px;
  background: #c8102e;
}
.tgmm-flag span {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tgmm-flag span i {
  display: block;
  height: 2px;
}
.tgmm-flag .g {
  background: #00843d;
}
.tgmm-flag .w {
  background: #fff;
}
.tgmm-flag .k {
  background: #000;
}

/* ---------- Header ---------- */
.tgmm-header {
  position: absolute;
  z-index: 1050;
  top: 0;
  left: 0;
  right: 0;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}
.tgmm-header.is-stuck {
  position: fixed;
  background: rgba(11, 11, 11, 0.96);
  box-shadow: 0 1px 0 rgba(242, 238, 229, 0.08);
}
.tgmm-header .navbar {
  padding: 0;
  min-height: 96px;
}
.tgmm-header .navbar-brand {
  margin: 0;
  padding: 0;
  display: block;
}
.tgmm-header .navbar-brand img {
  width: 93px;
  height: 66px;
  object-fit: contain;
  display: block;
}
.tgmm-menu {
  gap: 34px;
  margin-right: 55px;
}
.tgmm-header .nav-link {
  color: var(--tg-text);
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 0.5rem 0 !important;
  position: relative;
  transition: color 0.3s;
}
.tgmm-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  width: 100%;
  height: 1px;
  background: var(--tg-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.tgmm-header .nav-link:hover,
.tgmm-header .nav-link.active {
  color: var(--tg-gold);
}
.tgmm-header .nav-link:hover::after,
.tgmm-header .nav-link.active::after {
  transform: scaleX(1);
}
.tgmm-header .navbar-toggler {
  border: 1px solid var(--tg-ghost);
  padding: 0.35rem 0.55rem;
}
.tgmm-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(198, 161, 91, 0.35);
}
.tgmm-offcanvas {
  background: var(--tg-bg);
  border-left: 1px solid var(--tg-border);
}
@media (max-width: 1199.98px) {
  .tgmm-menu {
    gap: 0;
    margin: 0;
  }
  .tgmm-offcanvas .nav-link {
    font-size: 1.15rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--tg-border);
  }
  .tgmm-offcanvas .nav-link::after {
    display: none;
  }
  .tgmm-cta-mobile .btn-tgmm {
    padding: 0.7rem 1rem;
    font-size: 11px;
    gap: 10px;
  }
  .tgmm-cta-mobile .tg-arrow {
    display: none;
  }
}
@media (max-width: 575.98px) {
  .tgmm-cta-mobile {
    display: none;
  }
  .tgmm-header .navbar-toggler {
    margin-left: auto;
  }
}

/* ---------- Buttons ---------- */
.btn-tgmm {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: normal;
  padding: 18px 24px 18px 28px;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    color 0.35s ease,
    border-color 0.35s ease;
  cursor: pointer;
}
.btn-tgmm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn-tgmm:hover::before {
  transform: none;
}
.btn-tgmm .tg-arrow {
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn-tgmm:hover .tg-arrow {
  transform: translate(3px, -3px);
}
.btn-tgmm--gold {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
  color: var(--tg-bg) !important;
}
.btn-tgmm--gold::before {
  background: var(--tg-text);
}
.btn-tgmm--gold:hover {
  color: var(--tg-bg);
  border-color: var(--tg-text);
}
.btn-tgmm--ghost {
  background: transparent;
  border-color: var(--tg-ghost);
  color: var(--tg-text);
}
.btn-tgmm--ghost .tg-arrow {
  color: var(--tg-gold);
}
.btn-tgmm--ghost::before {
  background: var(--tg-gold);
}
.btn-tgmm--ghost:hover {
  color: var(--tg-bg);
  border-color: var(--tg-gold);
}
.btn-tgmm--ghost:hover .tg-arrow {
  color: var(--tg-bg);
}
.tgmm-header .btn-tgmm {
  padding: 13px 24px 13px 28px;
}
.tg-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 8px;
  position: relative;
}
.tg-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--tg-gold);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.tg-link .tg-arrow {
  color: var(--tg-gold);
  transition: transform 0.35s var(--ease);
}
.tg-link:hover {
  color: var(--tg-gold);
}
.tg-link:hover .tg-arrow {
  transform: translate(3px, -3px);
}

/* ---------- 1. Hero ---------- */
.tgmm-hero {
  background: var(--tg-bg);
  overflow: hidden;
}
.tgmm-hero .carousel-item {
  height: 860px;
  transition-duration: 1.1s;
}
.carousel-fade .carousel-item {
  transition-property: opacity;
}
.tgmm-slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 279px;
  padding-bottom: 0;
}
.tgmm-dots-wrap {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  margin: 0 auto;
  pointer-events: none;
}
.tgmm-dots-wrap .tgmm-dots {
  pointer-events: auto;
}
.tgmm-slide-copy {
  max-width: 660px;
}
.tgmm-slide-copy .tg-eyebrow {
  margin-bottom: 30px;
}
.tg-hero-title {
  font-family: var(--tg-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1.08;
  color: var(--tg-text);
  margin: 0;
}
.tgmm-lead {
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: #f2eee5d9;
  max-width: 30rem;
  margin: 28px 0 0;
}
.tgmm-slide-actions {
  position: absolute;
  left: var(--tg-gutter);
  top: 739px;
  display: flex;
  gap: 16px;
  z-index: 3;
}
.tgmm-slide-media {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.tgmm-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.tgmm-slide-media--contain {
  top: 283px;
  right: var(--tg-gutter);
  width: 470px;
  z-index: 1;
}
.tgmm-slide-media--contain img {
  height: auto;
}
.tgmm-slide-media--bleed {
  top: 0;
  right: 0;
  bottom: 0;
  width: 48%;
}
.tgmm-slide-media--bleed img {
  object-fit: cover;
  object-position: center bottom;
}
.tgmm-slide-media--bleed::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--tg-bg) 0,
    var(--tg-bg) 4%,
    rgba(11, 11, 11, 0) 100%
  );
}
.tgmm-slide-media--bleed::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9rem;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.85),
    rgba(11, 11, 11, 0)
  );
}
.tgmm-dots {
  position: absolute;
  z-index: 4;
  left: auto;
  right: var(--tg-gutter);
  top: 762.5px;
  bottom: auto;
  margin: 0;
  width: auto;
  gap: 14px;
  justify-content: flex-end;
}
.tgmm-dots [data-bs-target] {
  position: relative;
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(242, 238, 229, 0.55);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  text-indent: -999px;
  overflow: hidden;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}
.tgmm-dots [data-bs-target].active {
  background: var(--tg-gold);
  border-color: var(--tg-gold);
}
.tgmm-dots [data-bs-target]:hover {
  border-color: var(--tg-gold);
}

.hero-anim {
  opacity: 0;
  transform: translateY(28px);
}
.carousel-item.active .hero-anim {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s var(--ease) var(--d, 0s),
    transform 1s var(--ease) var(--d, 0s);
}
.tgmm-slide-media {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.carousel-item.active .tgmm-slide-media {
  opacity: 1;
  transition: opacity 1.3s ease 0.1s;
}
.tgmm-slide-media img {
  transform: scale(1.05);
}
.carousel-item.active .tgmm-slide-media img {
  transform: none;
  transition: transform 7s ease-out;
}

/* ---------- 2. Gallery scene + stats ---------- */
.tg-gallery {
  padding: var(--tg-sec-y) 0;
}
.tg-scene {
  position: relative;
  container-type: inline-size;
  --u: 0.083333cqw;
  aspect-ratio: 1200 / 780;
  background: var(--tg-panel-2);
  border: 1px solid var(--tg-border);
  overflow: hidden;
}
.tg-scene__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(242, 238, 229, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 238, 229, 0.04) 1px, transparent 1px);
  background-size: calc(var(--u) * 80) calc(var(--u) * 80);
  background-position: calc(var(--u) * 79) calc(var(--u) * 79);
}
.tg-scene__plate {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--u) * 149);
  text-align: center;
  font-family: var(--tg-serif);
  font-weight: 600;
  font-size: calc(var(--u) * 168);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: rgba(242, 237, 229, 0.09);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}
.tg-scene__plate span {
  display: block;
}
.tg-scene__eyebrow {
  position: absolute;
  left: calc(var(--u) * 39);
  top: calc(var(--u) * 35);
  font-size: max(calc(var(--u) * 12), 9px);
}
.tg-film {
  position: absolute;
  left: calc(var(--u) * 153.8);
  top: calc(var(--u) * 130.2);
  width: calc(var(--u) * 840);
  height: calc(var(--u) * 470);
}
.tg-film__card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform: rotate(-1.2deg);
  border: 1px solid rgba(198, 161, 91, 0.35);
  box-shadow: calc(var(--u) * 18) calc(var(--u) * 24) calc(var(--u) * 40)
    rgba(0, 0, 0, 0.6);
  background: #000;
}
.tg-film__card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.tg-scene:hover .tg-film__card > img {
  transform: scale(1.04);
}
.tg-film__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.15),
    rgba(11, 11, 11, 0.9)
  );
}
.tg-film__play {
  position: absolute;
  left: calc(var(--u) * 377);
  top: calc(var(--u) * 149);
  width: calc(var(--u) * 84);
  height: calc(var(--u) * 84);
  padding: 0;
  border: 0;
  background: none;
  color: var(--tg-gold);
  transition: transform 0.4s var(--ease);
}
.tg-film__play svg {
  width: 100%;
  height: 100%;
  display: block;
}
button.tg-film__play:hover {
  transform: scale(1.08);
}
.tg-film__title {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--u) * 261);
  margin: 0;
  text-align: center;
  font-family: var(--tg-serif);
  font-size: calc(var(--u) * 40);
  line-height: 1.12;
  color: var(--tg-text);
}
.tg-film__caption,
.tg-film__link {
  position: absolute;
  top: calc(var(--u) * 420);
  margin: 0;
  font-size: max(calc(var(--u) * 12), 9px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tg-text);
}
.tg-film__caption {
  left: calc(var(--u) * 31);
}
.tg-film__link {
  left: calc(var(--u) * 654);
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 12);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}
.tg-film__link .tg-arrow {
  color: var(--tg-gold);
  width: max(calc(var(--u) * 14), 10px);
  height: auto;
}
button.tg-film__link:hover .tg-arrow {
  transform: translate(3px, -3px);
}
.tg-edition {
  position: absolute;
  left: calc(var(--u) * 869.8);
  top: calc(var(--u) * 78.9);
  width: calc(var(--u) * 234);
}
.tg-edition__card {
  transform: rotate(4deg);
  background: var(--tg-bg);
  border: 1px solid rgba(198, 161, 91, 0.6);
  box-shadow: calc(var(--u) * 12) calc(var(--u) * 18) calc(var(--u) * 30)
    rgba(0, 0, 0, 0.55);
  padding: calc(var(--u) * 28) calc(var(--u) * 28) calc(var(--u) * 30);
  display: flex;
  flex-direction: column;
  gap: calc(var(--u) * 10);
  white-space: nowrap;
}
.tg-edition__label {
  margin: 0;
  font-size: max(calc(var(--u) * 11), 8px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tg-gold);
}
.tg-edition__num {
  margin: 0;
  font-size: calc(var(--u) * 120);
  font-weight: 300;
  line-height: 1;
  color: var(--tg-text);
}
.tg-edition__text {
  margin: 0;
  font-size: max(calc(var(--u) * 13), 9px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--tg-text);
}
.tg-scene__note {
  position: absolute;
  margin: 0;
  top: calc(var(--u) * 726);
  color: var(--tg-muted);
}
.tg-scene__note--l {
  left: calc(var(--u) * 39);
  font-size: max(calc(var(--u) * 11), 8px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.tg-scene__note--r {
  right: calc(var(--u) * 40);
  font-size: max(calc(var(--u) * 12), 9px);
  letter-spacing: 0.06em;
}
[data-depth] {
  will-change: transform;
}

.tg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--tg-panel-2);
  border: 1px solid var(--tg-border);
  border-top: 0;
  padding: 56px 0;
}
.tg-stat {
  padding: 0 24px 0 40px;
  border-left: 1px solid var(--tg-border);
}
.tg-stat:first-child {
  border-left: 0;
}
.tg-stat__num {
  margin: 0 0 12px;
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--tg-text);
  white-space: nowrap;
}
.tg-stat__num b {
  font-weight: 400;
  color: var(--tg-gold);
  letter-spacing: 0;
}
.tg-stat__label {
  margin: 0;
  font-size: 19px;
  color: var(--tg-muted);
}

/* ---------- 3. About ---------- */
.tg-about {
  padding: 96px 0;
}
.tg-about__row {
  display: flex;
  gap: 96px;
  align-items: flex-start;
}
.tg-about__words {
  flex: none;
}
.tg-about__words p {
  margin: 0;
  font-family: var(--tg-serif);
  font-size: 64px;
  line-height: 1.28;
  white-space: nowrap;
}
.tg-about__words p:nth-child(2) {
  padding-left: 70px;
}
.tg-about__words p:nth-child(3) {
  padding-left: 140px;
}
.tg-about__words .is-gold,
.tg-about__words em {
  color: var(--tg-gold);
  font-style: italic;
}
.tg-about__text {
  flex: 0 1 600px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.tg-about__text h2 {
  margin: 0;
  font-family: var(--tg-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
}
.tg-about__text > p {
  margin: 0;
  font-size: 19px;
  line-height: 1.65;
  color: var(--tg-muted);
}
.tg-about__actions {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- 4. Jury ---------- */
.tg-jury {
  background: var(--tg-panel);
  padding: var(--tg-sec-y) 0;
}
.tg-jury__row {
  display: flex;
  gap: 80px;
  align-items: center;
}
.tg-jury__text {
  flex: 0 1 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
}
.tg-jury__kicker {
  margin: 0;
  font-family: var(--tg-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--tg-muted);
}
.tg-jury__big {
  margin: 0;
  font-family: var(--tg-serif);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.12;
}
.tg-jury__big span {
  display: block;
}
.tg-jury__big .is-gold,
.tg-jury__big b {
  color: var(--tg-gold);
}
.tg-jury__big b {
  font-family: var(--bs-body-font-family);
  font-weight: 400;
}
.tg-jury__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--tg-muted);
  max-width: 520px;
}
.tg-jury__words {
  flex: none;
}
.tg-jury__words p {
  margin: 0;
  font-family: var(--tg-serif);
  font-size: 54px;
  line-height: 1.18;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(242, 238, 229, 0.22);
}
.tg-jury__words p:nth-child(2) {
  padding-left: 48px;
  color: rgba(198, 161, 91, 0.8);
}
.tg-jury__words p:nth-child(3) {
  padding-left: 96px;
}

/* ---------- 5. Categories ---------- */
.tg-cats {
  padding: var(--tg-sec-y) 0;
}
.tg-cats__labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.tg-cats__heading {
  margin: 0 0 56px;
  font-family: var(--tg-serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
}
.tg-cats__heading em {
  color: var(--tg-gold);
}
.tg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 40px 40px 36px;
  border: 1px solid var(--tg-border);
  background: var(--tg-bg);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    transform 0.5s var(--ease);
}
.tg-card h3 {
  margin: 0 0 16px;
  font-family: var(--tg-serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  color: var(--tg-text);
  transition: color 0.3s;
}
.tg-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tg-muted);
  max-width: 320px;
}
.tg-card__arrow {
  color: var(--tg-gold);
  transition: transform 0.4s var(--ease);
}
.tg-card:hover {
  background: var(--tg-panel);
  border-color: rgba(198, 161, 91, 0.55);
  z-index: 1;
}
.tg-card:hover h3 {
  color: var(--tg-gold);
}
.tg-card:hover .tg-card__arrow {
  transform: translate(5px, -5px);
}
.tg-card--feature {
  grid-column: 1 / -1;
  min-height: 280px;
  background: var(--tg-panel);
  border-color: rgba(198, 161, 91, 0.55);
}
.tg-card--feature h3 {
  font-size: 48px;
  color: var(--tg-gold);
}
.tg-card--feature p {
  font-size: 20px;
  max-width: 760px;
}
.tg-cats__more {
  margin-top: 56px;
}

/* ---------- 6. Closing ---------- */
.tg-closing {
  background: var(--tg-panel);
  padding: var(--tg-sec-y) 0;
}
.tg-closing__row {
  display: flex;
  gap: 120px;
  align-items: flex-end;
  justify-content: space-between;
}
.tg-closing__head {
  flex: none;
}
.tg-closing__head .tg-eyebrow {
  margin-bottom: 26px;
}
.tg-closing__title {
  margin: 0;
  font-family: var(--tg-serif);
  font-weight: 400;
  font-size: 88px;
  line-height: 1.04;
}
.tg-closing__title span,
.tg-closing__title em {
  display: block;
}
.tg-closing__title em {
  color: var(--tg-gold);
}
.tg-closing__side {
  flex: 0 1 420px;
  margin-bottom: 0;
}
.tg-closing__side > p {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--tg-muted);
}
.tg-closing__btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

/* ---------- Footer ---------- */
.tg-footer {
  background: var(--tg-bg);
}
.tg-footer .tg-container {
  padding-top: 88px;
  padding-bottom: 88px;
}
.tg-footer__cols {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.tg-footer__brand img {
  display: block;
  width: 170px;
  height: auto;
  margin-bottom: 24px;
}
.tg-footer__brand p {
  margin: 0;
  width: 320px;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tg-muted);
}
.tg-footer__nav {
  display: flex;
  gap: 96px;
  flex-wrap: wrap;
}
.tg-footer h2 {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tg-gold);
}
.tg-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tg-footer__nav li {
  margin-bottom: 16px;
  line-height: 1.4;
}
.tg-footer__nav a,
.tg-footer__bottom a {
  font-size: 15px;
  color: rgba(242, 238, 229, 0.8);
  transition: color 0.3s;
}
.tg-footer a:hover {
  color: var(--tg-gold);
}
.tg-footer__rule {
  border: 0;
  height: 1px;
  background: var(--tg-border);
  opacity: 1;
  margin: 64px 0;
}
.tg-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--tg-muted);
}
.tg-footer__bottom p {
  margin: 0;
}
.tg-footer__bottom ul {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.tg-footer__bottom a {
  font-size: 13px;
  color: var(--tg-muted);
}

/* ---------- Inline video player (plays inside the frame) ---------- */
.tg-player { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; animation: tgPlayerIn 0.5s ease both; }
@keyframes tgPlayerIn { from { opacity: 0; } to { opacity: 1; } }
.tg-film__card.is-playing, .ab-recap__card.is-playing { transform: none; }
.tg-film__card, .ab-recap__card { transition: transform 0.7s var(--ease); }
.is-playing > img, .is-playing .tg-film__shade, .is-playing .tg-film__play, .is-playing .tg-film__title, .is-playing .tg-film__caption, .is-playing .tg-film__link, .is-playing .ab-recap__shade, .is-playing .ab-recap__play { opacity: 0; visibility: hidden; pointer-events: none; }
.tg-soon { position: absolute; left: 50%; bottom: 8%; z-index: 5; transform: translate(-50%, 10px); padding: 0.7rem 1.1rem; background: rgba(11, 11, 11, 0.9); border: 1px solid rgba(198, 161, 91, 0.6); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tg-text); opacity: 0; pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease; white-space: nowrap; }
.tg-soon.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="left"] {
  transform: translateX(-48px);
}
[data-reveal="right"] {
  transform: translateX(48px);
}
[data-reveal="zoom"] {
  transform: scale(0.97) translateY(24px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
html:not(.js) [data-reveal],
html:not(.js) .hero-anim {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .tg-hero-title {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
  }
  .tg-closing__title {
    font-size: clamp(3rem, 6.1vw, 5.5rem);
  }
  .tg-jury__big {
    font-size: clamp(2.25rem, 3.9vw, 3.5rem);
  }
  .tg-jury__words p {
    font-size: clamp(2rem, 3.75vw, 3.375rem);
  }
  .tg-about__words p {
    font-size: clamp(2.5rem, 4.45vw, 4rem);
  }
  .tg-stat__num {
    font-size: clamp(3.5rem, 6.1vw, 5.5rem);
  }
}
@media (max-width: 1199.98px) {
  .tgmm-hero .carousel-item {
    height: 760px;
  }
  .tgmm-slide-inner {
    padding-top: 220px;
  }
  .tgmm-slide-actions {
    top: auto;
    bottom: 5rem;
  }
  .tgmm-dots {
    top: auto;
    bottom: 5.9rem;
  }
  .tgmm-slide-media--contain {
    top: 200px;
    width: 36vw;
  }
  .tg-about__row,
  .tg-jury__row,
  .tg-closing__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
  .tg-about__text,
  .tg-jury__text,
  .tg-closing__side {
    flex: none;
    width: 100%;
    max-width: 640px;
  }
  .tg-jury__words {
    align-self: flex-start;
  }
  .tg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tg-footer__nav {
    gap: 4rem;
  }
}
@media (max-width: 991.98px) {
  .tgmm-hero .carousel-item {
    height: auto;
    min-height: 44rem;
  }
  .tgmm-slide-inner {
    padding-top: 24rem;
    padding-bottom: 6rem;
  }
  .tgmm-slide-actions {
    position: static;
    margin-top: 2.5rem;
    flex-wrap: wrap;
  }
  .tgmm-dots {
    top: auto;
    bottom: 2rem;
  }
  .tgmm-slide-media--contain,
  .carousel-item.active .tgmm-slide-media--contain {
    top: 8rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: min(19rem, 70vw);
  }
  .tgmm-slide-media--bleed {
    width: 100%;
    height: 22rem;
    bottom: auto;
    top: 5.5rem;
  }
  .tgmm-slide-media--bleed::before {
    display: none;
  }
  .tgmm-slide-media--bleed::after {
    inset: auto 0 0 0;
    height: 60%;
    background: linear-gradient(0deg, var(--tg-bg), rgba(11, 11, 11, 0));
  }
  .tgmm-slide-media--bleed img {
    object-position: center 35%;
  }
  .tg-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }
  .tg-stat:nth-child(3) {
    border-left: 0;
  }
  .tg-stat {
    padding-left: 1.5rem;
  }
}
@media (max-width: 767.98px) {
  /* scene becomes a stacked card layout */
  .tg-scene {
    container-type: normal;
    aspect-ratio: auto;
    padding: 1.5rem 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }
  .tg-scene > * {
    position: static;
  }
  .tg-scene__plate {
    order: 0;
    font-size: 2.75rem;
    padding: 0.5rem 0;
  }
  .tg-scene__eyebrow {
    order: -1;
    font-size: 10px;
  }
  .tg-film {
    width: 100%;
    height: auto;
    position: relative;
    left: auto;
    top: auto;
    order: 1;
  }
  .tg-film__card {
    height: auto;
    aspect-ratio: 840 / 470;
  }
  .tg-film__play {
    left: 50%;
    top: 18%;
    width: 18%;
    height: auto;
    aspect-ratio: 1;
    transform: translateX(-50%);
  }
  button.tg-film__play:hover {
    transform: translateX(-50%) scale(1.08);
  }
  .tg-film__title {
    top: 46%;
    font-size: clamp(1.15rem, 5.2vw, 1.75rem);
  }
  .tg-film__caption,
  .tg-film__link {
    top: auto;
    bottom: 7%;
    font-size: 9px;
  }
  .tg-film__caption {
    left: 4%;
  }
  .tg-film__link {
    left: auto;
    right: 4%;
    gap: 8px;
  }
  .tg-edition {
    width: 70%;
    order: 2;
    align-self: flex-end;
    position: relative;
    left: auto;
    top: auto;
  }
  .tg-edition__card {
    padding: 1.25rem;
    gap: 0.5rem;
    transform: rotate(3deg);
  }
  .tg-edition__num {
    font-size: 4.5rem;
  }
  .tg-edition__label {
    font-size: 10px;
  }
  .tg-edition__text {
    font-size: 11px;
  }
  .tg-scene__note {
    order: 3;
    font-size: 10px;
    letter-spacing: 0.12em;
  }
  .tg-scene__note--r {
    text-align: left;
  }
  [data-depth] {
    transform: none !important;
  }
  .tg-grid {
    grid-template-columns: 1fr;
  }
  .tg-card,
  .tg-card--feature {
    min-height: 0;
    gap: 2.5rem;
    padding: 1.75rem 1.5rem;
  }
  .tg-card--feature h3 {
    font-size: 2.25rem;
  }
  .tg-card--feature p {
    font-size: 17px;
  }
  .tg-about {
    padding: 4rem 0;
  }
  .tg-about__words p {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }
  .tg-about__words p:nth-child(2) {
    padding-left: 1.75rem;
  }
  .tg-about__words p:nth-child(3) {
    padding-left: 3.5rem;
  }
  .tg-about__text h2,
  .tg-cats__heading {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }
  .tg-about__text > p,
  .tg-closing__side > p,
  .tg-jury__lead {
    font-size: 17px;
  }
  .tg-jury__words p {
    font-size: clamp(1.6rem, 8vw, 2.5rem);
    white-space: normal;
  }
  .tg-jury__words p:nth-child(2) {
    padding-left: 1.5rem;
  }
  .tg-jury__words p:nth-child(3) {
    padding-left: 3rem;
  }
  .tg-jury__kicker {
    font-size: 22px;
  }
  .tg-cats__labels {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .tg-cats__heading {
    margin-bottom: 2rem;
  }
  .tg-footer .tg-container {
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }
  .tg-footer__rule {
    margin: 2.5rem 0;
  }
  .tg-footer__nav {
    gap: 2.5rem;
  }
  .tg-footer__bottom ul {
    gap: 1.25rem;
  }
}
@media (max-width: 575.98px) {
  .tgmm-hero .carousel-item {
    min-height: 46rem;
  }
  .tgmm-slide-actions .btn-tgmm {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .tgmm-dots {
    right: 50%;
    transform: translateX(50%);
    bottom: 1.75rem;
  }
  .btn-tgmm {
    gap: 1rem;
    font-size: 12px;
    padding: 16px 20px;
  }
  .tg-stat__num {
    font-size: 3.25rem;
  }
  .tg-stat__label {
    font-size: 15px;
  }
  .tg-stats {
    padding: 2rem 0;
  }
  .tg-stat {
    padding-right: 0.75rem;
  }
  .tg-footer__nav {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  .hero-anim,
  .tgmm-slide-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tgmm-slide-media img {
    transform: none !important;
  }
  [data-depth] {
    transform: none !important;
  }
}
@media (min-width: 1650px) {
  .tg-hero-title {
    font-size: 75px;
  }
  .tgmm-lead {
    font-size: 22px;
  }
}

/* ---------- Mobile drawer ---------- */
@media (max-width: 1199.98px) {
  .tgmm-offcanvas {
    width: min(88vw, 380px);
    z-index: 1060;
  }
  .tgmm-offcanvas .offcanvas-header {
    padding: 1.25rem 1.5rem;
  }
  .tgmm-offcanvas .offcanvas-body {
    padding: 0.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
  }
  .tgmm-offcanvas .tgmm-menu {
    width: 100%;
  }
  .tgmm-cta-drawer {
    margin-top: 2rem;
  }
  .tgmm-cta-drawer .btn-tgmm {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   About Us page (Figma "About Us — Dark v2")
   ========================================================================== */
.gold { color: var(--tg-gold); }
@keyframes tgHeroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tgBgSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-in { opacity: 0; animation: tgHeroIn 1s var(--ease) var(--d, 0s) forwards; }
.ab-rule { display: block; width: 72px; height: 1px; background: rgba(198, 161, 91, 0.8); }
body.tgmm .ab-link { padding: 0; border: 0; background: none; font: inherit; color: var(--tg-gold); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; cursor: pointer; transition: color 0.3s; }
body.tgmm .ab-link:hover { color: var(--tg-text); }

/* page header (760px) */
.ab-hero { position: relative; min-height: 760px; overflow: hidden; background: var(--tg-bg); }
.ab-hero__bg { position: absolute; inset: 0; background: center / cover no-repeat; animation: tgBgSettle 2.2s var(--ease) both; }
.ab-hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 11, 11, 0.97) 0, rgba(11, 11, 11, 0.86) 45%, rgba(11, 11, 11, 0.25) 80%, rgba(11, 11, 11, 0.25) 100%); }
.ab-hero__shade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(180deg, rgba(11, 11, 11, 0), var(--tg-bg)); }
.ab-hero__inner { position: relative; z-index: 2; padding-top: 158px; padding-bottom: 98px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.ab-hero__title { margin: 0; max-width: 820px; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.12; color: var(--tg-text); }
.ab-hero__words { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 22px; }
.ab-hero__words p { margin: 0; font-family: var(--tg-serif); font-size: clamp(1.35rem, 2.1vw, 1.875rem); line-height: 1.28; color: var(--tg-text); white-space: nowrap; }
.ab-hero__words .is-gold, .ab-hero__words em { color: var(--tg-gold); font-style: italic; }
.ab-hero__words i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--tg-gold); }
.ab-hero__text { margin: 0; max-width: 640px; font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem); line-height: 1.65; color: var(--tg-muted); }

/* forum */
.ab-forum { padding: 72px 0 var(--tg-sec-y); }
.ab-forum__row { display: flex; align-items: center; gap: 80px; }
.ab-forum__img { position: relative; flex: none; width: 480px; aspect-ratio: 480 / 580; }
.ab-forum__img img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-forum__frame { position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(198, 161, 91, 0.55); }
.ab-forum__text { flex: 0 1 640px; margin: 0; font-family: var(--tg-serif); font-size: 28px; line-height: 1.52; color: var(--tg-text); }

/* legacy */
.ab-legacy { padding: var(--tg-sec-y) 0; }
.ab-legacy__title { margin: 0 0 64px; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2.25rem, 4.45vw, 4rem); line-height: 1.15; color: var(--tg-text); }
.ab-legacy__title em { color: var(--tg-gold); }
.ab-legacy__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.ab-legacy__col { display: flex; flex-direction: column; gap: 24px; }
.ab-legacy__rule { display: block; height: 1px; background: rgba(198, 161, 91, 0.6); }
.ab-legacy__col p { margin: 0; font-size: 18px; line-height: 1.75; color: var(--tg-muted); }
.ab-quote { margin: 56px 0 0; padding-top: 120px; display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.ab-quote__rule { display: block; width: 64px; height: 2px; background: var(--tg-gold); }
.ab-quote blockquote { margin: 0; max-width: 1140px; font-family: var(--tg-serif); font-style: italic; font-size: clamp(1.75rem, 3.2vw, 2.875rem); line-height: 1.28; color: var(--tg-text); }

/* opportunity + recap video */
.ab-recap { background: var(--tg-panel); padding: clamp(4rem, 9.7vw, 8.75rem) 0; }
.ab-recap__row { display: flex; align-items: center; gap: 120px; }
.ab-recap__text { flex: 0 1 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.ab-recap__title { margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2.25rem, 3.34vw, 3rem); line-height: 1.15; color: var(--tg-text); }
.ab-recap__line { margin: 0; font-size: 19px; line-height: 1.6; color: var(--tg-muted); }
.ab-recap__card { position: relative; flex: 0 1 600px; aspect-ratio: 600 / 400; overflow: hidden; border: 1px solid rgba(198, 161, 91, 0.35); background: #000; }
.ab-recap__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ab-recap__card:hover > img { transform: scale(1.04); }
.ab-recap__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 11, 0.2), rgba(11, 11, 11, 0.92)); }
.ab-recap__play { position: absolute; left: 50%; top: 37.75%; width: 16%; min-width: 56px; max-width: 96px; aspect-ratio: 1; transform: translateX(-50%); padding: 0; border: 0; background: none; transition: transform 0.4s var(--ease); }
.ab-recap__play svg { display: block; width: 100%; height: 100%; }
.ab-recap__play:hover { transform: translateX(-50%) scale(1.08); }

/* closing line */
.ab-close { padding: clamp(4rem, 10.4vw, 9.375rem) 0; }
.ab-close__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.ab-close__text { margin: 0; max-width: 1000px; font-family: var(--tg-serif); font-size: clamp(1.6rem, 3.05vw, 2.75rem); line-height: 1.4; color: var(--tg-text); }

/* responsive */
@media (max-width: 1199.98px) {
  .ab-hero { min-height: 0; }
  .ab-hero__inner { padding-top: 9rem; padding-bottom: 4rem; }
  .ab-hero__shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.95) 0, rgba(11, 11, 11, 0.8) 60%, rgba(11, 11, 11, 0.5) 100%); }
  .ab-forum__row { flex-direction: column; align-items: flex-start; gap: 4rem; }
  .ab-forum__img { width: min(480px, calc(100% - 24px)); }
  .ab-forum__text { flex: none; max-width: 640px; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
  .ab-legacy__cols { gap: 2rem; }
  .ab-recap__row { gap: 3.5rem; }
}
@media (max-width: 991.98px) {
  .ab-legacy__cols { grid-template-columns: 1fr; gap: 2rem; }
  .ab-legacy__col p { max-width: 640px; }
  .ab-recap__row { flex-direction: column; align-items: stretch; }
  .ab-recap__text { flex: none; }
  .ab-recap__card { flex: none; width: 100%; }
}
@media (max-width: 767.98px) {
  .ab-hero__inner { padding-top: 7.5rem; gap: 1.5rem; }
  .ab-hero__words p { white-space: normal; }
  .ab-forum__row { gap: 3rem; }
  .ab-quote { margin-top: 2rem; padding-top: 4rem; gap: 1.5rem; }
  .ab-recap__line { font-size: 17px; }
  .ab-close__inner { gap: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1; animation: none; }
  .ab-hero__bg { animation: none; }
}

/* ==========================================================================
   The Jury page (Figma "The Jury — Desktop 1440" + profile pop-up)
   ========================================================================== */
.jy-head { padding: 180px 0 72px; }
.jy-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 3rem; }
.jy-head__left { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.jy-back { font-size: 13px; line-height: 1.3; letter-spacing: 0.06em; color: var(--tg-muted); transition: color 0.3s; }
.jy-back:hover { color: var(--tg-gold); }
.jy-head__left .tg-eyebrow { line-height: 1.3; }
.jy-head__title { margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(3.5rem, 7.64vw, 6.875rem); line-height: 1.05; color: var(--tg-text); white-space: nowrap; }
.jy-head__title em { color: var(--tg-gold); }
.jy-head__right { flex: 0 1 440px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 18px; }
.jy-head__right p { margin: 0; font-family: var(--tg-serif); font-size: clamp(1.4rem, 1.95vw, 1.75rem); line-height: 1.35; color: var(--tg-text); }

.jy-grid-wrap { padding-bottom: 72px; }
.jy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.jy-tile { position: relative; display: block; width: 100%; aspect-ratio: 298.5 / 340; padding: 0; border: 0; overflow: hidden; background: #111; color: var(--tg-text); text-align: center; cursor: pointer; }
.jy-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); }
.jy-tile:hover img, .jy-tile:focus-visible img { transform: scale(1.04); }
.jy-tile__over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 1rem; background: rgba(6, 7, 5, 0.8); box-shadow: inset 0 0 0 1px var(--tg-gold); opacity: 0; transition: opacity 0.35s ease; }
.jy-tile:hover .jy-tile__over, .jy-tile:focus-visible .jy-tile__over { opacity: 1; }
.jy-tile:focus-visible { outline: 2px solid var(--tg-gold); outline-offset: -2px; }
.jy-tile__name { font-family: var(--tg-serif); font-size: 30px; line-height: 1.15; color: var(--tg-text); }
.jy-tile__company { font-size: 17px; line-height: 1.3; color: var(--tg-gold); }
.jy-tile__role { font-size: 14px; line-height: 1.3; color: rgba(242, 238, 229, 0.9); }
.jy-tile__view { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 11px 16px 11px 18px; border: 1px solid rgba(242, 238, 229, 0.55); font-size: 11px; font-weight: 500; line-height: 1.4; letter-spacing: 0.08em; color: var(--tg-text); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.jy-tile__view .tg-arrow { width: 12px; height: 12px; color: var(--tg-gold); }
.jy-tile:hover .jy-tile__view { background: var(--tg-gold); border-color: var(--tg-gold); color: var(--tg-bg); }
.jy-tile:hover .jy-tile__view .tg-arrow { color: var(--tg-bg); }
.jy-tile__cap { display: none; }
.jy-empty { padding: 3rem 0; color: var(--tg-muted); }
/* touch screens have no hover: show a name caption and let a tap open the profile */
@media (hover: none) {
  .jy-tile__over { display: none; }
  .jy-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 2.5rem 0.75rem 0.85rem; background: linear-gradient(180deg, rgba(11, 11, 11, 0), rgba(11, 11, 11, 0.9)); }
  .jy-tile__cap strong { font-family: var(--tg-serif); font-weight: 400; font-size: 1.05rem; line-height: 1.2; }
  .jy-tile__cap span { font-size: 0.78rem; color: var(--tg-gold); }
}

.jy-bottom { padding: 40px 0 clamp(5rem, 9.7vw, 8.75rem); }
.jy-bottom__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.jy-bottom__line { margin: 0; font-family: var(--tg-serif); font-style: italic; font-size: clamp(1.6rem, 2.36vw, 2.125rem); line-height: 1.3; color: var(--tg-text); }

/* profile pop-up */
body.jy-open .modal-backdrop.show { opacity: 0.74; backdrop-filter: blur(3px); }
.jy-modal .modal-dialog { max-width: 1110px; margin-left: auto; margin-right: auto; padding: 0 0.75rem; }
.jy-modal.fade .modal-dialog { transform: translateY(24px) scale(0.98); transition: transform 0.5s var(--ease); }
.jy-modal.show .modal-dialog { transform: none; }
.jy-modal .modal-content { position: relative; border-radius: 0; background: rgba(14, 14, 13, 0.97); border: 1px solid rgba(198, 161, 91, 0.45); color: var(--tg-text); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.jy-close { position: absolute; z-index: 3; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--tg-text); transition: color 0.3s, transform 0.4s var(--ease); }
.jy-close:hover { color: var(--tg-gold); transform: rotate(90deg); }
.jy-profile { display: flex; align-items: flex-start; gap: 56px; padding: 48px 64px 48px 48px; }
.jy-portrait { position: relative; flex: none; width: 340px; aspect-ratio: 340 / 430; overflow: hidden; background: #111; }
.jy-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.jy-portrait img.is-swap { animation: jyFade 0.45s var(--ease); }
@keyframes jyFade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.jy-nav { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.jy-nav button { width: 40px; height: 40px; padding: 0; border: 1px solid rgba(242, 238, 229, 0.55); background: rgba(11, 11, 11, 0.4); color: var(--tg-text); transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.jy-nav button:hover { background: var(--tg-gold); border-color: var(--tg-gold); color: var(--tg-bg); }
.jy-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.jy-text__name { margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: 44px; line-height: 1.12; color: var(--tg-text); }
.jy-text__company { margin: 0; font-size: 20px; line-height: 1.3; color: var(--tg-gold); }
.jy-text__role { margin: 0; font-size: 16px; line-height: 1.3; color: rgba(242, 238, 229, 0.9); }
.jy-text__rule { display: block; width: 56px; height: 1px; background: rgba(198, 161, 91, 0.9); }
.jy-text__bio { max-width: 600px; font-size: 15px; line-height: 1.65; color: var(--tg-muted); }
.jy-text__bio p { margin: 0 0 0.75em; }
.jy-text__bio p:last-child { margin-bottom: 0; }
.jy-text__values { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 18px; margin: 0; padding: 0; list-style: none; font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tg-gold); }
.jy-text__values li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 18px; vertical-align: middle; border-radius: 50%; background: var(--tg-gold); }
.jy-text__quote { width: 100%; max-width: 600px; margin: 0; padding-top: 16px; border-top: 1px solid var(--tg-border); font-family: var(--tg-serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--tg-text); }
.jy-text__quote:empty, .jy-text__company:empty, .jy-text__role:empty { display: none; }

@media (max-width: 1199.98px) {
  .jy-grid { grid-template-columns: repeat(3, 1fr); }
  .jy-profile { gap: 40px; padding: 40px 48px 40px 40px; }
  .jy-portrait { width: 300px; }
}
@media (max-width: 991.98px) {
  .jy-head { padding-top: 9rem; padding-bottom: 3.5rem; }
  .jy-head__row { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .jy-head__right { flex: none; max-width: 440px; padding-bottom: 0; }
  .jy-profile { flex-direction: column; align-items: stretch; gap: 1.75rem; padding: 3.25rem 1.75rem 1.75rem; }
  .jy-portrait { width: min(340px, 100%); }
  .jy-text__name { font-size: 2.25rem; }
}
@media (max-width: 767.98px) {
  .jy-head { padding-top: 7.5rem; }
  .jy-grid { grid-template-columns: repeat(2, 1fr); }
  .jy-grid-wrap { padding-bottom: 3rem; }
  .jy-text__quote { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .jy-tile img, .jy-portrait img.is-swap { animation: none; transition: none; }
}

/* ==========================================================================
   Partners page (Figma "Partners — Desktop 1440")
   ========================================================================== */
.pt-head { padding: 220px 0 96px; }
.pt-head__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.pt-head__eyebrow { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.3; letter-spacing: 0.26em; text-transform: uppercase; color: var(--tg-gold); }
.pt-head__title { margin: 0; max-width: 960px; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(1.9rem, 3.34vw, 3rem); line-height: 1.25; color: var(--tg-text); }
.pt-tiers { padding-bottom: clamp(5rem, 10.4vw, 9.375rem); }
.pt-tier { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 80px 0; border-top: 1px solid var(--tg-border); }
.pt-tier__name { display: flex; align-items: center; gap: 24px; margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(1.75rem, 3.05vw, 2.75rem); line-height: 1.15; color: var(--tg-text); text-align: center; }
.pt-tier__name i { flex: none; width: 48px; height: 1px; background: rgba(198, 161, 91, 0.8); }
.pt-tier.is-gold .pt-tier__name { color: var(--tg-gold); font-size: clamp(2rem, 3.6vw, 3.25rem); }
.pt-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; width: 100%; }
.pt-logo { --w: 340; --h: 160; display: grid; place-items: center; width: min(100%, calc(var(--w) * 1px)); aspect-ratio: var(--w) / var(--h); background: var(--tg-panel); border: 1px solid rgba(242, 238, 229, 0.14); overflow: hidden; transition: border-color 0.4s ease, transform 0.5s var(--ease); }
.pt-tier--large .pt-logo { --w: 520; --h: 220; }
.pt-tier--small .pt-logo { --w: 300; --h: 140; }
.pt-tier.is-gold .pt-logo { border-color: rgba(198, 161, 91, 0.45); }
a.pt-logo:hover { border-color: var(--tg-gold); transform: translateY(-3px); }
.pt-logo { position: relative; }
.pt-logo img { position: absolute; inset: 14%; width: 72%; height: 72%; max-width: none; object-fit: contain; object-position: center; }
.pt-logo__ph { font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.3em; color: rgba(184, 179, 167, 0.6); }

/* ==========================================================================
   Contact page (Figma "Contact Us — Desktop 1440")
   ========================================================================== */
.ct-hero { min-height: 520px; }
.ct-hero__shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.97) 0, rgba(11, 11, 11, 0.85) 55%, rgba(11, 11, 11, 0.3) 95%, rgba(11, 11, 11, 0.3) 100%); }
.ct-hero__shade::after { height: 200px; }
.ct-hero__inner { position: relative; z-index: 2; padding-top: 162px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.ct-eyebrow { text-align: left; }
.ct-hero__title { margin: 0; max-width: 820px; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2.25rem, 4.45vw, 4rem); line-height: 1.15; color: var(--tg-text); }
.ct-hero__title em { color: var(--tg-gold); }
.ct-body { padding: 48px 0 clamp(5rem, 10.4vw, 9.375rem); }
.ct-body__row { display: flex; align-items: flex-start; gap: 64px; }
.ct-card { flex: 0 1 500px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 52px 48px; background: var(--tg-panel); border: 1px solid rgba(198, 161, 91, 0.5); }
.ct-card__name { margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2rem, 3.05vw, 2.75rem); line-height: 1.15; color: var(--tg-text); }
.ct-card__role { margin: 0; font-size: 18px; line-height: 1.45; color: var(--tg-gold); }
.ct-card__rule { display: block; width: 56px; height: 1px; background: rgba(198, 161, 91, 0.8); }
body.tgmm .ct-card__link { font-size: 19px; line-height: 1.3; color: var(--tg-text); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; overflow-wrap: anywhere; transition: color 0.3s; }
body.tgmm .ct-card__link:hover { color: var(--tg-gold); }
.ct-form { flex: 0 1 636px; padding: 52px; border: 1px solid var(--tg-border); }
/* Contact Form 7 output, styled to the design */
.ct-form .wpcf7 { margin: 0; }
.ct-form .wpcf7-form { display: flex; flex-direction: column; gap: 26px; margin: 0; }
.ct-form .wpcf7-form > p, .ct-form .wpcf7-form > br { display: none; }
.ct-form .hidden-fields-container { display: none; }
.ct-field { display: flex; flex-direction: column; gap: 10px; }
.ct-field label { font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tg-muted); }
.ct-field .wpcf7-form-control-wrap { display: block; }
.ct-field input, .ct-field textarea { display: block; width: 100%; max-width: none; padding: 0 1rem; background: transparent; border: 1px solid rgba(242, 238, 229, 0.2); border-radius: 0; color: var(--tg-text); font: inherit; font-size: 17px; transition: border-color 0.3s, background-color 0.3s; }
.ct-field input { height: 56px; }
.ct-field textarea { height: 140px; padding-top: 0.9rem; padding-bottom: 0.9rem; resize: vertical; }
.ct-field input:focus, .ct-field textarea:focus { outline: 0; border-color: var(--tg-gold); background: rgba(198, 161, 91, 0.04); }
.ct-field .wpcf7-not-valid { border-color: #c1272d; }
.ct-field .wpcf7-not-valid-tip { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; color: #f3b6b8; }
.ct-actions { display: flex; align-items: center; gap: 16px; }
.ct-form .btn-tgmm { border-radius: 0; }
.ct-form .wpcf7-spinner { margin: 0; background-color: var(--tg-gold); }
.ct-form .wpcf7-form.submitting .btn-tgmm { opacity: 0.6; pointer-events: none; }
.ct-form .wpcf7 form .wpcf7-response-output { margin: 0; padding: 0.9rem 1.1rem; border: 1px solid rgba(198, 161, 91, 0.6); font-size: 15px; line-height: 1.5; color: var(--tg-text); background: rgba(198, 161, 91, 0.08); }
.ct-form .wpcf7 form.init .wpcf7-response-output { display: none; }
.ct-form .wpcf7 form.invalid .wpcf7-response-output, .ct-form .wpcf7 form.failed .wpcf7-response-output, .ct-form .wpcf7 form.aborted .wpcf7-response-output, .ct-form .wpcf7 form.spam .wpcf7-response-output, .ct-form .wpcf7 form.unaccepted .wpcf7-response-output { color: #f3b6b8; border-color: rgba(193, 39, 45, 0.7); background: rgba(193, 39, 45, 0.08); }
.ct-notice { margin: 0; color: var(--tg-muted); font-size: 15px; }

@media (max-width: 1199.98px) {
  .ct-body__row { gap: 2.5rem; }
  .ct-form { padding: 2.5rem; }
  .ct-card { padding: 2.5rem 2rem; }
}
@media (max-width: 991.98px) {
  .pt-head { padding: 9rem 0 4rem; }
  .pt-tier { padding: 3.5rem 0; gap: 2rem; }
  .ct-hero { min-height: 0; }
  .ct-hero__inner { padding-top: 9rem; padding-bottom: 4rem; }
  .ct-body__row { flex-direction: column; align-items: stretch; }
  .ct-card, .ct-form { flex: none; width: 100%; }
}
@media (max-width: 575.98px) {
  .pt-head { padding-top: 7.5rem; }
  .pt-tier__name { gap: 12px; }
  .pt-tier__name i { width: 24px; }
  .ct-hero__inner { padding-top: 7.5rem; }
  .ct-form { padding: 1.5rem; gap: 1.25rem; }
  .ct-card { padding: 2rem 1.5rem; }
}

/* ==========================================================================
   Terms & Conditions page (Figma "Terms & Conditions — Desktop 1440")
   ========================================================================== */
.tm-page { padding: 120px 0 160px; }
.tm-doc { width: min(880px, 100% - 2 * var(--tg-gutter)); margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.tm-title { margin: 0; font-family: var(--tg-serif); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; color: var(--tg-text); text-transform: uppercase; overflow-wrap: anywhere; }
.tm-sub { margin: 0; padding: 8px 0 24px; font-size: 18px; font-weight: 500; line-height: 1.5; letter-spacing: 0.1em; color: var(--tg-gold); }
.tm-issuer p, .tm-content p, .tm-content li { margin: 0; font-size: 16px; line-height: 1.75; color: #d9d4c9; }
.tm-issuer p { font-weight: 600; color: var(--tg-text); }
.tm-content { display: flex; flex-direction: column; gap: 16px; }
.tm-content strong, .tm-content b { font-weight: 600; color: var(--tg-text); }
.tm-content h2 { margin: 0; padding: 44px 0 8px; border-top: 1px solid var(--tg-border); font-family: var(--tg-serif); font-weight: 400; font-size: clamp(1.6rem, 2.22vw, 2rem); line-height: 1.25; color: var(--tg-text); }
.tm-content h3 { margin: 0; padding-top: 16px; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--tg-gold); }
.tm-content ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.tm-content li { position: relative; padding-left: 33px; }
.tm-content li::before { content: ""; position: absolute; left: 12px; top: 11.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--tg-gold); }
.tm-content a { color: var(--tg-gold); text-decoration: underline; text-underline-offset: 0.18em; }
.tm-content a:hover { color: var(--tg-text); }
@media (max-width: 575.98px) {
  .tm-page { padding: 8.5rem 0 5rem; }
  .tm-content h2 { padding-top: 32px; }
  .tm-sub { font-size: 15px; letter-spacing: 0.06em; }
}
