/* ==========================================================================
   TECHMANJARI 2k27 — LUXURY SPATIAL LIQUID GLASS + BENTO DESIGN SYSTEM
   Palette: Jet Black · Cerulean Blue · Neon Rose
   ========================================================================== */

:root {
  /* Core Palette — Jet Black & Deep Frosted Carbon (High-Contrast Text Ready) */
  --bg-midnight: #050507;
  --bg-deep: #090A0F;
  --bg-elevated: #11131B;
  --glass-bg: rgba(11, 13, 20, 0.78);
  --glass-bg-strong: rgba(8, 9, 14, 0.90);
  --glass-bg-hover: rgba(18, 21, 32, 0.86);

  /* Accents — Cerulean Blue & Neon Rose */
  --cobalt: #0284C7;
  --cobalt-bright: #0EA5E9;
  --cerulean-light: #38BDF8;
  --cobalt-soft: rgba(14, 165, 233, 0.18);
  --cobalt-glow: rgba(14, 165, 233, 0.36);

  --lime: #FF2E7E;
  --lime-hover: #FF4D94;
  --lime-deep: #D91B65;
  --lime-soft: rgba(255, 46, 126, 0.15);
  --lime-glow: rgba(255, 46, 126, 0.42);

  /* Typography Colors — Crisp Editorial Readability */
  --text-primary: #FFFFFF;
  --text-secondary: #DCE4F2;
  --text-muted: #9AA6BC;

  /* Borders & Specular Highlights */
  --border-glass: rgba(255, 255, 255, 0.09);
  --border-specular: rgba(255, 255, 255, 0.22);
  --border-cobalt: rgba(14, 165, 233, 0.44);
  --border-lime: rgba(255, 46, 126, 0.48);

  /* Radii & Spacing */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 9999px;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-guj: 'Noto Sans Gujarati', 'Plus Jakarta Sans', sans-serif;

  /* Motion */
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-midnight);
  color-scheme: dark;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-midnight);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--lime);
  color: #FFFFFF;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   AMBIENT SPATIAL BACKGROUND — JET BLACK + CERULEAN + NEON ROSE AURORA
   ========================================================================== */
.spatial-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(14, 165, 233, 0.20) 0%, transparent 46%),
    radial-gradient(circle at 86% 18%, rgba(255, 46, 126, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 50% 88%, rgba(14, 165, 233, 0.13) 0%, transparent 50%),
    var(--bg-midnight);
}

.spatial-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 30%, transparent 100%);
}

.spatial-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(125px);
  opacity: 0.32;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
.spatial-orb--cobalt {
  width: 540px;
  height: 540px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, var(--cobalt-bright) 0%, transparent 70%);
}
.spatial-orb--lime {
  width: 460px;
  height: 460px;
  top: 20%;
  right: -150px;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.52) 0%, transparent 70%);
  animation-delay: -6s;
}
.spatial-orb--deep {
  width: 600px;
  height: 600px;
  bottom: -240px;
  left: 35%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.34) 0%, transparent 70%);
  animation-delay: -11s;
}

@keyframes orbFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

/* ==========================================================================
   LAYOUT CONTAINERS & TYPOGRAPHY
   ========================================================================== */
.tm-container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

.tm-section {
  padding-block: 96px;
  position: relative;
}

.tm-section--tight {
  padding-block: 64px;
}

.tm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FF6FA7;
  background: var(--lime-soft);
  border: 1px solid rgba(255, 46, 126, 0.30);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.tm-eyebrow .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.tm-section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.tm-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.tm-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--text-primary);
}

.tm-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.tm-h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.tm-lead {
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  color: #E2E8F4;
  line-height: 1.72;
  margin: 0;
  max-width: 650px;
}

.glass-card p {
  font-size: 1rem;
  line-height: 1.74;
  color: var(--text-secondary);
}

.text-gradient-cobalt {
  background: linear-gradient(110deg, #FFFFFF 8%, #38BDF8 50%, #FF2E7E 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-lime {
  color: #FF4D94;
}

.text-cobalt {
  color: var(--cerulean-light);
}

/* ==========================================================================
   EDITORIAL SOLID & ELEVATED CARD SURFACES (NITSAN-INSPIRED CONTRAST SYSTEM)
   ========================================================================== */
.glass-card {
  position: relative;
  background: linear-gradient(160deg, #1B2234 0%, #141926 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 20px 50px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  transition:
    transform 0.4s var(--ease-lux),
    border-color 0.35s ease,
    box-shadow 0.4s var(--ease-lux),
    background 0.35s ease;
}

/* Subtle cursor specular highlight (kept gentle so text stays 100% dominant) */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(56, 189, 248, 0.11),
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-card:hover {
  border-color: rgba(56, 189, 248, 0.48);
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 28px 64px rgba(0, 0, 0, 0.58),
    0 0 32px rgba(14, 165, 233, 0.14);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card--static:hover {
  transform: none;
}

.glass-card--lime {
  border-color: rgba(255, 46, 126, 0.36);
  background: linear-gradient(155deg, #241628 0%, #171825 56%, #121521 100%);
}
.glass-card--lime:hover {
  border-color: var(--border-lime);
  box-shadow:
    inset 0 1px 0 rgba(255, 111, 167, 0.25),
    0 28px 64px rgba(0, 0, 0, 0.58),
    0 0 36px rgba(255, 46, 126, 0.18);
}

/* --------------------------------------------------------------------------
   NITSAN-STYLE SOLID EDITORIAL COLOR-BLOCKED CARD VARIANTS
   High-contrast surfaces so typography, stats & pills pop immediately
   -------------------------------------------------------------------------- */

/* 1. Warm Porcelain Light Card (Nitsan signature #FAF7F6 surface on dark canvas) */
.tm-card--light {
  background: #FAF7F6 !important;
  color: #11131B;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow:
    0 26px 65px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 #FFFFFF;
}
.tm-card--light::before {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(14, 165, 233, 0.09),
    rgba(255, 46, 126, 0.05) 45%,
    transparent 72%
  );
}
.tm-card--light::after {
  display: none !important;
}
.tm-card--light:hover {
  border-color: #FFFFFF !important;
  box-shadow:
    0 32px 74px rgba(0, 0, 0, 0.56),
    0 0 0 2px rgba(14, 165, 233, 0.35);
}
.tm-card--light .tm-h2,
.tm-card--light .tm-h3,
.tm-card--light .bento-metric-num,
.tm-card--light strong,
.tm-card--light .faq-trigger {
  color: #0E1017 !important;
}
.tm-card--light p,
.tm-card--light .bento-metric-label,
.tm-card--light .faq-panel {
  color: #2E3444 !important;
}
.tm-card--light .bento-metric-sub,
.tm-card--light .tm-countdown-label,
.tm-card--light .tm-time-unit,
.tm-card--light .tm-mini-stat span {
  color: #545D70 !important;
}
.tm-card--light .tm-eyebrow {
  color: #D91B65;
  background: rgba(255, 46, 126, 0.10);
  border-color: rgba(255, 46, 126, 0.28);
}
.tm-card--light .bento-icon {
  background: rgba(14, 165, 233, 0.13);
  border-color: rgba(2, 132, 199, 0.28);
  color: #0284C7;
}
.tm-card--light .bento-icon--lime {
  background: rgba(255, 46, 126, 0.12);
  border-color: rgba(225, 29, 104, 0.28);
  color: #E11D68;
}
.tm-card--light .text-lime {
  color: #D91B65 !important;
}
.tm-card--light .text-cobalt {
  color: #0284C7 !important;
}
.tm-card--light .tm-btn--glass {
  background: transparent;
  color: #0E1017;
  border-color: rgba(14, 16, 23, 0.28);
  box-shadow: none;
  backdrop-filter: none;
}
.tm-card--light .tm-btn--glass:hover {
  background: #0E1017;
  color: #FFFFFF;
  border-color: #0E1017;
}
.tm-card--light .tm-mini-stat {
  background: #EFECE9;
  border-color: rgba(14, 16, 23, 0.08);
}
.tm-card--light .tm-mini-stat strong {
  color: #0E1017 !important;
}
.tm-card--light .tm-time-box {
  background: #EFECE9;
  border-color: rgba(14, 16, 23, 0.10);
  box-shadow: none;
}
.tm-card--light .tm-time-value {
  color: #0E1017;
}
.tm-card--light .tm-time-box--highlight {
  background: linear-gradient(145deg, #FF2E7E 0%, #D91B65 100%);
  border-color: transparent;
}
.tm-card--light .tm-time-box--highlight .tm-time-value,
.tm-card--light .tm-time-box--highlight .tm-time-unit {
  color: #FFFFFF !important;
}
.tm-card--light .tm-hero-highlights {
  border-top-color: rgba(14, 16, 23, 0.10);
}
.tm-card--light .tm-countdown-badge {
  background: #0E1017;
  color: #FFFFFF;
  border-color: #0E1017;
}
.tm-card--light .project-badge--year {
  background: #0E1017;
  color: #FFFFFF;
  border-color: #0E1017;
}

/* 2. Solid Signature Cerulean Blue Card (Option B Brand Surface) */
.tm-card--cerulean {
  background: linear-gradient(145deg, #0EA5E9 0%, #0284C7 56%, #0369A1 100%) !important;
  color: #FFFFFF;
  border: 1px solid rgba(125, 211, 252, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 24px 56px rgba(2, 132, 199, 0.32);
}
.tm-card--cerulean::before {
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.18), transparent 68%);
}
.tm-card--cerulean:hover {
  border-color: #BAE6FD !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 30px 66px rgba(2, 132, 199, 0.44);
}
.tm-card--cerulean .tm-h2,
.tm-card--cerulean .tm-h3,
.tm-card--cerulean .bento-metric-num,
.tm-card--cerulean strong,
.tm-card--cerulean a {
  color: #FFFFFF !important;
}
.tm-card--cerulean p,
.tm-card--cerulean .bento-metric-label {
  color: rgba(255, 255, 255, 0.94) !important;
}
.tm-card--cerulean .bento-metric-sub {
  color: rgba(224, 242, 254, 0.88) !important;
}
.tm-card--cerulean .bento-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}
.tm-card--cerulean .project-badge--year {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  color: #FFFFFF;
}

/* 3. Solid Signature Neon Rose Card (Option B Accent Surface) */
.tm-card--rose {
  background: linear-gradient(145deg, #FF3385 0%, #E11D68 58%, #BE1256 100%) !important;
  color: #FFFFFF;
  border: 1px solid rgba(255, 166, 203, 0.42) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 24px 56px rgba(225, 29, 104, 0.32);
}
.tm-card--rose::before {
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.18), transparent 68%);
}
.tm-card--rose::after {
  display: none !important;
}
.tm-card--rose:hover {
  border-color: #FFD1E4 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 30px 66px rgba(225, 29, 104, 0.45);
}
.tm-card--rose .tm-h2,
.tm-card--rose .tm-h3,
.tm-card--rose .bento-metric-num,
.tm-card--rose strong,
.tm-card--rose .text-lime {
  color: #FFFFFF !important;
}
.tm-card--rose p,
.tm-card--rose .bento-metric-label {
  color: rgba(255, 255, 255, 0.94) !important;
}
.tm-card--rose .bento-metric-sub {
  color: rgba(255, 228, 239, 0.88) !important;
}
.tm-card--rose .bento-icon {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}
.tm-card--rose .project-badge--year {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  color: #FFFFFF;
}
.tm-card--rose .tm-btn--lime {
  background: #FFFFFF;
  color: #BE1256;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}
.tm-card--rose .tm-btn--lime:hover {
  background: #0E1017;
  color: #FFFFFF;
}

/* 4. Solid Elevated Graphite Slate Card (High-Contrast Dark Anchor) */
.tm-card--slate {
  background: linear-gradient(155deg, #21283D 0%, #171C2B 100%) !important;
  border: 1px solid rgba(148, 163, 184, 0.20) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 22px 52px rgba(0, 0, 0, 0.50);
}
.tm-card--slate:hover {
  border-color: rgba(56, 189, 248, 0.52) !important;
}

/* Nitsan-Style Editorial Outlined Tag Pills Inside Cards */
.tm-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.tm-card-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.tm-card--light .tm-card-pill {
  border-color: rgba(14, 16, 23, 0.28);
  background: #FFFFFF;
  color: #141722;
}

.tm-card--cerulean .tm-card-pill,
.tm-card--rose .tm-card-pill {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

/* Nitsan-Style Subtle 3D Sculptural Ornament tucked safely in top-right corner */
.tm-card-3d-ornament {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 118px;
  height: 118px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.24;
  animation: tmFloatBob 6.2s ease-in-out infinite alternate;
}

.tm-card-3d-ornament--sm {
  width: 96px;
  height: 96px;
  top: -18px;
  right: -18px;
  opacity: 0.22;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-lux);
  white-space: nowrap;
}

.tm-btn--lime {
  background: linear-gradient(135deg, #FF2E7E 0%, #E11D68 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 28px rgba(255, 46, 126, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.tm-btn--lime:hover {
  background: linear-gradient(135deg, #FF4D94 0%, #F42878 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(255, 46, 126, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.tm-btn--glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.tm-btn--glass:hover {
  background: rgba(14, 165, 233, 0.18);
  border-color: var(--cobalt-bright);
  transform: translateY(-2px);
}

.tm-btn--cobalt {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-bright) 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.34);
}
.tm-btn--cobalt:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(56, 189, 248, 0.45);
}

.tm-btn--sm {
  padding: 10px 18px;
  font-size: 0.86rem;
}

.tm-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   FLOATING LIQUID GLASS NAVBAR
   ========================================================================== */
.tm-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: 20px;
  transition: top 0.3s var(--ease-lux);
}

.tm-header.is-scrolled {
  top: 10px;
}

.tm-nav-shell {
  max-width: 1260px;
  width: calc(100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 12px 8px 18px;
  min-height: 60px;
  box-sizing: border-box;
  background: rgba(10, 11, 16, 0.78);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 20px 45px rgba(0, 0, 0, 0.6);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.tm-header.is-scrolled .tm-nav-shell {
  background: rgba(5, 5, 7, 0.90);
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 20px 45px rgba(0, 0, 0, 0.65);
}

.tm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.tm-brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.35));
  transition: transform 0.35s var(--ease-lux), filter 0.35s ease;
}
.tm-brand:hover .tm-brand-mark {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(255, 46, 126, 0.50));
}

.tm-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  justify-content: center;
}

.tm-brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.tm-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cerulean-light);
}

.tm-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.tm-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #94A3B8;
  white-space: nowrap;
  line-height: 1;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.tm-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.10);
}

.tm-nav-link.is-active {
  color: #FFFFFF;
  background: rgba(14, 165, 233, 0.20);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.22);
}

.tm-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.tm-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.tm-mobile-drawer {
  display: none;
  position: fixed;
  top: 82px;
  left: 20px;
  right: 20px;
  z-index: 999;
  padding: 20px;
  background: rgba(10, 11, 16, 0.95);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.72);
}

.tm-mobile-drawer.is-open {
  display: block;
  animation: fadeSlideDown 0.28s var(--ease-lux);
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tm-mobile-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tm-mobile-links a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.tm-mobile-links a.is-active,
.tm-mobile-links a:hover {
  background: rgba(14, 165, 233, 0.20);
  color: #FFFFFF;
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.tm-hero {
  padding: 150px 0 88px;
  position: relative;
}

.tm-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.tm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tm-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.tm-meta-pill--accent {
  background: var(--lime-soft);
  border-color: rgba(255, 46, 126, 0.35);
  color: #FF6FA7;
  font-weight: 600;
}

.tm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Countdown Liquid Glass Panel */
.tm-countdown-card {
  padding: 32px;
}

.tm-countdown-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

.tm-countdown-badge {
  color: #FF6FA7;
  background: var(--lime-soft);
  border: 1px solid rgba(255, 46, 126, 0.30);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.tm-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.tm-time-box {
  background: rgba(5, 5, 7, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 18px 10px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tm-time-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.tm-time-box--highlight {
  border-color: rgba(255, 46, 126, 0.38);
  background: linear-gradient(180deg, rgba(255, 46, 126, 0.16) 0%, rgba(5, 5, 7, 0.80) 100%);
}
.tm-time-box--highlight .tm-time-value {
  color: #FF5C9D;
}

.tm-time-unit {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.70rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.tm-hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-mini-stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
}

.tm-mini-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #FFFFFF;
}

.tm-mini-stat span {
  font-size: 0.80rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BENTO GRID SYSTEM
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-12 { grid-column: span 12; }
.bento-8  { grid-column: span 8; }
.bento-7  { grid-column: span 7; }
.bento-6  { grid-column: span 6; }
.bento-5  { grid-column: span 5; }
.bento-4  { grid-column: span 4; }
.bento-3  { grid-column: span 3; }

.bento-pad {
  padding: 32px;
}

.bento-pad--sm {
  padding: 24px;
}

.bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: var(--cerulean-light);
  margin-bottom: 18px;
}

.bento-icon--lime {
  background: var(--lime-soft);
  border-color: rgba(255, 46, 126, 0.38);
  color: #FF5C9D;
}

.bento-icon svg {
  width: 24px;
  height: 24px;
}

.bento-metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.bento-metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.bento-metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Feature Media Card */
.bento-photo-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.bento-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s var(--ease-lux);
}

.bento-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.15) 0%, rgba(5, 5, 7, 0.56) 55%, rgba(5, 5, 7, 0.95) 100%);
  z-index: 1;
}

.bento-photo-card:hover img {
  transform: scale(1.05);
}

.bento-photo-card__content {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   GALLERY BENTO MOSAIC & LIGHTBOX
   ========================================================================== */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-elevated);
  cursor: pointer;
  aspect-ratio: 16 / 10;
  padding: 0;
  text-align: left;
}

.gallery-tile--wide {
  grid-column: span 6;
}

.gallery-tile--std {
  grid-column: span 4;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-lux);
}

.gallery-tile__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 7, 0.92) 100%);
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gallery-tile__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #FF6FA7;
  background: rgba(5, 5, 7, 0.78);
  border: 1px solid rgba(255, 46, 126, 0.38);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-tile:hover {
  border-color: var(--border-cobalt);
}

/* Lightbox */
.tm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(3, 3, 5, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tm-lightbox.is-open {
  display: flex;
}

.tm-lightbox__box {
  position: relative;
  max-width: 1040px;
  width: 100%;
  background: rgba(12, 13, 19, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.80);
}

.tm-lightbox__img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #030305;
}

.tm-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-lightbox__title {
  font-weight: 600;
  color: #FFFFFF;
}

.tm-lightbox__controls {
  display: flex;
  gap: 8px;
}

.tm-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-icon-btn:hover {
  background: var(--lime);
  color: #FFFFFF;
  border-color: var(--lime);
}

/* ==========================================================================
   INSTITUTE LOGOS (GYANMANJARI GROUPS)
   ========================================================================== */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.logo-pill {
  background: rgba(248, 250, 252, 0.96);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  transition: transform 0.3s var(--ease-lux), box-shadow 0.3s ease;
}

.logo-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(14, 165, 233, 0.26);
}

.logo-pill img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.logo-pill span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin-inline: auto;
}

.faq-item {
  border-radius: var(--radius-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FF5C9D;
  transition: transform 0.3s var(--ease-lux), background 0.3s ease;
}

.faq-item.is-open {
  background: #FAF7F6 !important;
  border-color: #FFFFFF !important;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}

.faq-item.is-open .faq-trigger {
  color: #0E1017;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: #FF2E7E;
  color: #FFFFFF;
}

.faq-panel {
  display: none;
  padding: 0 26px 22px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.faq-item.is-open .faq-panel {
  display: block;
  color: #2E3444;
}

.faq-item.is-open .faq-panel strong {
  color: #0E1017;
}

.faq-item.is-open .faq-panel a.text-lime {
  color: #D91B65;
  font-weight: 700;
}

/* ==========================================================================
   PAGE HERO (INNER PAGES)
   ========================================================================== */
.tm-page-hero {
  padding: 148px 0 56px;
}

.tm-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.tm-breadcrumb a:hover {
  color: var(--cerulean-light);
}

.tm-breadcrumb .current {
  color: #FF6FA7;
}

/* ==========================================================================
   PROJECTS PAGE (DYNAMIC DB ARCHIVE)
   ========================================================================== */
.project-toolbar {
  padding: 24px;
  margin-bottom: 32px;
}

.project-toolbar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.year-chip {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-lux);
}

.year-chip:hover {
  border-color: var(--lime);
  color: #FFFFFF;
}

.year-chip.is-active {
  background: linear-gradient(135deg, #FF2E7E 0%, #E11D68 100%);
  color: #FFFFFF;
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(255, 46, 126, 0.34);
}

.dept-chip {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: rgba(14, 165, 233, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease-lux);
}

.dept-chip:hover {
  border-color: var(--cobalt-bright);
  color: #FFFFFF;
}

.dept-chip.is-active {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--cobalt-bright) 100%);
  color: #FFFFFF;
  border-color: var(--cerulean-light);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.38);
}

.project-search-wrap {
  position: relative;
  min-width: 240px;
  flex: 1 1 260px;
  max-width: 400px;
}

.project-search-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
}

.project-search {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 16px 11px 44px !important;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 7, 0.76);
  color: #FFFFFF;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-search:focus {
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.20);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-item-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-item-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.36);
  color: #7DD3FC;
}

.project-badge--year {
  background: var(--lime-soft);
  border-color: rgba(255, 46, 126, 0.36);
  color: #FF6FA7;
}

.project-item-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.3;
}

.project-lang-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cerulean-light);
  margin: 0 0 6px;
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  word-break: break-word;
}

.project-desc * {
  color: inherit !important;
  background: transparent !important;
  font-family: inherit !important;
}

.project-desc--gu {
  font-family: var(--font-guj);
  font-size: 1.02rem;
  line-height: 1.95;
  color: #DFE6F2;
}

.project-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   FORMS & CONTACT
   ========================================================================== */
.tm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tm-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tm-field--full {
  grid-column: span 2;
}

.tm-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tm-input,
.tm-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 7, 0.76);
  color: #FFFFFF;
  font-size: 0.96rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tm-input::placeholder,
.tm-textarea::placeholder {
  color: var(--text-muted);
}

.tm-input:focus,
.tm-textarea:focus {
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.22);
}

.tm-input.is-invalid {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(255, 46, 126, 0.20);
}

.tm-alert {
  padding: 16px 20px;
  border-radius: 16px;
  margin-bottom: 22px;
  font-size: 0.94rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tm-alert--success {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.42);
  color: #E0F2FE;
}

.tm-alert--error {
  background: rgba(255, 46, 126, 0.14);
  border: 1px solid rgba(255, 46, 126, 0.40);
  color: #FFD1E4;
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */
.tm-map-frame {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius-md);
  filter: invert(90%) hue-rotate(195deg) saturate(85%) contrast(92%);
}

/* ==========================================================================
   FREE ENTRY PASS LIQUID GLASS MODAL
   ========================================================================== */
.tm-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow-y: auto;
}

.tm-modal.is-open {
  display: flex;
}

/* ==========================================================================
   FREE DIGITAL QR ENTRY PASS MODAL - CRISP WHITE THEME
   ========================================================================== */
.tm-pass-modal__dialog,
#entryPassModal .tm-modal__dialog {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 32px;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0;
  border-radius: 26px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.08);
  animation: modalIn 0.3s var(--ease-lux);
}

#entryPassModal .tm-eyebrow--pass {
  color: #0284C7 !important;
  font-weight: 700;
}

#entryPassModal .tm-eyebrow--pass .pulse-dot {
  background: #0284C7 !important;
}

#entryPassModal .tm-pass-modal__title,
#entryPassModal #entryPassTitle {
  color: #0F172A !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#entryPassModal .tm-pass-modal__desc {
  margin: 0;
  color: #475569 !important;
  font-size: 0.9rem;
}

#entryPassModal .tm-pass-close-btn,
#entryPassModal .tm-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

#entryPassModal .tm-pass-close-btn:hover,
#entryPassModal .tm-icon-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

#entryPassModal .tm-label {
  color: #0F172A !important;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

#entryPassModal .tm-input {
  width: 100%;
  padding: 11px 15px;
  border-radius: 10px;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-size: 0.92rem;
  font-weight: 500;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

#entryPassModal .tm-input::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}

#entryPassModal .tm-input:focus {
  background: #FFFFFF !important;
  border-color: #0284C7 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

#entryPassModal .tm-role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 6px 0 14px;
}

#entryPassModal .tm-role-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: center;
}

#entryPassModal .tm-role-option label:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}

#entryPassModal .tm-role-option input:checked + label {
  background: #EFF6FF !important;
  border-color: #0284C7 !important;
  color: #0284C7 !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.14);
}

#entryPassModal .tm-conditional-fields {
  display: none;
  gap: 14px;
  flex-direction: column;
  margin-bottom: 14px;
}

#entryPassModal .tm-conditional-fields.is-visible {
  display: flex;
}

#entryPassModal .tm-pass-notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  font-size: 0.84rem;
  color: #0369A1;
}

#entryPassModal .tm-pass-notice strong {
  color: #0369A1;
}

#entryPassModal .tm-pass-notice .guj-note {
  font-family: var(--font-guj);
  margin-top: 6px;
  color: #475569;
}

#entryPassModal .tm-btn--lime {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

#entryPassModal .tm-btn--lime:hover {
  background: #047857;
  border-color: #047857;
}

#entryPassModal #tmPassFeedback {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  font-weight: 600;
}

#entryPassModal #tmPassFeedback.is-error {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #B91C1C;
}

#entryPassModal #tmPassFeedback.is-success {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #047857;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.45) 0%, rgba(3, 3, 5, 0.98) 100%);
  padding: 72px 0 32px;
  margin-top: 40px;
}

.tm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 0.9fr;
  gap: 36px;
  margin-bottom: 48px;
}

.tm-footer-logo-box {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.tm-footer-crest {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 5px;
}

.tm-footer-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.tm-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.tm-footer-list a:hover {
  color: #FF5C9D;
}

.tm-social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.tm-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.tm-social-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.tm-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SCROLL REVEAL & LUXURY KINETIC ANIMATIONS
   ========================================================================== */

/* Top Scroll Progress Neon Beam */
.tm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 2500;
  background: linear-gradient(90deg, #0EA5E9 0%, #38BDF8 45%, #FF2E7E 100%);
  box-shadow: 0 0 14px rgba(255, 46, 126, 0.7), 0 0 24px rgba(14, 165, 233, 0.55);
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Interactive Spatial Constellation Canvas (Fallback) */
#tmParticles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
}

/* Content layer in front of Galaxy background */
#main-content {
  position: relative;
  z-index: 1;
}

/* React Bits WebGL2 Galaxy Background (@react-bits/Galaxy-JS-CSS) — Scoped exclusively to Hero Section */
.galaxy-container,
.galaxy-container--hero {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.galaxy-canvas {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

/* Shimmering Iridescent Hero Gradient Text */
.text-gradient-cobalt {
  background: linear-gradient(110deg, #FFFFFF 0%, #38BDF8 30%, #FF2E7E 62%, #38BDF8 85%, #FFFFFF 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 15s linear infinite;
}

@keyframes gradientFlow {
  0%   { background-position: 0% center; }
  100% { background-position: 240% center; }
}

/* Animated Rotating Glow Border on Highlighted Cards */
.glass-card--lime {
  isolation: isolate;
}
.glass-card--lime::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(125deg, rgba(14, 165, 233, 0.75), rgba(255, 46, 126, 0.85), rgba(56, 189, 248, 0.4), rgba(255, 46, 126, 0.85));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderBeam 6s ease infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0.72;
}

@keyframes borderBeam {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Specular Light-Sweep Sheen on Primary Buttons */
.tm-btn {
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.tm-btn--lime::after,
.tm-btn--cobalt::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 48%;
  height: 200%;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
  transform: skewX(-24deg);
  transition: left 0.65s var(--ease-lux);
  pointer-events: none;
}
.tm-btn--lime:hover::after,
.tm-btn--cobalt:hover::after {
  left: 135%;
}

/* Steady Spatial Countdown Card — Hover, elevation, tilt, and transform effects completely removed */
.tm-countdown-card,
.tm-countdown-card:hover,
.tm-countdown-card:focus-within {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.tm-countdown-card::before,
.tm-countdown-card:hover::before {
  display: none !important;
  opacity: 0 !important;
}

/* Micro-Reassurance Caption Under Primary Hero CTA */
.tm-hero-micro {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #9AA6BC;
  letter-spacing: 0.03em;
}
.tm-hero-micro strong {
  color: #E2E8F0;
}

/* Countdown Digit Tick Pop */
.tm-time-value.is-tick {
  animation: digitPop 0.34s var(--ease-lux);
}
@keyframes digitPop {
  0%   { transform: translateY(-4px) scale(1.08); color: #38BDF8; }
  100% { transform: translateY(0) scale(1); }
}

/* Kinetic Festival Marquee Ticker */
.tm-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding-block: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.06) 0%, rgba(255, 46, 126, 0.07) 50%, rgba(14, 165, 233, 0.06) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.tm-marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  animation: marqueeScroll 28s linear infinite;
}

.tm-marquee-wrap:hover .tm-marquee-track {
  animation-play-state: paused;
}

.tm-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.tm-marquee-star {
  color: #FF2E7E;
  font-size: 0.9rem;
  text-shadow: 0 0 12px rgba(255, 46, 126, 0.8);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bento Icon Hover Micro-Spin / Pulse */
.glass-card:hover .bento-icon {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.35);
}
.glass-card:hover .bento-icon--lime {
  box-shadow: 0 0 24px rgba(255, 46, 126, 0.4);
}
.bento-icon {
  transition: transform 0.38s var(--ease-lux), box-shadow 0.38s ease;
}

/* Smooth Blur-Up Staggered Scroll Reveals */
[data-reveal] {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(28px) scale(0.975);
  transition:
    opacity 0.75s var(--ease-lux),
    transform 0.75s var(--ease-lux),
    filter 0.75s var(--ease-lux);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* 3D Spatial Tilt Support */
.glass-card[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}

/* FAQ Panel Smooth Expand */
.faq-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  opacity: 0;
  transition: max-height 0.4s var(--ease-lux), opacity 0.32s ease, padding 0.35s ease;
}
.faq-item.is-open .faq-panel {
  max-height: 320px;
  opacity: 1;
  padding: 0 26px 22px;
}

/* ==========================================================================
   GTA VI–STYLE CINEMATIC PINNED HERO & SCROLL-SCRUBBED STORYTELLING
   ========================================================================== */

/* Lenis Smooth Scroll Base */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* Pinned Full-Bleed Cinema Hero Stage */
.gta-cinema-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  background: #050507;
  display: flex;
  align-items: center;
}

.gta-bg-wrap {
  position: absolute;
  inset: -6%;
  z-index: 0;
  overflow: hidden;
}

.gta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.24);
  will-change: transform, filter;
  filter: saturate(1.12) contrast(1.06) brightness(0.86);
}

/* Atmospheric Depth Vignette & High-Contrast Scrim for Hero Readability */
.gta-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(95deg, rgba(5, 5, 7, 0.88) 0%, rgba(5, 5, 7, 0.72) 45%, rgba(5, 5, 7, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 5, 7, 0.72) 0%, rgba(5, 5, 7, 0.25) 38%, rgba(5, 5, 7, 0.65) 78%, #050507 100%);
}

/* ==========================================================================
   EXECUTIVE NITSAN-INSPIRED OPEN HERO STAGE (IMMEDIATE, CLEAN & FLOATING 3D ACCENTS)
   ========================================================================== */
.tm-hero-stage {
  position: relative;
  min-height: 92vh;
  padding: 152px 0 88px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 56% 52% at 18% 26%, rgba(14, 165, 233, 0.16) 0%, transparent 72%),
    radial-gradient(ellipse 46% 48% at 84% 72%, rgba(255, 46, 126, 0.14) 0%, transparent 72%),
    transparent;
}

.tm-hero-copy {
  position: relative;
  z-index: 2;
}

.tm-hero-floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.tm-hf-star-tl {
  top: 12%;
  left: 2.5%;
  width: clamp(68px, 6.2vw, 96px);
  filter: drop-shadow(0 16px 28px rgba(14, 165, 233, 0.42));
}

.tm-hf-star-br {
  bottom: 8%;
  right: 2.5%;
  width: clamp(64px, 5.8vw, 92px);
  filter: drop-shadow(0 16px 28px rgba(255, 46, 126, 0.44));
}

.tm-hf-chip-tr {
  top: 13.5%;
  right: 3.5%;
}

.tm-hf-chip-bl {
  bottom: 8.5%;
  left: 3.5%;
}

/* Official Logo Header Row Inside Porcelain Countdown Card */
.tm-countdown-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(14, 16, 23, 0.10);
}

.tm-countdown-brand-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 45%, #162238 0%, #090B12 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  flex-shrink: 0;
  box-shadow: 0 10px 24px rgba(14, 16, 23, 0.22);
}

.tm-countdown-brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1380px) {
  .tm-hf-star-tl { top: 11%; left: 1.5%; width: 64px; }
  .tm-hf-star-br { bottom: 6%; right: 1.5%; width: 62px; }
  .tm-hf-chip-tr { top: 11.5%; right: 2%; }
  .tm-hf-chip-bl { bottom: 6%; left: 2%; }
}

@media (max-width: 1180px) {
  .tm-hf-chip-tr,
  .tm-hf-chip-bl {
    display: none;
  }
}

@media (max-width: 768px) {
  .tm-hero-stage {
    min-height: auto;
    padding: 116px 0 60px;
  }
  .tm-hero-floats {
    opacity: 0.45;
  }
  .tm-hf-star-tl { top: 96px; left: auto; right: 14px; width: 48px; }
  .tm-hf-star-br { bottom: 16px; right: 14px; width: 46px; }
}

/* Crisp Solid Editorial Panel Behind Hero Copy */
.gta-hero-copy-panel {
  padding: 38px 40px;
  border-radius: 30px;
  background: linear-gradient(155deg, rgba(20, 25, 38, 0.95) 0%, rgba(12, 15, 24, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.gta-hero-copy-panel .tm-h1 {
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   NITSAN-INSPIRED FLOATING 3D ELEMENTS & EDITORIAL CHIPS AROUND "2K27"
   ========================================================================== */
.gta-float-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.gta-float-item {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  will-change: transform, opacity;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gta-float-bob {
  display: block;
  animation: tmFloatBob var(--bob-dur, 4.8s) ease-in-out infinite alternate;
  animation-delay: var(--bob-delay, 0s);
}

.gta-float-spin {
  display: block;
  animation: tmFloatSpin 22s linear infinite;
}

@keyframes tmFloatBob {
  0%   { transform: translate3d(0, -11px, 0) rotate(-2deg); }
  100% { transform: translate3d(0, 11px, 0) rotate(2.5deg); }
}

@keyframes tmFloatSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 2 Sculpted 3D Floating Accents + 2 Crisp Perimeter Chips (Restrained, Zero Overlap) */
.gta-float-shape--star {
  top: 15%;
  left: 4%;
  width: clamp(72px, 6.8vw, 108px);
  filter: drop-shadow(0 18px 30px rgba(14, 165, 233, 0.42));
}

.gta-float-shape--prism {
  bottom: 14%;
  right: 4.5%;
  width: clamp(68px, 6.4vw, 102px);
  filter: drop-shadow(0 18px 30px rgba(255, 46, 126, 0.44));
}

/* Floating Editorial Pill Chips (Cleanly spaced at outer corners away from navbar, logo & 2K27) */
.gta-float-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.48);
}

.gta-float-chip--light {
  background: #FAF7F6;
  color: #0E1017;
  border: 1px solid #FFFFFF;
}

.gta-float-chip--cerulean {
  background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
  color: #FFFFFF;
  border: 1px solid rgba(186, 230, 253, 0.55);
}

.gta-float-chip--rose {
  background: linear-gradient(135deg, #FF2E7E 0%, #D91B65 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 196, 220, 0.55);
}

.gta-float-chip--slate {
  background: #1A2134;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gta-float-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gta-float-chip--tr {
  top: 17%;
  right: 4.5%;
}

.gta-float-chip--bl {
  bottom: 18%;
  left: 4.5%;
}

.gta-curtain-sub {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 1.15vw, 0.98rem);
  font-weight: 500;
  color: #CBD5E1;
  letter-spacing: 0.01em;
}

@media (max-width: 1180px) {
  .gta-float-chip--tr { right: 3.5%; top: 15.5%; }
  .gta-float-chip--bl { left: 3.5%; bottom: 17%; }
  .gta-float-chip { font-size: 0.78rem; padding: 8px 14px; }
}

@media (max-width: 920px) {
  .gta-float-chip--tr,
  .gta-float-chip--bl {
    display: none;
  }
}

/* GTA VI Opening Portal Curtain with Transparent Knockout SVG Mask */
.gta-mask-curtain {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
}

.gta-mask-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.gta-curtain-caption {
  position: absolute;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 92%;
  max-width: 720px;
  will-change: transform, opacity;
}

.gta-curtain-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #E2E8F0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(5, 5, 7, 0.68);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.22);
}

.gta-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  background: transparent;
  border: none;
}

.gta-scroll-mouse {
  width: 26px;
  height: 42px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: center;
  padding-top: 8px;
  background: rgba(5, 5, 7, 0.5);
  backdrop-filter: blur(8px);
}

.gta-scroll-wheel {
  width: 4px;
  height: 9px;
  border-radius: 4px;
  background: linear-gradient(180deg, #38BDF8, #FF2E7E);
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  75%  { transform: translateY(13px); opacity: 0.15; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Revealed Hero Content Inside Cinema Stage */
.gta-hero-foreground {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-top: 64px;
  will-change: transform, opacity;
}

/* When JS GSAP is active, foreground starts gently tucked until user scrolls through the 2K27 portal */
html.tm-gsap-ready .gta-hero-foreground {
  opacity: 0;
  transform: translateY(64px) scale(0.95);
  pointer-events: none;
}
html.tm-gsap-ready .gta-hero-foreground.is-interactive {
  pointer-events: auto;
}

/* Scroll-Scrubbed Giant Editorial Typography Band */
.tm-editorial-scrub {
  position: relative;
  overflow: hidden;
  padding-block: 44px;
  user-select: none;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.tm-scrub-line {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  white-space: nowrap;
  will-change: transform;
  color: rgba(255, 255, 255, 0.90);
  -webkit-text-stroke: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.tm-scrub-line--accent {
  color: #38BDF8;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 28px rgba(14, 165, 233, 0.35);
  margin-top: 8px;
}

.tm-scrub-line span {
  color: #FF2E7E;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 28px rgba(255, 46, 126, 0.55);
}

/* GTA VI Sticky Split World Storytelling Showcase */
.gta-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.gta-story-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gta-story-step {
  padding: 32px;
  opacity: 0.88;
  background: #171D2D;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 4px solid rgba(56, 189, 248, 0.32);
  transform: scale(0.99);
  transition: opacity 0.45s var(--ease-lux), transform 0.45s var(--ease-lux), border-color 0.45s ease, box-shadow 0.45s ease, background 0.45s ease;
  cursor: pointer;
}

.gta-story-step.is-active {
  opacity: 1;
  transform: scale(1);
  background: #FAF7F6 !important;
  border-color: #FFFFFF;
  border-left: 5px solid #FF2E7E;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.52);
}

.gta-story-step.is-active .tm-h3 {
  color: #0E1017 !important;
}

.gta-story-step.is-active p {
  color: #2E3444 !important;
}

.gta-story-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #38BDF8;
  margin-bottom: 10px;
  display: inline-block;
}

.gta-story-step.is-active .gta-story-num {
  color: #D91B65;
}

.gta-story-visual-col {
  position: sticky;
  top: 104px;
}

.gta-story-frame {
  position: relative;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #08090E;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.70),
    0 0 50px rgba(14, 165, 233, 0.14);
}

.gta-story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.10);
  transition: opacity 0.75s var(--ease-lux), transform 1.15s var(--ease-lux);
}

.gta-story-slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}

.gta-story-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gta-story-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 7, 0.10) 0%, rgba(5, 5, 7, 0.25) 55%, rgba(5, 5, 7, 0.92) 100%);
}

.gta-story-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 3;
}

/* Inner-Page Authentic GMIU Campus Backdrop Banner */
.tm-page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 5, 7, 0.78) 0%, rgba(5, 5, 7, 0.88) 68%, #050507 100%),
    url('../images/tech_26/gmiu-campus-techmanjari-2k26.jpg') center 38% / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Floating Back-to-Filters Pill for Deep Project Archive Scrolling */
.tm-back-filters-btn {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: #FAF7F6;
  color: #0E1017;
  border: 1px solid #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s var(--ease-lux), background 0.2s ease;
}
.tm-back-filters-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.tm-back-filters-btn:hover {
  background: #0EA5E9;
  color: #FFFFFF;
  border-color: #38BDF8;
}

/* Official TechManjari 2027 Logo Showcase */
.tm-about-brand-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}

.tm-logo-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 45%, #162238 0%, #0D101B 62%, #07080E 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px rgba(0, 0, 0, 0.38);
}

.tm-card--light .tm-logo-showcase {
  background: radial-gradient(circle at 50% 45%, #162238 0%, #0B0E18 70%, #06070C 100%);
  border: 1px solid rgba(14, 16, 23, 0.12);
  box-shadow: 0 18px 36px rgba(14, 16, 23, 0.20);
}

.tm-logo-showcase img {
  width: 100%;
  max-width: 190px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(14, 165, 233, 0.28));
  transition: transform 0.45s var(--ease-lux), filter 0.45s ease;
}

.tm-logo-showcase:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 24px rgba(255, 46, 126, 0.40));
}

.tm-event-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.tm-logo-showcase--hero {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-lg);
}

.tm-footer-tm-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.30));
}

@media (max-width: 768px) {
  .tm-about-brand-grid {
    grid-template-columns: 1fr;
  }
  .tm-logo-showcase {
    max-width: 210px;
    margin-inline: auto;
  }
  .tm-event-hero-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .tm-logo-showcase--hero {
    width: 170px;
    height: 170px;
  }
}

/* Parallax Gallery Image Prep */
.gallery-tile img {
  will-change: transform;
}

@media (max-width: 1024px) {
  .gta-story-grid {
    grid-template-columns: 1fr;
  }
  .gta-story-visual-col {
    position: relative;
    top: 0;
    order: -1;
  }
  .gta-story-frame {
    height: 340px;
  }
  .gta-story-step {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .gta-cinema-stage {
    height: auto;
    min-height: 100svh;
    padding: 112px 0 64px;
  }
  .gta-mask-curtain,
  .gta-scroll-cue {
    display: none;
  }
  .gta-hero-copy-panel {
    padding: 24px 22px;
  }
  html.tm-gsap-ready .gta-hero-foreground {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .tm-hero-grid {
    grid-template-columns: 1fr;
  }
  .bento-8, .bento-7, .bento-6, .bento-5, .bento-4 {
    grid-column: span 6;
  }
  .bento-3 {
    grid-column: span 6;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .tm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1200px) and (min-width: 1025px) {
  .tm-nav-shell {
    padding: 6px 10px 6px 14px;
    gap: 8px;
  }
  .tm-nav-links {
    gap: 2px;
  }
  .tm-nav-link {
    height: 36px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
  .tm-brand {
    gap: 8px;
  }
  .tm-brand-name {
    font-size: 0.96rem;
  }
  .tm-brand-mark {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 1024px) {
  .tm-nav-links {
    display: none !important;
  }
  .tm-nav-shell {
    width: calc(100% - 20px);
    padding: 8px 10px 8px 12px;
    gap: 8px;
  }
  .tm-brand {
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
  }
  .tm-brand-text {
    min-width: 0;
  }
  .tm-brand-mark {
    width: 34px;
    height: 34px;
  }
  .tm-brand-name {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tm-nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  /* Keep primary Free Entry Pass CTA + Menu Toggle visible in sticky mobile header */
  .tm-nav-actions .tm-btn {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.76rem;
    gap: 6px;
    white-space: nowrap;
  }
  .tm-nav-actions .tm-btn svg {
    width: 14px;
    height: 14px;
  }
  .tm-menu-toggle {
    display: inline-flex !important;
    flex-shrink: 0 !important;
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
  }
  .tm-menu-toggle svg {
    display: block !important;
    width: 20px;
    height: 20px;
  }
  .tm-mobile-drawer {
    top: 76px;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .tm-section {
    padding-block: 56px;
  }
  .tm-hero {
    padding: 116px 0 48px;
  }
  .tm-page-hero {
    padding: 112px 0 36px;
  }
  .project-toolbar {
    padding: 16px;
    margin-bottom: 24px;
  }
  .project-toolbar__top {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .project-search-wrap {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .project-item-card {
    padding: 18px;
  }
  .tm-fields-grid {
    grid-template-columns: 1fr !important;
  }
  .tm-policy-card,
  .tm-form-section {
    padding: 18px 16px;
  }
}

@media (max-width: 460px) {
  .tm-brand-sub,
  .tm-nav-actions .tm-btn svg {
    display: none;
  }
  .tm-brand-name {
    font-size: 0.86rem;
  }
  .tm-nav-actions .tm-btn {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
  .tm-menu-toggle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 768px) {
  .bento-8, .bento-7, .bento-6, .bento-5, .bento-4, .bento-3,
  .gallery-tile--wide, .gallery-tile--std {
    grid-column: span 12;
  }
  .bento-pad {
    padding: 24px;
  }
  .tm-countdown-card {
    padding: 22px;
  }
  .tm-countdown-grid {
    gap: 8px;
  }
  .tm-form-grid {
    grid-template-columns: 1fr;
  }
  .tm-field--full {
    grid-column: span 1;
  }
  .tm-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   INNOVATION BITES / SWAD MANJARI — FOOD CORNER (MODAL & SYSTEM)
   ========================================================================== */

/* Navbar Food Pill */
.tm-nav-pill-food {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 46, 126, 0.16);
  border: 1px solid rgba(255, 46, 126, 0.4);
  color: #FF5A9E;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ==========================================================================
   INNOVATION BITES / SWAD MANJARI - WHITE FORM CARD THEME
   (Clean white surface, crisp slate typography, high contrast inputs)
   ========================================================================== */
.tm-eyebrow--food {
  color: #0284C7;
  font-weight: 700;
}

.tm-food-modal__dialog {
  max-width: 900px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  padding: 28px 32px;
  overflow: hidden;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0;
  border-radius: 26px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: max-width 0.3s ease, padding 0.3s ease;
}

/* Standalone Registration Hero Typography High-Contrast */
.tm-reg-page-hero h1,
.tm-reg-page-hero .tm-h1 {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.tm-reg-page-hero p,
.tm-reg-page-hero .tm-lead {
  color: #E2E8F0 !important;
}

.tm-reg-page-hero .tm-btn--ghost {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.tm-reg-page-hero .tm-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #FFFFFF !important;
}

/* Standalone Registration White Card (.tm-reg-card) Light-Theme Contrast & Form Controls */
.tm-reg-card {
  color-scheme: light;
  color: #0F172A;
}

.tm-reg-card .tm-label,
.tm-reg-card label {
  color: #0F172A !important;
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.tm-reg-card .tm-input,
.tm-reg-card .tm-select,
.tm-reg-card .tm-textarea,
.tm-reg-card select.tm-input,
.tm-reg-card textarea.tm-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-size: 0.94rem;
  font-family: var(--font-body);
  font-weight: 500;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tm-reg-card .tm-input::placeholder,
.tm-reg-card .tm-textarea::placeholder {
  color: #64748B !important;
  font-weight: 400;
}

.tm-reg-card .tm-input:focus,
.tm-reg-card .tm-select:focus,
.tm-reg-card .tm-textarea:focus,
.tm-reg-card select.tm-input:focus,
.tm-reg-card textarea.tm-input:focus {
  background: #FFFFFF !important;
  border-color: #4F46E5 !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

.tm-reg-card .tm-input-file {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px dashed #CBD5E1;
  border-radius: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  box-sizing: border-box;
}

.tm-reg-card .tm-input-file::file-selector-button {
  background: #EEF2FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
  border-radius: 7px;
  padding: 6px 12px;
  margin-right: 12px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.tm-reg-card .text-danger,
.tm-reg-card .req {
  color: #DC2626 !important;
  font-weight: 700;
}

.tm-reg-card .text-dark {
  color: #0F172A !important;
}

.tm-reg-card .text-muted {
  color: #475569 !important;
}

.tm-reg-card .text-primary {
  color: #4F46E5 !important;
}

.tm-reg-card .font-weight-bold {
  font-weight: 700;
}

.tm-reg-card .font-12 {
  font-size: 0.82rem;
}

.tm-reg-card .font-13 {
  font-size: 0.88rem;
}

.tm-reg-card .badge-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1E1B4B;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.tm-reg-card .badge-warning {
  background: #FEF3C7;
  color: #92400E !important;
  border: 1px solid #FDE68A;
}

.tm-reg-card .btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0F172A;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-reg-card .btn-outline-secondary:hover {
  background: #F8FAFC;
  border-color: #94A3B8;
}

.tm-reg-card .btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  background: #0F172A;
  border: 1.5px solid #0F172A;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.tm-reg-card .row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px 18px;
}

.tm-reg-card .col-12 { grid-column: span 12; }
.tm-reg-card .col-md-4 { grid-column: span 4; }
.tm-reg-card .col-md-5 { grid-column: span 5; }
.tm-reg-card .col-md-6 { grid-column: span 6; }
.tm-reg-card .col-md-7 { grid-column: span 7; }

@media (max-width: 768px) {
  .tm-reg-card .col-md-4,
  .tm-reg-card .col-md-5,
  .tm-reg-card .col-md-6,
  .tm-reg-card .col-md-7 {
    grid-column: span 12;
  }
}

.tm-reg-card .mb-2 { margin-bottom: 6px; }
.tm-reg-card .mb-3 { margin-bottom: 10px; }
.tm-reg-card .mt-3 { margin-top: 16px; }
.tm-reg-card .mr-1 { margin-right: 4px; }
.tm-reg-card .mr-2 { margin-right: 8px; }

/* Dual Announcement Popups: Innovation Bites & Seller Zone (Side by Side) */
.tm-dual-announcement-modal {
  padding: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(3, 3, 5, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.tm-dual-popup-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 22px;
  max-width: 1040px;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-popup-card {
  flex: 1 1 480px;
  max-width: 500px;
  min-width: 320px;
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.tm-popup-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tm-popup-chip--food {
  background: #EFF6FF;
  color: #2563EB;
  border: 1px solid #BFDBFE;
}

.tm-popup-chip--seller {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
}

/* Food Stall Popup Bottom Content (Matches Seller Zone) */
.tm-food-card-action-zone,
.tm-seller-card-action-zone {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.55) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: auto;
}

.tm-seller-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.tm-seller-badge-chip {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.tm-seller-badge-chip--fee {
  background: rgba(34, 197, 94, 0.25);
  color: #86EFAC;
}

.tm-seller-badge-chip--date {
  background: rgba(239, 68, 68, 0.25);
  color: #FCA5A5;
}

.tm-food-card-cta-btn {
  background: #2563EB !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 300px;
}

.tm-food-card-cta-btn:hover {
  background: #1D4ED8 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.65);
}

.tm-seller-card-cta-btn {
  background: #4F46E5 !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 300px;
}

.tm-seller-card-cta-btn:hover {
  background: #4338CA !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.65);
}

.tm-popup-card .tm-teaser-poster-frame {
  height: 310px;
  position: relative;
  overflow: hidden;
  background: #0F172A;
}

.tm-popup-card .tm-teaser-poster-frame .tm-teaser-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .tm-dual-popup-container {
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
    overflow-y: auto;
    padding: 12px;
    gap: 16px;
  }
  .tm-popup-card {
    max-width: 460px;
    width: 100%;
    min-width: unset;
  }
  .tm-popup-card .tm-teaser-poster-frame {
    height: 250px;
  }
}

/* Compact Teaser Mode (Matches User Screenshot) */
.tm-food-modal__dialog.is-teaser-mode {
  max-width: 520px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55) !important;
  animation: modalIn 0.28s var(--ease-lux);
}

.tm-teaser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
}

.tm-teaser-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-teaser-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1E3A8A;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
}

.tm-teaser-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.tm-teaser-close-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
  transform: rotate(90deg);
}

.tm-teaser-view {
  padding: 0 !important;
  overflow: hidden !important;
}

.tm-teaser-poster-frame {
  position: relative;
  width: 100%;
  cursor: pointer;
  background: #0F172A;
  overflow: hidden;
  line-height: 0;
}

.tm-teaser-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tm-teaser-poster-frame:hover .tm-teaser-banner-img {
  transform: scale(1.02);
}

.tm-teaser-action-zone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Aligns over the yellow button in the poster */
  padding-top: 18px;
  pointer-events: auto;
}

.tm-teaser-yellow-btn {
  background: #FFC107; /* Vivid Golden Festival Yellow */
  color: #0F172A;
  border: 2px solid #F59E0B;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 36px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tm-teaser-yellow-btn:hover {
  background: #FFB300;
  transform: scale(1.07);
  box-shadow: 0 10px 28px rgba(255, 193, 7, 0.6);
}

.tm-teaser-yellow-btn:active {
  transform: scale(0.97);
}

.tm-back-to-notice-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #0284C7;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.tm-back-to-notice-btn:hover {
  color: #0369A1;
  text-decoration: underline;
}

.tm-food-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.tm-food-modal__title {
  margin: 4px 0 2px;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #0F172A !important;
  font-weight: 800;
}

.tm-food-modal__desc {
  margin: 0;
  font-size: 0.88rem;
  color: #475569 !important;
}

.tm-food-close-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-food-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
  transform: rotate(90deg);
}

/* Primary Modal Tab Bar (Notice vs Policy vs Form) */
.tm-food-nav-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.tm-food-nav-tabs--3col {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 680px) {
  .tm-food-nav-tabs--3col {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INNOVATION BITES - ANNOUNCEMENT POPUP (TEASER SCREEN)
   ========================================================================== */
.tm-announce-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 8px;
}

.tm-announce-media {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tm-announce-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.tm-announce-media:hover .tm-announce-img {
  transform: scale(1.02);
}

.tm-announce-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(15,23,42,0.75) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
}

.tm-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: #065F46;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pulse-dot--green {
  background: #10B981 !important;
}

.tm-event-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tm-announce-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #0284C7;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.tm-announce-heading {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800;
  color: #0F172A !important;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.tm-announce-lead {
  font-size: 0.94rem;
  color: #475569 !important;
  line-height: 1.6;
  margin: 0 0 16px;
}

.tm-announce-lead strong {
  color: #0F172A;
  font-weight: 700;
}

.tm-announce-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .tm-announce-perks {
    grid-template-columns: 1fr;
  }
}

.tm-announce-perk {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
}

.tm-perk-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.tm-announce-perk strong {
  display: block;
  color: #0F172A;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.tm-announce-perk span {
  display: block;
  color: #64748B;
  font-size: 0.8rem;
  line-height: 1.4;
}

.tm-announce-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.tm-food-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #64748B;
  cursor: pointer;
  text-align: left;
  transition: all 0.22s var(--ease-lux);
}

.tm-food-tab:hover:not(:disabled) {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

.tm-food-tab.is-active {
  background: #EFF6FF !important;
  border-color: #0284C7 !important;
  color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.tm-food-tab.is-locked {
  opacity: 0.65;
  cursor: not-allowed;
  background: #F8FAFC;
  border-color: #E2E8F0;
}

.tm-food-tab__step {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0284C7;
}

.tm-food-tab.is-active .tm-food-tab__step {
  color: #0284C7;
}

.tm-food-tab__label {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A !important;
}

.tm-food-tab__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  margin-top: 2px;
  color: #64748B;
}

.tm-food-tab.is-active .tm-food-tab__badge {
  color: #0369A1;
  font-weight: 700;
}

/* Modal View Wrapper with Scroll */
.tm-food-view {
  display: none;
  overflow-y: auto;
  max-height: calc(92vh - 210px);
  padding-right: 6px;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 #F8FAFC;
}

.tm-food-view.is-active {
  display: block;
}

.tm-food-view::-webkit-scrollbar {
  width: 6px;
}
.tm-food-view::-webkit-scrollbar-track {
  background: #F8FAFC;
  border-radius: 999px;
}
.tm-food-view::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 999px;
}
.tm-food-view::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Feedback Box */
.tm-food-feedback {
  padding: 12px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: 600;
}
.tm-food-feedback.is-error {
  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  color: #B91C1C;
}
.tm-food-feedback.is-success {
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #047857;
}

/* ==========================================================================
   POLICY STEPPER (SECTIONS A TO J)
   ========================================================================== */
.tm-policy-tracker {
  padding: 16px 18px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  margin-bottom: 18px;
}

.tm-policy-tracker__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.tm-policy-tracker__label {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0284C7;
}

.tm-policy-tracker__counter {
  color: #0F172A;
  font-weight: 700;
}

.tm-policy-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
  margin-bottom: 12px;
}

.tm-policy-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0284C7 0%, #0EA5E9 100%);
  transition: width 0.3s ease;
}

/* Pills A through J */
.tm-policy-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.tm-policy-pills::-webkit-scrollbar {
  display: none;
}

.tm-policy-pill {
  flex: 1;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-policy-pill:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: #0F172A;
}

.tm-policy-pill.is-active {
  background: #0284C7 !important;
  border-color: #0284C7 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.tm-policy-pill.is-read {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #059669;
}

/* Policy Card Surface (Clean White Card Design) */
.tm-policy-cards {
  margin-bottom: 18px;
}

.tm-policy-card {
  display: none;
  padding: 24px 26px;
  border-radius: 20px;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: modalIn 0.25s ease;
}

.tm-policy-card.is-active {
  display: block;
}

.tm-policy-card__head {
  margin-bottom: 16px;
}

.tm-policy-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #0284C7;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tm-policy-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A !important;
  margin: 0;
  letter-spacing: -0.01em;
}

.tm-policy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.tm-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.tm-policy-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284C7;
  border: none;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);
}

.tm-policy-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.tm-policy-item p strong {
  color: #0F172A;
  font-weight: 700;
}

.tm-policy-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
  color: #0369A1;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 14px;
}

.tm-policy-note svg {
  color: #0284C7;
  flex-shrink: 0;
  margin-top: 2px;
}

.tm-policy-note--highlight {
  background: #FFF1F2;
  border-color: #FECDD3;
  color: #BE123C;
}

.tm-policy-note--highlight svg {
  color: #E11D48;
}

.tm-policy-confirm-box {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  color: #166534;
}

.tm-policy-confirm-box .tm-checkbox-label {
  color: #0F172A;
  font-weight: 600;
}

/* Policy Nav Actions */
.tm-policy-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.tm-policy-quick-info {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

/* ==========================================================================
   FORM WIZARD (SECTIONS 1 TO 8) - WHITE FORM CARD THEME
   ========================================================================== */
.tm-form-policy-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #065F46;
  margin-bottom: 14px;
}

.tm-form-policy-badge .tm-badge-icon {
  color: #059669;
}

.tm-form-policy-badge__text {
  font-weight: 700;
  font-size: 0.88rem;
  color: #065F46;
}

.tm-form-policy-badge__link {
  color: #059669;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

.tm-form-stepper {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: none;
}
.tm-form-stepper::-webkit-scrollbar {
  display: none;
}

.tm-form-step-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-form-step-pill span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #334155;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-form-step-pill.is-active {
  background: #EFF6FF !important;
  border-color: #0284C7 !important;
  color: #0284C7 !important;
  font-weight: 700;
}

.tm-form-step-pill.is-active span {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}

.tm-form-step-pill.is-completed {
  border-color: #A7F3D0;
  background: #ECFDF5;
  color: #059669;
}

.tm-form-step-pill.is-completed span {
  background: #10B981;
  color: #FFFFFF;
}

/* Form Section Card */
.tm-form-section {
  display: none;
  padding: 24px 26px;
  border-radius: 20px;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: modalIn 0.25s ease;
  margin-bottom: 18px;
}

.tm-form-section.is-active {
  display: block;
}

.tm-form-section__head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.tm-section-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #0284C7;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.tm-form-section__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A !important;
  margin: 0 0 4px;
}

.tm-form-section__desc {
  margin: 0;
  font-size: 0.86rem;
  color: #475569 !important;
}

.req {
  color: #E11D48;
}

.tm-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tm-field--full {
  grid-column: span 2;
}

.tm-food-modal .tm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tm-food-modal .tm-label {
  color: #0F172A !important;
  font-size: 0.86rem;
  font-weight: 700;
  margin: 0;
}

.tm-food-modal .tm-field-hint {
  font-size: 0.76rem;
  color: #64748B;
  margin-top: 2px;
}

.tm-food-modal .tm-input,
.tm-food-modal .tm-select,
.tm-food-modal .tm-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F8FAFC !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  font-size: 0.92rem;
  font-family: var(--font-sans);
  font-weight: 500;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.tm-food-modal .tm-input::placeholder,
.tm-food-modal .tm-textarea::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}

.tm-food-modal .tm-input:focus,
.tm-food-modal .tm-select:focus,
.tm-food-modal .tm-textarea:focus {
  background: #FFFFFF !important;
  border-color: #0284C7 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.16);
}

.tm-food-modal .tm-select {
  cursor: pointer;
  background-color: #F8FAFC !important;
}

.tm-food-modal .tm-select option {
  background: #FFFFFF !important;
  color: #0F172A !important;
}

.tm-food-modal .tm-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.tm-word-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
}
.tm-word-count.is-valid {
  color: #059669;
}
.tm-word-count.is-warn {
  color: #D97706;
}

/* File Dropzone */
.tm-file-dropzone {
  position: relative;
  padding: 22px 18px;
  border: 2px dashed #CBD5E1;
  border-radius: 14px;
  background: #F8FAFC;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-file-dropzone:hover {
  border-color: #0284C7;
  background: #F0F9FF;
}

.tm-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.tm-file-dropzone__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.tm-file-dropzone__content svg {
  color: #0284C7;
}

.tm-dropzone-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A !important;
}

.tm-dropzone-hint {
  font-size: 0.75rem;
  color: #64748B;
}

.tm-file-selected-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #059669;
  font-weight: 700;
  margin-top: 4px;
  word-break: break-all;
}

/* Member Card Repeater */
.tm-members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tm-member-card {
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
}

.tm-member-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tm-member-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A !important;
}

.tm-remove-member-btn {
  background: none;
  border: none;
  color: #DC2626;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.tm-remove-member-btn:hover {
  background: #FEE2E2;
}

/* Declarations & Reassurance */
.tm-declarations-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  margin-bottom: 16px;
}

.tm-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: #1E293B !important;
  line-height: 1.5;
}

.tm-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #0284C7;
  cursor: pointer;
}

.tm-deposit-reassurance-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #F0F9FF;
  border: 1.5px solid #BAE6FD;
}

.tm-deposit-reassurance-title {
  font-weight: 700;
  color: #0369A1;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.tm-deposit-reassurance-desc {
  margin: 0;
  font-size: 0.84rem;
  color: #475569;
}

/* Form Nav Actions */
.tm-form-nav-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #E2E8F0;
}

.tm-form-section-indicator {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 700;
}

/* Buttons inside Food Modal */
.tm-food-modal .tm-btn--ghost {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  font-weight: 600;
}
.tm-food-modal .tm-btn--ghost:hover:not(:disabled) {
  background: #F1F5F9;
  border-color: #94A3B8;
  color: #0F172A;
}
.tm-food-modal .tm-btn--ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tm-food-modal .tm-btn--blue {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.tm-food-modal .tm-btn--blue:hover {
  background: #0369A1;
  border-color: #0369A1;
}

.tm-food-modal .tm-btn--lime {
  background: #059669;
  border-color: #059669;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.tm-food-modal .tm-btn--lime:hover:not(:disabled) {
  background: #047857;
  border-color: #047857;
}

/* ==========================================================================
   SUCCESS RECEIPT VIEW
   ========================================================================== */
.tm-food-receipt {
  text-align: center;
  padding: 24px 16px;
}

.tm-receipt-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tm-receipt-title {
  margin: 8px 0;
  color: #0F172A !important;
  font-weight: 800;
}

.tm-receipt-desc {
  color: #475569 !important;
  font-size: 0.92rem;
  max-width: 480px;
  margin: 0 auto 20px;
}

.tm-receipt-card {
  max-width: 480px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 16px 20px;
  text-align: left;
}

.tm-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.88rem;
}

.tm-receipt-row:last-child {
  border-bottom: none;
}

.tm-receipt-label {
  color: #64748B;
  font-weight: 500;
}

.tm-receipt-val {
  font-weight: 700;
  color: #0F172A;
  font-family: var(--font-mono);
}

.tm-receipt-val--code {
  color: #0284C7;
  font-size: 1rem;
}

.tm-receipt-val--status {
  color: #059669;
}

.tm-receipt-next-steps {
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 18px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
}

.tm-receipt-next-steps__title {
  font-weight: 700;
  color: #0F172A;
  font-size: 0.92rem;
  margin-bottom: 6px;
  text-align: left;
}

.tm-receipt-next-steps__list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: left;
}

/* ==========================================================================
   HOMEPAGE FOOD CORNER FEATURE SECTION
   ========================================================================== */
.tm-food-feature-card {
  position: relative;
  overflow: hidden;
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08) !important;
}

.tm-food-feature-card .tm-h2 {
  color: #0F172A !important;
}

.tm-food-feature-card .tm-lead {
  color: #334155 !important;
}

.tm-food-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.tm-food-feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.tm-food-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #1E293B !important;
  line-height: 1.5;
}

.tm-food-highlight-item span {
  color: #334155 !important;
}

.tm-food-highlight-item strong {
  color: #0F172A !important;
  font-weight: 700;
}

.tm-food-feature-sidebar {
  display: flex;
  flex-direction: column;
}

.tm-food-poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16) !important;
}

.tm-food-policy-preview-card {
  padding: 24px;
  border-radius: 20px;
  background: #171C2B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.tm-food-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-food-preview-badge {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.tm-food-preview-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #38BDF8;
}

.tm-food-preview-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tm-food-preview-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.tm-food-preview-steps .step-letter {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38BDF8;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .tm-food-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tm-food-modal__dialog {
    padding: 20px;
  }
  .tm-fields-grid {
    grid-template-columns: 1fr;
  }
  .tm-field--full {
    grid-column: span 1;
  }
}
