/* ==========================================================================
   Roshani Technologies – Extended UI: Auth Screen, Blogs, 3D Machine & Dashboard
   Palette: Obsidian Ember (#111827, #1F2937, #D65B49, #F08A70) & Champagne Ivory (#F8F1E7, #EADBC8, #FFFCF7, #28212A)
   ========================================================================== */

.hb {
  pointer-events: none;
  z-index: 2;
}

.hb a,
.hb button {
  pointer-events: auto;
}

html[data-machine] #cv {
  display: none;
}

#mc {
  position: absolute;
  right: clamp(16px, 5vw, 72px);
  top: 52%;
  transform: translateY(-50%);
  width: min(44vw, 500px);
  height: auto;
  aspect-ratio: 160 / 112;
  z-index: 1;
  pointer-events: none;
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 18px 34px rgba(24, 56, 43, 0.22));
}

@media (max-width: 960px) {
  #mc {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(92vw, 380px);
    margin: 0 auto 20px;
  }

  #hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 96px;
  }
}

.mob-auth {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--ln);
}

@media (max-width: 960px) {
  .mob-auth {
    display: flex;
  }
}

/* ==========================================================================
   Authentication First Screen (#gate)
   ========================================================================== */

#gate {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  grid-template-columns: 1.05fr 1fr;
  background: #111827;
  color: #F8F1E7;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.5s ease;
}

#gate.open {
  display: grid;
  animation: gIn 0.55s ease both;
}

#gate.out {
  transform: translateY(-100%);
  pointer-events: none;
}

@keyframes gIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

body.gate-on {
  overflow: hidden;
}

.g-l {
  padding: clamp(28px, 6vw, 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: radial-gradient(65% 60% at 85% 90%, rgba(214, 91, 73, 0.28), transparent),
    linear-gradient(155deg, #111827 0%, #1F2937 65%, #28212A 120%);
  position: relative;
}

.g-l h1 {
  font-size: clamp(2.1rem, 4.8vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 14ch;
  color: #F8F1E7;
}

.g-l p {
  margin: 0;
  max-width: 44ch;
  color: #D5C8B8;
  line-height: 1.6;
}

.g-ey {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #F08A70 !important;
}

.g-sw {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #111827 25%, #1F2937 25% 50%, #D65B49 50% 75%, #EADBC8 75%);
}

.g-r {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 4vw, 48px);
  background: #F8F1E7;
  color: #28212A;
  overflow-y: auto;
}

.g-box {
  width: min(100%, 440px);
  display: grid;
  gap: 14px;
}

.g-tabs {
  display: flex;
  gap: 6px;
  background: rgba(40, 33, 42, 0.08);
  border-radius: 99px;
  padding: 4px;
}

.g-tabs button {
  flex: 1;
  border: 0;
  background: none;
  border-radius: 99px;
  padding: 10px 14px;
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  font-weight: 600;
  color: #28212A;
  transition: 0.25s;
}

.g-tabs button.on {
  background: #111827;
  color: #F8F1E7;
}

.g-field {
  display: grid;
  gap: 6px;
}

.g-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #28212A;
}

.g-pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.g-pw-wrap input {
  padding-right: 68px !important;
}

.g-eye {
  position: absolute;
  right: 10px;
  background: none;
  border: 0;
  color: #5C525E;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
}

.g-eye:hover {
  color: #D65B49;
}

.g-box input:not([type="checkbox"]):not([type="radio"]),
.g-box select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(40, 33, 42, 0.22);
  border-radius: 12px;
  background: #FFFCF7;
  color: #28212A;
  font: inherit;
  min-height: 44px;
}

.g-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.g-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: #5C525E;
  cursor: pointer;
}

.g-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.g-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: #D65B49;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.g-er {
  color: #B42318;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.g-ok {
  color: #166534;
  background: rgba(22, 101, 52, 0.08);
  border: 1px solid rgba(22, 101, 52, 0.25);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
}

.g-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #5C525E;
  font-size: 0.8rem;
  margin: 4px 0;
}

.g-divider:before,
.g-divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(40, 33, 42, 0.16);
}

.g-explore {
  width: 100%;
  justify-content: center;
  border-color: rgba(40, 33, 42, 0.25);
  color: #28212A;
  background: #EADBC8;
  font-weight: 600;
}

.g-note {
  font-size: 0.78rem;
  color: #5C525E;
  margin: 0;
}

@media (max-width: 860px) {
  #gate.open {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    overflow-y: auto;
  }

  .g-l {
    padding: 28px 22px;
  }

  .g-l h1 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Services Section & Integrated Courses
   ========================================================================== */

.svc-part {
  margin-top: 12px;
}

/* ==========================================================================
   Blogs Section & Editorial Reader
   ========================================================================== */

.blog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 24px;
  overflow: hidden;
  margin: 28px 0;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.blog-featured:hover {
  transform: translateY(-4px);
  border-color: var(--or);
  box-shadow: 0 24px 48px -32px rgba(17, 24, 39, 0.35);
}

.blog-featured img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.blog-featured-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 820px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
}

.blog-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--or);
  box-shadow: 0 20px 40px -28px rgba(17, 24, 39, 0.3);
}

.blog-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.blog-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.78rem;
  color: var(--mu);
}

.role-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 99px;
  background: rgba(214, 91, 73, 0.12);
  color: var(--or);
  font-weight: 600;
  font-size: 0.74rem;
}

#blog-det {
  display: none;
  padding-top: 120px;
  padding-bottom: 80px;
}

.blog-article {
  max-width: 820px;
  margin: 0 auto;
}

.blog-article img.hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 22px;
  margin: 24px 0;
  border: 1px solid var(--ln);
}

.blog-prose {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--tx);
  white-space: pre-line;
}

/* ==========================================================================
   Extra Company Sections & Sticky Counselling Bar
   ========================================================================== */

.x-sec {
  padding: clamp(44px, 6vw, 78px) 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s, transform 0.8s;
}

.x-sec.in {
  opacity: 1;
  transform: none;
}

.x-sec.alt {
  background: var(--bg2);
}

.x-h {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 32px;
  max-width: 18ch;
}

.x-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.x-stats div {
  border-top: 2px solid var(--or);
  padding-top: 14px;
}

.x-stats b {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--or);
}

.x-stats span {
  color: var(--mu);
  font-size: 0.85rem;
}

.x-partners {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.x-partners span {
  border: 1px solid var(--ln);
  border-radius: 99px;
  padding: 10px 18px;
  background: var(--card);
  font-size: 0.9rem;
}

.x-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}

.x-card {
  background: var(--card);
  border: 1px solid var(--ln);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.x-card:hover {
  transform: translateY(-6px);
  border-color: var(--or);
  box-shadow: 0 22px 40px -28px var(--or);
}

.x-card small {
  color: var(--or);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
}

.x-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.x-card p,
.x-card blockquote {
  margin: 0;
  color: var(--mu);
}

.x-card figcaption {
  font-weight: 600;
}

.course-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 20px;
}

.course-category-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--ln);
  border-radius: 20px;
  background: var(--card);
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s, background 0.35s;
}

.course-category-card small {
  color: var(--or);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.course-category-card h3 {
  margin: 16px 0 8px;
  font-size: 1.35rem;
}

.course-category-card p {
  margin: 0;
  color: var(--mu);
  line-height: 1.55;
}

.course-category-card:hover,
.course-category-card.a {
  transform: translateY(-6px);
  border-color: var(--or);
  box-shadow: 0 22px 40px -28px var(--or);
}

.course-category-card.a {
  background: linear-gradient(135deg, color-mix(in srgb, var(--or) 16%, var(--card)), var(--card));
}

@media (max-width: 760px) {
  .course-category-grid {
    grid-template-columns: 1fr;
  }
}

.x-av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D65B49, #1F2937);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
}

.x-path {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.x-path div {
  border: 1px dashed var(--ln);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.x-path span {
  color: var(--mu);
  font-size: 0.85rem;
}

.x-src {
  color: var(--mu);
  font-size: 0.8rem;
  margin-top: 16px;
}

#xbar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 160%);
  z-index: 90;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #111827;
  color: #F8F1E7;
  border: 1px solid rgba(248, 241, 231, 0.2);
  border-radius: 99px;
  padding: 8px 10px 8px 22px;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  max-width: calc(100% - 24px);
}

#xbar.show {
  transform: translate(-50%, 0);
}

#xbar button {
  background: none;
  border: 0;
  color: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
}

@media (max-width: 700px) {
  #xbar span {
    display: none;
  }

  #xbar {
    padding-left: 10px;
  }
}

/* ==========================================================================
   Dashboard Status Badges, Modules & Admin Tables
   ========================================================================== */

.st-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(40, 33, 42, 0.08);
  color: var(--tx);
}

.st-badge.Published,
.st-badge.Approved {
  background: rgba(22, 101, 52, 0.14);
  color: #166534;
}

.st-badge.Pending {
  background: rgba(180, 83, 9, 0.14);
  color: #92400E;
}

.st-badge.Rejected {
  background: rgba(180, 35, 24, 0.14);
  color: #991B1B;
}

.st-badge.Revision {
  background: rgba(31, 41, 55, 0.14);
  color: #1F2937;
}

.cardp input:not([type="checkbox"]):not([type="radio"]),
.cardp select,
.cardp textarea {
  background: #FFFCF7;
  color: #28212A;
}

.mcard summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
}

.mcard summary small {
  color: var(--or);
}

.mdl {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--ln);
}

.mdl b {
  color: var(--or);
  min-width: 2.4ch;
}

.mdl h4 {
  margin: 0 0 4px;
}

.mdl p {
  margin: 0 0 8px;
  color: var(--mu);
}

.mdl textarea {
  width: 100%;
  margin: 4px 0 8px;
}

.mdl .btn {
  margin-right: 8px;
}

/* ==========================================================================
   Inquiry Section (#ask) – Layout & Shell
   ========================================================================== */

#ask {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--gr, linear-gradient(135deg, #18382b 0%, #2a1a14 60%, #c0583a 100%));
  color: #F8F1E7;
}

.iq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (max-width: 860px) {
  .iq-wrap {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Inquiry Section – Left Info Column
   ========================================================================== */

.iq-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.iq-info h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  color: #F8F1E7;
}

.iq-sub {
  color: rgba(248, 241, 231, 0.75);
  line-height: 1.65;
  margin: 0;
  max-width: 42ch;
}

.iq-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iq-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 241, 231, 0.85);
  font-size: 0.95rem;
}

.iq-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.iq-clink {
  color: rgba(248, 241, 231, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.iq-clink:hover {
  color: #F08A70;
}

.iq-alt-cta {
  align-self: flex-start;
  margin-top: 8px;
  background: rgba(248, 241, 231, 0.12);
  color: #F8F1E7;
  border: 1px solid rgba(248, 241, 231, 0.3);
}

.iq-alt-cta:hover {
  background: rgba(248, 241, 231, 0.22);
  border-color: rgba(248, 241, 231, 0.5);
}

/* ==========================================================================
   Inquiry Section – Enquiry Type Tabs
   ========================================================================== */

.iq-form-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.iq-tabs {
  display: flex;
  gap: 4px;
  background: rgba(248, 241, 231, 0.1);
  border-radius: 14px 14px 0 0;
  padding: 6px 6px 0;
  flex-wrap: wrap;
}

.iq-tab {
  flex: 1;
  min-width: 100px;
  border: 0;
  background: transparent;
  color: rgba(248, 241, 231, 0.65);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.iq-tab:hover {
  color: #F8F1E7;
  background: rgba(248, 241, 231, 0.1);
}

.iq-tab.on {
  background: rgba(248, 241, 231, 0.18);
  color: #F8F1E7;
}

/* ==========================================================================
   Inquiry Section – Form Fields & Status
   ========================================================================== */

.iq-form {
  background: rgba(248, 241, 231, 0.07);
  border: 1px solid rgba(248, 241, 231, 0.15);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.iq-form .fr {
  display: grid;
  gap: 5px;
}

.iq-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(248, 241, 231, 0.8);
}

.iq-form input,
.iq-form select,
.iq-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(248, 241, 231, 0.2);
  border-radius: 10px;
  background: rgba(248, 241, 231, 0.08);
  color: #F8F1E7;
  font: inherit;
  font-size: 0.95rem;
  min-height: 44px;
  transition: border-color 0.2s, background 0.2s;
}

.iq-form input::placeholder,
.iq-form textarea::placeholder {
  color: rgba(248, 241, 231, 0.35);
}

.iq-form input:focus,
.iq-form select:focus,
.iq-form textarea:focus {
  outline: none;
  border-color: #F08A70;
  background: rgba(248, 241, 231, 0.12);
}

.iq-form select option {
  background: #1F2937;
  color: #F8F1E7;
}

.iq-form .er {
  color: #F08A70;
  font-size: 0.8rem;
  min-height: 1.1em;
}

.iq-opt {
  color: rgba(248, 241, 231, 0.45);
  font-weight: 400;
}

.iq-status {
  min-height: 1.5em;
}

.iq-status .ok {
  background: rgba(22, 101, 52, 0.25);
  border: 1px solid rgba(22, 101, 52, 0.4);
  color: #86efac;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.iq-status .er {
  background: rgba(180, 35, 24, 0.2);
  border: 1px solid rgba(180, 35, 24, 0.35);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.iq-form > .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* ==========================================================================
   Inquiry Section � Light-background overrides (inside #page-contact)
   ========================================================================== */

#page-contact .iq-info h2 {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #1E3224;
  -webkit-text-fill-color: #1E3224;
}

#page-contact .iq-info .eyebrow {
  color: #C96B50;
  -webkit-text-fill-color: #C96B50;
}

#page-contact .iq-sub {
  color: #4B5D4E;
}

#page-contact .iq-contact-list li {
  color: #2E4A36;
}

#page-contact .iq-clink {
  color: #2E4A36;
}

#page-contact .iq-clink:hover {
  color: #C96B50;
}

#page-contact .iq-alt-cta {
  background: rgba(30, 50, 36, 0.1);
  color: #1E3224;
  border-color: rgba(30, 50, 36, 0.3);
}

#page-contact .iq-alt-cta:hover {
  background: rgba(30, 50, 36, 0.18);
}

#page-contact .iq-tabs {
  background: rgba(30, 50, 36, 0.1);
}

#page-contact .iq-tab {
  color: rgba(30, 50, 36, 0.55);
}

#page-contact .iq-tab:hover {
  color: #1E3224;
  background: rgba(30, 50, 36, 0.1);
}

#page-contact .iq-tab.on {
  background: #1E3224;
  color: #F8F1E7;
}

#page-contact .iq-form {
  background: rgba(255, 253, 247, 0.6);
  border-color: rgba(30, 50, 36, 0.18);
}

#page-contact .iq-form label {
  color: #2E4A36;
}

#page-contact .iq-form input,
#page-contact .iq-form select,
#page-contact .iq-form textarea {
  background: rgba(255, 253, 247, 0.85);
  border-color: rgba(30, 50, 36, 0.22);
  color: #1E3224;
}

#page-contact .iq-form input::placeholder,
#page-contact .iq-form textarea::placeholder {
  color: rgba(30, 50, 36, 0.4);
}

#page-contact .iq-form input:focus,
#page-contact .iq-form select:focus,
#page-contact .iq-form textarea:focus {
  border-color: #C96B50;
  background: #FFFDF7;
}

#page-contact .iq-form select option {
  background: #FFFDF7;
  color: #1E3224;
}

#page-contact .iq-form .er {
  color: #B42318;
}

#page-contact .iq-opt {
  color: rgba(30, 50, 36, 0.45);
}

/* ==========================================================================
   Cursor-Following Gradient Text (Draw. Model. Build.)
   ========================================================================== */

.mh-gradient {
  position: relative;
  display: inline-block;
  font-size: clamp(2.2rem, 10.5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #292722;
  cursor: default;
  user-select: none;
  isolation: isolate;
}

.mh-gradient__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    #5227FF 0%,
    #FF9FFC 50%,
    #B497CF 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: mh-gradient-flow 8s ease-in-out infinite;
  opacity: 0;
  pointer-events: none;
  mask-image: radial-gradient(
    circle 160px at var(--mh-cx, -200px) var(--mh-cy, -200px),
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.1) 70%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    circle 160px at var(--mh-cx, -200px) var(--mh-cy, -200px),
    rgba(0,0,0,0.95) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0.1) 70%,
    transparent 100%
  );
  transition: opacity 0.4s ease-out;
}

.mh-gradient:hover .mh-gradient__layer,
.mh-gradient.is-active .mh-gradient__layer {
  opacity: 1;
}

@keyframes mh-gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-gradient__layer {
    animation: none;
    background-position: 50% 50%;
  }
}

h2.mh-gradient {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #292722;
  -webkit-text-fill-color: #292722;
  font-size: clamp(2.2rem, 10.5vw, 7rem);
  width: 100%;
}
