/* =========================================================
   RING ANIMATION — export + Webflow
   Custom classes only (no Client-First globals).

   Designer: layout / type / color below except EMBED ONLY.
   Code Embed: paste EMBED ONLY + script.js (WEBFLOW_GUIDE.md).
   ========================================================= */

html,
body {
  margin: 0;
  background: #1a1410;
  color: #f3ebe3;
  font-family: "Geist", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ring_section {
  --ring--bg: #1a1410;
  --ring--text: #f3ebe3;
  --ring--text-muted: #b9ab9a;
  --ring--cta-bg: #cbb89a;
  --ring--cta-text: #1a1410;
  --ring--cta-hover: #dcc9ad;
  --ring--card-bg: #241c16;
  --font--heading: "Geist", "Segoe UI", sans-serif;
  --font--body: "Geist", "Segoe UI", sans-serif;
  --ring--card-w: 250px;
  --ring--card-h: 400px;

  position: relative;
  background: var(--ring--bg);
  color: var(--ring--text);
  overflow: hidden;
  font-family: var(--font--body);
  padding: 1px 0px;
}

.ring_section::before,
.ring_section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: min(18vh, 160px);
  z-index: 10;
  pointer-events: none;
}

.ring_section::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    #1a1410 0%,
    rgba(26, 20, 16, 0.92) 12%,
    rgba(26, 20, 16, 0.72) 28%,
    rgba(26, 20, 16, 0.48) 45%,
    rgba(26, 20, 16, 0.28) 62%,
    rgba(26, 20, 16, 0.12) 78%,
    rgba(26, 20, 16, 0.04) 90%,
    transparent 100%
  );
}

.ring_section::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    #1a1410 0%,
    rgba(26, 20, 16, 0.92) 12%,
    rgba(26, 20, 16, 0.72) 28%,
    rgba(26, 20, 16, 0.48) 45%,
    rgba(26, 20, 16, 0.28) 62%,
    rgba(26, 20, 16, 0.12) 78%,
    rgba(26, 20, 16, 0.04) 90%,
    transparent 100%
  );
}

.ring_section *,
.ring_section *::before,
.ring_section *::after {
  box-sizing: border-box;
}

.ring_section img {
  display: block;
  max-width: 100%;
}

.ring_frame {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.ring_pad {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  pointer-events: none;
}

.ring_container {
  width: 100%;
  max-width: 80.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
}

.ring_copy {
  width: 50%;
  max-width: 37.0625rem;
  pointer-events: auto;
}

.ring_title {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-family: var(--font--heading);
  font-size: clamp(2.75rem, 6.35vw, 5rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ring--text);
}

.ring_body {
  margin-top: 1.5rem;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  font-family: var(--font--body);
  font-size: clamp(0.9375rem, 1.3vw, 1.125rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ring--text-muted);
}

.ring_cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 2rem;
  height: 3rem;
  padding-top: 0.5rem;
  padding-right: 1rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background-color: var(--ring--cta-bg);
  color: var(--ring--cta-text);
  font-family: var(--font--body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease;
}

.ring_cta-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 1.5rem;
}

.ring_cta:hover {
  transform: translateY(-1px);
  background-color: var(--ring--cta-hover);
}

.ring_visual {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.ring_pivot {
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 1px;
}

.ring_wheel {
  position: relative;
  width: 1px;
  height: 1px;
  will-change: transform;
}

.ring_card {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ring--card-w);
  height: var(--ring--card-h);
  overflow: hidden;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  background-color: var(--ring--card-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.ring_card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ring_scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  background: #1a1410;
  color: #b9ab9a;
}

.ring_scroll-hint-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ring_scroll-hint-label {
  font-family: "Geist", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9ab9a;
}

.ring_scroll-hint-arrow {
  width: 1.125rem;
  height: 1.125rem;
  color: #cbb89a;
  animation: ring_scroll-arrow 1.6s ease-in-out infinite;
}

@keyframes ring_scroll-arrow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring_scroll-hint-arrow {
    animation: none;
  }
}
@media screen and (max-width: 800px) {
  .ring_frame {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .ring_pad {
    margin-bottom: 1.5rem;
    z-index: 3;
  }

  .ring_container {
    justify-content: flex-start;
  }

  .ring_copy {
    width: 100%;
    max-width: none;
  }

  .ring_title {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.05;
  }

.ring_body {
  margin-top: 1rem;
  font-size: clamp(1rem, 3.6vw, 1.25rem);
}

  .ring_cta {
    margin-top: 1.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
  }

  .ring_cta-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-basis: 1.25rem;
  }

  .ring_visual {
    position: relative;
    width: 100%;
    left: 0;
    top: auto;
    bottom: auto;
    height: 25rem;
    overflow: hidden;
    z-index: 1;
  }

  .ring_pivot {
    left: 50%;
    top: 100%;
  }

  .ring_card {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
}

/* --- EMBED ONLY (Webflow Code Embed). Designer cannot hold these. --- */

@media (prefers-reduced-motion: reduce) {
  .ring_cta {
    transition: none;
  }
}
