@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Vollkorn:wght@600;700&display=swap);


/* ─── Custom Properties (scoped to component) ─── */
.sz-hero {
  --sz-bg: #f7f4fd;
  --sz-text: #271d3b;
  --sz-text-sub: rgba(39, 29, 59, 0.68);
  --sz-btn-bg: #271d3b;
  --sz-btn-text: #f7f4fd;
}

/* ─── Entrance Animations ─── */
@keyframes szFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes szRingFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Ring Animations ─── */
@keyframes szRingRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes szRipple1 {
  0%, 100% { transform: scale(0.980); opacity: 1; }
  50%      { transform: scale(1.026); opacity: 0.85; }
}

@keyframes szRipple2 {
  0%, 100% { transform: scale(0.984); opacity: 1; }
  50%      { transform: scale(1.020); opacity: 0.88; }
}

@keyframes szRipple3 {
  0%, 100% { transform: scale(0.988); opacity: 1; }
  50%      { transform: scale(1.015); opacity: 0.90; }
}

@keyframes szRipple4 {
  0%, 100% { transform: scale(0.992); opacity: 1; }
  50%      { transform: scale(1.011); opacity: 0.93; }
}

/* ─── Hero Shell ─── */
.sz-hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  background-color: var(--sz-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.sz-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 140px;
  background: linear-gradient(to bottom, var(--sz-bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.sz-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--sz-bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* ─── Background Ring Layer ─── */
.sz-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  animation: szRingFadeIn 2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

.sz-hero__bg-blob {
  position: absolute;
  left: 50%; top: 50%;
  width: 1117px; height: 1117px;
  margin-left: -558px; margin-top: -558px;
}

.sz-hero__bg-blob-inner {
  width: 846px; height: 846px;
  position: absolute;
  left: 50%; top: 50%;
  margin-left: -423px; margin-top: -423px;
  transform: rotate(-66deg);
}

.sz-hero__bg-blob-inner svg {
  display: block;
  width: 100%; height: 100%;
}

.sz-hero__ring {
  position: absolute;
  left: 50%; top: 50%;
  transform-origin: center center;
  will-change: transform, opacity;
}

.sz-hero__ring svg {
  display: block;
  width: 100%; height: 100%;
}

.sz-hero__ring-spin {
  width: 100%; height: 100%;
  animation: szRingRotate linear infinite;
  will-change: transform;
}

/* Rotation speeds and directions */
.sz-hero__ring--1 .sz-hero__ring-spin { animation-duration: 36s; animation-delay: 0s; }
.sz-hero__ring--2 .sz-hero__ring-spin { animation-duration: 48s; animation-direction: reverse; animation-delay: -12s; }
.sz-hero__ring--3 .sz-hero__ring-spin { animation-duration: 42s; animation-delay: -21s; }
.sz-hero__ring--4 .sz-hero__ring-spin { animation-duration: 56s; animation-direction: reverse; animation-delay: -40s; }

/* Ripple pulse */
.sz-hero__ring--1 { animation: szRipple1 10s ease-in-out infinite; animation-delay: 0s; }
.sz-hero__ring--2 { animation: szRipple2 10s ease-in-out infinite; animation-delay: 2s; animation-fill-mode: backwards; }
.sz-hero__ring--3 { animation: szRipple3 10s ease-in-out infinite; animation-delay: 4s; animation-fill-mode: backwards; }
.sz-hero__ring--4 { animation: szRipple4 10s ease-in-out infinite; animation-delay: 6s; animation-fill-mode: backwards; }

/* Ring sizes */
.sz-hero__ring--1 { width: 877px; height: 877px; margin-left: -438px; margin-top: -438px; }
.sz-hero__ring--2 { width: 1111px; height: 1111px; margin-left: -555px; margin-top: -555px; }
.sz-hero__ring--3 { width: 1345px; height: 1345px; margin-left: -672px; margin-top: -672px; }
.sz-hero__ring--4 { width: 1580px; height: 1580px; margin-left: -790px; margin-top: -790px; }

/* ─── Hero Content ─── */
.sz-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1280px;
  padding: 80px 20px;
  box-sizing: border-box;
  text-align: center;
}

.sz-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sz-hero__heading {
  font-family: 'Vollkorn', Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0;
  color: var(--sz-text);
  animation: szFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

.sz-hero__subhead {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  max-width: 540px;
  margin: 0;
  color: var(--sz-text-sub);
  animation: szFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

.sz-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  background-color: var(--sz-btn-bg);
  color: var(--sz-btn-text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(39, 29, 59, 0.18), 0 1px 2px rgba(39, 29, 59, 0.12);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.22s ease;
  animation: szFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}

.sz-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(39, 29, 59, 0.22), 0 2px 6px rgba(39, 29, 59, 0.14);
  opacity: 0.92;
}

.sz-hero__cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(39, 29, 59, 0.18), 0 1px 2px rgba(39, 29, 59, 0.12);
  transition-duration: 0.08s;
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .sz-hero__bg,
  .sz-hero__heading,
  .sz-hero__subhead,
  .sz-hero__cta {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .sz-hero__ring,
  .sz-hero__ring-spin {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

/* ─── Responsive: Tablet ─── */
@media (max-width: 768px) {
  .sz-hero { min-height: 580px; }

  .sz-hero__ring--1 { width: 600px; height: 600px; margin-left: -300px; margin-top: -300px; }
  .sz-hero__ring--2 { width: 760px; height: 760px; margin-left: -380px; margin-top: -380px; }
  .sz-hero__ring--3 { width: 920px; height: 920px; margin-left: -460px; margin-top: -460px; }
  .sz-hero__ring--4 { width: 1080px; height: 1080px; margin-left: -540px; margin-top: -540px; }

  .sz-hero__bg-blob { width: 760px; height: 760px; margin-left: -380px; margin-top: -380px; }
  .sz-hero__bg-blob-inner { width: 580px; height: 580px; margin-left: -290px; margin-top: -290px; }

  .sz-hero__heading { font-size: clamp(36px, 6vw, 54px); }

  .sz-hero__content { gap: 40px; padding: 60px 24px 72px; }
}

/* ─── Responsive: Mobile ─── */
@keyframes szRipple1M {
  0%, 100% { transform: scale(0.93); opacity: 1; }
  50%      { transform: scale(1.07); opacity: 0.72; }
}

@keyframes szRipple2M {
  0%, 100% { transform: scale(0.94); opacity: 1; }
  50%      { transform: scale(1.06); opacity: 0.78; }
}

@keyframes szRipple3M {
  0%, 100% { transform: scale(0.95); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.84; }
}

@keyframes szRipple4M {
  0%, 100% { transform: scale(0.96); opacity: 1; }
  50%      { transform: scale(1.04); opacity: 0.88; }
}

@media (max-width: 480px) {
  .sz-hero { min-height: 588px; }

  .sz-hero::before { height: 50px; }
  .sz-hero::after  { height: 70px; }

  .sz-hero__ring--1 { width: 500px; height: 500px; margin-left: -250px; margin-top: -250px; }
  .sz-hero__ring--2 { width: 600px; height: 600px; margin-left: -300px; margin-top: -300px; }
  .sz-hero__ring--3 { width: 700px; height: 700px; margin-left: -350px; margin-top: -350px; }
  .sz-hero__ring--4 { width: 800px; height: 800px; margin-left: -400px; margin-top: -400px; }

  .sz-hero__bg-blob { width: 537px; height: 537px; margin-left: -269px; margin-top: -269px; }
  .sz-hero__bg-blob-inner { width: 428px; height: 428px; margin-left: -214px; margin-top: -214px; }

  .sz-hero__ring--1 { animation: szRipple1M 8s ease-in-out infinite; animation-delay: 0s; }
  .sz-hero__ring--2 { animation: szRipple2M 8s ease-in-out infinite; animation-delay: 2s; animation-fill-mode: backwards; }
  .sz-hero__ring--3 { animation: szRipple3M 8s ease-in-out infinite; animation-delay: 4s; animation-fill-mode: backwards; }
  .sz-hero__ring--4 { animation: szRipple4M 8s ease-in-out infinite; animation-delay: 6s; animation-fill-mode: backwards; }

  .sz-hero__ring--1 .sz-hero__ring-spin { animation-duration: 24s; }
  .sz-hero__ring--2 .sz-hero__ring-spin { animation-duration: 32s; }
  .sz-hero__ring--3 .sz-hero__ring-spin { animation-duration: 28s; }
  .sz-hero__ring--4 .sz-hero__ring-spin { animation-duration: 38s; }

  .sz-hero__heading { font-size: 40px; letter-spacing: -0.01em; }
  .sz-hero__subhead { font-size: 18px; }
  .sz-hero__content { gap: 40px; padding: 60px 20px; }

  .sz-hero__cta {
    width: auto;
    font-size: 16px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
  }
}

