/* CSS Document */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

a { text-decoration: none; cursor: pointer; }

/* Font faces */
@font-face {
  font-family: XiaomiInter;
  font-weight: 400;
  src: url("../fonts/inter-400.ttf"); }
@font-face {
  font-family: XiaomiInter;
  font-weight: 500;
  src: url("../fonts/inter-500.ttf"); }
@font-face {
  font-family: XiaomiInter;
  font-weight: 600;
  src: url("../fonts/inter-600.ttf"); }
@font-face {
  font-family: XiaomiInter;
  font-weight: 700;
  src: url("../fonts/inter-700.ttf"); }
@font-face {
  font-family: XiaomiInter;
  font-weight: 800;
  src: url("../fonts/inter-800.ttf"); }
@font-face {
  font-family: XiaomiInter;
  font-weight: 900;
  src: url("../fonts/inter-900.ttf"); }
@font-face {
  font-family: XiaomiFKRoman;
  font-weight: 400;
  src: url("../fonts/uploads_fonts_fk-roman-standard_fk-roman-standard-regular.fixed.woff2") format("woff2"); }
@font-face {
  font-family: XiaomiFKRoman;
  font-weight: 700;
  src: url("../fonts/uploads_fonts_fk-roman-standard_fk-roman-standard-bold.fixed.woff2") format("woff2"); }
@font-face {
  font-family: XiaomiFKRoman;
  font-weight: 400;
  font-style: italic;
  src: url("../fonts/uploads_fonts_fk-roman-standard_fk-roman-standard-italic.fixed.woff2") format("woff2"); }
@font-face {
  font-family: XiaomiFKRoman;
  font-weight: 700;
  font-style: italic;
  src: url("../fonts/uploads_fonts_fk-roman-standard_fk-roman-standard-bold-italic.fixed.woff2") format("woff2"); }

/* ========================================
   OVERRIDE CMS PARENT WRAPPERS
   Break out of .w980 and other constraints
   ======================================== */
.sp-body-content,
.sp-body-content .w980,
.sp-body-content .w980 .sp-detail,
.sp-body-content .sp-detail-maincontent,
.sp-body-content .sp-detail-content,
.sp-detail-content[data-role="content"] {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: visible !important;
  background: #0a0a0a !important; }

.sp-detail,
.sp-detail-content {
  padding: 0 !important; }

.sp-body-content .sp-detail .sp-sapo {
  display: none !important; }

.sp-detail-content .detail-emagazine {
  padding: 0 !important; }

.k14-sp-wrapper,
.k14-sp-wrapper .sp-body-content,
.k14-sp-wrapper .sp-body-content .sp-detail {
  background: #0a0a0a !important; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); } }

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; } }

@keyframes scrollPulse {
  0% { background-position: 0 0; }
  100% { background-position: 0 -200%; } }

/* ========================================
   WRAPPER
   ======================================== */
.eMag-longform-wrapper {
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  background: #0a0a0a; }

/* ========================================
   PROGRESS BAR
   ======================================== */
.eMag-longform-wrapper .xm-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, #ff6b35, #e8a87c, #ff6b35);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
  z-index: 10000; }

/* ========================================
   HERO COVER
   ======================================== */
.eMag-longform-wrapper .xm-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end; }

.eMag-longform-wrapper .xm-hero .xm-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0; }

.eMag-longform-wrapper .xm-hero .xm-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.65); }

.eMag-longform-wrapper .xm-hero .xm-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  background: linear-gradient(to top, #0a0a0a 0%, rgba(10,10,10,0.7) 35%, rgba(10,10,10,0.15) 65%, rgba(10,10,10,0.4) 100%);
  pointer-events: none; }

.eMag-longform-wrapper .xm-hero .xm-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 5vw, 80px) clamp(56px, 10vh, 96px);
  max-width: 960px;
  width: 100%; }

.eMag-longform-wrapper .xm-hero .xm-hero-content .elm-tag {
  font-family: XiaomiInter;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ff6b35;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.22,1,0.36,1) forwards; }

.eMag-longform-wrapper .xm-hero .xm-hero-content .elm-tag .elm-tag-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: #ff6b35; }

.eMag-longform-wrapper .xm-hero .xm-hero-content .elm-hero-title {
  font-family: XiaomiInter;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 960px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s 0.5s cubic-bezier(0.22,1,0.36,1) forwards; }

.eMag-longform-wrapper .xm-hero .xm-hero-content .elm-hero-excerpt {
  font-family: XiaomiFKRoman;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
  opacity: 0;
  animation: fadeUp 1s 0.7s cubic-bezier(0.22,1,0.36,1) forwards; }

.eMag-longform-wrapper .xm-hero .xm-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s cubic-bezier(0.22,1,0.36,1) forwards; }

.eMag-longform-wrapper .xm-hero .xm-hero-scroll .elm-scroll-label {
  font-family: XiaomiInter;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25); }

.eMag-longform-wrapper .xm-hero .xm-hero-scroll .elm-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent 0%, #ff6b35 50%, transparent 100%);
  background-size: 1px 200%;
  animation: scrollPulse 2s ease-in-out infinite; }

/* ========================================
   ARTICLE BODY
   ======================================== */
.eMag-longform-wrapper .xm-article {
  padding-top: 72px;
  padding-bottom: 100px;
  position: relative; }

/* Body text */
.eMag-longform-wrapper .xm-article .elm-body {
  font-family: XiaomiFKRoman;
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 400;
  line-height: 1.9;
  color: #a0a0a0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 24px; }

.eMag-longform-wrapper .xm-article .elm-body strong {
  font-family: XiaomiInter;
  font-weight: 700;
  font-size: 0.95em;
  color: #e8e8e8; }

/* Section heading with counter */
.eMag-longform-wrapper .xm-article .elm-section-heading {
  font-family: XiaomiInter;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 640px;
  margin: 80px auto 32px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center; }

.eMag-longform-wrapper .xm-article .elm-section-heading .elm-counter {
  display: block;
  font-family: XiaomiInter;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em; }

/* Images */
.eMag-longform-wrapper .xm-article .elm-figure {
  margin: 44px auto;
  overflow: hidden;
  max-width: 960px;
  padding: 0 20px; }

.eMag-longform-wrapper .xm-article .elm-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; }

.eMag-longform-wrapper .xm-article .elm-figure-full {
  margin: 44px 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 0;
  position: relative; }

.eMag-longform-wrapper .xm-article .elm-figure-full img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover; }

.eMag-longform-wrapper .xm-article .elm-figure-full .elm-img-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(to top, #0a0a0a, transparent);
  pointer-events: none; }

.eMag-longform-wrapper .xm-article .elm-figure-full .elm-img-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-family: XiaomiInter;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,10,0.7);
  padding: 8px 18px;
  z-index: 2; }

/* Stats band */
.eMag-longform-wrapper .xm-stats-band {
  background: #111111;
  color: #fff;
  padding: clamp(48px, 7vh, 80px) 20px;
  margin: 60px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08); }

.eMag-longform-wrapper .xm-stats-band .xm-stats-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px); }

.eMag-longform-wrapper .xm-stats-band .xm-stat-item {
  text-align: center;
  padding: 16px 8px; }

.eMag-longform-wrapper .xm-stats-band .xm-stat-item .elm-stat-number {
  font-family: XiaomiInter;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1; }

.eMag-longform-wrapper .xm-stats-band .xm-stat-item .elm-stat-label {
  font-family: XiaomiFKRoman;
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 500;
  color: #555555;
  margin-top: 8px;
  line-height: 1.5; }

/* Divider */
.eMag-longform-wrapper .xm-article .elm-divider {
  max-width: 640px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px; }

.eMag-longform-wrapper .xm-article .elm-divider .elm-divider-line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.08); }

.eMag-longform-wrapper .xm-article .elm-divider .elm-divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ff6b35;
  box-shadow: 0 0 8px rgba(255,107,53,0.3); }

/* Pull quote */
.eMag-longform-wrapper .xm-article .elm-pullquote {
  max-width: 960px;
  margin: 60px auto;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 56px);
  background: #161616;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; }

.eMag-longform-wrapper .xm-article .elm-pullquote .elm-quote-mark {
  font-family: XiaomiInter;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: #ff6b35;
  opacity: 0.12;
  line-height: 0.8;
  margin-bottom: 8px; }

.eMag-longform-wrapper .xm-article .elm-pullquote .elm-quote-text {
  font-family: XiaomiInter;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: #e8e8e8;
  margin-bottom: 16px; }

.eMag-longform-wrapper .xm-article .elm-pullquote .elm-quote-author {
  font-family: XiaomiInter;
  font-size: 11px;
  font-weight: 600;
  color: #ff6b35;
  letter-spacing: 0.08em;
  text-transform: uppercase; }

/* Product card */
.eMag-longform-wrapper .xm-article .xm-product {
  max-width: 960px;
  margin: 56px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center; }

.eMag-longform-wrapper .xm-article .xm-product.reverse { direction: rtl; }
.eMag-longform-wrapper .xm-article .xm-product.reverse > * { direction: ltr; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info {
  display: flex;
  flex-direction: column;
  gap: 14px; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-product-name {
  font-family: XiaomiInter;
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff6b35; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-product-title {
  font-family: XiaomiInter;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-spec-pill {
  font-family: XiaomiInter;
  font-size: 11px;
  font-weight: 600;
  color: #ff6b35;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.25);
  padding: 5px 14px;
  letter-spacing: 0.02em; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-product-price {
  font-family: XiaomiInter;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #ffffff; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-info .elm-product-price .old {
  font-size: 0.7em;
  font-weight: 500;
  color: #555555;
  text-decoration: line-through;
  margin-left: 8px; }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-img {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08); }

.eMag-longform-wrapper .xm-article .xm-product .xm-product-img img {
  display: block;
  width: 100%; }

/* Footer */
.eMag-longform-wrapper .xm-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #555555;
  text-align: center;
  padding: 56px 24px;
  font-family: XiaomiInter;
  font-size: 12px;
  letter-spacing: 0.1em; }

.eMag-longform-wrapper .xm-footer .elm-footer-line {
  width: 40px;
  height: 2px;
  background: #ff6b35;
  margin: 0 auto 20px;
  opacity: 0.4; }

/* Reveal animations */
.eMag-longform-wrapper .xm-reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s cubic-bezier(0.22,1,0.36,1); }

.eMag-longform-wrapper .xm-reveal-left {
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s cubic-bezier(0.22,1,0.36,1); }

.eMag-longform-wrapper .xm-reveal-right {
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  filter: blur(4px);
  transition: opacity 0.9s cubic-bezier(0.22,1,0.36,1), transform 0.9s cubic-bezier(0.22,1,0.36,1), filter 0.9s cubic-bezier(0.22,1,0.36,1); }

.eMag-longform-wrapper .xm-reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  filter: blur(8px);
  transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1), transform 1.1s cubic-bezier(0.22,1,0.36,1), filter 1.1s cubic-bezier(0.22,1,0.36,1); }

.eMag-longform-wrapper .xm-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
  filter: blur(0) !important; }

/* Responsive */
@media screen and (max-width: 768px) {
  .eMag-longform-wrapper .xm-article .elm-body,
  .eMag-longform-wrapper .xm-article .elm-section-heading {
    padding-left: 16px;
    padding-right: 16px; }
  .eMag-longform-wrapper .xm-article .elm-figure {
    padding-left: 16px;
    padding-right: 16px; }
  .eMag-longform-wrapper .xm-stats-band .xm-stats-inner {
    grid-template-columns: repeat(2, 1fr); }
  .eMag-longform-wrapper .xm-article .xm-product {
    grid-template-columns: 1fr;
    padding: 0 16px; }
  .eMag-longform-wrapper .xm-article .xm-product.reverse { direction: ltr; }
  .eMag-longform-wrapper .xm-article .elm-pullquote {
    margin-left: 16px;
    margin-right: 16px;
    padding: 28px 20px; }
  .eMag-longform-wrapper .xm-hero {
    min-height: 80vh; } }

@media screen and (max-width: 480px) {
  .eMag-longform-wrapper .xm-hero .xm-hero-content .elm-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .eMag-longform-wrapper .xm-article .elm-body {
    font-size: 15px; } }
