/* Arka Look — Homepage Styles */

/* ── Hero ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  /* Decorative background video: never intercept taps (fixes iOS Safari play-button
     overlay blocking clicks on the hero content/buttons). Our own control handles play/pause. */
  pointer-events: none;
}
.hero__video.active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,48,36,0.55) 0%,
    rgba(10,48,36,0.22) 35%,
    rgba(10,48,36,0.32) 65%,
    rgba(10,48,36,0.90) 100%
  );
}
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.hero__headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__headline em {
  font-weight: 400;
  color: var(--gold-100);
}
.hero__sub {
  max-width: 520px;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(246,242,232,0.78);
  font-weight: 300;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero__ticker {
  position: absolute;
  bottom: 36px;
  left: 56px;
  right: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(243,223,174,0.7);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero__ticker-label { color: var(--gold-400); margin-bottom: 6px; }
.hero__ticker-title {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
}
.hero__ticker-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__ticker-dot {
  position: relative;
  width: 32px;
  height: 2px;
  background: rgba(243,223,174,0.25);
  cursor: pointer;
  transition: background var(--trans);
  border: none;
}
/* Expand touch target to >=24px tall (WCAG 2.5.5) without changing the visual bar */
.hero__ticker-dot::before {
  content: '';
  position: absolute;
  top: -11px;
  bottom: -11px;
  left: 0;
  right: 0;
}
.hero__ticker-dot.active { background: var(--gold-400); }

/* Pause/play control sits with the ticker dots */
.hero__ticker-pause { margin-right: 4px; }

/* ── Process Preview ── */
.process-preview {
  padding: 140px 56px;
  background: var(--green-800);
  border-top: var(--border-gold);
}
.process-preview__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 120px;
  align-items: start;
}
.process-preview__left h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  margin-bottom: 28px;
}
.process-preview__left h2 em { color: var(--gold-400); font-weight: 400; }
.process-preview__left p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246,242,232,0.7);
  max-width: 380px;
  margin-bottom: 40px;
}
.process-grid {
  display: flex;
  flex-direction: column;
  border-top: var(--border-gold);
}
.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 24px;
  row-gap: 4px;
  padding: 24px 0;
  border-bottom: var(--border-gold);
}
.process-step__num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold-400);
  font-style: italic;
  line-height: 1;
}
.process-step__title {
  grid-column: 2;
  align-self: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--paper);
}
.process-step__desc {
  grid-column: 2;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(246,242,232,0.6);
}

/* ── Gallery Preview ("Pieces we made") ── */
.gallery-preview {
  background: var(--green-900);
  padding: 120px 0;
}
.gallery-preview__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.gallery-preview__header h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0;
}
.gallery-preview__header h2 em { color: var(--gold-400); font-style: italic; }
.gallery-preview__header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.gallery-preview__pause {
  gap: 8px;
  color: var(--gold-400);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gallery-preview__pause-text { line-height: 1; }
.gallery-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Instruction #2: more space between videos */
  gap: 24px;
  padding: 0 56px;
  max-width: 1392px;
  margin: 0 auto;
}
.gallery-preview__item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--green-900);
  cursor: pointer;
}
.gallery-preview__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-preview__item:hover video { transform: scale(1.05); }
.gallery-preview__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,21,16,0.9) 100%);
}
.gallery-preview__caption-title {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-100);
}
.gallery-preview__caption-desc {
  font-size: 11px;
  color: rgba(246,242,232,0.6);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ── Stone Section (Lab Grown Diamonds) ── */
.stone-section {
  background: var(--green-800);
  padding: 140px 56px;
  border-top: var(--border-gold);
}
.stone-section__inner { max-width: 1280px; margin: 0 auto; }
.stone-section__heading {
  text-align: center;
  margin-bottom: 80px;
}
.stone-section__heading h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  max-width: 780px;
  margin: 0 auto;
}
.stone-section__heading h2 em { color: var(--gold-400); font-weight: 400; }
.stone-section__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.stat {
  border-top: 1px solid rgba(232,169,58,0.25);
  padding-top: 24px;
}
.stat__key {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  color: var(--gold-400);
  line-height: 1;
}
.stat__val {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(246,242,232,0.75);
  margin-top: 16px;
  max-width: 220px;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--green-900);
  padding: 160px 56px;
}
.testimonials__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.testimonials__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 72px;
  color: var(--gold-400);
  line-height: 0.6;
  margin-bottom: 48px;
  display: block;
}
.testimonials__track { position: relative; min-height: 260px; }
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.testimonial-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.testimonial-slide blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 300;
  font-style: italic;
  color: var(--paper);
}
.testimonial-slide cite {
  display: block;
  margin-top: 36px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold-400);
  text-transform: uppercase;
}
.testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}
.testimonials__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232,169,58,0.25);
  cursor: pointer;
  border: none;
  transition: background var(--trans);
}
/* Expand touch target to 24x24 (WCAG 2.5.5) without changing the visual dot */
.testimonials__dot::before {
  content: '';
  position: absolute;
  inset: -8px;
}
.testimonials__dot.active { background: var(--gold-400); }

/* Pause/play control sits with the testimonial dots */
.testimonials__pause { margin-left: 6px; color: var(--gold-400); }

/* ── CTA ── */
.home-cta {
  background: var(--green-800);
  padding: 160px 56px;
  text-align: center;
  border-top: var(--border-gold);
}
.home-cta svg { margin: 0 auto 32px; }
.home-cta h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  max-width: 900px;
  margin: 0 auto 24px;
}
.home-cta h2 em { color: var(--gold-400); font-weight: 400; }
.home-cta p {
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(246,242,232,0.7);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .process-preview__inner { grid-template-columns: 1fr; gap: 60px; }
  .stone-section__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .process-preview { padding: 80px 24px; }
  .gallery-preview { padding: 80px 0; }
  .gallery-preview__header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .gallery-preview__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 24px; }
  .stone-section { padding: 80px 24px; }
  .stone-section__stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .testimonials { padding: 80px 24px; }
  .home-cta { padding: 80px 24px; }
  .hero__ticker { left: 24px; right: 24px; bottom: 24px; }
}

@media (max-width: 480px) {
  .gallery-preview__grid { grid-template-columns: 1fr; }
  .stone-section__stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}
