/* ==========================================================================
   D-ARTIST — Cinematic Editorial Home Page Styles (css/pages/home.css)
   Visual Direction: Digital Art Gallery × Traditional Art Archive × Editorial
   Pure Monochrome UI (#000000, #080808, #111111, #FFFFFF, #B0B0B0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FULL-WIDTH CINEMATIC HERO (100% Full Viewport Fold)
   -------------------------------------------------------------------------- */
.main-content.main-content-cinematic {
  padding-top: 0;
}

.cinematic-hero-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #050507;
  background-image: url('../../assets/images/hero/home-dextop.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: clamp(80px, 11vh, 120px);
  padding-bottom: clamp(14px, 2vh, 24px);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .cinematic-hero-section {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('../../assets/images/hero/home-mobile.png');
    background-position: center top;
    padding-top: clamp(72px, 10vh, 90px);
    padding-bottom: 16px;
  }
}

.cinematic-hero-bg-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.cinematic-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (max-width: 768px) {
  .cinematic-hero-bg-img {
    object-position: center top;
  }
}

.cinematic-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0.4) 0%,
    rgba(5, 5, 7, 0.65) 55%,
    rgba(5, 5, 7, 0.95) 100%
  );
  z-index: 1;
}

.hero-cinematic-inner {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 1100px;
  margin: auto auto clamp(10px, 2vh, 20px) auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-micro-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: clamp(10px, 1.8vh, 18px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cinematic-title {
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.hero-cinematic-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: #B0B0B8;
  max-width: 580px;
  line-height: 1.5;
  margin-bottom: clamp(18px, 3vh, 30px);
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  background: #FFFFFF;
  color: #000000;
  border: 1px solid #FFFFFF;
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-hero-primary:hover {
  background: #D4D4D8;
  border-color: #D4D4D8;
  color: #000000;
}

.btn-hero-secondary {
  background: rgba(14, 14, 18, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 13px 28px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

/* Hero Sliding Artwork Marquee Strip */
.hero-marquee-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  margin-top: clamp(10px, 1.8vh, 18px);
  margin-bottom: clamp(4px, 1vh, 8px);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marqueeFloat 45s linear infinite;
}

.hero-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeFloat {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-marquee-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(12, 12, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.hero-marquee-card:hover {
  background: rgba(24, 24, 30, 0.95);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.hero-marquee-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  background: #000000;
}

.hero-marquee-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-marquee-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}

.hero-marquee-meta {
  font-size: 11px;
  color: #A1A1AA;
  white-space: nowrap;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
  margin-top: 8px;
}

.hero-scroll-indicator:hover {
  color: #FFFFFF;
}

.hero-scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  animation: scrollBounce 2s infinite ease-in-out;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

/* --------------------------------------------------------------------------
   2. WHO WE ARE (Editorial Manifesto & Sticky Installation Composition)
   -------------------------------------------------------------------------- */
.section-who-we-are {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.who-we-are-sticky-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
  position: relative;
}

/* Left Column: Sticks in place vertically centered in the viewport while right images scroll */
.who-we-are-sticky-col {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--nav-height, 64px) + var(--nav-top-offset, 12px) + 16px);
  height: calc(100vh - var(--nav-height, 64px) - var(--nav-top-offset, 12px) - 32px);
  min-height: fit-content;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}

/* Subtle Ambient Background Logo Watermark */
.who-we-are-bg-watermark {
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 28vw, 380px);
  height: clamp(240px, 28vw, 380px);
  max-width: 90%;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-we-are-watermark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.038;
}

.who-we-are-typography,
.who-we-are-manifesto {
  position: relative;
  z-index: 1;
}

.who-we-are-typography {
  display: flex;
  flex-direction: column;
  margin-bottom: 2px;
  user-select: none;
  line-height: 0.88;
}

.who-word-1,
.who-word-2,
.who-word-3 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.who-word-1 {
  color: #FFFFFF;
  padding-left: clamp(6px, 1.5vw, 18px);
}

.who-word-2 {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.45);
  padding-left: 0;
}

.who-word-3 {
  color: #FFFFFF;
  padding-left: clamp(12px, 3.2vw, 40px);
}

.who-we-are-manifesto {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.who-we-are-statement {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: #E4E4E7;
  line-height: 1.5;
  font-weight: 400;
}

.who-we-are-subtext {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.manifesto-pillars-typography {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin-top: 4px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.manifesto-pillar-unit {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pillar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.pillar-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* Right Column: Visual stream of traditional installation artworks */
.who-we-are-scroll-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.installation-tile {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.installation-tile img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.installation-tile.tile-tall img {
  height: 580px;
}

.installation-tile.tile-feature img {
  height: 520px;
}

.installation-tile:hover img {
  transform: scale(1.025);
}

.installation-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(to top, rgba(8, 8, 10, 0.94) 0%, rgba(8, 8, 10, 0.6) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.installation-caption-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.installation-caption-sub {
  font-size: 11.5px;
  color: #A1A1AA;
}

/* Mobile & Tablet responsiveness */
@media (max-width: 960px) {
  .who-we-are-sticky-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .who-we-are-sticky-col {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
  }

  .who-we-are-bg-watermark {
    top: 25%;
    left: 50%;
    width: clamp(240px, 55vw, 380px);
    height: clamp(240px, 55vw, 380px);
  }

  .manifesto-pillars-typography {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .manifesto-pillars-typography {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   3. FEATURED MASTERPIECES EXHIBITION (65/35 Asymmetric Split)
   -------------------------------------------------------------------------- */
.featured-editorial-card {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 900px) {
  .featured-editorial-card {
    grid-template-columns: 1fr;
  }
}

.featured-editorial-media {
  position: relative;
  background: #0A0A0C;
  min-height: 420px;
  overflow: hidden;
}

.featured-editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-editorial-card:hover .featured-editorial-media img {
  transform: scale(1.02);
}

.featured-editorial-content {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.editorial-tag {
  font-size: var(--font-size-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.editorial-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}

.editorial-artist-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-artist-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.editorial-artist-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.editorial-artist-location {
  font-size: var(--font-size-xs);
  color: var(--muted);
}

.editorial-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 12px 14px;
}

.editorial-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.editorial-spec-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.editorial-spec-val {
  font-size: 12.5px;
  color: var(--white);
  font-weight: 500;
}

.editorial-desc {
  font-size: var(--font-size-sm);
  color: var(--muted);
  line-height: 1.65;
}

.editorial-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   4. TOP ART SECTION
   -------------------------------------------------------------------------- */
.top-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.top-art-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.top-art-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.top-art-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.top-art-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.top-art-card:hover .top-art-media-wrap img {
  transform: scale(1.03);
}

.top-art-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 9, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 2px;
  z-index: 2;
  letter-spacing: 0.04em;
}

.top-art-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-art-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-art-category-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.top-art-rating {
  font-size: 11px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-art-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  line-height: 1.3;
}

.top-art-title:hover {
  color: var(--gray-300);
}

.top-art-artist-name {
  font-size: var(--font-size-xs);
  color: var(--text-dim);
  text-decoration: none;
}

.top-art-artist-name:hover {
  color: var(--white);
}

.top-art-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: var(--font-size-xs);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   5. ARTIST SPOTLIGHT GRIDS
   -------------------------------------------------------------------------- */
.artist-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   6. BROWSE BY ART TYPE / NUMBERED TILES
   -------------------------------------------------------------------------- */
.categories-numbered-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

@media (max-width: 1200px) {
  .categories-numbered-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .categories-numbered-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-numbered-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 96px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

.category-numbered-tile:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.category-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.category-tile-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.category-tile-arrow {
  color: var(--muted-dark);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.category-numbered-tile:hover .category-tile-arrow {
  color: var(--white);
  transform: translateX(2px);
}

.category-tile-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   7. FINAL ARTIST CALL TO ACTION
   -------------------------------------------------------------------------- */
.final-artist-cta-section {
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-3xl);
  text-align: center;
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.final-cta-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.final-cta-desc {
  font-size: var(--font-size-lg);
  color: var(--muted);
  max-width: 600px;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
