/* ===== Design tokens ===== */
:root {
  --pink: #EE3C96;
  --teal: #6FD6E3;
  --olive: #A8BC3E;
  --ink: #0A0A0A;
  --white: #FFFFFF;
  --line: rgba(10, 10, 10, 0.14);
  --display: 'Anton', sans-serif;
  --display2: 'Archivo Black', sans-serif;
  --hand: 'Caveat', cursive;
  --body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ===== Registration marks (recurring poster motif) ===== */
.reg-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  z-index: 5;
}
.reg-mark--tl { top: 18px; left: 18px; }
.reg-mark--tr { top: 18px; right: 18px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}
.logo-full {
  height: 40px;
  width: auto;
  flex-shrink: 0;
}
.logo-stroke {
  fill: none;
  stroke: var(--pink);
  stroke-width: 8px;
  stroke-miterlimit: 10;
}

.site-nav {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 32px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a {
  position: relative;
  padding-bottom: 2px;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--pink);
  transition: width 0.3s var(--ease);
}
.site-nav a:hover::after { width: 100%; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.hero-kicker {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s var(--ease) forwards;
  animation-delay: 0.05s;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: 0.15s;
}

.hero-logo-full {
  width: clamp(320px, 46vw, 720px);
  height: auto;
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin-top: 30px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.7s var(--ease) forwards;
  animation-delay: 0.4s;
}

/* ===== Ambient polka dots (studio-joanne style: solid, scattered, gentle drift) ===== */
.ambient-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ambient-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--pink);
}

.ambient-dots--header {
  overflow: visible;
}

.hero-kicker, .hero-logo, .hero-sub, .scroll-cue {
  position: relative;
  z-index: 1;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  font-size: 1.2rem;
  color: var(--ink);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Statement ===== */
.statement {
  position: relative;
  scroll-margin-top: 90px;
  background: var(--pink);
  padding: 140px 40px 120px;
}

.statement-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
}

.statement-body {
  text-align: left;
}

.statement-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 2px dashed rgba(10,10,10,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement-photo-label {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.6);
  text-align: center;
  padding: 0 20px;
}

.statement-title {
  font-family: var(--display2);
  font-size: clamp(3.4rem, 8vw, 6.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}

.statement-text {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.6;
  max-width: 680px;
  color: var(--ink);
}

.statement-credit {
  display: block;
  margin-top: 28px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ===== Showcase block (polka-dot photo interlude) ===== */
.showcase-block {
  position: relative;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-frame {
  position: relative;
  z-index: 1;
  width: min(1400px, 96vw);
  aspect-ratio: 3508 / 2480;
  background: var(--olive);
}

.showcase-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Collection ===== */
.collection {
  scroll-margin-top: 90px;
  padding: 130px 40px 160px;
  max-width: 1300px;
  margin: 0 auto;
}

.ring-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.ring-showcase {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 80px 40px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.ring-showcase:first-child { border-top: none; }
.ring-showcase:nth-child(odd) {
  justify-content: flex-start;
}
.ring-showcase:nth-child(even) {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  border: 1.5px solid var(--line);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(10,10,10,0.03) 0 1px, transparent 1px 14px);
}

.carousel--huge {
  max-width: 580px;
  flex-shrink: 0;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-slide::before {
  content: '';
  width: 46%;
  aspect-ratio: 1;
  border: 2px dashed var(--pink);
  border-radius: 50%;
  opacity: 0.5;
}
.carousel-slide span {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.carousel-btn:hover { background: var(--pink); border-color: var(--pink); color: var(--white); }
.carousel-btn--prev { left: 12px; }
.carousel-btn--next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(10,10,10,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.carousel-dots button.is-active {
  background: var(--pink);
  transform: scale(1.4);
}

.ring-info {
  position: relative;
  z-index: 1;
  max-width: 380px;
  text-align: left;
}
.ring-showcase:nth-child(even) .ring-info {
  text-align: right;
}
.ring-index {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--pink);
  margin-bottom: 10px;
}
.ring-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.ring-desc {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .statement {
    padding: 100px 24px 90px;
  }
  .statement-inner {
    grid-template-columns: 1fr;
  }
  .statement-photo {
    order: -1;
    max-width: 380px;
    margin: 0 auto;
  }
  .statement-body {
    text-align: center;
  }
  .site-header { padding: 16px 20px; }
  .site-nav { gap: 18px; }
  .collection { padding: 90px 20px 110px; }
  .showcase-block { padding: 90px 24px; }
  .ring-showcase {
    min-height: auto;
    padding: 60px 20px;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 32px;
  }
  .ring-info,
  .ring-showcase:nth-child(even) .ring-info {
    text-align: center;
    max-width: 480px;
  }
  .carousel--huge { max-width: 100%; }
}

@media (max-width: 480px) {
  .logo-full { height: 30px; }
  .site-nav { font-size: 0.7rem; gap: 14px; }
}
