/* ============================================================
   BRAZZ Timepieces — Studio Page Styles
   ============================================================ */

/* ── STUDIO HERO ── */
.st-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 4rem;
  text-align: center;
}

.st-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(154, 125, 74, 0.08) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.st-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(6rem, 24vw, 24rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26, 26, 24, 0.035);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.st-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.st-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.st-hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 8.5vw, 6.8rem);
  line-height: 0.92;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
}

.st-hero-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ── MARQUEE STRIP ── */
.st-marquee {
  background: var(--text-primary);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
}

.st-marquee-track {
  display: inline-flex;
  animation: st-marquee 28s linear infinite;
}

.st-marquee-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  padding: 0;
  opacity: 0.65;
}

.st-marquee-text .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 1rem;
  vertical-align: middle;
}

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

/* ── CHAPTER SECTIONS ── */
.st-chapter {
  padding: 6.5rem 2rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.st-chapter:nth-child(even) {
  background: var(--bg-secondary);
}

.st-chapter-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.st-chapter.reverse .st-chapter-inner {
  direction: rtl;
}

.st-chapter.reverse .st-chapter-inner > * {
  direction: ltr;
}

.st-chapter-content {
  display: flex;
  flex-direction: column;
}

.st-chapter-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.st-chapter-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  line-height: 1.05;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

.st-chapter-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.st-chapter-text p {
  margin-bottom: 1.2rem;
}

.st-chapter-text p:last-child {
  margin-bottom: 0;
}

.st-chapter-img-wrapper {
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  justify-self: end;
  background: var(--bg-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.st-chapter.reverse .st-chapter-img-wrapper {
  justify-self: start;
}

.st-chapter-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
  transition: transform 0.6s ease;
}

.st-chapter-img-wrapper:hover .st-chapter-img {
  transform: scale(1.03);
}

/* ── ATELIER GALLERY ── */
.st-gallery {
  padding: 6.5rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.st-gallery-header {
  text-align: center;
  margin-bottom: 3rem;
}

.st-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.st-gallery-item {
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.st-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-gallery-item:hover img {
  transform: scale(1.05);
}

/* ── PRINCIPLES & PILLARS ── */
.st-principles {
  padding: 6.5rem 2rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.st-principles-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.st-principles-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.st-principles-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.05;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.st-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.st-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.2rem 1.6rem;
  border-radius: 6px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.st-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.st-pillar-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.st-pillar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.st-pillar-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ── CTA ── */
.st-cta {
  padding: 6rem 2rem 7rem;
  text-align: center;
  background: var(--bg-primary);
}

.st-cta-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.st-cta-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.st-cta-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2.2rem;
}

.st-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--text-primary);
  padding: 1.1rem 2.5rem;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.st-cta-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(154, 125, 74, 0.25);
}

.st-cta-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.st-cta-btn:hover svg {
  transform: translateX(4px);
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .st-chapter {
    padding: 5rem 2rem;
  }

  .st-chapter-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .st-chapter.reverse .st-chapter-inner {
    direction: ltr;
  }

  .st-chapter-img-wrapper,
  .st-chapter.reverse .st-chapter-img-wrapper {
    justify-self: center;
    max-width: 460px;
    margin: 0 auto;
  }

  .st-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .st-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .st-hero {
    min-height: 85svh;
    padding-top: 80px;
    padding-bottom: 2.5rem;
  }

  .st-hero-inner {
    padding: 2.5rem 1.2rem 2rem;
  }

  .st-hero-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .st-hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .st-chapter {
    padding: 4rem 1.4rem;
  }

  .st-chapter-title {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    margin-bottom: 1.4rem;
  }

  .st-chapter-text {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .st-chapter-img-wrapper,
  .st-chapter.reverse .st-chapter-img-wrapper {
    max-width: 100%;
    aspect-ratio: 4/5;
  }

  .st-gallery {
    padding: 4rem 1.4rem;
  }

  .st-gallery-header {
    margin-bottom: 2rem;
  }

  .st-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .st-principles {
    padding: 4rem 1.4rem;
  }

  .st-principles-header {
    margin-bottom: 2.5rem;
  }

  .st-principles-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .st-pillars-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .st-pillar-card {
    padding: 1.8rem 1.4rem;
  }

  .st-cta {
    padding: 4.5rem 1.4rem 5.5rem;
  }

  .st-cta-title {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

  .st-cta-desc {
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
  }

  .st-cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 1rem 1.8rem;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .st-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .st-marquee {
    padding: 0.75rem 0;
  }

  .st-marquee-text {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}

/* Reveal animation initial states (managed smoothly by GSAP) */
.st-hero-ghost,
.st-hero .st-eyebrow,
.st-hero-title,
.st-hero-subtitle,
.st-chapter-label,
.st-chapter-title,
.st-chapter-text > *,
.st-chapter-img-wrapper,
.st-gallery-item,
.st-pillar-card,
.st-cta > * {
  opacity: 0;
}
