/* ==========================================================================
   THANH.VN // DEMONIC LUXURY ABYSS — ZERO BORDERS & FEATHERED SHADOWS
   Pure Black & White Chiaroscuro • Feathered Fading • Chaotic Distortion Effects
   Refined Sophisticated Luxury Reveal Animations • Rotating Hero Variants
   ========================================================================== */

:root {
  --bg-void: #000000;
  --text-pure: #ffffff;
  --text-muted: #888894;
  --text-subtle: #484852;
  --font-luxury: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
  --ease-couture: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ZERO BORDERS GLOBALLY */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none !important;
  outline: none !important;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-pure);
  font-family: var(--font-luxury);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  background: #000000;
  color: var(--text-pure);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}

/* SUBTLE ATMOSPHERIC MIST CANVAS */
.ambient-fog {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, transparent 0%, #000000 80%),
              radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(20, 20, 25, 0.4) 0%, transparent 60%);
  z-index: 1;
}

/* CONTAINER WITH BALANCED BREATHING ROOM */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}


/* ULTRA-COMPACT FLOATING LUXURY PILL HEADER */
.top-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 40px));
  z-index: 1000;
  padding: 10px 24px;
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  background: rgba(8, 8, 12, 0.78);
  border-radius: 9999px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9), 0 0 1px rgba(255, 255, 255, 0.15);
  transition: all 0.4s var(--ease-couture);
}

.top-nav.scrolled {
  top: 10px;
  padding: 8px 20px;
  background: rgba(4, 4, 6, 0.92);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.98);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-sig {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease;
}

.brand-sig:hover {
  transform: scale(1.03);
}

.brand-monogram {
  font-family: var(--font-luxury);
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.brand-label {
  font-family: var(--font-luxury);
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  padding-left: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-anchor {
  color: #888894;
  text-decoration: none;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  padding: 4px 6px;
}

.nav-anchor:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
}

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #fff;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  text-transform: uppercase;
}

.status-pulse {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  animation: pulse-strobe 1.5s infinite;
}

@keyframes pulse-strobe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.4); }
}

/* HERO SECTION - ULTRA-COMPACT & REFINED EDITORIAL */
.hero-editorial {
  padding: 48px 0 54px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--font-luxury);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  cursor: default;
}

.hero-heading:hover {
  animation: demonic-tremor 0.2s infinite;
}

.hero-heading span.dark-alias {
  display: block;
  font-weight: 400;
  color: #555562;
  letter-spacing: 8px;
  font-size: 0.42em;
  margin-top: 10px;
}

.hero-statement {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 640px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
}

.hero-subtext {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.btn-luxury {
  padding: 16px 36px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.35s var(--ease-couture);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.18);
}

.btn-luxury:hover {
  background: #000;
  color: #fff;
  box-shadow: 0 0 45px rgba(255, 255, 255, 0.5);
  transform: scale(1.03);
}

.btn-minimal {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.35s ease;
  backdrop-filter: blur(10px);
}

.btn-minimal:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transform: scale(1.03);
}

/* HERO SCULPTURAL MONOLITH ROTATOR (CONTINUOUS 5 VARIANTS MORPH) */
.hero-portrait-frame {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-monolith {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 3/4;
  background: #000;
  border-radius: 0;
  overflow: visible;
}

.hero-rotator {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-rotator .portrait-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(100%) contrast(140%) brightness(92%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 88%);
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 88%);
  transform: scale(0.97);
  transition: opacity 1.4s var(--ease-couture), transform 1.4s var(--ease-couture), filter 0.4s ease;
}

.hero-rotator .portrait-img.active {
  opacity: 1;
  transform: scale(1);
}

.portrait-monolith:hover .hero-rotator .portrait-img.active {
  transform: scale(1.04);
  filter: grayscale(100%) contrast(160%) brightness(105%);
}

.portrait-tag {
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-mono);
  font-size: 11px;
  z-index: 5;
  pointer-events: none;
}

.tag-name {
  color: #fff;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,0,0,1);
}

.tag-spec {
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* UNIVERSAL FEATHERED EDGES ON EVERY IMAGE — ZERO HARD CORNERS */
img,
.portrait-img,
.campaign-feature-card img,
.lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(140%) brightness(92%);
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0.7) 65%, rgba(0, 0, 0, 0) 95%) !important;
  mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0.7) 65%, rgba(0, 0, 0, 0) 95%) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: transform 1s var(--ease-couture), filter 0.4s ease;
}

.campaign-feature-card:hover img,
.lookbook-card:hover img,
.portrait-monolith:hover img {
  transform: scale(1.03);
  filter: grayscale(100%) contrast(155%) brightness(102%);
}

/* MATRIX DECODING GLYPH STYLING */
.matrix-glyph {
  font-family: var(--font-mono);
  color: #a0a0b0;
  display: inline-block;
  opacity: 0.85;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  transition: color 0.1s ease;
}



/* FULL-WIDTH CAMPAIGN FEATURE (THE VOID THRONE) - ULTRA-COMPACT */
.campaign-feature-section {
  padding: 48px 0;
}

.campaign-header {
  margin-bottom: 24px;
  text-align: center;
}

.campaign-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.campaign-headline {
  font-family: var(--font-luxury);
  font-size: clamp(34px, 4.5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.campaign-headline:hover {
  animation: demonic-tremor 0.2s infinite;
}

.campaign-feature-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: visible;
}

.campaign-feature-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 56px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.98) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.feature-title-block {
  max-width: 640px;
}

.feature-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 4px;
  margin-bottom: 10px;
}

.feature-title {
  font-family: var(--font-luxury);
  font-size: 28px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  letter-spacing: 3px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 30px;
}

/* EDITORIAL LOOKBOOK GRID - ULTRA-COMPACT & CLEAN */
.lookbook-section {
  padding: 48px 0;
}

.lookbook-mosaic {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  margin-bottom: 24px;
}

.lookbook-card {
  position: relative;
  background: #000;
  overflow: visible;
}

.lookbook-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 36px 28px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
}

.lookbook-title {
  font-family: var(--font-luxury);
  font-size: 17px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.lookbook-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.lookbook-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* PILLARS / BẢN NGUYÊN - ULTRA-COMPACT */
.pillars-section {
  padding: 48px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-monolith {
  background: radial-gradient(ellipse at center, rgba(15, 15, 22, 0.6) 0%, transparent 80%);
  padding: 36px 30px;
  border-radius: 0;
  position: relative;
  transition: all 0.4s var(--ease-couture);
}

.pillar-monolith:hover {
  background: radial-gradient(ellipse at center, rgba(30, 30, 45, 0.6) 0%, transparent 85%);
  transform: translateY(-4px);
}

.pillar-roman {
  font-family: var(--font-luxury);
  font-size: 28px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 3px;
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.pillar-name {
  font-size: 19px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pillar-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pillar-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* VENTURES - ULTRA-COMPACT */
.ventures-section {
  padding: 48px 0;
  background: radial-gradient(ellipse at center, rgba(10, 10, 15, 0.5) 0%, transparent 80%);
}

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.venture-item {
  background: radial-gradient(ellipse at center, rgba(16, 16, 24, 0.5) 0%, transparent 80%);
  padding: 32px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0;
  transition: all 0.35s ease;
}

.venture-item:hover {
  transform: translateY(-6px);
  background: radial-gradient(ellipse at center, rgba(35, 35, 50, 0.6) 0%, transparent 85%);
}

.venture-code {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.venture-name {
  font-family: var(--font-luxury);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.venture-role {
  font-size: 10.5px;
  color: var(--text-subtle);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.venture-summary {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.venture-action {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

/* MANIFESTO - ULTRA-COMPACT */
.manifesto-section {
  padding: 48px 0;
}

.manifesto-monolith {
  background: radial-gradient(ellipse at 80% 20%, rgba(30, 30, 40, 0.5) 0%, rgba(5, 5, 8, 0.95) 60%, transparent 95%);
  padding: 44px 36px;
  border-radius: 0;
  position: relative;
}

.manifesto-lead-quote {
  font-family: var(--font-luxury);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 30px;
  max-width: 980px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.manifesto-axioms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.axiom-card {
  padding-top: 4px;
}

.axiom-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.axiom-title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.axiom-body {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* CONTACT - ULTRA-COMPACT */
.contact-section {
  padding: 48px 0 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 40px;
  align-items: center;
}

.contact-heading {
  font-family: var(--font-luxury);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.contact-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.method-card {
  background: radial-gradient(ellipse at center, rgba(16, 16, 24, 0.6) 0%, transparent 80%);
  padding: 26px 24px;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.35s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  background: radial-gradient(ellipse at center, rgba(40, 40, 60, 0.6) 0%, transparent 85%);
}

.method-label {
  font-size: 9.5px;
  font-family: var(--font-mono);
  letter-spacing: 3px;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.method-val {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.method-desc {
  font-size: 10.5px;
  color: var(--text-subtle);
  letter-spacing: 2px;
}

/* FOOTER - COMPACT */
.site-footer {
  padding: 28px 0;
  background: #000000;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-subtle);
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* ==========================================================================
   REFINED LUXURY REVEAL EFFECTS (SOPHISTICATED, IMPRESSIVE ENTRANCES)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(10px);
  transition: opacity 1.3s var(--ease-couture),
              transform 1.3s var(--ease-couture),
              filter 1.3s var(--ease-couture);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered grid reveals */
.stagger-grid .reveal-item {
  opacity: 0;
  transform: translateY(35px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease-couture),
              transform 1.1s var(--ease-couture),
              filter 1.1s var(--ease-couture);
  will-change: opacity, transform, filter;
}

.stagger-grid.is-revealed .reveal-item:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); filter: blur(0); }
.stagger-grid.is-revealed .reveal-item:nth-child(2) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); filter: blur(0); }
.stagger-grid.is-revealed .reveal-item:nth-child(3) { transition-delay: 0.28s; opacity: 1; transform: translateY(0); filter: blur(0); }
.stagger-grid.is-revealed .reveal-item:nth-child(4) { transition-delay: 0.38s; opacity: 1; transform: translateY(0); filter: blur(0); }

/* DEMONIC CHAOTIC KEYFRAMES */
@keyframes demonic-tremor {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-2px, 1px) skewX(-1deg); }
  40% { transform: translate(2px, -2px) skewX(2deg); filter: contrast(180%); }
  60% { transform: translate(-1px, -1px); }
  80% { transform: translate(3px, 1px) skewX(-2deg); }
  100% { transform: translate(0, 0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-statement {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-portrait-frame {
    order: -1;
  }
  .portrait-monolith {
    max-width: 440px;
  }
  .lookbook-mosaic {
    grid-template-columns: 1fr;
  }
  .lookbook-row {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-axioms {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .campaign-feature-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .nav-links .nav-anchor {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ventures-grid {
    grid-template-columns: 1fr;
  }
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .manifesto-monolith {
    padding: 56px 28px;
  }
}
