/*! Growth Rings (growth-rings 1.0.0) by Frontier Templates. Styles for the vanilla build.
Licensed gem: Licensed with Full Access, for the sites you build; do not resell the gem itself. https://frontiertemplates.com/gems/growth-rings */
/* Growth Rings. Every rule is scoped to .grw so the gem drops into any page. Size the element; the disc fills it. */
.grw {
  --grw-bg: #141110;
  --grw-accent: #fff3d6;
  --grw-ink: #f4eee6;
  --grw-mute: rgba(244, 238, 230, 0.62);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  padding: clamp(20px, 4vw, 56px);
  background: radial-gradient(90% 80% at 30% 50%, rgba(255, 236, 200, 0.06), transparent 70%), var(--grw-bg);
  color: var(--grw-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
/* the root sizes itself the same whatever the host page's reset says */
.grw, .grw *, .grw *::before, .grw *::after { box-sizing: border-box; }
.grw-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 24px;
  outline: none;
  cursor: crosshair;
}
.grw-stage:focus-visible { box-shadow: 0 0 0 2px var(--grw-accent); }
.grw-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grw-card { max-width: 30ch; }
.grw-card p { margin: 0; }
.grw-count {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-variant-numeric: tabular-nums;
  color: var(--grw-mute);
}
.grw-year {
  margin-top: 10px !important;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 650;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.grw-title {
  margin-top: 14px !important;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--grw-ink);
  text-wrap: balance;
}
.grw-narrow {
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  text-align: center;
}
.grw-narrow .grw-card { justify-self: center; }
.grw-narrow .grw-year { font-size: 52px; margin-top: 6px !important; }
.grw-narrow .grw-title { font-size: 16px; margin-top: 8px !important; }
