/* =============================================================================
   Strategy Review — Public sell page
   ============================================================================= */

@font-face {
  font-family: 'Vinila';
  src: url('/static/fonts/Vinila-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --srs-c-bg: #f5f3ef;
  --srs-c-ink: #1d1d1f;
  --srs-c-ink-muted: #5a5a5a;
  --srs-c-ink-soft: #8b8888;
  --srs-c-line-soft: #efece7;

  --srs-c-sage:  #7FA99B;
  --srs-c-mauve: #B08CB8;
  --srs-c-sand:  #C9A87C;

  --srs-radius: 0.81rem;
  --srs-radius-lg: 1.8rem;
  --srs-radius-pill: 50px;
}


/* =============================================================================
   GLOBAL
   ============================================================================= */

body:has(.srs-hero) { background: var(--srs-c-bg); }
body:has(.srs-hero) .site-nav { background: transparent !important; box-shadow: none !important; }
body:has(.srs-hero) .site-nav.hidden { transform: translateY(-100%); }
body:has(.srs-hero) .site-nav .brand { background-image: url("../images/logo-black.svg"); }
body:has(.srs-hero) .discount-banner-sticky { display: none !important; }
body:has(.srs-hero) .site-footer { background: var(--srs-c-bg); }


/* =============================================================================
   METALLIC BEETLE — iridescent gold/green/purple shimmer
   ============================================================================= */

.srs-beetle-text {
  background: linear-gradient(
    135deg,
    #8B7332 0%,
    #6B8E3A 14%,
    #3A8E6B 28%,
    #2D7A6A 42%,
    #3A6E5A 50%,
    #4A6A7A 58%,
    #5A5A8E 70%,
    #6B4A7A 82%,
    #8B7332 100%
  );
  background-size: 200% 200%;
  animation: srs-beetle-shimmer 6s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes srs-beetle-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}


/* =============================================================================
   BACKGROUND BLOBS
   ============================================================================= */

.srs-hero__gradient {
  position: fixed; inset: 0;
  pointer-events: none; overflow: hidden; z-index: 0;
}
.srs-hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.55; will-change: transform;
}
.srs-hero__blob--sage {
  width: 620px; height: 620px; top: -200px; left: -120px;
  background: radial-gradient(circle, var(--srs-c-sage), transparent 70%);
  animation: srs-drift-1 24s ease-in-out infinite alternate;
}
.srs-hero__blob--mauve {
  width: 540px; height: 540px; top: 100px; right: -160px;
  background: radial-gradient(circle, var(--srs-c-mauve), transparent 70%);
  opacity: 0.4; animation: srs-drift-2 30s ease-in-out infinite alternate;
}
.srs-hero__blob--sand {
  width: 480px; height: 480px; bottom: -180px; left: 30%;
  background: radial-gradient(circle, var(--srs-c-sand), transparent 70%);
  opacity: 0.35; animation: srs-drift-3 28s ease-in-out infinite alternate;
}
@keyframes srs-drift-1 { from { transform: translate(0,0) scale(1); } to { transform: translate(60px,40px) scale(1.1); } }
@keyframes srs-drift-2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px,60px) scale(1.08); } }
@keyframes srs-drift-3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-50px,-40px) scale(1.12); } }


/* =============================================================================
   HERO
   ============================================================================= */

.srs-hero {
  position: relative; width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  box-sizing: border-box; overflow: visible; padding-top: 60px;
}
.srs-hero__inner {
  position: relative; z-index: 1; text-align: center;
  max-width: 800px; padding: 0 2rem;
  transition: opacity 0.05s linear; will-change: opacity, transform;
}
.srs-hero__copy { display: flex; flex-direction: column; align-items: center; gap: 0; }

.srs-hero__typewriter {
  font-family: 'Vinila', serif; font-weight: 700;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1.12;
  color: var(--srs-c-ink); margin: 0 0 1.5rem;
  letter-spacing: -0.01em; display: inline; min-height: 2.4em;
}
.srs-hero__caret {
  display: inline-block; width: 0.5em; height: 0.85em;
  background: var(--srs-c-ink); margin-left: 2px;
  animation: srs-blink 0.65s step-end infinite;
  vertical-align: baseline; position: relative; top: 0.08em;
}
.srs-hero__caret--done { animation: srs-blink-fade 0.65s step-end 3; animation-fill-mode: forwards; opacity: 0; }
@keyframes srs-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes srs-blink-fade { 0%,100% { opacity: 0; } 50% { opacity: 1; } }

.srs-hero__lede {
  font-family: 'Poppins', sans-serif; font-size: 1rem; line-height: 1.7;
  color: var(--srs-c-ink-muted); max-width: 480px; margin: 0 0 2.75rem;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.8s cubic-bezier(0.2,0.8,0.2,1), transform 0.8s cubic-bezier(0.2,0.8,0.2,1);
}
.srs-hero__lede--visible { opacity: 1; transform: translateY(0); }


/* =============================================================================
   CIRCULAR SPINNER
   ============================================================================= */

.srs-hero__spinner {
  opacity: 0; transform: translateY(16px) scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.2,0.8,0.2,1), transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
  pointer-events: none;
}
.srs-hero__spinner--visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.srs-spinner { position: relative; width: 150px; height: 150px; }
.srs-spinner__svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.srs-spinner__track { fill: none; stroke: rgba(29,29,31,0.07); stroke-width: 4; }
.srs-spinner__fill {
  fill: none; stroke: rgba(29,29,31,0.25); stroke-width: 4;
  stroke-linecap: round; stroke-dasharray: 0 314.16; transition: stroke-dasharray 0.08s linear;
}
.srs-spinner__arc {
  fill: none; stroke: rgba(29,29,31,0.18); stroke-width: 4;
  stroke-linecap: round; stroke-dasharray: 40 274.16;
  transform-origin: 60px 60px; opacity: 0; transition: opacity 0.4s ease;
}
.srs-hero__spinner--visible:not(.srs-hero__spinner--done) .srs-spinner__arc {
  opacity: 1; animation: srs-arc-spin 1.6s linear infinite;
}
.srs-hero__spinner--done .srs-spinner__arc { opacity: 0; }
@keyframes srs-arc-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.srs-hero__spinner--visible:not(.srs-hero__spinner--done) .srs-spinner {
  animation: srs-spinner-pulse 2.5s ease-in-out infinite;
}
@keyframes srs-spinner-pulse {
  0%,100% { filter: drop-shadow(0 0 0px rgba(29,29,31,0)); }
  50% { filter: drop-shadow(0 0 20px rgba(29,29,31,0.06)); }
}
.srs-hero__spinner--done .srs-spinner__fill { stroke: rgba(29,29,31,0.35); }
.srs-hero__spinner--done .srs-spinner { animation: none; }

.srs-spinner__centre {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; pointer-events: none;
}
.srs-spinner__pct {
  font-family: 'Poppins', sans-serif; font-size: 1.95rem; font-weight: 700;
  color: var(--srs-c-ink); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
.srs-spinner__label {
  font-family: 'Poppins', sans-serif; font-size: 0.55rem; font-weight: 500;
  color: var(--srs-c-ink-soft); text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 0.35rem; transition: color 0.3s ease;
}
.srs-hero__spinner--done .srs-spinner__label { color: var(--srs-c-ink); }


/* =============================================================================
   DEMO REVEAL
   ============================================================================= */

.srs-reveal {
  position: relative; z-index: 1; width: 100vw;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  padding: 40px 40px 80px; box-sizing: border-box;
}
.srs-reveal__frame {
  max-width: 1080px; margin: 0 auto; background: #fff;
  border-radius: var(--srs-radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(30,30,40,0.2), 0 20px 40px -20px rgba(30,30,40,0.1), 0 0 0 1px rgba(30,30,40,0.05);
  opacity: 0; transform: translateY(80px);
  transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1), transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
}
.srs-reveal__frame--visible { opacity: 1; transform: translateY(0); }

.srs-reveal__frame-chrome {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.85rem 1.2rem; background: #f7f5f1;
  border-bottom: 1px solid var(--srs-c-line-soft);
}
.srs-reveal__dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #dcd8d2; }
.srs-reveal__dot:nth-child(1) { background: #e8b3b3; }
.srs-reveal__dot:nth-child(2) { background: #e8d4a3; }
.srs-reveal__dot:nth-child(3) { background: #b3d4b8; }
.srs-reveal__frame-url {
  margin-left: 1rem; font-family: 'Poppins', sans-serif;
  font-size: 0.7rem; color: var(--srs-c-ink-soft); letter-spacing: 0.01em;
}

.srs-reveal__frame-body { position: relative; max-height: 850px; overflow: hidden; }
.srs-reveal__frame-body::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 30%, rgba(255,255,255,0.85) 65%, #fff 100%);
  pointer-events: none; z-index: 2;
}

.srs-preview-detail { padding-top: 0; padding-bottom: 4rem; }
.srs-preview-detail .sr-detail__header { padding-top: 1.5rem; padding-bottom: 2rem; }

/* Below 1200px: show full review, keep a short fade at the bottom */
@media (max-width: 1199px) {
  .srs-reveal__frame-body {
    max-height: none;
    overflow: visible;
  }
  .srs-reveal__frame-body::after {
    height: 80px;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.7) 50%,
      #fff 100%
    );
  }
}


/* =============================================================================
   SCROLL-PINNED FEATURES
   ============================================================================= */

.srs-features-section {
  position: relative; width: 100vw;
  margin-left: calc(50% - 50vw); background: transparent;
}
.srs-features-section .srs-scroll-area { height: 500vh; width: 100%; }

.srs-features-fixed-content {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: none; opacity: 0; visibility: hidden; z-index: 1000;
}
.srs-features-fixed-content.is-fixed {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
  pointer-events: auto; opacity: 1; visibility: visible;
}
.srs-features-fixed-content.is-absolute-bottom {
  position: absolute; top: auto; bottom: 0; left: 0; width: 100%; height: 100vh;
  pointer-events: auto; opacity: 1; visibility: visible;
}

.srs-features-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; position: relative; overflow: hidden;
}

.srs-center-content {
  display: flex; flex-direction: column; align-items: center;
  z-index: 1; position: relative; transition: opacity 0.5s ease;
}

.srs-eyebrow-container {
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.srs-eyebrow-container.visible { opacity: 1; transform: translateY(0); }

.srs-eyebrow-chip {
  background: var(--srs-c-ink); color: #fff; border: none;
  padding: 8px 16px; border-radius: 9999px;
  font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em;
}
.srs-eyebrow-line {
  width: 1px; height: 40px; margin: 16px auto 0;
  border-left: 1px dashed rgba(29,29,31,0.2);
}

.srs-main-title {
  display: flex; flex-direction: column; align-items: center;
  margin: 20px 0 0; opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.srs-main-title.visible { opacity: 1; transform: translateY(0); }

.srs-main-title .srs-title-line {
  font-family: 'Vinila', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: var(--srs-c-ink);
  text-align: center; line-height: 1.05;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.srs-main-title .srs-title-line:first-child {
  font-style: italic;
}

/* Floating items — staggered transitions */
.srs-floating-item {
  position: absolute; top: 50%; z-index: 10;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1), transform 0.65s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.65s;
}
.srs-floating-item-left { left: 6%; transform: translateY(calc(-50% + 80px)); }
.srs-floating-item-right { right: 6%; left: auto; transform: translateY(calc(-50% + 80px)); }
.srs-floating-item.visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-50%);
  transition: opacity 0.65s cubic-bezier(0.4,0,0.2,1) 0.15s, transform 0.65s cubic-bezier(0.4,0,0.2,1) 0.15s, visibility 0s 0s;
}
.srs-floating-item.exited {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.5s;
}
.srs-floating-item-left.exited { transform: translateY(calc(-50% - 80px)); }
.srs-floating-item-right.exited { transform: translateY(calc(-50% - 80px)); }

.srs-floating-item-center {
  left: 50%; right: auto;
  transform: translateX(-50%) translateY(calc(-50% + 80px));
}
.srs-floating-item-center.visible { transform: translateX(-50%) translateY(-50%); }
.srs-floating-item-center.exited { transform: translateX(-50%) translateY(calc(-50% - 80px)); }

.srs-feature-card {
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(29,29,31,0.06);
  border-radius: var(--srs-radius);
  padding: 2rem; max-width: 360px;
  box-shadow: 0 8px 32px -16px rgba(30,30,40,0.08);
}
.srs-feature-card__eyebrow {
  display: inline-block; font-family: 'Poppins', sans-serif;
  font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em;
  color: #fff; padding: 0.4rem 0.85rem;
  background: var(--srs-c-ink); border: none;
  border-radius: var(--srs-radius-pill); margin-bottom: 1rem;
}
.srs-feature-card__heading {
  font-family: 'Poppins', sans-serif; font-size: 1.35rem; font-weight: 600;
  line-height: 1.35; color: var(--srs-c-ink); margin: 0 0 0.85rem;
}
.srs-feature-card__body {
  font-family: 'Poppins', sans-serif; font-size: 0.85rem; line-height: 1.7;
  color: var(--srs-c-ink-muted); margin: 0;
}

/* Scroll CTA */
.srs-scroll-cta { text-align: center; max-width: 560px; }
.srs-scroll-cta__heading {
  font-family: 'Vinila', serif; font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15;
  color: var(--srs-c-ink); margin: 0 0 1.25rem; letter-spacing: -0.01em;
}
.srs-scroll-cta__sub {
  font-family: 'Poppins', sans-serif; font-size: 0.95rem; line-height: 1.7;
  color: var(--srs-c-ink-muted); margin: 0 0 2.25rem;
}
.srs-scroll-cta__btn {
  display: inline-block; padding: 0.85rem 2.2rem;
  background: var(--srs-c-ink); color: #fff;
  font-family: 'Poppins', sans-serif; font-size: 0.82rem; font-weight: 600;
  text-decoration: none; border-radius: var(--srs-radius-pill);
  transition: background 0.2s ease, transform 0.15s ease;
}
.srs-scroll-cta__btn:hover { background: #333; transform: translateY(-1px); }
.srs-scroll-cta__btn:active { transform: scale(0.97); }


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

@media (max-width: 1100px) {
  .srs-reveal { padding: 40px 30px 60px; }
}

@media (max-width: 700px) {
  .srs-hero { padding-top: 40px; }
  .srs-hero__inner { max-width: 100%; padding: 0 1.25rem; }
  .srs-hero__typewriter { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  .srs-hero__lede { font-size: 0.9rem; padding: 0 0.25rem; margin-bottom: 2rem; }

  .srs-hero__blob--sage { width: 400px; height: 400px; }
  .srs-hero__blob--mauve { width: 340px; height: 340px; }
  .srs-hero__blob--sand { width: 320px; height: 320px; }

  .srs-spinner { width: 125px; height: 125px; }
  .srs-spinner__pct { font-size: 1.6rem; }

  .srs-reveal { padding: 20px 16px 50px; }
  .srs-reveal__frame { border-radius: 1.2rem; }
  .srs-reveal__frame-chrome { padding: 0.6rem 0.9rem; }
  .srs-reveal__frame-url { font-size: 0.6rem; }

  .srs-features-section .srs-scroll-area { height: auto; }
  .srs-features-fixed-content {
    position: relative !important; height: auto;
    opacity: 1; visibility: visible; pointer-events: auto;
    width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  }
  .srs-features-inner {
    min-height: auto; padding: 70px 20px;
    display: flex; flex-direction: column; align-items: center; gap: 40px;
  }
  .srs-eyebrow-container { opacity: 0; transform: translateY(-20px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .srs-eyebrow-container.mobile-visible { opacity: 1; transform: translateY(0); }
  .srs-main-title { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; margin: 10px 0 10px; }
  .srs-main-title.mobile-visible { opacity: 1; transform: translateY(0); }
  .srs-main-title .srs-title-line { font-size: clamp(2rem, 8vw + 0.5rem, 2.8rem); line-height: 1.1; }

  .srs-floating-item {
    position: relative !important;
    left: auto !important; right: auto !important; top: auto !important;
    width: 100%; max-width: 100%; margin-bottom: 20px;
    opacity: 0; transform: translateY(30px); visibility: hidden; pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0s 0.6s;
  }
  .srs-floating-item.mobile-visible {
    opacity: 1; transform: translateY(0) !important; visibility: visible; pointer-events: auto;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0s 0s;
  }
  .srs-feature-card { max-width: 100%; padding: 1.5rem; }
  .srs-feature-card__heading { font-size: 1.15rem; }

  .srs-scroll-cta { padding: 0 1rem; }
  .srs-scroll-cta__heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .srs-floating-item-left { left: 3%; }
  .srs-floating-item-right { right: 3%; }
  .srs-feature-card { max-width: 280px; padding: 1.5rem; }
  .srs-feature-card__heading { font-size: 1.15rem; }
  .srs-feature-card__body { font-size: 0.8rem; }
}