/* ============================================================
   artWork by S.Pfander — Homepage Stylesheet (home.css)
   ============================================================ */

/* ════════════════════════════════════════════════════════
   HERO — Split Screen
   ════════════════════════════════════════════════════════ */

.h-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── Left panel ──────────────────────────────────────── */
.h-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 64px) 64px 80px 64px;
  position: relative;
  z-index: 2;
  background: var(--bg);
}

.h-hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 6px 14px;
  margin-bottom: 48px;
  width: fit-content;
}

.h-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.88;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.h-hero__title-art {
  display: block;
  font-size: clamp(96px, 12vw, 160px);
  color: var(--ink);
  font-style: normal;
}

.h-hero__title-work {
  display: block;
  font-size: clamp(80px, 10vw, 136px);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  font-style: italic;
  letter-spacing: 0.04em;
}

.h-hero__byline {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.h-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 56px;
  font-family: var(--font-body);
  font-weight: 400;
}

.h-hero__meta-dot {
  color: var(--accent-dim);
  font-size: 8px;
}

/* CTA Button */
.h-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 16px 32px;
  width: fit-content;
  transition: background var(--transition), color var(--transition), gap var(--transition);
  position: relative;
}

.h-hero__cta:hover {
  background: var(--ink);
  color: var(--white);
  gap: 20px;
}

/* Scroll indicator */
.h-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.h-hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--accent-dim);
  position: relative;
  overflow: hidden;
}

.h-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0%; }
  100% { left: 100%; }
}

/* ── Right panel ─────────────────────────────────────── */
.h-hero__right {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
}

.h-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(8%) contrast(1.05);
  transition: transform 0.8s ease;
}

.h-hero__right:hover img {
  transform: scale(1.025);
}

/* Veil gradient overlay */
.h-hero__right-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg) 0%, transparent 18%),
    linear-gradient(to top, var(--bg) 0%, transparent 22%);
  pointer-events: none;
}

/* Number badge */
.h-hero__right-num {
  position: absolute;
  bottom: 40px;
  right: 40px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  font-weight: 300;
}

/* Thin vertical divider line */
.h-hero::before {
  content: '';
  position: absolute;
  top: var(--nav-h);
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-2) 20%, var(--border-2) 80%, transparent);
  z-index: 3;
  pointer-events: none;
}


/* ════════════════════════════════════════════════════════
   MARQUEE — Lauftext
   ════════════════════════════════════════════════════════ */

.h-marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-2);
  padding: 0;
}

.h-marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee 28s linear infinite;
  padding: 18px 0;
}

.h-marquee__track span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0 28px;
  flex-shrink: 0;
}

.h-marquee__sep {
  color: var(--accent) !important;
  font-size: 8px !important;
  padding: 0 4px !important;
  letter-spacing: 0 !important;
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.h-marquee:hover .h-marquee__track {
  animation-play-state: paused;
}


/* ════════════════════════════════════════════════════════
   WORKS — Horizontaler Bildstreifen
   ════════════════════════════════════════════════════════ */

.h-works {
  padding: 80px 0 48px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.h-works__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 64px;
  margin-bottom: 40px;
}

.h-works__header-left {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.h-works__num {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.h-works__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.01em;
}

.h-works__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-body);
  transition: color var(--transition), gap var(--transition);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-2);
}

.h-works__all:hover {
  color: var(--accent);
  gap: 14px;
  border-bottom-color: var(--accent-dim);
}

/* Scrollable strip */
.h-works__strip {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 0 64px 0 64px;
  cursor: grab;
  user-select: none;
}

.h-works__strip::-webkit-scrollbar { display: none; }

.h-works__strip.dragging {
  cursor: grabbing;
}

/* Each preview card */
.h-preview-card {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}

.h-preview-card img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
  filter: grayscale(10%) contrast(1.03);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.h-preview-card:hover img {
  filter: grayscale(0%) contrast(1.06);
  transform: scale(1.04);
}

.h-preview-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.h-preview-card:hover .h-preview-card__overlay {
  opacity: 1;
}

.h-preview-card__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
}

.h-preview-card__year {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  font-family: var(--font-body);
}

/* Drag hint */
.h-works__drag-hint {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-top: 24px;
  padding: 0 64px;
}


/* ════════════════════════════════════════════════════════
   STATEMENT — Zitat
   ════════════════════════════════════════════════════════ */

.h-statement {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  padding: 100px 64px;
  text-align: center;
}

.h-statement__line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-2));
}

.h-statement:nth-child(1) .h-statement__line:last-child {
  background: linear-gradient(to left, transparent, var(--border-2));
}

.h-statement__quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: 0.01em;
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.h-statement__quote::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 40px;
}

.h-statement__cite {
  grid-column: 1 / -1;
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 8px;
}

/* Override grid for simpler layout */
.h-statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 64px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.h-statement__line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-2), transparent);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════
   LINKS — Seitenbereich-Karten
   ════════════════════════════════════════════════════════ */

.h-links {
  display: flex;
  flex-direction: column;
}

.h-link-card {
  display: block;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.h-link-card:first-child {
  border-top: 1px solid var(--border);
}

.h-link-card:hover {
  background: var(--bg-2);
}

.h-link-card__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 36px 64px;
  max-width: 1400px;
  width: 100%;
}

.h-link-card__num {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  flex-shrink: 0;
  width: 28px;
}

.h-link-card__body {
  flex: 1;
}

.h-link-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--text);
  margin-bottom: 4px;
  transition: color var(--transition);
}

.h-link-card:hover .h-link-card__title {
  color: var(--accent);
}

.h-link-card__text {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  font-weight: 300;
}

.h-link-card__arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transform: translateX(0);
  transition: transform var(--transition), color var(--transition);
}

.h-link-card:hover .h-link-card__arrow {
  transform: translateX(10px);
  color: var(--accent);
}

/* Divider between num and body */
.h-link-card__inner::after {
  display: none;
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .h-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .h-hero__right {
    height: 55vw;
    min-height: 320px;
  }

  .h-hero__left {
    padding: calc(var(--nav-h) + 48px) 40px 64px;
  }

  .h-hero__scroll {
    left: 40px;
  }

  .h-hero::before {
    display: none;
  }

  .h-works__header,
  .h-works__strip,
  .h-statement {
    padding-left: 40px;
    padding-right: 40px;
  }

  .h-works__drag-hint {
    padding-left: 40px;
    padding-right: 40px;
  }

  .h-link-card__inner {
    padding: 28px 40px;
  }
}

@media (max-width: 700px) {
  .h-hero__left {
    padding: calc(var(--nav-h) + 32px) 24px 48px;
  }

  .h-hero__scroll {
    left: 24px;
    bottom: 24px;
  }

  .h-hero__title-art {
    font-size: clamp(72px, 18vw, 100px);
  }

  .h-hero__title-work {
    font-size: clamp(60px, 15vw, 84px);
  }

  .h-hero__right {
    height: 70vw;
  }

  .h-works {
    padding-top: 56px;
  }

  .h-works__header {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .h-works__strip {
    padding: 0 24px;
  }

  .h-works__drag-hint {
    padding: 0 24px;
  }

  .h-statement {
    padding: 72px 24px;
  }

  .h-statement__quote {
    font-size: clamp(18px, 5vw, 26px);
  }

  .h-link-card__inner {
    padding: 24px;
    gap: 20px;
  }

  .h-link-card__title {
    font-size: 22px;
  }
}
